Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retain feature labels in compact display mode for SVG features, and allow turning off keeping feature description without feature label #3350

Merged
merged 1 commit into from
Dec 1, 2022

Conversation

cmdcolin
Copy link
Collaborator

@cmdcolin cmdcolin commented Nov 23, 2022

Example, with our "Gencode" gene track:

by default the gene "label" is it's ENCODE ID, and the description is it's "gene symbol". if I was an end user and it was configured this way, it would be difficult on current main to make it so that it just displays the gene symbol. Also, displaying in a compact mode, with the gene labels still displayed, I think is useful. This PR accomplishes both changes

Example screenshot, which is fairly easy to setup after this change

Screenshot from 2022-11-23 11-44-58

@github-actions github-actions bot added the needs label triage Needs a label to show in changelog (breaking, enhancement, bug, documentation, or internal) label Nov 23, 2022
@cmdcolin cmdcolin added enhancement New feature or request and removed needs label triage Needs a label to show in changelog (breaking, enhancement, bug, documentation, or internal) labels Nov 23, 2022
@codecov
Copy link

codecov bot commented Nov 23, 2022

Codecov Report

Merging #3350 (cab7c3b) into main (14ea238) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #3350      +/-   ##
==========================================
- Coverage   59.01%   59.00%   -0.01%     
==========================================
  Files         773      773              
  Lines       29439    29438       -1     
  Branches     7116     7115       -1     
==========================================
- Hits        17372    17370       -2     
- Misses      11873    11874       +1     
  Partials      194      194              
Impacted Files Coverage Δ
...FeatureRenderer/components/SvgFeatureRendering.tsx 75.53% <100.00%> (-0.26%) ⬇️
...rative-view/src/ServerSideRenderedBlockContent.tsx 62.50% <0.00%> (-4.17%) ⬇️
products/jbrowse-web/src/util.ts 48.33% <0.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@cmdcolin
Copy link
Collaborator Author

cmdcolin commented Dec 1, 2022

might go ahead with this :)

@cmdcolin cmdcolin merged commit 192f2c4 into main Dec 1, 2022
@cmdcolin cmdcolin deleted the svg_features branch December 1, 2022 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant