Skip to content

refactor: split sidebar into components and hooks#96

Merged
Dimillian merged 3 commits intomainfrom
refactor/sidebar-split
Jan 18, 2026
Merged

refactor: split sidebar into components and hooks#96
Dimillian merged 3 commits intomainfrom
refactor/sidebar-split

Conversation

@Dimillian
Copy link
Owner

@Dimillian Dimillian commented Jan 18, 2026

Summary

  • Extract Sidebar into focused presentational components (header/footer/corner actions, group, workspace/worktree cards, thread list/loading).
  • Move sidebar state/derived logic into hooks (menus, scroll fade, collapsed groups, thread rows).
  • Centralize usage/credits label formatting in a shared util.

Notes

Sidebar is now composition-only; side effects and data shaping live in hooks.

Testing

  • npm run lint
  • npm run typecheck

@Dimillian Dimillian merged commit f810c4b into main Jan 18, 2026
2 checks passed
gersmann pushed a commit to gersmann/codex-monitor-web that referenced this pull request Mar 10, 2026
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