Skip to content

Sticky notes powered by WP Guidelines#265

Merged
artpi merged 1 commit into
WordPress:trunkfrom
artpi:codex/sticky-notes
May 22, 2026
Merged

Sticky notes powered by WP Guidelines#265
artpi merged 1 commit into
WordPress:trunkfrom
artpi:codex/sticky-notes

Conversation

@artpi

@artpi artpi commented May 21, 2026

Copy link
Copy Markdown
Collaborator

What changed

  • Adds Gutenberg Guidelines-backed sticky notes to Desktop Mode, loading wp_guideline posts tagged with sticky artifact terms into a draggable/resizable desktop note layer.
  • Adds a wallpaper context-menu action for creating a new sticky note in desktop mode, with autosave through trackedFetch.
  • Hooks sticky notes into the shared WordPress Heartbeat bus so other-tab/editor changes arrive as deltas and deleted/retagged notes disappear without a refresh.
  • Scopes sticky placement to virtual desktops: new notes land on the active desktop, switch with Spaces, migrate when a desktop is closed, and survive refresh even when no windows are open.
  • Keeps sticky-note editor keystrokes inside the editor so shell/admin global shortcuts do not fire while typing note text.
  • Adds REST root config, sticky term resolution/creation, sticky note text parsing, local geometry persistence, and focused tests.
  • Updates wp-env so Gutenberg is installed and the Guidelines experiment is enabled automatically for local dev/test containers.
  • Documents the new shell config and session-persistence behavior.

Why

Desktop Mode needs to surface Gutenberg Guidelines sticky artifacts directly on the desktop when they are present, keep them fresh across open tabs, and make fresh local environments testable without manual Gutenberg setup.

stickies.mp4

Validation

  • npm run typecheck
  • npm run lint
  • npm run test:js -- sticky-notes boot-session
  • npm run test:js
  • npm run build
  • npm run package
  • unzip -t desktop-mode.zip
  • npm run test:php -- --filter='Tests_DesktopMode_StickyNotesHeartbeat'
  • Browser smoke in local wp-env: confirmed New sticky note appears in the wallpaper menu and creates a sticky note.
Open WordPress Playground Preview

@artpi artpi changed the title [codex] Implement Gutenberg sticky notes Sticky notes powered by WP Guidelines May 21, 2026
@artpi artpi marked this pull request as ready for review May 21, 2026 17:30
@AllTerrainDeveloper

Copy link
Copy Markdown
Collaborator

Amazing ❤️

@artpi artpi force-pushed the codex/sticky-notes branch 4 times, most recently from e0d190b to e15b3ef Compare May 21, 2026 18:33
@artpi artpi force-pushed the codex/sticky-notes branch from e15b3ef to cf2f608 Compare May 22, 2026 06:46
@artpi

artpi commented May 22, 2026

Copy link
Copy Markdown
Collaborator Author

I think this is good now, merging

@artpi artpi merged commit 2185096 into WordPress:trunk May 22, 2026
5 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