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

fix(protocol-designer): unify navigation bar of pd #17128

Open
wants to merge 8 commits into
base: edge
Choose a base branch
from
Open

Conversation

koji
Copy link
Contributor

@koji koji commented Dec 17, 2024

Overview

In the following ticket, I said NavigationBar and ProtocolNavBar should be into one component but it is a big shift for us since ProtocolNavBar requires props that ProtocolRoutes can not access right now.
Technically we can allow ProtocolRoutes to access those props info via useContext but I don't see any strong necessity at this moment. Another way would be checking the path via useLocation and displaying the right Navigation by page, but personally I don't like this because the change will make ProtocolRoutes messy. I think this way would work if we had a function that handle all modals.

For Navigation, update link text style and SettingIcon. Additionally, I move a couple of components to organisms and molecules.

close RQA-3761

Test Plan and Hands on Testing

Navigation is displayed correctly in each page.

Changelog

Review requests

If you think we really need to unify there two navigations into one component, please let me know.
I'm okay with working on that.

Risk assessment

low

@koji koji requested review from ncdiehl11 and jerader December 17, 2024 22:38
@koji koji marked this pull request as ready for review December 17, 2024 22:59
@koji koji requested a review from a team as a code owner December 17, 2024 22:59
@koji koji marked this pull request as draft December 17, 2024 23:01
@koji koji marked this pull request as ready for review December 17, 2024 23:05
@koji koji removed the request for review from a team December 18, 2024 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant