-
Notifications
You must be signed in to change notification settings - Fork 208
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
[GEN-2202] chore: remove legacy UI #2166
[GEN-2202] chore: remove legacy UI #2166
Conversation
…ntainer Task 149 sources container
…play-source-manage-list
…urces-card Task 107 overview sources card
…rce-manage-list Task 142 display source manage list
…rce-btn Task 143 add new source btn
…sources-connection Task 145 handle new sources connection
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.
Thanks!
Can we also remove the directory with the old ui code?
@@ -13,7 +13,6 @@ FROM --platform=$BUILDPLATFORM golang:1.23 AS backend | |||
WORKDIR /app | |||
COPY . . | |||
COPY --from=builder /webapp/out frontend/webapp/out | |||
COPY --from=builder /webapp/dep-out frontend/webapp/dep-out |
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.
can we also delete the files in frontend/webapp/dep-out
from git?
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.
If we're deleting dep-out
, we might as well delete endpoints
.
But 1st we'd have to move these 3 folders from endpoints
to services
:
- sse
- actions
- collector_metrics
…gos into gen-2202-remove-legacy-ui
This pull request includes several changes to remove legacy UI support and clean up the codebase by eliminating unused endpoints and simplifying port forwarding logic.
Removal of legacy UI support:
cli/cmd/resources/ui.go
: Removed thelegacy-ui
service port configuration.cli/cmd/ui.go
: Removed thelegacyDefaultPort
constant and thelegacy
flag, along with related logic in theuiCmd
command andportForwardWithContext
function. [1] [2] [3] [4] [5]Codebase cleanup:
frontend/endpoints/actions/addclusterinfo.go
: Removed the entire file, including all related endpoint functions.frontend/endpoints/actions/deleteattribute.go
: Removed the entire file, including all related endpoint functions.frontend/endpoints/actions/errorsampler.go
: Removed the entire file, including all related endpoint functions.frontend/endpoints/actions/latencysampler.go
: Removed the entire file, including all related endpoint functions.frontend/endpoints/actions/piimasking.go
: Removed the entire file, including all related endpoint functions.frontend/endpoints/actions/probabilisticsampler.go
: Removed the entire file, including all related endpoint functions.frontend/endpoints/actions/renameattribute.go
: Removed the entire file, including all related endpoint functions.Dockerfile update:
frontend/Dockerfile
: Removed theCOPY --from=builder /webapp/dep-out frontend/webapp/dep-out
line.