Skip to content

Support "hideTags" property. See #1978#1980

Merged
jrobinso merged 1 commit intomasterfrom
hidden_tags
May 19, 2025
Merged

Support "hideTags" property. See #1978#1980
jrobinso merged 1 commit intomasterfrom
hidden_tags

Conversation

@jrobinso
Copy link
Contributor

No description provided.

@jrobinso jrobinso requested a review from Copilot May 19, 2025 03:08
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for a configurable "hideTags" property to customize which tags are hidden in the alignment popup view. Key changes include modifying the BamAlignment.popupData method to accept a hiddenTags parameter, updating AlignmentTrack to pass the new property, and modifying the demo configuration in bam.html.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
js/bam/bamAlignment.js Updated popupData method to receive a hiddenTags parameter and adjusted tag list generation.
js/bam/alignmentTrack.js Added hiddenTags property from config and passed it to popupData; minor update to tagColorPallete property.
dev/alignment/bam.html Updated configuration to include a hideTags array for filtering tags.
Comments suppressed due to low confidence (1)

js/bam/alignmentTrack.js:65

  • Consider renaming 'tagColorPallete' to 'tagColorPalette' for clarity and consistency.
tagColorPallete: "Set1"

@jrobinso jrobinso merged commit 2a8bfb8 into master May 19, 2025
2 checks passed
@jrobinso jrobinso deleted the hidden_tags branch May 19, 2025 03:10
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.

2 participants