-
Notifications
You must be signed in to change notification settings - Fork 850
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
refactor: entrance of chaos dashboard #864
refactor: entrance of chaos dashboard #864
Conversation
a3fbdb0
to
9d5124c
Compare
Signed-off-by: Yue Yang <[email protected]>
9d5124c
to
3ce0019
Compare
Signed-off-by: Yue Yang <[email protected]>
Signed-off-by: Yue Yang <[email protected]>
Signed-off-by: Yue Yang <[email protected]>
Signed-off-by: Yue Yang <[email protected]>
Signed-off-by: Yue Yang <[email protected]>
Signed-off-by: Yue Yang <[email protected]>
Signed-off-by: Yue Yang <[email protected]>
Signed-off-by: Yue Yang <[email protected]>
Signed-off-by: Yue Yang <[email protected]>
I run this pr in my environment, but when I refresh the dashboard, the link will be directed to the |
Signed-off-by: Yue Yang <[email protected]>
Signed-off-by: Yue Yang <[email protected]>
Signed-off-by: Yue Yang <[email protected]>
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.
LGTM
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.
LGTM
/merge |
/run-all-tests |
/run-all-tests |
/merge |
/run-all-tests |
Signed-off-by: STRRL <[email protected]>
cherry pick to release-1.0 in PR #895 |
* refactor: entrance of chaos dashboard Signed-off-by: Yue Yang <[email protected]> * fix: go.mod Signed-off-by: Yue Yang <[email protected]> * chore: update Signed-off-by: Yue Yang <[email protected]> * refactor: use gin-swagger and rewrite uiserver Signed-off-by: Yue Yang <[email protected]> * chore: update Signed-off-by: Yue Yang <[email protected]> * fix: typo Signed-off-by: Yue Yang <[email protected]> * chore: update Signed-off-by: Yue Yang <[email protected]> * fix: ci Signed-off-by: Yue Yang <[email protected]> * fix: ci Signed-off-by: Yue Yang <[email protected]> * fix: ci Signed-off-by: Yue Yang <[email protected]> * fix: server rendering Signed-off-by: Yue Yang <[email protected]> * fix: remove useless Signed-off-by: Yue Yang <[email protected]> * fix: remove duplicates Signed-off-by: Yue Yang <[email protected]> Co-authored-by: Yue Yang <[email protected]>
Signed-off-by: Yue Yang [email protected]
What problem does this PR solve?
This PR optimizes the dashboard entry file, the main changes are:
pkg/config
/ping
route because we have many routes to check the server whether running or notswaggerserver
by usinggin-swagger
uiserver
What is changed and how does it work?
Due to the UI folder can't be served in the root route. (Because /* routes will conflict to other routes).
I change the UI route basename to
/dashboard
and the/
root will redirect todashboard
permanently, all changes are backward compatible.Checklist
Tests
Side effects
Related changes
Does this PR introduce a user-facing change?