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

Stop serving version 1 of the Lookout UI #3040

Merged
merged 2 commits into from
Oct 17, 2023
Merged

Conversation

zuqq
Copy link
Collaborator

@zuqq zuqq commented Oct 12, 2023

This is the part of #3038 that only touches the Lookout UI, without changing either of the Lookout APIs.

On master, the Lookout UI has a navigation bar with four tabs, and / is routed to the "overview" tab:

lookout_v1

This PR removes the tabs and routes / to version 2 of the Lookout UI (which is accessible via the "v2" tab on master):

lookout_v2

This means that version 1 of the Lookout UI won't be accessible anymore, but I'm not deleting its code just yet.

In order to make the migration easier for our users, I'm redirecting /v2 to / (being careful to preserve the query string), which means that existing links to version 2 of the Lookout UI will continue to work; I'm also adding a wildcard route (it just redirects to /), so that links to /job-sets or /jobs (corresponding to the "job sets" and "jobs" tabs) don't just show a mostly blank page.

Signed-off-by: Noah Held <noahheld17@gmail.com>
@Sharpz7
Copy link
Contributor

Sharpz7 commented Oct 13, 2023

I would want to see this correctly be completed in our "localdev" setup from mage.

mage localdev full and mage ui allow for a developer to spin up armada using docker and have it all function. Happy to help and guide with this.

@zuqq
Copy link
Collaborator Author

zuqq commented Oct 17, 2023

I would want to see this correctly be completed in our "localdev" setup from mage.

mage localdev full and mage ui allow for a developer to spin up armada using docker and have it all function. Happy to help and guide with this.

This PR only touches the Lookout UI, so it is fully compatible with the existing setup.

@zuqq zuqq merged commit 3323ad7 into master Oct 17, 2023
18 checks passed
@zuqq zuqq deleted the stop-serving-lookout-v1-ui branch October 17, 2023 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants