Skip to content

Move the work profile switcher to the sidebar footer - #64

Merged
robert-crandall merged 1 commit into
mainfrom
yarn/issue-63-implementation-45ec6c0e
Sep 28, 2026
Merged

robert-crandall merged 1 commit into
mainfrom
yarn/issue-63-implementation-45ec6c0e

Conversation

@robert-crandall

Copy link
Copy Markdown
Owner

Closes #63.

Move Work profile out of the homepage content and into a compact sidebar row above Settings. The active profile stays visible, while switching and Add profile live in a non-modal popover that opens upward when space permits and stays within the viewport.

Preserve the existing creation flow and run/unsubscribe safeguards. Share dismissal behavior with the run-progress popover, support keyboard navigation and focus return, and handle long names and scrollable profile lists. Update design guidance and add browser coverage for layout, dismissal, creation, responsive sizing, and persistence recovery.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

No unresolved review comments were supplied, and the changes include corresponding test and documentation updates.

Review effort: Lite
Findings: None

What changed in this PR

Moves work-profile switching from the homepage into a responsive sidebar-footer popover while preserving creation, persistence, and run safeguards.

Changes:

  • Adds accessible profile switching and creation.
  • Shares popover dismissal behavior with run progress.
  • Updates responsive styling, tests, and documentation.
File Description
tests/​tasks.spec.ts Updates profile interaction tests
tests/​profile-switcher.spec.ts Adds profile switcher browser coverage
src/​work/​usePopoverDismissal.ts Adds shared dismissal and focus handling
src/​work/​tasks.css Adds responsive popover styling
src/​work/​TaskApp.tsx Integrates the sidebar switcher
src/​work/​RunProgressPopover.tsx Reuses shared dismissal behavior
src/​work/​ProfileSwitcher.tsx Adds the sidebar profile switcher
README.md Updates user guidance
playwright.config.ts Registers the new test suite
DESIGN.md Updates design guidance

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@robert-crandall
robert-crandall merged commit 50002b8 into main Sep 28, 2026
1 check 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.

Move profile to the sidebar

2 participants