feat(app): register the saved-schedule list under Settings at /schedules

This commit is contained in:
2026-10-22 10:16:45 +01:00
parent dc9faeb018
commit 2139e21041
9 changed files with 233 additions and 3 deletions
+4 -1
View File
@@ -4,7 +4,7 @@ part 'app_route_codec.dart';
///
/// The set mirrors [AppDestination] but stays free of widget imports so the
/// parser and serialiser can be exercised without a Flutter host.
enum AppRouteKind { pipelines, runs, chat, search, settings, templates }
enum AppRouteKind { pipelines, runs, chat, search, settings, templates, schedules }
/// One page route: a destination plus the detail, pane and query it opens.
///
@@ -51,6 +51,9 @@ class AppRoute {
/// not a fifth tab, so Back returns to Settings.
static const templates = AppRoute(AppRouteKind.templates);
/// The saved-schedule list, a Settings sub-page on `/schedules`.
static const schedules = AppRoute(AppRouteKind.schedules);
static const run = _RunRouteFactory();
/// One chat session, or the chat list when [id] is not a session id.