Repository navigation
feat: update production - #312
Open
hamed-musallam wants to merge 19 commits into
Open
hamed-musallam wants to merge 19 commits into
hamed-musallam wants to merge 19 commits into
Conversation
Add support for loading spectra directly from external repositories by passing a `spectra=<source>:<id>` query param (e.g. `spectra=nmrxiv:s150`), Currently only supported `nmrxiv` as a source
Update NMRium core packages and related dependencies to support NMRium v2.6.0.
spectra query paramAllow embedding hosts to highlight a peak by id or nucleus+ppm over the existing nmr-wrapper:action-request channel, without reloading spectrum state.
Avoid import() return types, fix import order, and stop updating refs during render.
…uest feat: add highlightPeak action-request for host-driven peak highlighting
revert: remove highlightPeak bridge pending controllable NMRium API
chore: update eslint to version 10 chore: remove unused Babel chore: block TypeScript 7 updates
… API Add highlightPeak, highlightSignal and clearHighlight action requests on top of NMRium's public highlight / onHighlightChange props instead of aliasing its private highlight module. highlightSignal resolves a 1D signal by id or nucleus + delta and also highlights its parent range and the peaks inside that range. Host-driven highlights use an UNKNOWN source so NMRium's Delete/Backspace handler cannot delete the highlighted peak or signal.
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.
Per review, the wrapper no longer stores NMRium's state or resolves
peaks, ranges or signals. Hosts look up the ids in their own data and
send them; the wrapper forwards them to NMRium's highlightedIds prop.
Replace highlightPeak and highlightSignal with a single
highlight { ids: string[] } action and drop the automatic tab switch;
hosts send selectTab first. Invalid ids emit nmr-wrapper:error.
Firefox opens the QM fixture on the 13C tab and Chromium on 1H, so the 1H highlight tests found nothing to highlight in Firefox. Select 1H first, and start the selectTab test on 1H so it switches tabs in every browser.
feat: add highlight action-request that forwards ids to NMRium's highlightedIds
This branch has not been deployed
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.
Add support for loading spectra directly from external repositories by passing a
spectra=<source>:<id>query param (e.g.spectra=nmrxiv:s150),Currently only supported
nmrxivas a source