Skip to content

fix(app): Delete draft on exit - #379

Draft
kevin8999 wants to merge 3 commits into
bluelearn-org:mainfrom
kevin8999:fix/delete-draft-on-exit
Draft

fix(app): Delete draft on exit#379
kevin8999 wants to merge 3 commits into
bluelearn-org:mainfrom
kevin8999:fix/delete-draft-on-exit

Conversation

@kevin8999

@kevin8999 kevin8999 commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Summary

Closes #315 .

This PR clears drafts when the user leaves the /contribute page, letting the user work on multiple drafts if they choose to save it to the database.

Warning

As of 2026-08-27, progress on this PR has been blocked due to @andyrodrigues30 's work on other issues that conflict with the scope of this PR.

Type of change

  • Bug fix
  • Feature
  • Refactor (no behavior change)
  • Documentation
  • Build / tooling / CI
  • Other: _________

Verification

  • pnpm -r typecheck passes
  • pnpm -r build passes
  • Manually verified in a browser (for UI / behavior changes)
  • Followed the app layout conventions
  • No new dependencies, or new dependencies are justified and AGPL-compatible
  • Change does not violate any non-negotiable principle
  • Documentation only, no changes to the codebase, so no tests required

…rs when browser tab is closed

`sessionStorage` only lasts as long as the tab or browser is open. It can also survive page reloads and restores
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.

[Feature] Allow users to delete drafts

1 participant