Skip to content

Phase 3: Markdown preview, data portability, and browser tests - #4

Merged
ashutoshpalhare merged 16 commits into
mainfrom
phase-3-ux-import-export-browser-tests
Oct 27, 2026
Merged

ashutoshpalhare merged 16 commits into
mainfrom
phase-3-ux-import-export-browser-tests

Conversation

@ashutoshpalhare

Copy link
Copy Markdown
Owner

Phase 3 — UX polish and data portability

Included

  • Add a Markdown preview toggle in the editor, rendered server-side and sanitized with Bleach before the browser receives HTML.
  • Add private JSON export for the signed-in user's notes, including tags, pin/archive state, and trash state.
  • Add additive JSON import with version/shape/field validation, 2 MB and 5,000-note limits, and atomic writes so invalid imports don't partially write.
  • Add Django tests for export privacy, import validation/atomicity, and preview sanitization.
  • Add a separate Playwright/Chromium browser smoke-test workflow for login, editor preview, export, and import navigation.
  • Document Phase 3 usage and testing in README.

Validation

GitHub Actions will run Django CI and the new browser workflow for this PR. Merge only after both pass; this PR has not yet been validated by those workflows.

Notes

Import is additive, not a sync/overwrite. Exports contain private user data; store them securely.

@ashutoshpalhare
ashutoshpalhare merged commit b9408bd into main Oct 27, 2026
1 of 2 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.

1 participant