feat(apollo-react): add formatting toolbar to sticky notes#423
Closed
david-rios-uipath wants to merge 1 commit intomainfrom
Closed
feat(apollo-react): add formatting toolbar to sticky notes#423david-rios-uipath wants to merge 1 commit intomainfrom
david-rios-uipath wants to merge 1 commit intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Dependency License Review
License distribution
Excluded packages
|
e99d2ea to
9d21596
Compare
Add formatting toolbar to sticky notes with inline markdown editing. - FormattingToolbar component with bold, italic, strikethrough, bullet list, and numbered list buttons with ApTooltip - Keyboard shortcuts (Cmd+B, Cmd+I, Cmd+Shift+X) - Smart toggle: detects when cursor is inside formatted region and removes markers on toggle (no selection required) - Bold+italic combined marker (***) detection for toolbar state - List-aware formatting: protects bullet/number prefixes when applying inline formatting to list items - Enter key continues bullet and numbered lists with auto-increment; empty item exits the list - Format detection respects line boundaries (no cross-line false positives) - Split markdown formatting into markdown-formatting/ module
9d21596 to
3bd3187
Compare
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 an opinionated markdown editor UI for sticky notes.
It supports bold, italic, strikethrough, bullet lists, and numbered lists.
Interaction modes:
2026-03-30.17.37.18.mp4
Changes
***combined***markers in toolbar state-andN.prefixes from being wrappedFlow
flowchart TD A[User action: click toolbar / keyboard shortcut] --> B{Has selection?} B -->|No| C{Cursor inside formatted region?} C -->|Yes| D[Remove surrounding markers] C -->|No| E{On list line?} E -->|Yes| F[Wrap line content after prefix] E -->|No| G[Insert empty markers at cursor] B -->|Yes| H{Multi-line with list items?} H -->|Yes| I[Apply formatting per-line, protect prefixes] H -->|No| J[Wrap/unwrap selection] D --> K[Update activeFormats + set cursor via rAF] F --> K G --> K I --> K J --> KTesting
pnpm run testpasses (67 suites, 1344 tests)pnpm run typecheckpassespnpm run lintpasses