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

Add tooltips across buttons in interface to help tutorialize use #270

Open
brettfiedler opened this issue Sep 11, 2024 · 1 comment
Open
Assignees
Labels
design:general dev:enhancement New feature or request

Comments

@brettfiedler
Copy link
Contributor

Can use the Tooltip from react-bootstrap/Tooltip to use OverlayTrigger on buttons.

CameraMain.js for example

<OverlayTrigger placement='left' overlay={<Tooltip id='tooltip'>Click to toggle the sidebar</Tooltip>}>
<Button
  onClick={() => this.setState({ sidebarOpen: !this.state.sidebarOpen })}
>
  {this.state.sidebarOpen ? '☰ Close Sidebar' : '☰ Open Sidebar'}
</Button>
</OverlayTrigger>

Will work on adding this to other buttons across the interface.

@brettfiedler
Copy link
Contributor Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design:general dev:enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant