[COMPASS-5517] Move `TabNavBar` component from hadron-react-components to compass-components Created: 17/Feb/22  Updated: 10/Jan/24  Resolved: 04/Mar/22

Status: Closed
Project: Compass
Component/s: UI / UX
Affects Version/s: None
Fix Version/s: 1.31.0

Type: Task Priority: Major - P3
Reporter: Rhys Howell Assignee: Rhys Howell
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: COMPASS-5480
Story Points: 3
Documentation Changes: Not Needed
Sprint: Iteration Versailles, Iteration Wolverhampton

 Description   

Let's move the https://github.com/mongodb-js/compass/blob/main/packages/hadron-react-components/src/tab-nav-bar.jsx to compass-components. It might make sense to get rid of it entirely and use `Tab` and `Tabs` from compass-components directly. In that case we should ensure we maintain the same functionality around always showing tabs with the `mountAllViews` flag.

Let's follow https://docs.google.com/document/d/1ZLz_DJYpwTiS_DiPcQMKoLoz2iNxSsMKRTuXXxHb6ak/edit# when making the changes.



 Comments   
Comment by Githook User [ 07/Mar/22 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: chore(compass-components): add TabNavBar component to compass-components COMPASS-5517 (#2860)
Branch: 1.31-releases
https://github.com/mongodb-js/compass/commit/5d7eebbf75c48018798e3df7b5fe3a662de0b8b0

Comment by Githook User [ 07/Mar/22 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: chore(compass-components): add TabNavBar component to compass-components COMPASS-5517 (#2860)
Branch: COMPASS-5534-toolbar-implementation
https://github.com/mongodb-js/compass/commit/5d7eebbf75c48018798e3df7b5fe3a662de0b8b0

Comment by Githook User [ 04/Mar/22 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: chore(compass-components): add TabNavBar component to compass-components COMPASS-5517 (#2860)
Branch: main
https://github.com/mongodb-js/compass/commit/5d7eebbf75c48018798e3df7b5fe3a662de0b8b0

Comment by Githook User [ 03/Mar/22 ]

Author:

{'name': 'Anemy', 'email': 'rhysh@live.com', 'username': 'Anemy'}

Message: Merge branch 'main' into COMPASS-5517-remove-tab-nav-bar-component
Branch: COMPASS-5517-remove-tab-nav-bar-component
https://github.com/mongodb-js/compass/commit/8dc3fabdc00bea4e5e090f1cbdb0d95e0312326c

Comment by Githook User [ 02/Mar/22 ]

Author:

{'name': 'Anemy', 'email': 'rhysh@live.com', 'username': 'Anemy'}

Message: Merge branch 'main' into COMPASS-5517-remove-tab-nav-bar-component
Branch: COMPASS-5517-remove-tab-nav-bar-component
https://github.com/mongodb-js/compass/commit/9ec9ca1b3a3aadbf20b2feeb6c09138e1c731ef8

Generated at Wed Feb 07 22:39:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.