Skip to content

feat(apollo-react): add remark-breaks to sticky note markdown rendering, scroll improvements (3/3) [MST-7636]#430

Merged
david-rios-uipath merged 1 commit intomainfrom
feat/sticky-note-formatting-next
Apr 6, 2026
Merged

feat(apollo-react): add remark-breaks to sticky note markdown rendering, scroll improvements (3/3) [MST-7636]#430
david-rios-uipath merged 1 commit intomainfrom
feat/sticky-note-formatting-next

Conversation

@david-rios-uipath
Copy link
Copy Markdown
Contributor

@david-rios-uipath david-rios-uipath commented Mar 31, 2026

There are two main changes in this PR:

  • Line break rendering support
  • Simpler scrolling on overflow

1. Line break rendering support

Adds remark-breaks (remark plugin) to turn soft line endings (enters) into hard breaks. This makes our line end behavior fall more closely in line with what a user would expect from a WYSIWYG editor (i.e. FigJam sticky notes)

Before

2026-03-31 10 33 08

After

2026-03-31 10 32 07

2. Simpler scrolling on overflow

Only adds nowheel class to the sticky note element when the wheel event starts on the sticky note. This prevents the sudden cancellation of canvas scroll inertia (e.g. if the user starts scrolling outside the sticky note and their cursor ends up within the sticky note, we continue navigating on the canvas and ignore sticky note scroll behavior).

Before

User has to manually drag the scrollbar to scroll on a sticky note w/ overflow

2026-03-31.11.01.42.mp4

After

2026-03-31.10.55.53.mp4

@david-rios-uipath
Copy link
Copy Markdown
Contributor Author

@david-rios-uipath david-rios-uipath changed the title feat(apollo-react): add remark-breaks to sticky note markdown rendering feat(apollo-react): add remark-breaks to sticky note markdown rendering (3/3) Mar 31, 2026
@github-actions
Copy link
Copy Markdown

Dependency License Review

  • 1926 package(s) scanned
  • ✅ No license issues found
  • ⚠️ 3 package(s) excluded (see details below)
License distribution
License Packages
MIT 1691
ISC 89
Apache-2.0 56
BSD-3-Clause 28
BSD-2-Clause 23
BlueOak-1.0.0 8
MPL-2.0 5
MIT OR Apache-2.0 3
MIT-0 3
CC0-1.0 3
LGPL-3.0-or-later 2
(MIT OR Apache-2.0) 2
Unlicense 2
Python-2.0 1
CC-BY-4.0 1
(MPL-2.0 OR Apache-2.0) 1
Unknown 1
Artistic-2.0 1
(WTFPL OR MIT) 1
(BSD-2-Clause OR MIT OR Apache-2.0) 1
CC-BY-3.0 1
0BSD 1
(MIT OR CC0-1.0) 1
MIT AND ISC 1
Excluded packages
Package Version License Reason
@img/sharp-libvips-linux-x64 1.2.4 LGPL-3.0-or-later LGPL pre-built binary, not linked
@img/sharp-libvips-linuxmusl-x64 1.2.4 LGPL-3.0-or-later LGPL pre-built binary, not linked
khroma 2.1.0 Unknown MIT per GitHub repo, missing license field in package.json

@david-rios-uipath david-rios-uipath marked this pull request as ready for review March 31, 2026 14:35
@david-rios-uipath david-rios-uipath marked this pull request as draft March 31, 2026 14:36
@david-rios-uipath david-rios-uipath changed the title feat(apollo-react): add remark-breaks to sticky note markdown rendering (3/3) feat(apollo-react): add remark-breaks to sticky note markdown rendering, scroll improvements (3/3) Mar 31, 2026
@david-rios-uipath david-rios-uipath marked this pull request as ready for review March 31, 2026 15:02
@david-rios-uipath david-rios-uipath changed the title feat(apollo-react): add remark-breaks to sticky note markdown rendering, scroll improvements (3/3) feat(apollo-react): add remark-breaks to sticky note markdown rendering, scroll improvements (3/3) [MST-7636] Mar 31, 2026
@david-rios-uipath david-rios-uipath force-pushed the feat/sticky-note-formatting-toolbar-v2 branch from ce8b974 to 1e5fb4f Compare April 2, 2026 02:15
@david-rios-uipath david-rios-uipath force-pushed the feat/sticky-note-formatting-next branch from fe4c2c3 to b6e0981 Compare April 2, 2026 02:15
@david-rios-uipath david-rios-uipath force-pushed the feat/sticky-note-formatting-toolbar-v2 branch from 1e5fb4f to e68c611 Compare April 3, 2026 20:33
Base automatically changed from feat/sticky-note-formatting-toolbar-v2 to main April 3, 2026 20:43
@david-rios-uipath david-rios-uipath force-pushed the feat/sticky-note-formatting-next branch from b6e0981 to f3ed58f Compare April 3, 2026 21:26
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (PT)
apollo-canvas 🟢 Ready Preview, Logs Apr 06, 2026, 07:27:14 AM
apollo-landing 🟢 Ready Preview, Logs Apr 06, 2026, 07:25:33 AM
apollo-ui-react 🟢 Ready Preview, Logs Apr 06, 2026, 07:25:37 AM
apollo-vertex 🟢 Ready Preview, Logs Apr 06, 2026, 07:26:54 AM
apollo-wind 🟢 Ready Preview, Logs Apr 06, 2026, 07:25:30 AM

@github-actions github-actions bot added the size:M 30-99 changed lines. label Apr 3, 2026
@david-rios-uipath david-rios-uipath force-pushed the feat/sticky-note-formatting-next branch from 43462ed to 2ff16b3 Compare April 6, 2026 14:22
Single newlines in sticky notes now render as <br> instead of being
collapsed by the markdown parser, matching user expectations for
line breaks in a note-taking context.
@david-rios-uipath david-rios-uipath force-pushed the feat/sticky-note-formatting-next branch from 2ff16b3 to 9871736 Compare April 6, 2026 14:23
@david-rios-uipath david-rios-uipath merged commit 09e6b5b into main Apr 6, 2026
37 of 39 checks passed
@david-rios-uipath david-rios-uipath deleted the feat/sticky-note-formatting-next branch April 6, 2026 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M 30-99 changed lines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants