Skip to content

Keep Preview Workspace tab actions reachable - #147

Merged
Yuqing (mydmdm) merged 1 commit into
mainfrom
fix/issue-145
Aug 31, 2026
Merged

Keep Preview Workspace tab actions reachable#147
Yuqing (mydmdm) merged 1 commit into
mainfrom
fix/issue-145

Conversation

@mydmdm

Copy link
Copy Markdown
Contributor

Summary

  • keep Close visible and interactive on every Preview Workspace tab
  • keep the existing one-way Pin action visible on transient tabs
  • reserve action width and use horizontal strip scrolling instead of shrinking or overlaying controls
  • document the accessibility/layout contract and cover permanent and transient tabs

Validation

  • pnpm typecheck
  • pnpm format
  • pnpm lint:fix
  • pnpm --filter @huabu/web exec vitest run src/components/Panels/PreviewWorkspace/PreviewWorkspace.test.tsx

Fixes #145.

Unpin behavior remains out of scope and is tracked in #146.

Keep close controls visible on every preview tab and the one-way pin action visible on transient tabs. Reserve action width and let crowded tab strips scroll instead of shrinking controls.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mydmdm
Yuqing (mydmdm) merged commit 7ac45e7 into main Aug 31, 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.

Chat panel tab pin/close buttons disappear, losing tab operability

1 participant