Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR implements a comprehensive package management feature that allows coordinators and admins to create, manage, and assign packages to company participations. The implementation spans both frontend (Vue 3 with TypeScript) and backend (Go with MongoDB), introducing item management, category management, and package assignment capabilities.
Key Changes:
- Introduced a complete item and category management system with CRUD operations
- Created package management UI with form-based creation/editing and card-based display
- Integrated package selection into company participation workflow
- Added new API endpoints for items, categories, and package assignment
Reviewed Changes
Copilot reviewed 26 out of 26 changed files in this pull request and generated 21 comments.
Show a summary per file
| File | Description |
|---|---|
frontend/src/components/items/ItemAutocomplete.vue |
Autocomplete component for searching and selecting items with debouncing |
frontend/src/components/items/ItemAutocompleteWithDialog.vue |
Wrapper component that adds item creation dialog to autocomplete |
frontend/src/components/items/ItemInline.vue |
Inline display component for item details with expandable popover |
frontend/src/components/items/CreateItemForm.vue |
Form component for creating/editing items with category selection |
frontend/src/components/items/CreateCategoryForm.vue |
Simple form for creating new item categories |
frontend/src/components/packages/PackageForm.vue |
Comprehensive form for package creation and editing with item selection |
frontend/src/components/packages/PackageCard.vue |
Card component displaying package details with edit/delete actions |
frontend/src/components/ConfirmDelete.vue |
Reusable confirmation dialog component for delete operations |
frontend/src/views/Dashboard/Items/ItemsAdmin.vue |
Admin view for managing items with list, create, edit, and delete |
frontend/src/views/Dashboard/Items/CategoriesAdmin.vue |
Admin view for managing item categories |
frontend/src/views/Dashboard/Items/PackageItemsView.vue |
Container view showing items and categories side-by-side |
frontend/src/views/Dashboard/Events/PackagesView.vue |
Main view for managing event packages with filtering |
frontend/src/components/companies/EditableCompanyParticipation.vue |
Added package selection dropdown to company participation editor |
frontend/src/components/Navbar.vue |
Added "Coordination" dropdown menu with link to packages |
frontend/src/components/ContactCard.vue |
Refactored to use new ConfirmDelete component |
frontend/src/router.ts |
Added routes for packages and items management |
frontend/src/api/items.ts |
API client for items and categories endpoints |
frontend/src/api/packages.ts |
API client for package management endpoints |
frontend/src/api/companies.ts |
Added endpoint for updating company participation package |
frontend/src/mutations/companies.ts |
Added mutation for company participation package updates |
frontend/src/dto/item.ts |
TypeScript interface for Item entity |
backend/src/router/items.go |
Added handlers for item categories CRUD operations |
backend/src/router/company.go |
Added setCompanyPackage handler and formatting fixes |
backend/src/router/init.go |
Registered new category and package routes |
backend/src/mongodb/item_categories.go |
MongoDB collection wrapper for item categories |
backend/src/mongodb/init.go |
Initialize categories collection with default seeding |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
aa1adf1 to
320505b
Compare
- Implemented ItemAutocomplete component for searching and selecting items. - Created ItemAutocompleteWithDialog for item creation through a dialog. - Developed ItemInline component for displaying item details inline. - Added PackageCard component for displaying package information with edit and delete options. - Created PackageForm for creating and editing packages. - Introduced Item DTO for type safety. - Added mutations for managing company participation packages. - Updated router to include new packages and items views. - Created PackagesView for managing event packages. - Developed CategoriesAdmin for managing item categories. - Implemented ItemsAdmin for item management with create, edit, and delete functionalities. - Added PackageItemsView to manage items and categories side by side.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
- Forbidden the editing of the event name from the package name
…nent for better UX
…r effects Updated package filtering logic for better accuracy
…ce form reset logic
…category operations
refactor(App): remove duplicate router-view element
320505b to
baa22b9
Compare
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.
Closes #445.