Wires the switcher to real per-user data instead of a static list: - New /api/products/[...path] proxy to platform-service (mirrors the fleet proxy), exposing GET /api/products/mine. - ProductProvider fetches the caller's owner-scoped projects on mount (when a tracker_token is present) and uses them as the switcher list. Best-effort: any failure / empty result / unauthenticated state keeps the configured fallback list, so dev and logged-out rendering still work. Combined with the earlier config-driven list + auto-hide, the switcher now reflects the authenticated user's projects on a generic platform. Generated with [Devin](https://cli.devin.ai/docs) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| admin-web | ||
| tracker-web | ||
| ux-lab | ||