Skip to content

Add first-run setup page - #3

Merged
jodevsa merged 7 commits into
mainfrom
cursor/first-run-setup-page
Dec 1, 2026
Merged

jodevsa merged 7 commits into
mainfrom
cursor/first-run-setup-page

Conversation

@jodevsa

@jodevsa jodevsa commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Gate new users on a dedicated Setup screen (bucket + keys + password) before the main document UI
  • Extract shared StorageForm used by Setup (Save and continue) and Settings → Storage
  • Test the connection with the form keys first, then encrypt and save so a failed CORS/credentials attempt keeps people on setup
  • Update first-run / storage / unlock e2e coverage for the new path

Screenshot

First-run setup page

Test plan

  • Open a fresh browser profile at / and confirm the setup screen (not the empty list)
  • Expand “What you need beforehand” and confirm CORS / bucket hints
  • Complete Save and continue against a real or fake bucket and land on MainScreen
  • Fail CORS / bad keys and confirm inline error + stay on setup
  • Returning user with a vault still sees Unlock
  • Settings → Storage still works after setup (Save keys / Test / Lock / Remove)
  • npx playwright test e2e/first-run.spec.ts e2e/storage.spec.ts e2e/unlock.spec.ts

Made with Cursor

Subhi Al Hasan and others added 2 commits December 1, 2026 17:26
…empty list.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@jodevsa
jodevsa marked this pull request as ready for review December 1, 2026 16:34
Subhi Al Hasan and others added 5 commits December 1, 2026 17:35
Co-authored-by: Cursor <cursoragent@cursor.com>
Use transformers.js as the default metadata runtime (350M default, 1B optional) while keeping Qwen via WebLLM selectable.

Co-authored-by: Cursor <cursoragent@cursor.com>
Resolve README model/license table conflicts by keeping PP-OCRv6-only
OCR wording from main and Granite Nano metadata rows from this branch.

Co-authored-by: Subhi Al Hasan <subhialhasan@protonmail.com>
Resolve README conflicts by keeping PaddleOCR-VL removal from main and
Granite 4.0 Nano metadata docs from this branch; update ADR accordingly.

Co-authored-by: Subhi Al Hasan <subhialhasan@protonmail.com>
…ps-land/documents-manager into cursor/first-run-setup-page

Co-authored-by: Subhi Al Hasan <subhialhasan@protonmail.com>
@jodevsa
jodevsa merged commit f57e6da into main Dec 1, 2026
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.

2 participants