Skip to content

refactor: centralize view icons and update tab indicator#683

Merged
Mng-dev-ai merged 1 commit into
mainfrom
refactor/centralize-view-icons
Jun 27, 2026
Merged

refactor: centralize view icons and update tab indicator#683
Mng-dev-ai merged 1 commit into
mainfrom
refactor/centralize-view-icons

Conversation

@Mng-dev-ai

Copy link
Copy Markdown
Owner

Summary

  • Extract view icons to shared VIEW_ICONS mapping in tileHelpers.ts
  • Use icons consistently across split pane tabs and the view switcher
  • Update active tab indicator from background color to bottom underline
  • Remove kind label from tab text for cleaner appearance

Changes

  • tileHelpers.ts: Add VIEW_ICONS record mapping view types to Lucide icons
  • SplitTabs.tsx: Display icon for each tab, add underline indicator for active tab, remove kind label
  • ViewSwitcher.tsx: Simplify to use centralized VIEW_ICONS instead of inline icon definitions

Extract VIEW_ICONS mapping to tileHelpers for shared use across pane tabs and view switcher. Update split tabs UI to display icons with bottom underline indicator instead of background color, and remove the kind label from tab text.
@Mng-dev-ai Mng-dev-ai marked this pull request as ready for review June 27, 2026 22:49
@Mng-dev-ai Mng-dev-ai merged commit b767ee3 into main Jun 27, 2026
2 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.

1 participant