Skip to content

Visualizer styling updates #1373

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

oliviajanejohns
Copy link
Contributor

@oliviajanejohns oliviajanejohns commented Jun 20, 2025

  • Added new logo for CALM Hub with icon and text.
  • Adjusted button styling to use btn-primary.
Screenshot 2025-06-20 at 10 02 18

On button hover:
Screenshot 2025-06-20 at 10 02 11

  • Moved descriptions toggles to sidebar to reduce items in menu
Screenshot 2025-06-20 at 10 02 31

calmKey,
}: VisualizerContainerProps) {
const [isRelationshipDescActive, setConDescActive] = React.useState(true);
const [isNodeDescActive, setNodeDescActive] = React.useState(true);
const toggleState = (setter: React.Dispatch<React.SetStateAction<boolean>>) => () =>
Copy link
Member

Choose a reason for hiding this comment

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

minor thing, but we tend to be importing and using useState directly rather than accessing it through the React. Would be nice to keep it consistent

Copy link
Member

Choose a reason for hiding this comment

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

lovely refactor

Copy link
Member

Choose a reason for hiding this comment

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

needs tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants