Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds source metadata display to the project overview functionality. When a project is selected in the overview page, it now lazy loads and displays the sources associated with that project.
- Adds source count display in the projects list menu with a document icon
- Creates a detailed sources overview section in the project summary showing source name, type, and creation date
- Updates backend to fetch and format source data for the selected project
Reviewed Changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| ProjectsListMenu.vue | Adds source count display with DocumentDuplicateIcon in project list entries |
| ProjectSummary.vue | Implements sources overview section with clickable links and styling improvements |
| package.json | Updates Vite version from 6.2.0 to 6.3.5 |
| ProjectController.php | Adds sources count to project list and detailed source metadata to project view |
Files not reviewed (1)
- web/package-lock.json: Language not supported
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
kadewe
previously approved these changes
Aug 26, 2025
Contributor
kadewe
left a comment
There was a problem hiding this comment.
I tested on staging. Works very nice even with projects containing 60 or more source documents! Great!
alessandrobelli
previously approved these changes
Aug 27, 2025
Co-authored-by: Copilot <[email protected]>
jankapunkt
commented
Aug 27, 2025
Co-authored-by: Copilot <[email protected]>
we needed a ->withCount('sources'); inside User.php as well
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 lazy loads meta data of added sources for a given project, when the project is selected in the overview page.