You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 417ffd6
Browse filesBrowse the repository at this point in the historyBrowse files
feat(extension): port route-graph tab & param-entry into navigation_devtools_extension
Ports the route-graph view, graph layout, and path-params entry dialog from the
old auto_route_devtools_extension onto the v2 protocol (RouteNode/StackFrame).
Adds a Tree/Graph tab switcher to the panel and routes tree+graph navigation
through PathParamsDialog so parameterized (:param) routes can be reached.
RouteNode exposes only hasRedirect (no target path) in v2, so redirect routes
are badged on their card rather than drawn with a dashed target edge. Removed
the now-ported orphan auto_route_devtools_extension package.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
**What it is:** a standalone, publishable **Flutter DevTools panel extension** for the `auto_route` package (v11). Shows, in the DevTools tab of a running app: live backstack, full router tree, per-route args + path/query params, and confirm-gated interactive navigation. Fills a real gap (auto_route ships no DevTools extension; `developer_tools_auto_route` is only an in-app overlay).
**Status:** 12/12 tests pass (shared 3, runtime 4, extension 5 on `--platform chrome`); `flutter analyze` clean; both packages pass `pub publish --dry-run` 0/0; `melos publish --dry-run` passes in dependency order. Built via TDD with per-task + final whole-branch review.
25
+
26
+
**Environment facts:** FVM (`fvm flutter`/`fvm dart`), Flutter 3.44.0. freezed 3.x (forced by auto_route 11 → build 3.x). Extension package tests run on `--platform chrome` only (dart:js_interop). Melos 8.2.2 is the publish handler; config lives in root `pubspec.yaml``melos:` key.
27
+
28
+
**NOT done / follow-ups (non-blocking):**
29
+
-**Live DevTools click-through unverified (headless session).** Verify: `cd example && fvm flutter run`, open DevTools, enable the auto_route_devtools tab, confirm backstack/tree/live-update/confirm-gated nav.
30
+
- Deferred by design: polling fallback (postEvent stream used instead), redirect-route filtering in the tree, a guarded-route fixture (guards→name mapping untested), a `_defaultConfirm` dialog test, remove vestigial `melos.yaml`.
31
+
32
+
**Next step (pending decision):** wrap up the branch — merge to `main` locally / push + open GitHub PR (no remote yet; would create `masreplay/auto_route_devtools`) / keep as-is / discard.
33
+
34
+
**Design + plan docs:**`docs/superpowers/specs/2026-07-13-auto-route-devtools-design.md` and `docs/superpowers/plans/2026-07-13-auto-route-devtools.md`. SDD progress ledger: `.superpowers/sdd/progress.md`.
0 commit comments