Skip to content

feat(ui): per-activity optional secondary sidebar — News goes full-width#321

Merged
luokerenx4 merged 1 commit into
masterfrom
UI-issue
Jun 11, 2026
Merged

feat(ui): per-activity optional secondary sidebar — News goes full-width#321
luokerenx4 merged 1 commit into
masterfrom
UI-issue

Conversation

@luokerenx4

Copy link
Copy Markdown
Contributor

Summary

  • The VSCode-era double-sidebar forced a secondary column onto every activity; News's was a one-row "All News" placeholder taxing 200–500px for nothing
  • SECTION_BY_KEY is now a Partial record — activities without an entry are sidebar-less: clicking opens their default tab full-width (the mechanism Automation/Portfolio can reuse later if we decide to strip theirs too)
  • Sidebar-less items keep the ActivityBar highlight but become pure navigation: no re-click collapse toggle, mobile skips the secondary drawer
  • Deletes NewsSidebar.tsx and its only i18n key (news.allNews) in all four locales

Test plan

  • ui tsc -b clean
  • pnpm test passes (1823)
  • Manual: click News → page full-width, no second column; Market/Inbox sidebars unaffected; mobile drawer goes straight to the page

🤖 Generated with Claude Code

…s full-width

The VSCode-era layout forced a secondary sidebar onto every activity.
News's sidebar was a single-row "All News" placeholder taxing 200-500px
of width for nothing. SECTION_BY_KEY is now a Partial record: activities
without an entry are sidebar-less — clicking them opens their default
tab full-width. Sidebar-less items keep ActivityBar highlight but lose
the re-click collapse toggle (collapsing a nonexistent column only
dropped the highlight) and skip the mobile secondary drawer.

Removes NewsSidebar and its only i18n key (news.allNews) in all four
locales.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openalice-demo Ready Ready Preview, Comment Jun 11, 2026 9:17am

Request Review

@luokerenx4 luokerenx4 merged commit b2c718c into master Jun 11, 2026
5 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