Commit graph

  • 559fd56f33 Add crudkit! Yaro Kasear 2025-08-27 10:27:41 -05:00
  • 30ec29d497 Refactor user route: remove eager loading from list_users function and enhance default_select to support eager loading with skip relations Yaro Kasear 2025-08-25 10:11:18 -05:00
  • 91e1e5051a Update refresh URL handling in combobox and dropdown fragments to include 'per_page' parameter; modify count_for function to accept session for improved efficiency. Yaro Kasear 2025-08-22 15:00:45 -05:00
  • f3f4493698 Enhance table pagination: update URL building for server-side pagination, improve refresh logic, and add pagination metadata handling in response headers. Yaro Kasear 2025-08-21 16:15:39 -05:00
  • 220bd3e4b6 Add count_for to defaults import in blueprint.py Yaro Kasear 2025-08-21 15:17:21 -05:00
  • c4400764e5 Refactor table data fragment and enhance pagination support in list_items function Yaro Kasear 2025-08-21 15:15:52 -05:00
  • ce4164d77c Refactor dynamic_table macro: remove rows parameter, simplify tbody handling, and add pagination support Yaro Kasear 2025-08-21 14:49:05 -05:00
  • cc7cef6145 Update entry routes for user and worklog templates to use 'user_item' and 'worklog_item' respectively Yaro Kasear 2025-08-21 14:42:42 -05:00
  • e0129e8246 Fix owner URL in inventory headers and remove unused fields variable in table template Yaro Kasear 2025-08-21 12:00:13 -05:00
  • 79d94ff950 Enhance table rendering functionality: refactor headers and rows handling, add dynamic table support, and implement refresh capabilities. Update related templates and JavaScript for improved data management. Yaro Kasear 2025-08-21 11:57:09 -05:00
  • 1e05ad16ce Implement label rendering functionality and integrate it into worklog template; add label.js for dynamic label updates Yaro Kasear 2025-08-21 09:27:38 -05:00
  • a61b56ddf2 Add row and table template global functions; implement caching and data retrieval for multiple fields Yaro Kasear 2025-08-20 14:27:07 -05:00
  • 09cfcee8b3 Add caching functions and enhance item retrieval in templates; implement dynamic field selection for list items Yaro Kasear 2025-08-20 14:10:09 -05:00
  • 7e24aa0585 Refactor Editor component to streamline initialization and enhance refresh functionality; add new default_values method for improved data retrieval in defaults module. Yaro Kasear 2025-08-20 09:20:42 -05:00
  • 21dc8c71fc Add refresh_url and field_name parameters to update rendering in worklog template Yaro Kasear 2025-08-19 16:24:26 -05:00
  • 42b87d08cc Rename dynamic_editor macro to render_editor for consistency across templates Yaro Kasear 2025-08-19 16:22:38 -05:00
  • 22dfc8411a Enhance dynamic editor functionality by adding refresh_url and field_name parameters Yaro Kasear 2025-08-19 16:19:47 -05:00
  • 7ad86cf53f Remove duplicate updateUrl assignment in Editor function Yaro Kasear 2025-08-19 16:10:49 -05:00
  • 681f802e9c Refactor editor and template components to enhance functionality and improve code structure Yaro Kasear 2025-08-19 16:08:44 -05:00
  • 7c4958e0cb Refactor default_query function to improve readability and add eager loading options Yaro Kasear 2025-08-19 08:11:05 -05:00
  • f3b781a360 Add filtering functionality to dropdown component Yaro Kasear 2025-08-18 15:38:44 -05:00
  • 32993800fe Refactor dropdown and table components, add dynamic table functionality, and update stylesheets for improved UI Yaro Kasear 2025-08-18 15:05:24 -05:00
  • 3d20462c71 Refactor dropdown functionality to improve structure and remove unused code Yaro Kasear 2025-08-18 10:26:44 -05:00
  • 431dda453b Update coffee route and template to include score tracking Yaro Kasear 2025-08-18 09:56:00 -05:00
  • 6b4f61879b Add best score calculation to coffee route and template Yaro Kasear 2025-08-18 09:06:39 -05:00
  • 247b167377 Fixed up Pylance issues WITHOUT destroying half the functionality we just did. Yaro Kasear 2025-08-15 15:00:07 -05:00
  • 4e15972275 Appeasing Pylance. Yaro Kasear 2025-08-15 13:29:59 -05:00
  • a336442a92 Deploy new dropdown. Yaro Kasear 2025-08-15 11:52:43 -05:00
  • 75ed0e2639 Update inventory to use new dropdown. Yaro Kasear 2025-08-15 11:35:58 -05:00
  • fe5e283be6 Dropdown functionality! Yaro Kasear 2025-08-15 11:22:02 -05:00
  • 39a8199618 Fix some eager loading nonsense. Yaro Kasear 2025-08-15 10:31:14 -05:00
  • b39384f358 More logic for dropdown. Hooray! Yaro Kasear 2025-08-15 09:00:05 -05:00
  • 0641519d22 Dropdown refactor. Not ready. Yaro Kasear 2025-08-14 16:05:31 -05:00
  • 9705606c89 Lots and lots of unneeded code removed now! Yaro Kasear 2025-08-14 12:03:52 -05:00
  • 7854e9c910 Finished combobox integration!!!!!! Yaro Kasear 2025-08-14 11:46:29 -05:00
  • 1ea6cd9588 Cleanup. Yaro Kasear 2025-08-14 10:33:28 -05:00
  • 5a6125167c New combobox placement for room editor. Yaro Kasear 2025-08-14 10:18:22 -05:00
  • 1ccdf89739 Added another new combobox. Yaro Kasear 2025-08-13 14:23:16 -05:00
  • c9b41b05b2 Starting to add new combobox. Yaro Kasear 2025-08-13 14:08:57 -05:00
  • e149a8d117 Generic CRUD works now! Yaro Kasear 2025-08-13 13:48:11 -05:00
  • 462b86c583 Minor fixes to thingie. Yaro Kasear 2025-08-13 11:58:23 -05:00
  • dfc37bf8b8 Default to json, not HTML Yaro Kasear 2025-08-13 11:46:39 -05:00
  • fc275c6e5d Making more progress on dynamic widget stuff. Yaro Kasear 2025-08-13 11:42:02 -05:00
  • b2231f8ef9 Adding some default CRUD behaviors. Yaro Kasear 2025-08-13 10:53:22 -05:00
  • c8190be21c Starting work on new dynamic widgets using HTMX and Alpine. Yaro Kasear 2025-08-13 09:08:00 -05:00
  • 109176573c Enable "cheating" on lights out game. Yaro Kasear 2025-08-11 15:09:18 -05:00
  • 63c503c84a Make sure no kill screens. Yaro Kasear 2025-08-08 14:10:36 -05:00
  • 15c7fcc047 Fix formatting issue in inventory template. Yaro Kasear 2025-08-08 12:48:43 -05:00
  • b396f63342 Update graphics on easter egg. Yaro Kasear 2025-08-08 09:06:17 -05:00
  • b02f85065d Focus search textbox in dropdown. Yaro Kasear 2025-07-30 13:41:43 -05:00
  • 79276d9255 Added images to settings page. Yaro Kasear 2025-07-29 15:25:43 -05:00
  • c9b86e846b Added some bling to the easter egg. Yaro Kasear 2025-07-29 13:21:12 -05:00
  • e03988f28a Fix the lights-out easter egg. Yaro Kasear 2025-07-29 11:40:52 -05:00
  • 921400456e Remove stale breadcrumbs Yaro Kasear 2025-07-29 10:34:30 -05:00
  • 2a7a72f31e Redo breadcrumb logic to something less painful. Yaro Kasear 2025-07-29 10:18:34 -05:00
  • 3ae6f85dc7 Fixing a missing usage of device_type and html5lib. Yaro Kasear 2025-07-29 08:39:50 -05:00
  • 1aee318853 Renaming type relationship to device_type. Yaro Kasear 2025-07-28 14:00:49 -05:00
  • c93aa973bf Fix relationship with item model from inventory. Yaro Kasear 2025-07-28 13:16:18 -05:00
  • da60b971f8 Refactor inventory model relationships to replace 'item' with 'type' for improved clarity and consistency Yaro Kasear 2025-07-28 13:13:37 -05:00
  • 193c2aec70 Refactor coffee route to use a new matrix generation function for improved solvability Yaro Kasear 2025-07-28 09:40:53 -05:00
  • 87b5e86c1e Refactor coffee route to accept dynamic level parameter and update template for responsive checkbox matrix Yaro Kasear 2025-07-28 09:26:19 -05:00
  • e44ee16de0 Add coffee route and template for interactive checkbox matrix Yaro Kasear 2025-07-28 09:10:51 -05:00
  • 7594b66520 Enhance user identifier formatting and improve user organization display with titles Yaro Kasear 2025-07-28 08:32:01 -05:00
  • cd834e768d Fix user query to use outer join for improved search results Yaro Kasear 2025-07-25 13:25:26 -05:00
  • f89b825ef0 Add title field to User model and update related views for user management Yaro Kasear 2025-07-25 13:21:05 -05:00
  • fd148eb484 Replace csv.js with combobox.js for improved combo box functionality Yaro Kasear 2025-07-25 10:57:05 -05:00
  • bf707dc33f Refactor index.html for improved readability and maintainability of template logic Yaro Kasear 2025-07-25 10:43:51 -05:00
  • f9089066ec Refactor editor fragment layout for improved readability and maintainability Yaro Kasear 2025-07-25 10:35:38 -05:00
  • 74410e1075 Add defer attribute to editor.js script for improved loading performance Yaro Kasear 2025-07-25 10:31:46 -05:00
  • 57c47d195c Enhance editor functionality with auto-resizing textareas and live markdown preview Yaro Kasear 2025-07-25 10:30:41 -05:00
  • 16959b8e2f Implement EditorWidget for dynamic textarea resizing and content rendering Yaro Kasear 2025-07-25 10:15:50 -05:00
  • ded5ff6ddb Remove unused table index from WorkNote model and update DropdownWidget to enhance button styling on click Yaro Kasear 2025-07-25 09:58:25 -05:00
  • e91af64c1c Enhance DropdownWidget with search and click handling functionality for improved user interaction Yaro Kasear 2025-07-25 09:46:23 -05:00
  • 2b72158375 Add DropdownWidget for enhanced dropdown functionality and improved event handling Yaro Kasear 2025-07-25 09:22:30 -05:00
  • 028cb84fed Refactor image fragment to improve code readability and maintainability Yaro Kasear 2025-07-25 08:43:03 -05:00
  • d488324c50 Add ImageWidget for image upload and deletion functionality with toast notifications Yaro Kasear 2025-07-25 08:42:07 -05:00
  • 8710c09917 Implement Toast utility for consistent toast notifications across the application Yaro Kasear 2025-07-25 08:31:33 -05:00
  • e5755066c3 Refactor prettify_or_minify_html_response to comment out minification logic for clarity and maintainability. Yaro Kasear 2025-07-24 16:02:26 -05:00
  • 2b6d94c766 Refactor config to set DEBUG based on environment variable for better configuration management. Remove debug print statement from hooks to clean up response handling. Yaro Kasear 2025-07-24 16:00:13 -05:00
  • 19ce49cc55 Refactor dropdown fragment to enhance button functionality and improve clear button visibility. Yaro Kasear 2025-07-24 13:55:45 -05:00
  • c92afad9fd Remove console log statements from dropdown fragment for cleaner code. Yaro Kasear 2025-07-24 11:34:07 -05:00
  • 8418f06c57 Refactor dropdown fragment to remove max-height from dropdown content for improved display. Yaro Kasear 2025-07-24 11:31:38 -05:00
  • 01c891b903 Enhance dropdown component by adding overflow handling and improving search input styling for better usability. Yaro Kasear 2025-07-24 11:25:34 -05:00
  • e96150a92b Remove unnecessary blank lines in search.html for cleaner code structure. Yaro Kasear 2025-07-23 15:48:20 -05:00
  • 608cb8281b Fix alert styling and ensure consistent formatting in user results table rendering. Yaro Kasear 2025-07-23 15:26:31 -05:00
  • 50786cf41f Refactor user form to replace select elements with dropdown rendering for supervisor and location, enhancing consistency and maintainability. Yaro Kasear 2025-07-23 12:48:11 -05:00
  • be9e4afb4d Initialize WSGI application by importing and creating the app instance. Yaro Kasear 2025-07-23 09:47:46 -05:00
  • 5e3f211dc0 Fix CSV export filename handling by removing redundant '.csv' extension in download attribute. Yaro Kasear 2025-07-23 09:41:24 -05:00
  • 9242ce6eab Refactor brand and item models to introduce 'identifier' property for consistency; update dropdown rendering in templates to utilize new properties and improve input handling. Yaro Kasear 2025-07-22 13:04:31 -05:00
  • 8631e4082c Fix dropdown button styling by ensuring consistent border and background colors based on enabled state. Yaro Kasear 2025-07-22 12:40:37 -05:00
  • b0de4561bf Enhance dropdown functionality in worklog template by adding contact selection and enabling/disabling based on log completion status; refactor contact ID handling for consistency. Yaro Kasear 2025-07-22 12:36:15 -05:00
  • 69a4a19587 Enhance dropdown functionality by adding onclick event to dropdown items for better item selection; improve search input handling for filtering options. Yaro Kasear 2025-07-22 12:00:27 -05:00
  • 462c077681 Refactor user, room, and inventory models to replace 'full_name' property with 'identifier' for consistency; update related templates and routes accordingly. Yaro Kasear 2025-07-22 11:49:47 -05:00
  • d12023ecd1 Add rounded styling to alert messages in inventory, user, and worklog templates for improved UI consistency Yaro Kasear 2025-07-21 15:03:06 -05:00
  • f17051224d Enable debug mode in config, enhance HTML response handling with minification, and clean up worklog template by removing commented button Yaro Kasear 2025-07-21 13:43:01 -05:00
  • fa37497e3a Refactor index route and template to enhance worklog summaries and improve code readability Yaro Kasear 2025-07-21 09:23:58 -05:00
  • a4bfb9838c Enhance button functionality in inventory, user, and worklog templates to include dynamic 'new' buttons and improve save button styling for better UI consistency Yaro Kasear 2025-07-21 08:30:29 -05:00
  • dab23009c1 Refactor model imports and add nullable indices for improved database performance and clarity Yaro Kasear 2025-07-17 15:29:14 -05:00
  • 704638d07a Add style to save button in settings template for improved UI consistency Yaro Kasear 2025-07-17 14:11:16 -05:00
  • 7fb117a95e Refactor settings template to improve structure and enhance readability of room editor functionality Yaro Kasear 2025-07-17 14:04:28 -05:00