Skip to content

Refactor inspector panel to tabbed layout - #265

Merged
joaquimds merged 6 commits into
mainfrom
copilot/refactor-inspector-layout-tabs
Jan 14, 2026
Merged

Refactor inspector panel to tabbed layout#265
joaquimds merged 6 commits into
mainfrom
copilot/refactor-inspector-layout-tabs

Conversation

Copilot AI commented Jan 14, 2026

Copy link
Copy Markdown
Contributor

Fixes CONSULT-5049

Inspector panel reorganized with tabbed interface to improve information hierarchy and reduce visual clutter.

Changes

  • Width: w-60 (240px) → 250px inline style
  • Header: Removed LayerTypeIcon component, showing name only
  • Tabs: Implemented three-tab layout using @radix-ui/react-tabs
    • Stats: Properties, data source info, action buttons
    • Markers: Member and marker lists (previously inline)
    • Notes: Placeholder ("No notes yet")

Implementation

<Tabs defaultValue="stats" className="flex flex-col overflow-hidden">
  <TabsList className="w-full grid grid-cols-3">
    <TabsTrigger value="stats">Stats</TabsTrigger>
    <TabsTrigger value="markers">Markers</TabsTrigger>
    <TabsTrigger value="notes">Notes 0</TabsTrigger>
  </TabsList>
  
  <TabsContent value="stats" className="grow overflow-auto px-4 pb-4">
    {/* Properties, data source, actions */}
  </TabsContent>
  
  <TabsContent value="markers" className="grow overflow-auto px-4 pb-4">
    {/* TurfMarkersList / BoundaryMarkersList */}
  </TabsContent>
  
  <TabsContent value="notes" className="grow overflow-auto px-4 pb-4">
    {/* Placeholder */}
  </TabsContent>
</Tabs>

All existing functionality preserved (back navigation, close, view actions).

Original prompt

This section details on the original issue you should resolve

<issue_title>Refactor inspector layout to tabs | CONSULT-5049</issue_title>
<issue_description>Looks like this currently:

Image

Needs to look like this:

Image

This ticket only concerns:

  • Refactoring to a tabbed view in the inspector
  • Making the default width of the inspector 250px
  • Removing the icon to the left of the boundary name
  • Moving the content under "Members in this boundary" and "Markers in this boundary" into the new "Markers" tab. While leaving the remaining content in the new "Stats" tab
  • Don't attempt to change any of the actual data displayed in the panel & tabs, that work is for later issues</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits January 14, 2026 08:12
Co-authored-by: ev-sc <4164774+ev-sc@users.noreply.github.com>
Co-authored-by: ev-sc <4164774+ev-sc@users.noreply.github.com>
Copilot AI changed the title [WIP] Refactor inspector layout to use tabs Refactor inspector panel to tabbed layout Jan 14, 2026
Copilot AI requested a review from ev-sc January 14, 2026 08:17
@ev-sc
ev-sc marked this pull request as ready for review January 14, 2026 08:58
@ev-sc
ev-sc requested a review from joaquimds January 14, 2026 08:58
@ev-sc

ev-sc commented Jan 14, 2026

Copy link
Copy Markdown
Member

@joaquimds copilot did a pretty bad job of this. Still not great for design fidelity and interpreting UI functionality requests.
Did most of it manually, can you check it out to make sure it's ok?

@linear

linear Bot commented Jan 14, 2026

Copy link
Copy Markdown

@ev-sc ev-sc left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot you're still not very good at even moderate levels of design fidelity

Copilot AI requested a review from ev-sc January 14, 2026 09:03
Copilot stopped work on behalf of ev-sc due to an error January 14, 2026 09:03
@joaquimds
joaquimds merged commit 5b611bc into main Jan 14, 2026
1 of 2 checks passed
@joaquimds
joaquimds deleted the copilot/refactor-inspector-layout-tabs branch January 14, 2026 10:41
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.

Refactor inspector layout to tabs | CONSULT-5049

3 participants