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

Added toggle to hide/show node descriptions #698

Merged

Conversation

oliviajanejohns
Copy link
Contributor

  • Tidied up styling of navbar
  • Added additional toggle to show/hide node descriptions
  • Setup vitest
Screenshot 2024-12-20 at 21 10 48 Screenshot 2024-12-20 at 21 10 30 Screenshot 2024-12-20 at 21 10 58

@@ -151,15 +152,14 @@ function Drawer({ calmInstance, title, isDescActive }: DrawerProps) {
return {
data: {
id: relationship['unique-id'],
label: (isDescActive && relationship.description) || '',
label: relationship.description || '',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Required to pass in descriptions to sidebar

Copy link
Member

@LeighFinegold LeighFinegold left a comment

Choose a reason for hiding this comment

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

Approving for branch merge. Great to see to tests as well around this stuff

@oliviajanejohns oliviajanejohns merged commit da26d35 into finos:explore-cytoscape Dec 24, 2024
3 of 5 checks passed
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