Open
Conversation
Introduces a new orders API in the packages/api directory, including routes, handlers, schemas, services, and tests. Removes the contracts package and all related files, updates dependencies and .gitignore, and adds new API dependencies for Hono and Zod.
Add comprehensive delivery management with validators, endpoints, and tests. ## New Features ### Validators - State Transition Validator: validates order status transitions (49 tests) - Quantity Validator: validates delivery quantities (35 tests) ### Endpoints - POST /api/orders/:id/deliveries - Create delivery (15 tests) - DELETE /api/orders/:id/deliveries/:deliveryId - Cancel delivery (12 tests) - PUT /api/orders/:id/status - Update order status (18 tests) - GET /api/orders/:id/deliveries - List order deliveries (17 tests) - GET /api/orders/:id/deliveries/:deliveryId - Get delivery details (included in 17 tests) ### Providers - GCBAProvider: full implementation for production GCBA API - MockProvider: enhanced with delivery management methods - Provider exports centralized in src/providers/index.ts ### Tests - 174 total tests passing (84 unit + 90 E2E) - E2E tests for all delivery endpoints - Unit tests for validators ### Infrastructure - Delivery schemas and mappers - OpenAPI documentation for all endpoints - Error handling for all edge cases
Introduces authentication middleware, routes, handlers, and services to the API. Adds new frontend components, hooks, and types for orders and authentication. Implements E2E tests for login, orders, and dashboard flows. Updates documentation and project structure in README. Adds new dependencies for UI components and form handling.
Implements delivery creation, viewing, and deletion features in the frontend dashboard with new React components, hooks, and E2E tests. Updates mock provider to include sample deliveries for testing, enhances README progress, and adds Radix UI dialog/checkbox dependencies. Removes obsolete Playwright report assets.
Finalized all dashboard features, including Timeline, modern UI/UX, and full design system migration to Tailwind 4.0 and shadcn/ui. Added 45+ new UI components, Sidebar, TopBar, theme toggle, and responsive design. Updated documentation to reflect 100% feature completion and increased E2E test coverage. Removed legacy postcss config and switched to .mjs format.
Deleted the OrderTimeline component, timeline types, and associated e2e tests. Removed timeline usage from the order detail page. This change eliminates the order history timeline feature from the UI.
Introduces standalone scripts for creating deliveries, fetching orders, and updating item statuses for GCBA Markey API integration. Updates provider logic to use correct API operations and improves error handling and status label consistency. Adds new UI components and hooks for delivery item management and status updates, and refines tests to match updated business logic.
Introduces required fields for lote, fecha de vencimiento, and marca in the delivery creation flow. Updates CreateDeliveryModal, CreateDeliveryStep2, and CreateDeliveryStep3 to handle these fields, including validation and display. Adjusts delivery types and mock provider data accordingly. Also refactors toast notifications to use 'sonner', improves pagination layout, and removes user role from the top bar dropdown.
Replaces the mock provider with GCBAProvider in dependency injection, adds required token handling, and implements undici for GET requests with body to the GCBA API. Updates the UI to disable unavailable GCBA operations and clarifies their status, while only allowing delivery creation. Also relaxes API_URL validation in the UI to accept both full URLs and relative paths.
Standardizes GCBA order and item status field names, updates all related mappers and schemas, and adds support for request type (Prioridad) with labels and badge variants in the UI. Enables order and item status updates via GCBA API, adds Biodec user config, and improves UI to display NNE codes and request type. Removes unused nneCode from order item types and cleans up related UI and tests.
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.
#Ticket / Issue Tracking
{:code}
Description
Solution Adopted
How to Test
npm run test