-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(v2): add and use NavigationTabs template components for admin fo…
…rm tab navigation (#4601) * feat: add FauxTabs for navigating admin form builder instead of Tabs Usage of Tab component was messing with the navigation prompt, since the Tab component's tab index onChange callback will fire continuously even if user dismisses the prompt. This was a really hard bug to drill down to... * feat: move and rename FauxTabs to NavigationTabs template component * style: add disabled handling to Tabs component * feat: generify NavigationTabList for use in FormResultsNavbar too * feat(FormResultsNavbar): use NavigationTabs over chakra tabs * fix: add inline flex to Tab style so the NavigationTab component has full height * ref: remove need for regrouping routes in constant * feat: add disabled state according to design * feat(AdminFormNavbar): remove disabled state when forms are loading no need, users should be able to navigate regardless * fix: update AdminNavbar stories to fit new implementation * fix: unhide results subroute in navbar even if viewonly * fix: update admin form stories affected by navigation tabs change correctly prefixing the routes in affected stories
- Loading branch information
Showing
16 changed files
with
251 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.