Skip to content

feat(stickies): add personal sticky notes#239

Merged
parth0025 merged 2 commits into
stagingfrom
feat/sticky-notes
Jun 16, 2026
Merged

feat(stickies): add personal sticky notes#239
parth0025 merged 2 commits into
stagingfrom
feat/sticky-notes

Conversation

@parth0025

@parth0025 parth0025 commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

What & why

Adds Sticky Notes — a personal quick-capture scratchpad (closes the Plane "Stickies" gap). Per-user notes that are always one click away from a header icon, for jotting reminders/ideas that don''t yet belong to a formal task.

Frontend

  • Header sticky-note icon → right-side slide-over panel (StickiesPanel.vue).
  • Grid of colored note cards, each with a bold title + body, debounced auto-save (on input + blur).
  • Per-note "..." menu (extensible): Pin/Unpin, Expand (large single-note view), color picker, Delete.
  • Drag-to-reorder via a grip handle (uses the app''s vuedraggable); the textareas stay editable.
  • Pinned notes float to the top with a 📌 + ring. i18n added.

Backend — Modules/Stickies/

  • CRUD + reorder endpoints (/api/v2/stickies), every query scoped by company DB + userId (ownership enforced in the filter).
  • Pure stickyRules.js (title/content length caps, color-enum, reorder validation) + unit tests.
  • stickies collection wired through all five schema-registration points (schema / createSchema / mongoQueries ×3 / schemaType / collections); per-user count cap (200); content rendered as text (no HTML).

Verification

  • ESLint clean; full jest suite passes (incl. new sticky-rules tests); backend module runtime-loads and the schema registers; index.js parses.
  • Manually tested: create / title+body autosave / color / pin / expand / delete / drag-reorder / per-user isolation.

🤖 Generated with Claude Code

A per-user quick-capture scratchpad opened from a header icon: a
slide-over panel of colored notes with a bold title and body, debounced
auto-save, a per-note ... menu (pin, expand to a large view, color,
delete), and drag-to-reorder. Notes are private to the user and scoped
to the company database.

Backend: Modules/Stickies (CRUD + reorder) with a pure stickyRules layer
and unit tests; the stickies collection is wired through all five schema
registration points; every query is scoped by company + userId with
content/title length caps and a per-user count cap.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jun 15, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 2b4d86d5-9ad0-4fe8-af79-bca4cbe92bcc

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/sticky-notes

Comment @coderabbitai help to get the list of available commands and usage tips.

@parth0025 parth0025 merged commit a65d445 into staging Jun 16, 2026
4 checks passed
parth0025 added a commit that referenced this pull request Jun 16, 2026
The Stickies block from PR #239 was missing its closing brace, nesting Demo inside Stickies and leaving the locale object one brace short, which broke the frontend build (Unexpected token, expected comma).

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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