Commit graph

112 commits

Author SHA1 Message Date
Yaro Kasear
dc394dd992 Add inventory item creation and update endpoints; enhance inventory template with form handling 2025-07-07 09:40:27 -05:00
Yaro Kasear
a1d3f58081 Enhance Room model and settings form: improve foreign key validation and handle potential duplicates in deletion logic 2025-07-07 08:11:30 -05:00
Yaro Kasear
81b220ff44 Refactor render_combobox macro: improve code formatting and readability 2025-07-03 10:51:42 -05:00
Yaro Kasear
76d2799e05 Refactor ComboBoxWidget and settings form: remove unused handleComboAdd function, enhance form state serialization, and improve room option handling 2025-07-03 10:38:29 -05:00
Yaro Kasear
31913eab47 Remove unused import and add type ignore comment for inventory query filter 2025-07-03 09:52:54 -05:00
b3fb7e9fd8 revert e8483c859b
revert revert 6a0dd75f10

revert Enhance debugging and logging in settings and toast rendering; add JSON parsing output and improve toast container handling
2025-07-03 09:39:27 -05:00
e8483c859b revert 6a0dd75f10
revert Enhance debugging and logging in settings and toast rendering; add JSON parsing output and improve toast container handling
2025-07-03 09:38:39 -05:00
Yaro Kasear
b876f1f469 Remove debug logging for room options in settings form 2025-07-03 09:30:04 -05:00
Yaro Kasear
6a0dd75f10 Enhance debugging and logging in settings and toast rendering; add JSON parsing output and improve toast container handling 2025-07-02 10:48:31 -05:00
Yaro Kasear
398800b681 Enhance toast notifications and improve settings form submission; implement async handling and error reporting for better user feedback 2025-07-02 09:46:18 -05:00
Yaro Kasear
5a3176cad1 Refactor settings form and layout; enhance form submission with JSON handling and improve modal functionality for room management 2025-06-25 15:42:52 -05:00
Yaro Kasear
d7e38cb8da Refactor models to implement ValidatableMixin; add validation logic for state management in Area, Brand, Item, Room, and RoomFunction classes 2025-06-25 14:52:49 -05:00
Yaro Kasear
8de21bae9c Refactor route ID handling; update inventory_item, user, and worklog_entry routes to accept non-integer IDs and improve error handling 2025-06-25 14:14:01 -05:00
Yaro Kasear
f2229cdc90 Refactor inventory and layout templates; enhance form handling with dynamic endpoint and argument passing for improved flexibility 2025-06-25 13:30:37 -05:00
Yaro Kasear
be1e56ad93 Refactor room editor modal logic; enhance event handling and dropdown population for improved user experience 2025-06-25 11:54:38 -05:00
Yaro Kasear
eddaa69158 Refactor sync_from_state method in Room model; update parameter types for section_map and function_map to improve clarity and consistency 2025-06-25 11:34:45 -05:00
Yaro Kasear
543494120c Refactor entity synchronization logic in Area, Brand, Item, RoomFunction, and Room models; improve ID handling and streamline foreign key resolution in settings 2025-06-25 11:23:33 -05:00
Yaro Kasear
7833c4828b Implement sync_from_state methods for Area, Brand, Item, RoomFunction, and Room models; enhance entity management and foreign key resolution in settings 2025-06-25 09:31:05 -05:00
Yaro Kasear
8a5c5db9e0 Implement sync_from_state method for Area, Brand, Item, RoomFunction, and Room models; streamline entity management in settings 2025-06-24 13:09:41 -05:00
Yaro Kasear
87fa623cde Remove unused functions for adding and syncing named entities in settings; streamline entity processing logic 2025-06-23 16:22:13 -05:00
Yaro Kasear
9a1dffcf8d Refactor entity handling in settings; streamline brand, type, section, function, and room processing with dedicated functions for improved readability and maintainability 2025-06-23 16:21:30 -05:00
Yaro Kasear
04d262ae26 Fix type annotation for location_id; change from Optional[str] to Optional[int] for correct database mapping 2025-06-23 15:49:31 -05:00
Yaro Kasear
8162038f40 Enhance model constructors; add optional parameters for improved initialization across multiple modelsOh 2025-06-23 15:42:48 -05:00
Yaro Kasear
acacf39f8e Refactor code structure; improve organization and readability across multiple files 2025-06-23 14:51:21 -05:00
Yaro Kasear
774c28e761 Remove compiled Python bytecode files from the __pycache__ directory 2025-06-23 14:50:17 -05:00
Yaro Kasear
b2a418982e Refactor room creation logic; improve handling of section and function IDs, enhance error reporting, and streamline code for better readability 2025-06-23 10:22:39 -05:00
Yaro Kasear
347baaa12e Refactor settings logic; streamline brand and item type creation, enhance ComboBoxWidget integration for improved usability 2025-06-23 10:13:22 -05:00
Yaro Kasear
c6fc1a4795 Refactor .gitignore; add patterns for SQLite database files and improve ignored file management
Enhance app initialization; set secret key from environment variable for better security practices

Update work_log model import; change User import path for improved module structure

Refactor routes; add new inventory item creation route and enhance settings handling with JSON form state

Improve ComboBoxWidget; add handleComboAdd function for better option management and integrate with render_combobox macro

Revamp settings template; implement form state management and improve modal functionality for room creation

Add error template; create a new error handling page for better user feedback
2025-06-23 10:05:31 -05:00
Yaro Kasear
142e909a88 Refactor configuration; enhance quote function type hints, improve database URI setup for SQLite, and add BASE_DIR for better path management 2025-06-20 13:55:50 -05:00
Yaro Kasear
e67ae63eb8 Refactor application configuration; implement dynamic database URI setup based on environment variables for improved flexibility and maintainability 2025-06-20 13:48:03 -05:00
Yaro Kasear
86a4e4d22f Refactor room addition logic; streamline new room creation and sorting in settings template for improved clarity and functionality 2025-06-20 12:49:55 -05:00
Yaro Kasear
3c9806bd34 Refactor ComboBoxWidget; enhance createOption and sortOptions functions, update onAdd parameter in render_combobox macro for improved usability and maintainability 2025-06-20 11:55:36 -05:00
Yaro Kasear
b182e30c43 Refactor combo box integration; streamline onAdd, onRemove, and onEdit parameters in render_combobox macro for improved functionality and readability 2025-06-20 10:02:40 -05:00
Yaro Kasear
d3a9b6dbd5 Refactor icon rendering; update render_icon macro to accept extra_class parameter and adjust button icons in combobox for better state management 2025-06-20 09:10:14 -05:00
Yaro Kasear
30d3cd7c45 Refactor icon rendering; replace direct icon calls with render_icon function for consistency across templates 2025-06-20 08:44:55 -05:00
Yaro Kasear
89cee64f04 Refactor inventory chart data representation; change dataset type from bar to pie and update corresponding keys for improved visualization 2025-06-18 16:15:53 -05:00
Yaro Kasear
ec08dd8ef1 Enhance settings page; add room management functionality with combo box integration and update rendering logic for improved usability 2025-06-18 15:36:34 -05:00
Yaro Kasear
ad413c3f1b Enhance settings page; integrate combo box widgets for brands, types, sections, and functions, and add pencil icon for editing functionality 2025-06-18 14:13:16 -05:00
Yaro Kasear
dba2438937 Refactor brand management UI; replace datalist with combo box widget and enhance styling for better usability 2025-06-18 09:59:07 -05:00
Yaro Kasear
e2b8579362 Refactor worklog handling and rendering; enhance active worklog display and add settings page with brand management functionality 2025-06-18 09:33:33 -05:00
Yaro Kasear
3915b97231 Refactor templates and utility functions for improved rendering and usability; enhance icon usage and link handling in various templates 2025-06-17 12:51:01 -05:00
Yaro Kasear
b68c25a05a Refactor inventory and worklog templates for improved rendering and pagination; enhance table display with better responsiveness and usability 2025-06-17 09:44:55 -05:00
Yaro Kasear
bdd2a43c8b Refactor worklog handling and table rendering in templates for improved clarity and performance 2025-06-16 16:24:41 -05:00
Yaro Kasear
25e67cce28 Add pandas dependency, enhance inventory summary visualization, and update table rendering 2025-06-16 15:45:54 -05:00
Yaro Kasear
7673b4e1b6 Fix stale worklog table rendering by updating the table identifier from 'index' to 'worklog_entry' 2025-06-16 10:34:28 -05:00
Yaro Kasear
58754c71bd Enhance inventory management by updating timestamp type to DateTime, adding stale worklog display on the index page, and improving template styles and scripts for better user experience. 2025-06-16 10:26:30 -05:00
Yaro Kasear
0835248f34 Refactor inventory listing filters to return error messages for invalid user, location, and item IDs 2025-06-16 08:13:27 -05:00
Yaro Kasear
0a5518d99f Improve filter handling in inventory listing by adding fallback for unknown users, locations, and items 2025-06-16 08:05:11 -05:00
Yaro Kasear
cffdc27724 Enhance search functionality with pagination and improve eager loading in utils 2025-06-13 16:16:56 -05:00
Yaro Kasear
eb7e446e56 Implement search functionality with pagination and enhance templates for improved user experience 2025-06-13 15:29:35 -05:00