Skip to content

polish(web): hide idle problem draft panel unless restoring via link - #29

Merged
LikC1606 merged 5 commits into
mainfrom
polish/hide-idle-problem-drafts
Nov 25, 2026
Merged

LikC1606 merged 5 commits into
mainfrom
polish/hide-idle-problem-drafts

Conversation

@LikC1606

Copy link
Copy Markdown
Collaborator

Keep the authenticated workbench home screen and Lean editor focused by removing the unsolicited 'Save and restore problem drafts' ([data-problem-account-drafts]) panel from idle composer views:

  • Home & Lean editor: Render / #lean-problem-drafts only when an explicit ?accountDraft=... recovery target is present (preserving all deep-link restore flows from \workspace.html?tab=drafts).
  • Tests: Assert [data-problem-account-drafts]:visible stays hidden on signed-in home and Lean editor views while updating the account-draft Playwright tests (\ est-web-problem-drafts.ts, \ est-web-problem-lifecycle.ts, \ est-web-editor-post-state.ts, \ est-web-onboarding-post-continuity.ts, \ est-web-simple-workbench.ts) to exercise cross-device restore, conflict preservation, restore read-race, submission archiving, and deep-link handling through ?accountDraft=.

@LikC1606
LikC1606 merged commit 5f5bc6f into main Nov 25, 2026
4 checks passed
@LikC1606
LikC1606 deleted the polish/hide-idle-problem-drafts branch November 25, 2026 10:50
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