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

fix(agora): migrate InputSwitch to ToggleSwitch (AG-1709), remove styles specific to removed gene-druggability component (AG-1710) #3032

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hallieswan
Copy link
Collaborator

@hallieswan hallieswan commented Mar 10, 2025

Description

We recently updated to PrimeNG v19 from v17. There were a number of changes to the component names and style classes from v17 to v18+, see here. The InputSwitch component was renamed ToggleSwitch. This PR updates the Agora components accordingly.

We also recently removed an unused component (#3026). This PR also removes remaining styles specific to this component.

Related Issues

Changelog

  • Migrates Agora components to use ToggleSwitch instead of InputSwitch
  • Moves global toggleswitch styles into preset
  • Removes styles specific to removed component

Validation

Current dev:

currentdev_toggleswitch.mov

New dev:

newdev_toggleswitch.mov

Fix:

fix_toggleswitch.mov

@hallieswan hallieswan marked this pull request as ready for review March 10, 2025 19:35
@hallieswan hallieswan requested a review from a team as a code owner March 10, 2025 19:35
@hallieswan hallieswan requested a review from sagely1 March 10, 2025 19:36
Copy link
Contributor

@sagely1 sagely1 left a comment

Choose a reason for hiding this comment

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

LGTM!

@tschaffter
Copy link
Member

@hallieswan Why is the box titled "RNA-Differential Expression" shifted vertically when interacting with the toggle that lives inside this box?

Copy link
Contributor

@sagely1 sagely1 left a comment

Choose a reason for hiding this comment

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

LGTM!

@hallieswan
Copy link
Collaborator Author

hallieswan commented Mar 10, 2025

@hallieswan Why is the box titled "RNA-Differential Expression" shifted vertically when interacting with the toggle that lives inside this box?

@tschaffter When the switch is toggled, a filter is added so that only differential expression for genes + tissues with significant p-values are displayed. Displaying the filter shifts the control panel downwards (including the RNA - Differential Expression dropdown).

significance_toggle.mov

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.

3 participants