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

Feature/refactor tab group loading #47

Merged
merged 20 commits into from
Jul 11, 2023
Merged

Conversation

buehlefs
Copy link
Contributor

@buehlefs buehlefs commented Jun 23, 2023

This PR is a refactoring to make reloading ui template tabs more robust on changes in the complete application.

Refactorings:

  • Templates service (add utility methods and subscriptions for the current template)
  • Templates service (correctly determine and apply default templates; depends on QHAna Backend sending default template in experiment)
  • Plugin sidebar (refactor template tab details -> extract into dedicated component)
  • Plugin Sidebar (refactor plugin groups to use new template service methods; see navbar)
  • Navbar (refactor to use new template service methods)
  • Template details in workspace (refactor to show all groups; see new template tab groups component in sidebar; Make it more robust against changes in template tabs, e.g., moving tabs between groups, etc.)
  • Optional: Support new tab group navigation (like experiment-navigation shown in the nav bar but only when no experiment is selected)

buehlefs and others added 10 commits June 22, 2023 13:29
Auto-load DEFAULT_UI_TEMPLATE, which stores a ui template id.
Refactor templates service to include more utility methods to be used
by other components using ui templates.
Templates service now has subscriptions for the current and the default template.
Templates service can get default template from Experiment and env vars.

Refactor navbar to use the changed templates service.
Refactor navbar to only show experiment navigation tabs when an experiment is active.

Extract template tab details from plugin sidebar into dedicated component.
@buehlefs buehlefs marked this pull request as ready for review July 11, 2023 08:53
@buehlefs buehlefs merged commit 9d20d8e into main Jul 11, 2023
@buehlefs buehlefs deleted the feature/refactor-tab-roup-loading branch July 11, 2023 14:38
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