8000 Deprecate legacy /map and /timeline routes, redirect to Trace modes by tamzrod · Pull Request #86 · tamzrod/Librarian · GitHub
[go: up one dir, main page]

Skip to content

Deprecate legacy /map and /timeline routes, redirect to Trace modes - #86

Merged
tamzrod merged 1 commit into
mainfrom
deprecate-legacy-map-timeline-routes
Jul 2, 2026
Merged

tamzrod merged 1 commit into
mainfrom
deprecate-legacy-map-timeline-routes

Conversation

@tamzrod
@tamzrod tamzrod commented Jul 2, 2026
Copy link
Copy Markdown
Owner

Summary

Operation Legacy View Decommission - Complete migration from legacy routes to Trace modes.

Changes

  • Marked MapView and TimelineView as deprecated with @deprecated JSDoc annotations
  • Implemented redirects for legacy routes:
    • /map → /trace?view=map
    • /timeline → /trace?view=timeline
  • Updated TraceView to read view query parameter from URL (?view=map|timeline|grid)
  • Updated sidebar navigation to point directly to Trace modes (removed deprecated entries)
  • Preserved backwards compatibility for old bookmarks via automatic redirects

Files Modified

File Change
dashboard/src/pages/MapView.tsx Deprecated + redirect to /trace?view=map
dashboard/src/pages/TimelineView.tsx Deprecated + redirect to /trace?view=timeline
dashboard/src/pages/TraceView.tsx Added URL param handling for view modes
dashboard/src/components/Layout.tsx Removed deprecated nav items from sidebar

Verification

All verification checks passed:

  • ✅ Legacy route redirects work correctly
  • ✅ Trace View renders Map, Timeline, and Grid tabs
  • ✅ Map visualization with markers and event stream
  • ✅ Thumbnail pipeline fully functional
  • ✅ No regressions introduced

Success Criteria Met

  • ✅ Single source of truth for map visualization (TraceView)
  • ✅ Single source of truth for timeline visualization (TraceView)
  • ✅ No user confusion between old and new routes (sidebar cleaned up)

This PR was created by an AI agent (OpenHands) on behalf of the user.

@tamzrod can click here to continue refining the PR

- Mark MapView and TimelineView as @deprecated with JSDoc annotations
- Replace placeholder rendering with Navigate redirects to Trace modes
- Update TraceView to read view parameter from URL (?view=map|timeline|grid)
- Remove deprecated /map and /timeline from sidebar navigation
- Preserve backwards compatibility for old bookmarks

Legacy routes:
- /map -> /trace?view=map
- /timeline -> /trace?view=timeline

Co-authored-by: openhands <openhands@all-hands.dev>
@tamzrod
tamzrod marked this pull request as ready for review July 2, 2026 09:46
@tamzrod
tamzrod merged commit 654c26e into main Jul 2, 2026
3 of 7 checks passed
@tamzrod
tamzrod deleted the deprecate-legacy-map-timeline-routes branch July 6, 2026 03:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0