Skip to content

CL-5851: Hide empty pins and page-specific panel bands - #34

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-5851-hide-empty-pins-page-bands
Aug 10, 2026
Merged

CL-5851: Hide empty pins and page-specific panel bands#34
TheGreatAxios merged 1 commit into
mainfrom
cl-5851-hide-empty-pins-page-bands

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Summary

  • Omit the Pinned band when there are no pins
  • Omit the page-specific band when the route contribution is null
  • No hollow empty-state copy in column 2 for those bands

Linear

https://linear.app/abklabs/issue/CL-5851

Test plan

  • bun test ./test/contextual-panel.test.tsx from apps/web
  • Manual: open shell with no pins → no Pinned heading
  • Manual: route without pageSpecific contribution → no empty "Nothing here yet"

Independence

Standalone off main. Touches contextual-panel.tsx same file as CL-5850 (Activity rename) — merge either order; small conflict possible on that file only.

Empty chrome is noise. Omit the Pinned band when there are no pins and
omit the page-specific band when the route contribution has nothing to
render, instead of showing hollow empty-state copy.

@TheGreatAxios TheGreatAxios left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Reviewed via dispatch. Tight and correct: hides the Pinned band when pins.length === 0 and the page-specific band when the contribution is null, removing the hollow empty-state copy. Cleans up the now-unused PinIcon and EmptyState imports. Test updated to assert the band is absent when empty. Aligns with AGENTS.md. LGTM — would approve if I could; author/another reviewer can land it. Note the file overlap with CL-5850 (#35) flagged in the PR body.

@TheGreatAxios
TheGreatAxios merged commit 17112ba into main Aug 10, 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