feature(frontend): Organization pages#34
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Pull Request Overview
This PR adds organization pages to support GitHub organization visualization, expanding the application's functionality beyond just user profiles. The implementation follows the existing user page pattern while introducing shared components to reduce code duplication.
- Adds organization search and detail pages with graph visualization
- Refactors user-specific components into generic, reusable components
- Updates middleware to handle both user and organization existence checks
Reviewed Changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| pages/user/index.vue | Refactored to use shared SearchForm component |
| pages/user/[id].vue | Updated to use generic middleware and renamed component |
| pages/organization/index.vue | New organization search page using SearchForm |
| pages/organization/[id].vue | New organization detail page with graph visualization |
| middleware/checkGithubUser.ts | Removed user-specific middleware |
| middleware/checkGithubExistence.ts | New generic middleware for checking user/org existence |
| components/UserGraph.vue | Extracted user graph logic from UserChart |
| components/UserChart.vue | Removed monolithic user chart component |
| components/SearchForm.vue | New reusable search form component |
| components/OrganizationGraph.vue | New organization-specific graph visualization |
| components/NodeInfoPanel.vue | Minor styling adjustment |
| components/Navbar.vue | Added organization navigation links |
| components/GraphVisualizer.vue | New generic graph visualization component |
| components/Footer.vue | Updated description to include organizations |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or 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.
resolves #26