feat: add home page#1021
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1021 +/- ##
=========================================
Coverage 85.39% 85.39%
Complexity 2161 2161
=========================================
Files 266 266
Lines 5999 5999
Branches 380 380
=========================================
Hits 5123 5123
Misses 627 627
Partials 249 249 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
… a screen reader.
There was a problem hiding this comment.
Pull request overview
This PR transforms the HomePage from a login screen into an authenticated home page, creating a new LoginPage component to take over the original login functionality. The changes support a clearer separation between public (login) and authenticated (home) views.
Changes:
- Created a new LoginPage component that contains the original login UI
- Transformed HomePage into an authenticated dashboard displaying user negotiations by role
- Added routing changes to support both
/(login) and/home(authenticated home)
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| frontend/src/views/UserPage.vue | Added props to support home page mode with limited negotiations display |
| frontend/src/views/LoginPage.vue | New component containing the original login page UI moved from HomePage |
| frontend/src/views/HomePage.vue | Completely refactored to show an authenticated dashboard with user negotiations and discovery services |
| frontend/src/views/AdminUiConfigurationPage.vue | Updated import to use LoginPage instead of HomePage for configuration preview |
| frontend/src/store/discoveryServices.js | New store for fetching discovery services data |
| frontend/src/router/index.js | Updated routes: / now points to LoginPage, added new /home route for HomePage |
| frontend/src/config/apiPaths.js | Added DISCOVERY_SERVICES API path constant |
| frontend/src/components/ui/buttons/BigButton.vue | New button component for navigation panels on home page |
| frontend/src/components/NegotiationList.vue | Added isHomePage prop to conditionally hide search and filters |
| frontend/src/components/NegotiationCard.vue | Added styling improvements with shadow and rounded corners |
| frontend/src/components/NavigationBar.vue | Added "Home" navigation link |
|
Some unstructured feedback from a colleague:
|
|
|



Negotiator pull request:
Description:
This PR transforms the HomePage from a login screen into an authenticated home page, creating a new LoginPage component to take over the original login functionality. The changes support a clearer separation between public (login) and authenticated (home) views.
Changes:
Created a new LoginPage component that contains the original login UI
Transformed HomePage into an authenticated dashboard displaying user negotiations by role
Added routing changes to support both / (login) and /home (authenticated home)
Checklist:
Make sure you tick all the boxes below if they are true or do not apply before you ask for review