Skip to content

Conversation

@eamodio
Copy link
Member

@eamodio eamodio commented Jun 2, 2025

Overview

Introduces header rows for grouped views to improve navigation and visual organization when multiple views are displayed together.

Changes

  • Adds new GroupedHeaderNode class that creates header entries for grouped views with appropriate labeling and context values
  • Enhances view context menu support by adding comprehensive menu contributions for all view types in the view/item/context section
  • Improves grouped view presentation by automatically inserting header nodes at the top of grouped view content
  • Extends view base functionality with grouped icon support and enhanced description handling for grouped contexts

Benefits

  • Better visual hierarchy - Users can easily distinguish between different view sections when multiple views are grouped
  • Improved accessibility - Header rows provide clear context about which view section content belongs to
  • Enhanced navigation - Context menus are now available directly on view headers for quick access to view-specific actions
  • Consistent user experience - All grouped views now follow the same header pattern for uniformity

The implementation automatically detects when views are in grouped mode and adds appropriate header nodes without affecting standalone view behavior.

@eamodio eamodio requested a review from d13 June 2, 2025 16:45
@eamodio eamodio force-pushed the feature/grouped-view-headers branch from 4a5b43b to 1882388 Compare June 2, 2025 16:45
@eamodio eamodio force-pushed the feature/grouped-view-headers branch from 1882388 to 278e3a4 Compare June 2, 2025 17:41
@d13 d13 linked an issue Jun 2, 2025 that may be closed by this pull request
@d13 d13 self-assigned this Jun 2, 2025
Copy link
Member

@d13 d13 left a comment

Choose a reason for hiding this comment

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

LGTM

@d13 d13 merged commit 70f668e into main Jun 2, 2025
3 checks passed
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.

Improve GitLens view headings when collapsed

2 participants