Skip to content

[ethernet-view] Navbar and React Router - #116

Merged
andresdlt03 merged 11 commits into
developfrom
ethernet-view/sidebar
Mar 24, 2024
Merged

[ethernet-view] Navbar and React Router#116
andresdlt03 merged 11 commits into
developfrom
ethernet-view/sidebar

Conversation

@andresdlt03

@andresdlt03 andresdlt03 commented Mar 18, 2024

Copy link
Copy Markdown
Contributor

This PR adds the Navbar (formerly called Sidebar, but I think this name is more correct because Sidebar is already used for charts menu and this one has a different purpose) to the ethernet view and the needed React Router code to manage different pages, TestingPage and LoggerPage as far.

I have changed some functionality on the common front; mainly, these changes have to do with the Loader component used to charge the podData and create the WsHandler. However, having this logic inside a component was problematic for React Router. So, I have changed this logic to a custom hook.

Comment thread common-front/vite.config.ts.timestamp-1709918072981-1c3cfab03dfc3.mjs Outdated
Comment thread common-front/vite.config.ts.timestamp-1709918136190-9a14e2b161a0f.mjs Outdated
Comment thread common-front/vite.config.ts.timestamp-1709918144071-c26b29b37926e.mjs Outdated
Comment thread common-front/vite.config.ts.timestamp-1710263889460-2e761ec21065d.mjs Outdated

@jmaralo jmaralo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Just two tiny things

Comment thread ethernet-view/src/pages/LoggerPage/LoggerPage.module.scss Outdated
Comment thread ethernet-view/src/styles/styles.scss Outdated
@andresdlt03
andresdlt03 requested a review from jmaralo March 20, 2024 21:26
@andresdlt03
andresdlt03 marked this pull request as draft March 20, 2024 21:44
@andresdlt03
andresdlt03 marked this pull request as ready for review March 21, 2024 11:06
@andresdlt03
andresdlt03 merged commit cc82ea5 into develop Mar 24, 2024
@andresdlt03
andresdlt03 deleted the ethernet-view/sidebar branch March 24, 2024 10:20
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.

2 participants