feat(explore): unified explore with entity tabs + Map/List/Hybrid toggle#30
Merged
nicholasalanbrown merged 6 commits intomainfrom Feb 27, 2026
Merged
feat(explore): unified explore with entity tabs + Map/List/Hybrid toggle#30nicholasalanbrown merged 6 commits intomainfrom
nicholasalanbrown merged 6 commits intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
… toggle - Add ExplorerTabBar: Utilities, Grid Operators, Power Plants, Programs, Transmission Lines - Add ExplorerToolbar: Map / List / Hybrid desktop toggle - Refactor ExplorerContext: tab-based navigation, layout state (hybrid/list/map), URL-synced - Refactor ExplorerShell: layout-aware rendering (SplitPane for hybrid, full-panel for list/map) - Mobile: floating List/Map toggle button (no hybrid on mobile) - Add PowerPlantListPanel: power plants in explorer with fuel filter + capacity sort - Add TransmissionListPanel: transmission lines in explorer with voltage class filter - Remove back buttons from list panels (tabs handle entity switching) - Simplify top nav: Explore / API / About - Backward-compat: old ?view= URL param still works via parseTab()
9adc416 to
5a50181
Compare
…ransmission toggle - Replace custom toolbar buttons with edges SegmentedControl (size=sm) - Wire InteractiveMap layers control with onLayerToggle + onMapTypeChange - Add legend props to transmission-lines, power-plants, ev-charging, pricing-nodes - Layer visibility state: transmission + power plants on by default, ev/pricing off - Map type now controlled (neutral default, user can switch via layers panel)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Refactors the explore experience into a single unified view at
/explorewith entity tabs and a Map/List/Hybrid layout toggle.Changes
New components
ExplorerTabBar— horizontal tab strip: Utilities, Grid Operators, Power Plants, Programs, Transmission LinesExplorerToolbar— Map / List / Hybrid 3-way toggle (desktop only)PowerPlantListPanel— power plants in the explorer panel, fuel type filter, capacity sortTransmissionListPanel— transmission lines in the explorer panel, voltage class filterRefactored
ExplorerContext— newtab+layoutstate fields; URL-synced (?tab=utilities&layout=hybrid); backwards-compat with old?view=paramExplorerShell— layout-aware:hybridrenders SplitPane,listrenders full-width panel,maprenders full-width mapExplorerPanel— routes to correct list or detail panel based on active tabExplorerMap— usesstate.tabinstead ofstate.viewfor grid operator contextLayout behavior
Testing
tsc --noEmitclean (only pre-existingpmtileserror)