Commit Graph

39 Commits

Author SHA1 Message Date
fae7615818 feat: add edited_at column to notes and implement note update functionality with audit logging 2025-11-18 09:43:39 +01:00
9b1f42c4ec feat: add completion_date field to projects and update related functionalities in forms and queries 2025-11-14 10:01:49 +01:00
6b205f36bb refactor: simplify role checks for wartosc_zlecenia display in ProjectViewPage and ProjectForm 2025-11-14 09:41:06 +01:00
be1bab103f feat: update team_lead role checks for wartosc_zlecenia display in ProjectViewPage and ProjectForm 2025-11-14 09:33:27 +01:00
c2dbc9d777 feat: track wartosc_zlecenia in project updates and display in ProjectViewPage for team leads 2025-11-14 09:09:23 +01:00
3f87ea16f2 feat: add wartosc_zlecenia field to projects table and update related functionalities 2025-11-14 09:04:46 +01:00
eec0c0a281 feat: add Geoportal link for project coordinates with EPSG:2180 projection 2025-11-05 11:21:00 +01:00
b6ceac6e38 feat: add Google Maps link for project coordinates display 2025-10-24 14:00:04 +02:00
119b03a7ba feat: Update date handling to use local time formatting across various components and queries 2025-10-04 19:44:35 +02:00
79238dd643 feat: Add link parsing functionality to notes in ProjectViewPage and TaskCommentsModal 2025-10-02 11:36:36 +02:00
769fc73898 feat: Add ProjectAssigneeDropdown component and integrate it into ProjectViewPage 2025-09-29 20:09:11 +02:00
fc5f0fd39a feat: Enhance EditProjectPage with translation support and refactor ProjectForm to use forwardRef 2025-09-29 19:32:08 +02:00
96333ecced feat: Implement file upload and management features in ProjectViewPage 2025-09-24 21:55:44 +02:00
5193442e10 feat: Include project number in project details for enhanced information display 2025-09-19 13:52:20 +02:00
671a4490d7 feat: Update SVG icons in ProjectViewPage and ProjectTasksSection for improved styling and consistency 2025-09-18 12:44:42 +02:00
8964a9b29b feat: Enhance note creation and project cancellation with user information and translations 2025-09-18 11:11:22 +02:00
cf8ff874da feat: Update project and contract terminology for consistency in UI and translations 2025-09-16 14:44:01 +02:00
c75982818c feat: Enhance map controls and overlay visibility in project map components 2025-09-16 12:11:52 +02:00
7a2611f031 feat: Update page titles dynamically based on project name and standardize layout metadata 2025-09-16 10:57:25 +02:00
551a0ea71a feat: Implement mobile-friendly filter toggle and enhance project list filters 2025-09-12 13:36:28 +02:00
0dd988730f feat: Implement internationalization for task management components
- Added translation support for task-related strings in ProjectTaskForm and ProjectTasksSection components.
- Integrated translation for navigation items in the Navigation component.
- Created ProjectCalendarWidget component with Polish translations for project statuses and deadlines.
- Developed Tooltip component for enhanced user experience with tooltips.
- Established a field change history logging system in the database with associated queries.
- Enhanced task update logging to include translated status and priority changes.
- Introduced server-side translations for system messages to improve localization.
2025-09-11 15:49:07 +02:00
Chop
e828aa660b feat(i18n): Implement multilingual support with Polish and English translations
- Added translation context and provider for managing language state.
- Integrated translation functionality into existing components (TaskStatusDropdown, Navigation).
- Created LanguageSwitcher component for language selection.
- Updated task statuses and navigation labels to use translations.
- Added Polish translations for various UI elements, including navigation, tasks, projects, and contracts.
- Refactored utility functions to return localized strings for deadlines and date formatting.
2025-07-27 22:01:15 +02:00
Chop
33ea8de17e feat: Add coordinate formatting utility and update project views 2025-07-10 22:56:03 +02:00
Chop
faeb1ca80c Prepare branch for merge to main
- Fix build issues with SSR and useSearchParams
- Update README.md with comprehensive project documentation
- Move debug pages to debug-disabled folder (temporary)
- Fix authentication pages with Suspense boundaries
- Add dynamic imports for map components
- Ensure all pages build successfully

This commit prepares the auth2 branch for merging into main by:
1. Resolving all build errors
2. Adding proper SSR handling for client-side components
3. Updating documentation to reflect current state
4. Moving debug/test pages out of production build
2025-07-10 22:18:32 +02:00
Chop
90875db28b feat: Add user tracking to project tasks and notes
- Implemented user tracking columns in project_tasks and notes tables.
- Added created_by and assigned_to fields to project_tasks.
- Introduced created_by field and is_system flag in notes.
- Updated API endpoints to handle user tracking during task and note creation.
- Enhanced database initialization to include new columns and indexes.
- Created utility functions to fetch users for task assignment.
- Updated front-end components to display user information for tasks and notes.
- Added tests for project-tasks API endpoints to verify functionality.
2025-06-26 00:17:51 +02:00
Chop
294d8343d3 feat: Implement user tracking in projects
- Added user tracking features to the projects module, including:
  - Database schema updates to track project creator and assignee.
  - API enhancements for user management and project filtering by user.
  - UI components for user assignment in project forms and listings.
  - New query functions for retrieving users and filtering projects.
  - Security integration with role-based access and authentication requirements.

chore: Create utility scripts for database checks and project testing

- Added scripts to check the structure of the projects table.
- Created tests for project creation and user tracking functionality.
- Implemented API tests to verify project retrieval and user assignment.

fix: Update project creation and update functions to include user tracking

- Modified createProject and updateProject functions to handle user IDs for creator and assignee.
- Ensured that project updates reflect the correct user assignments and timestamps.
2025-06-25 23:08:15 +02:00
44bc7b3e7c fix: Await asynchronous calls in ProjectViewPage and remove redundant Leaflet imports in WMSLayer 2025-06-25 13:43:27 +02:00
e5d681547d feat: enhance map functionality by adding URL state management and event handling for view changes 2025-06-20 23:56:11 +02:00
Chop
639179ed21 feat: Add date formatting utility functions and integrate them across components 2025-06-19 23:29:06 +02:00
Chop
1dc3fd88f9 feat: Implement TaskStatusDropdown and integrate it across project and task components 2025-06-19 22:59:48 +02:00
Chop
aaa08a3504 feat: Add comprehensive roadmap for app development and prioritize features
- Created ROADMAP.md outlining current features, critical missing features, implementation phases, and technology recommendations.
- Added immediate next steps for development focus.

fix: Enhance test data creation scripts for diverse project scenarios

- Implemented create-diverse-test-data.js to generate varied test projects with different statuses and locations.
- Updated create-additional-test-data.js for better project creation consistency.

refactor: Improve project view page with additional navigation and map features

- Added link to view all projects on the map from the project view page.
- Enhanced project location display with status indicators.

feat: Implement project map page with status filtering

- Added status filters for project markers on the map.
- Integrated color-coded markers based on project status.

fix: Update LeafletMap and ProjectMap components for better marker handling

- Created colored marker icons for different project statuses.
- Enhanced ProjectMap to display project status and coordinates more effectively.

test: Add mobile view test HTML for responsive map testing

- Created test-mobile.html to test the map's responsive behavior on mobile devices.
2025-06-19 20:57:50 +02:00
Chop
0acb203ef8 Refactor project and contract forms for improved UI and functionality
- Updated NewProjectPage to use PageContainer and PageHeader for better layout.
- Enhanced ProjectListPage to display project data in a responsive table format.
- Refactored ContractForm to use Card components and improved loading state handling.
- Refactored ProjectForm to use Card components, added loading state, and improved form structure and styling.
2025-06-19 18:59:03 +02:00
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
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
330744daf9 feat: Implement task notes functionality with CRUD operations and integrate into project tasks section 2025-06-03 20:46:37 +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
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