Commit Graph

64 Commits

Author SHA1 Message Date
603634e8a4 feat: Add Leaflet map integration and project coordinates handling
- Updated package.json to include dependencies for Leaflet and Playwright testing.
- Added new images for Leaflet markers and layers.
- Created scripts for generating test data with project coordinates.
- Enhanced ProjectViewPage to display project coordinates and integrated ProjectMap component.
- Modified ProjectForm to include coordinates input field.
- Implemented CustomWMTSMap and EnhancedLeafletMap components for improved map functionality.
- Created ProjectMap component to dynamically render project location on the map.
- Added mapLayers configuration for various base layers including Polish Geoportal.
- Implemented WMTS capabilities handling for dynamic layer loading.
- Updated database initialization to include coordinates column in projects table.
- Modified project creation and update functions to handle coordinates.
- Added utility functions for formatting project status and deadlines.
2025-06-18 12:47:04 +02:00
c983ba9882 feat: Update PageHeader component to include action prop for enhanced flexibility 2025-06-05 13:14:16 +02:00
d3874d52d0 feat: Enhance project filtering by adding address to search criteria 2025-06-05 11:55:31 +02:00
Chop
931ec3012d feat: Integrate ProjectStatusDropdown component into ProjectViewPage for dynamic project status updates 2025-06-04 22:58:39 +02:00
Chop
49d49b42f1 feat: Add project type and status fields to project forms and views, including database migrations 2025-06-04 22:53:33 +02:00
Chop
e136c9f0e8 feat: Add migration functionality to update template-based tasks and set custom_max_wait_days to NULL 2025-06-03 21:28:33 +02:00
Chop
330744daf9 feat: Implement task notes functionality with CRUD operations and integrate into project tasks section 2025-06-03 20:46:37 +02:00
Chop
a9afebdda5 feat: Add ProjectTasksPage and ProjectTasksDashboard components with task categorization and filtering 2025-06-03 00:14:17 +02:00
Chop
a1261b2169 Refactor Project Tasks and Task Templates pages with new UI components
- Introduced PageContainer and PageHeader components for consistent layout.
- Added SearchBar and FilterBar components for improved task filtering and searching.
- Implemented LoadingState component for better loading indication.
- Updated ProjectTasksPage to utilize new components and enhance user experience.
- Refactored TaskTemplatesPage to use PageContainer and PageHeader for better structure.
- Created FilterBar component to manage filter options dynamically.
- Added SearchBar component for searching tasks with clear functionality.
- Introduced States component for loading and error states.
2025-06-02 23:41:49 +02:00
Chop
fb00c1d2d6 docs: Update README.md to include Docker development instructions and additional API endpoints 2025-06-02 23:23:48 +02:00
Chop
35569846bc feat: Implement project search functionality and task management features
- Added search functionality to the Project List page, allowing users to filter projects by name, WP, plot, or investment number.
- Created a new Project Tasks page to manage tasks across all projects, including filtering by status and priority.
- Implemented task status updates and deletion functionality.
- Added a new Task Template Edit page for modifying existing task templates.
- Enhanced Task Template Form to include a description field and loading state during submission.
- Updated UI components for better user experience, including badges for task status and priority.
- Introduced new database queries for managing contracts and projects, including fetching tasks related to projects.
- Added migrations to the database for new columns and improved data handling.
2025-06-02 23:21:04 +02:00
Chop
b06aad72b8 docs: Update README.md with comprehensive project features, installation instructions, and API endpoints 2025-06-02 22:11:00 +02:00
Chop
d0586f2876 feat: Add NoteForm, ProjectForm, and ProjectTaskForm components
- Implemented NoteForm for adding notes to projects.
- Created ProjectForm for managing project details with contract selection.
- Developed ProjectTaskForm for adding tasks to projects, supporting both templates and custom tasks.

feat: Add ProjectTasksSection component

- Introduced ProjectTasksSection to display and manage tasks for a specific project.
- Includes functionality for adding, updating, and deleting tasks.

feat: Create TaskTemplateForm for managing task templates

- Added TaskTemplateForm for creating new task templates with required wait days.

feat: Implement UI components

- Created reusable UI components: Badge, Button, Card, Input, Loading, Navigation.
- Enhanced user experience with consistent styling and functionality.

feat: Set up database and queries

- Initialized SQLite database with tables for contracts, projects, tasks, project tasks, and notes.
- Implemented queries for managing contracts, projects, tasks, and notes.

chore: Add error handling and loading states

- Improved error handling in forms and data fetching.
- Added loading states for better user feedback during data operations.
2025-06-02 22:07:05 +02:00
Chop
aa1eb99ce9 Initial commit from Create Next App 2025-05-23 20:32:51 +02:00