fix: remove old ProjectHomePage, make /issues default#67
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR removes the deprecated ProjectHomePage and makes a project’s issues list the default landing view by redirecting /projects/:projectId to /projects/:projectId/issues. This simplifies navigation by eliminating the unused project “home” screen and pointing project entry points directly at work items.
Changes:
- Remove
ProjectHomePageand its exports/lazy-loading references. - Redirect the project index route to
issuesvia<Navigate to="issues" replace />. - Update project links in the header and sidebar favorites to point directly to
/issues.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| ui/src/routes/index.tsx | Removes ProjectHomePage route and redirects project index to issues. |
| ui/src/pages/index.ts | Removes ProjectHomePage barrel export. |
| ui/src/pages/ProjectHomePage.tsx | Deletes the old project landing page component. |
| ui/src/components/layout/Sidebar.tsx | Updates favorite project links to open the issues list. |
| ui/src/components/layout/Header.tsx | Updates project breadcrumb link to open the issues list. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request removes the
ProjectHomePagecomponent and updates navigation so that all project links and routes now point directly to the project's issues list. This change streamlines the user experience by making the issues list the default landing page for projects and eliminates the now-unnecessary project home page.Navigation and routing updates:
HeaderandSidebarcomponents to point to the issues list (/projects/:id/issues) instead of the project home page. [1] [2]<Navigate>component, making the issues list the default view for each project.Code cleanup and removal:
ProjectHomePagecomponent and its references from the codebase, including imports, exports, and lazy loading setup. [1] [2] [3]Closes #50