Wire UI entry points for backend sign-in, live share, and static share #33

Open
opened 2026-08-12 16:41:12 +00:00 by ImBenji · 1 comment
Owner

The new backend/ (maps CRUD, static share links, live view) and OIDC sign-in (lib/backend/auth_provider.dart) landed with working provider methods (AuthProvider.signIn(), BackendApiClient.createShare(), BackendApiClient.startLiveSession()) but no UI to trigger them - editor_actions.dart/menu_def.dart/toolbar.dart were already mid-refactor when this was built, so hooking buttons into them was deliberately left out rather than layered onto in-flight changes.

Needs: a sign-in entry point, a "share static link" action, and a "start live view" action, wired into whatever the toolbar/menu shape looks like once the current refactor settles.

The new backend/ (maps CRUD, static share links, live view) and OIDC sign-in (lib/backend/auth_provider.dart) landed with working provider methods (AuthProvider.signIn(), BackendApiClient.createShare(), BackendApiClient.startLiveSession()) but no UI to trigger them - editor_actions.dart/menu_def.dart/toolbar.dart were already mid-refactor when this was built, so hooking buttons into them was deliberately left out rather than layered onto in-flight changes. Needs: a sign-in entry point, a "share static link" action, and a "start live view" action, wired into whatever the toolbar/menu shape looks like once the current refactor settles.
ImBenji added the enhancementarea:ui/ux labels 2026-08-12 16:41:12 +00:00
ImBenji added this to the Arcs & Angles project 2026-08-12 16:41:12 +00:00
Author
Owner

Two of the three are done. Traced 2026-09-05 during the roadmap audit.

Sign-in - wired. AuthProvider.signIn() is reachable from lib/widgets/account_settings_panel.dart:191 and from editor_core.dart:712.

Start live view - wired. BackendApiClient.startLiveSession() is called at editor_core.dart:728.

Share static link - still not wired. BackendApiClient.createShare() (lib/backend/api_client.dart:168) has exactly one reference anywhere in lib/, and it is a doc comment in shared_view_page.dart:12 naming the method. Nothing calls it. So the /shared/:token route exists and the endpoint works, but there is no way to mint a token from inside the app.

Remaining scope is that one action. The toolbar/menu refactor this issue was waiting on has since settled, so the reason for deferring it is gone.

Worth doing alongside #34 - a share link that mints correctly but lands on a station scatter is only half a feature.

Two of the three are done. Traced 2026-09-05 during the roadmap audit. **Sign-in - wired.** `AuthProvider.signIn()` is reachable from `lib/widgets/account_settings_panel.dart:191` and from `editor_core.dart:712`. **Start live view - wired.** `BackendApiClient.startLiveSession()` is called at `editor_core.dart:728`. **Share static link - still not wired.** `BackendApiClient.createShare()` (`lib/backend/api_client.dart:168`) has exactly one reference anywhere in `lib/`, and it is a doc comment in `shared_view_page.dart:12` naming the method. Nothing calls it. So the `/shared/:token` route exists and the endpoint works, but there is no way to mint a token from inside the app. Remaining scope is that one action. The toolbar/menu refactor this issue was waiting on has since settled, so the reason for deferring it is gone. Worth doing alongside #34 - a share link that mints correctly but lands on a station scatter is only half a feature.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: IMBENJI.NET/Metro-Map-Maker#33