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

AppSidebar: fix tab validation: tabs are optional #445

Merged
merged 1 commit into from
Jun 24, 2019

Conversation

korelstar
Copy link
Contributor

There are two use-cases for AppSidebar:

  1. slot contains one or more AppSidebarTab(s) => use tabs
  2. slot contains custom element(s) => don't use tabs

With this PR, it is checked if one of those use-cases is used. It gives a warning, if they are mixed.

@korelstar korelstar added 3. to review Waiting for reviews feature: app-sidebar Related to the app-sidebar component labels Jun 23, 2019
@korelstar korelstar added this to the next milestone Jun 23, 2019
Copy link
Contributor

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

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

Makes sense

@skjnldsv skjnldsv merged commit 4fe9383 into master Jun 24, 2019
@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Jun 24, 2019
@skjnldsv skjnldsv deleted the sidebar-tab-validation branch June 24, 2019 10:53
@skjnldsv skjnldsv restored the sidebar-tab-validation branch June 26, 2019 12:22
@skjnldsv skjnldsv deleted the sidebar-tab-validation branch June 26, 2019 12:24
@skjnldsv skjnldsv removed this from the next milestone Jul 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish feature: app-sidebar Related to the app-sidebar component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants