feat: add Notes app with markdown editor and preview - #164
Open
G4brym wants to merge 3 commits into
Open
Conversation
Notes are stored as markdown files in the bucket under .r2-explorer/notes/, using only existing bucket APIs (no new worker endpoints or state stores). - New Notes app in the sidebar with note list, editor and rendered markdown preview (marked + DOMPurify) - Create, edit/save (Ctrl/Cmd+S) and delete notes - E2E coverage in packages/dashboard/e2e/notes.spec.ts Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
On screens under 600px the note list takes the full width, and opening a note switches to a full-screen editor with a back button. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
New optional config: R2Explorer({ apps: { notes: { enabled: false } } }).
When disabled, the Notes sidebar button is hidden and /:bucket/notes
redirects to the Files app.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
r2-explorer-docs | ff5f2b7 | Commit Preview URL Branch Preview URL |
Jul 13 2026, 09:12 AM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a Notes app to the dashboard — a markdown note-taking app alongside Files and Email. Notes are plain markdown files stored directly in the bucket under
.r2-explorer/notes/, so all state lives in R2 and everything reuses the existing bucket APIs (no new worker endpoints).marked+DOMPurifysanitized)When disabled, the sidebar button is hidden and
/:bucket/notesredirects to the Files app. Documented inconfiguration.md.Testing
packages/dashboard/e2e/notes.spec.ts(listing, opening, preview rendering, edit/save, create, duplicate-name rejection, mobile layout, delete) — all passingfile-browsingandfile-previewhave 2 pre-existing E2E failures that also fail on cleanmain— unrelated to this PR🤖 Generated with Claude Code