Skip to content

Daxia [ T3 Code ] Add sidebar resize reset and bounds#7239

Closed
daxia778 wants to merge 1 commit into
UnsafeLabs:mainfrom
daxia778:daxia/t3-resizable-sidebar-840
Closed

Daxia [ T3 Code ] Add sidebar resize reset and bounds#7239
daxia778 wants to merge 1 commit into
UnsafeLabs:mainfrom
daxia778:daxia/t3-resizable-sidebar-840

Conversation

@daxia778

Copy link
Copy Markdown

/claim #840

Summary

  • Set the thread sidebar default width to 280px with 200px/500px resize bounds.
  • Added a double-click reset path on the resize rail while preserving existing drag persistence and collapsed/mobile behavior.
  • Added focused SSR and browser tests for the resize affordance, persisted width restore, and reset-to-default behavior.

Demo

https://github.com/daxia778/Bounty-Hunters/releases/download/issue-840-demo-589be91e/t3-sidebar-840-demo-589be91e.mp4

Validation

  • npx -y bun@1.3.11 run --cwd apps/web test src/components/ui/sidebar.test.tsx
  • npx -y bun@1.3.11 run --cwd apps/web test:browser src/components/ui/sidebar.browser.tsx
  • npx -y bun@1.3.11 run --cwd apps/web typecheck
  • npx -y bun@1.3.11 run fmt:check apps/web/src/components/AppSidebarLayout.tsx apps/web/src/components/ui/sidebar.tsx apps/web/src/components/ui/sidebar.test.tsx apps/web/src/components/ui/sidebar.browser.tsx apps/web/src/components/.provenance.json
  • git diff --check

@github-actions

Copy link
Copy Markdown
Contributor

Unfortunately the changes in this PR didn't fully resolve the issue. Please rework your solution and submit a new pull request.

Make sure to review the acceptance criteria in the linked issue and verify all conditions are met before resubmitting. See CONTRIBUTING.md for guidelines.

@github-actions github-actions Bot closed this Jun 26, 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