Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GEN-2202] chore: remove legacy UI (#2166)
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`](diffhunk://#diff-c286e10d34710a80a59127b2b7951e8a33d9b9554e47d2f2b827fd690f2e53abL294-L297): Removed the `legacy-ui` service port configuration. * [`cli/cmd/ui.go`](diffhunk://#diff-bdc4ded2bf4628241563326d5d7b0443b57d2d37b674014da632b14b78a1c309L30): Removed the `legacyDefaultPort` constant and the `legacy` flag, along with related logic in the `uiCmd` command and `portForwardWithContext` function. [[1]](diffhunk://#diff-bdc4ded2bf4628241563326d5d7b0443b57d2d37b674014da632b14b78a1c309L30) [[2]](diffhunk://#diff-bdc4ded2bf4628241563326d5d7b0443b57d2d37b674014da632b14b78a1c309L53-R68) [[3]](diffhunk://#diff-bdc4ded2bf4628241563326d5d7b0443b57d2d37b674014da632b14b78a1c309L105-R98) [[4]](diffhunk://#diff-bdc4ded2bf4628241563326d5d7b0443b57d2d37b674014da632b14b78a1c309L125-R124) [[5]](diffhunk://#diff-bdc4ded2bf4628241563326d5d7b0443b57d2d37b674014da632b14b78a1c309L166) Codebase cleanup: * [`frontend/endpoints/actions/addclusterinfo.go`](diffhunk://#diff-2511ff6b0207be71c468fe4db60383a73916c601569ffab4a8d8c5fd4239cfe4L1-L100): Removed the entire file, including all related endpoint functions. * [`frontend/endpoints/actions/deleteattribute.go`](diffhunk://#diff-49a0cab95629d2f31106f0c5c680ba1869a869056891fc1ff3ffa38dcfa24b0aL1-L100): Removed the entire file, including all related endpoint functions. * [`frontend/endpoints/actions/errorsampler.go`](diffhunk://#diff-f32702baf96e453e785f64f70b4a45ed7737c02ceafda4040857913346535f7dL1-L100): Removed the entire file, including all related endpoint functions. * [`frontend/endpoints/actions/latencysampler.go`](diffhunk://#diff-2944e5e6b3cef1f8eb014039f84e631d0295261d7a7b58c363853d96f40efd27L1-L100): Removed the entire file, including all related endpoint functions. * [`frontend/endpoints/actions/piimasking.go`](diffhunk://#diff-5237331aa79450347f690543e17d591f6ceed64ba695ee494923a620fe8a8f69L1-L100): Removed the entire file, including all related endpoint functions. * [`frontend/endpoints/actions/probabilisticsampler.go`](diffhunk://#diff-fce0eecf69a969d92d0969a4e573aae16a4e6d6e2068d2cd32842fa08a66b077L1-L100): Removed the entire file, including all related endpoint functions. * [`frontend/endpoints/actions/renameattribute.go`](diffhunk://#diff-6f1323b82e4cc29761964dda9d21d8973f564c77fe9bfb64b2258ab9e425ff8cL1-L100): Removed the entire file, including all related endpoint functions. Dockerfile update: * [`frontend/Dockerfile`](diffhunk://#diff-ea60ef29f6f537c1c83468c00b60de28f86e06edfe4a3d91274723c6f298fdb8L16): Removed the `COPY --from=builder /webapp/dep-out frontend/webapp/dep-out` line. --------- Co-authored-by: alonkeyval <[email protected]>
- Loading branch information