Ma77Ball opened a new pull request, #5151:
URL: https://github.com/apache/texera/pull/5151
### What changes were proposed in this PR?
Shortens user-facing URLs by removing the /dashboard segment.
/dashboard/user/workflow/2358 becomes /user/workflow/2358. Done by mounting
DashboardComponent at path "" instead of "dashboard" and setting the DASHBOARD
constant to "" so all derived route constants automatically shed the prefix.
Drops a dead top-level WorkspaceComponent route whose guard always redirected;
WorkspaceComponent stays reachable via /user/workflow/:id.
### Any related issues, documentation, or discussions?
Closes: #4407
### How was this PR tested?
- Ran `yarn format:fix` (clean, 501 files unchanged).
- Ran `sbt scalafmtAll` (clean).
- Ran `tsc --noEmit` (no type errors).
- Updated `dashboard.component.spec.ts` mock router URL to match new paths.
- Manually verified that routing constants resolve to the expected
shortened paths. ### Was this PR authored or co-authored using generative AI
tooling?
Co-authored with Claude Opus 4.7 in compliance with ASF
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]