Yaro Kasear
bdf1e8d3b8
Sort items in worklog entry route by identifier
2025-07-08 10:28:07 -05:00
Yaro Kasear
1ba0380dde
Sort inventory-related queries and fix toast message syntax in inventory template
2025-07-08 10:16:24 -05:00
Yaro Kasear
bb564809ea
Implement work log creation and update API; add new worklog entry route and enhance worklog template with JavaScript functionality
2025-07-08 09:55:25 -05:00
Yaro Kasear
146dcafab3
Update worklog template to change submit button label to save button
2025-07-07 15:49:35 -05:00
Yaro Kasear
26e55b9a3e
Add user creation and update functionality; refactor user template and helpers
2025-07-07 15:36:15 -05:00
Yaro Kasear
f4369348c5
Remove deprecated routes file and move HTML prettifying logic to hooks module
2025-07-07 14:10:05 -05:00
Yaro Kasear
4d8d5b4e6a
Add routes and functionality for inventory management, user management, worklogs, and settings
...
- Created a new Blueprint for main routes in `routes/__init__.py`.
- Implemented inventory listing and item management in `routes/inventory.py`.
- Added user listing and detail views in `routes/user.py`.
- Developed worklog listing and entry views in `routes/worklog.py`.
- Introduced search functionality across inventory, users, and worklogs in `routes/search.py`.
- Established settings management for brands, items, rooms, and functions in `routes/settings.py`.
- Enhanced helper functions for rendering headers and managing data in `routes/helpers.py`.
- Updated index route to display active worklogs and inventory conditions in `routes/index.py`.
2025-07-07 14:05:17 -05:00
Yaro Kasear
4c36621eba
Enhance app configuration and prettify HTML responses; update requirements and fix button identifiers in settings template
2025-07-07 12:02:06 -05:00
Yaro Kasear
7c15754cab
Add create button to breadcrumb fragment and update table template for navigation
2025-07-07 10:50:55 -05:00
Yaro Kasear
3492358645
Refactor inventory and layout templates: streamline script handling and improve toast message display
2025-07-07 10:23:07 -05:00
Yaro Kasear
ebd2060fd8
Add delete inventory item endpoint and enhance breadcrumb template with save/delete buttons
2025-07-07 10:16:25 -05:00
Yaro Kasear
a3c069a126
Update Inventory model: make type_id optional and adjust constructor to handle None values for type_id
2025-07-07 09:53:20 -05:00
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