Repository navigation
fix(spatial): put the transcripts' Colour by toggle beside its label - #118
Merged
Merged
Conversation
The row used the shared half-width label column meant for sliders, so the toggle started at the dialog's middle and "Cluster | Cell type | Gene" ran past the right edge and was cropped. The toggle now follows the label, its buttons on one line, as the observations' "Show as" row does.
ProvenFlow review (changes since
|
Merged
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.
In the spatial omics dialog's Transcripts section, the "Colour by" row (Cluster | Cell type | Gene) used the shared half-width label column that lines the sliders up at the dialog's middle. The toggle started at the middle, so its three buttons ran past the right edge and were cropped.
The row now gets
sc-colour-by: the label takes only its own width, and the toggle follows it with its buttons on one line. These are the same rules the observations' "Show as" row already uses (.sc-show-as).Not rendered in the example: none of the dev tile server's demo datasets has transcripts. The transcripts panel's tests and
format:checkpass, and the build succeeds.