Files
browser/platform_web/pages
npc0-hue bc45188be9 Send user trajectories from the user list into a focused live map
- Open 「用户轨迹」 straight on the live map instead of a drawer, carrying the
  server, the focused user and a start/end window through the plugin page hash.
- Default that window to one hour before the user's last seen time and keep the
  plugin page query available to bundles through the host context.
- Replace the time range preset gate with always visible start/end datetime
  fields plus a quick-range select, so the user list rebuilds from the window.
- Drop the bulky trajectory list and draw one compact colour legend under the
  map, keeping a stable colour per identity and restricting vehicle tracks to
  the vehicles the selected users actually rode.
2026-09-16 19:35:31 +08:00
..
2026-07-20 16:42:33 +08:00
2026-07-20 16:42:33 +08:00
2026-09-07 20:26:20 +08:00
2026-07-20 16:42:33 +08:00
2026-07-20 16:42:33 +08:00

platform_web/pages

First-party page implementations live here after routes and contracts are defined.

Required page groups:

  • home
  • servers
  • plugins
  • users
  • ai-providers
  • plugin-pages

Do not put shared API clients, shared DTOs, route definitions, or bridge contracts in page files.

Visual Rules

Pages must use the shared black-mecha / magical-girl visual system from ../theme/ instead of page-local card systems or unrelated palettes.

  • Reuse shared shell, card, panel, table, drawer, dialog, status, command, log, diff, plugin group, and operation history classes from theme/base.css.
  • Keep management lists, grids, and tables full-width. Create, edit, and detail workflows belong in modals, drawers, or detail routes, not in permanent right-side panes or inline form panels beside/above the list.
  • Keep page surfaces translucent enough for the selected built-in or uploaded background desktop to remain visible.
  • Ambient magical particles are global shell chrome. Pages must not add fixed decorative sparkles, hearts, moons, snowflakes, sigils, or custom backdrop layers.
  • Do not introduce opaque white cards, heavy dark dashboards, stock marketing layouts, or single-page custom gradients that bypass the theme tokens.
  • Preserve text/icons for status and operation results; do not rely on color-only cues.
  • Read ../theme/README.md before adding a new page surface pattern.

Server Detail operations behavior

The Server Detail workspace consumes safe Platform projections for lifecycle, plugin-owned pages, terminal/log streams, and run distribution actions. Action buttons remain compact and disabled with the Platform-provided reason when declaration, permission, endpoint, artifact, target, or lifecycle state is not ready.