Skip to content

feat: support externally controlled highlights - #4405

Merged
hamed-musallam merged 3 commits into
mainfrom
external-highlighting
Oct 6, 2026
Merged

hamed-musallam merged 3 commits into
mainfrom
external-highlighting

Conversation

@hamed-musallam

Copy link
Copy Markdown
Member

No description provided.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Deploying nmrium with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7aa2667
Status: ✅  Deploy successful!
Preview URL: https://da7cea26.nmrium.pages.dev
Branch Preview URL: https://external-highlighting.nmrium.pages.dev

View logs

@hamed-musallam
hamed-musallam marked this pull request as ready for review October 6, 2026 07:31
@hamed-musallam

Copy link
Copy Markdown
Member Author

@vcnainala

Can you review the functionality?

@hamed-musallam
hamed-musallam merged commit 479250d into main Oct 6, 2026
12 checks passed
@hamed-musallam
hamed-musallam deleted the external-highlighting branch October 6, 2026 11:30
vcnainala added a commit to NFDI4Chem/nmrium-react-wrapper that referenced this pull request Oct 6, 2026
Switch from the controlled highlight / onHighlightChange API (#4402) to
the additive highlightedIds prop from cheminfo/nmrium#4405. Host
highlights no longer touch NMRium's internal highlight state, so the
sourceData workaround and the permanent option are gone.

Drop the embedding settings from the QM demo fixture: they hide NMRium's
panels, which the demo and e2e tests rely on.
vcnainala added a commit to NFDI4Chem/nmrium-react-wrapper that referenced this pull request Oct 9, 2026
Switch from the controlled highlight / onHighlightChange API (#4402) to
the additive highlightedIds prop from cheminfo/nmrium#4405. Host
highlights no longer touch NMRium's internal highlight state, so the
sourceData workaround and the permanent option are gone.

Drop the embedding settings from the QM demo fixture: they hide NMRium's
panels, which the demo and e2e tests rely on.
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