-
Notifications
You must be signed in to change notification settings - Fork 21
feat: replace the /hardware with new denormalized view and remove /hardware-new #1712
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
base: main
Are you sure you want to change the base?
feat: replace the /hardware with new denormalized view and remove /hardware-new #1712
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto reuse parts between hardware pages
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there really a need to do both cases for the same value? IMO you can have just one case for that value and use it in both pages
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reuse some parts for the new hardware page, and you can target this PR to the one that replaces the treeListing so that you can use things from there too, like the banner message and status types
52e5192 to
184dc25
Compare
AmadeusK525
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess if you renamed the old one to v1 you should rename the new one to v2, no?
My concern with /hardware/v2 is that it would require redirecting users from /hardware, which adds avoidable complexity. I'd prefer to keep the new one at /hardware and the old one at /hardware/v1 |
It's best if we keep the route as /hardware for backwards compatibility and also because we don't need to increase the url size for no reason. What could be done is what I did for the treeListing on #1709 which is to have three routes: /tree/v1, /tree/v2, and just /tree, meaning routes for specific version and a route for the latest/main version |
|
@gustavobtflores there seems to not have much change since the last time I reviewed the PR, you can let me resolve my comments once I see that they have been solved |
184dc25 to
6e714ca
Compare
Description
Promote the new, optimized hardware listing page to be the default view (/hardware) and move the legacy view to an archive route.