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

Hide tabs that aren't relevant #221

Open
bmaranville opened this issue Nov 8, 2024 · 0 comments
Open

Hide tabs that aren't relevant #221

bmaranville opened this issue Nov 8, 2024 · 0 comments

Comments

@bmaranville
Copy link
Member

Currently, every panel that is defined in the webview application is shown in the tab chooser all the time. This includes the 4 uncertainty plot panels, that really only should be shown when there is an uncertainty state defined in the server state. It also includes the new Custom Plot panels, which should only be shown if the models define any custom plots.

Implementation:
Could add logic to panels to decide if they should be shown or not, depending on the shared state in the client. Need to add "uncertainty available" to the shared state, as well as "custom plots available".

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

No branches or pull requests

1 participant