Go to file
marco370 b1b320ab69 Update planning to enforce daily guard hour limits and improve assignment logic
Add daily hour limit checks during guard assignment and ensure guards with completed ordinary hours are not displayed unless they have overtime. Refactor guard availability query to refetch immediately on assignment success and update staleTime to 0.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e5565357-90e1-419f-b9a8-6ee8394636df
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/6d543d2c-20b9-4ea6-93fe-70fe9b1d9f80/e5565357-90e1-419f-b9a8-6ee8394636df/Jxn533V
2025-10-21 17:38:29 +00:00
attached_assets Improve guard assignment logic and display in the planning tool 2025-10-21 16:45:18 +00:00
client Update planning to enforce daily guard hour limits and improve assignment logic 2025-10-21 17:38:29 +00:00
database-backups 🚀 Release v1.0.29 2025-10-21 17:19:38 +00:00
deploy Ensure database import happens after schema updates 2025-10-17 09:31:25 +00:00
server Enforce daily working hour limits for security guards 2025-10-21 17:36:14 +00:00
shared Improve guard assignment logic and display in the planning tool 2025-10-21 16:45:18 +00:00
.env.production.example Update deployment scripts and server setup for automatic deployment and database backup 2025-10-16 10:54:16 +00:00
.gitignore Add database backups for the security shift management system 2025-10-17 09:26:13 +00:00
.gitlab-ci.yml Add deployment guide and scripts for automated server setup and deployment 2025-10-16 07:12:27 +00:00
.replit Enforce daily working hour limits for security guards 2025-10-21 17:36:14 +00:00
after_assign_click.png Improve error reporting and conflict visualization for shift assignments 2025-10-21 07:44:30 +00:00
after_login.png Improve error reporting and conflict visualization for shift assignments 2025-10-21 07:44:30 +00:00
after_programmatic_assign_click.png Improve error reporting and conflict visualization for shift assignments 2025-10-21 07:44:30 +00:00
after_sidebar_toggle.png Improve error reporting and conflict visualization for shift assignments 2025-10-21 07:44:30 +00:00
after-reload.png Update guard details to show more relevant information 2025-10-18 10:11:23 +00:00
capture_after_assign_check.png Improve error reporting and conflict visualization for shift assignments 2025-10-21 07:44:30 +00:00
cell_clicked.png Improve error reporting and conflict visualization for shift assignments 2025-10-21 07:44:30 +00:00
components.json Add basic UI components and structure for the application 2025-10-11 09:36:55 +00:00
deploy-to-gitlab.sh 🚀 Release v1.0.9 2025-10-17 09:18:14 +00:00
DEPLOYMENT-FIX.md Update deployment process and fix server configuration issues 2025-10-16 16:08:06 +00:00
DEPLOYMENT.md Update deployment to securely manage database passwords 2025-10-16 11:00:27 +00:00
design_guidelines.md Add basic UI components and structure for the application 2025-10-11 09:36:55 +00:00
drizzle.config.ts Add basic UI components and structure for the application 2025-10-11 09:36:55 +00:00
dump.sql Update deployment scripts and server setup for automatic deployment and database backup 2025-10-16 10:54:16 +00:00
dump.zip Update deployment scripts and server setup for automatic deployment and database backup 2025-10-16 10:54:16 +00:00
ecosystem.config.js Update deployment script to use local binaries for build tools 2025-10-16 15:34:32 +00:00
filled_assignment_form.png Improve error reporting and conflict visualization for shift assignments 2025-10-21 07:44:30 +00:00
final_reopen_edit.png Update guard details to show more relevant information 2025-10-18 10:11:23 +00:00
fix-server.sh Update deployment process and fix server configuration issues 2025-10-16 16:08:06 +00:00
GITLAB-DEPLOY.md Add automated deployment with versioning and database backup 2025-10-17 06:38:57 +00:00
guard_selected_by_eval.png Improve error reporting and conflict visualization for shift assignments 2025-10-21 07:44:30 +00:00
guards-nav.png Update guard details to show more relevant information 2025-10-18 10:11:23 +00:00
GUIDA-DEPLOYMENT-FINALE.md Improve deployment process and external server compatibility 2025-10-16 16:17:05 +00:00
no-guard-link.png Update guard details to show more relevant information 2025-10-18 10:11:23 +00:00
no-login-button.png Update guard details to show more relevant information 2025-10-18 10:11:23 +00:00
overlap_form_filled_eval.png Improve error reporting and conflict visualization for shift assignments 2025-10-21 07:44:30 +00:00
package-lock.json Add vehicle management and improve user authentication and management 2025-10-16 17:41:22 +00:00
package.json Add vehicle management and improve user authentication and management 2025-10-16 17:41:22 +00:00
planning_page.png Improve error reporting and conflict visualization for shift assignments 2025-10-21 07:44:30 +00:00
postcss.config.js Add basic UI components and structure for the application 2025-10-11 09:36:55 +00:00
push-gitlab.sh Add automated deployment with versioning and database backup 2025-10-17 06:38:57 +00:00
push-to-gitlab.sh Deploy: 2025-10-16 13:42:30 2025-10-16 13:42:30 +00:00
QUICKSTART-DEPLOYMENT.md Update deployment to securely manage database passwords 2025-10-16 11:00:27 +00:00
QUICKSTART-GITLAB.md Improve GitLab deployment process and version management 2025-10-17 06:39:43 +00:00
replit.md Add ability to create multi-day shifts from planning interface 2025-10-18 09:20:23 +00:00
sidebar_collapsed.png Improve sidebar visibility and appearance in the application 2025-10-11 15:06:44 +00:00
sidebar_visible.png Improve sidebar visibility and appearance in the application 2025-10-11 15:06:44 +00:00
step4_page.png Update guard details to show more relevant information 2025-10-18 10:11:23 +00:00
step5_guards_nav.png Update guard details to show more relevant information 2025-10-18 10:11:23 +00:00
step8_add_guard_clicked.png Update guard details to show more relevant information 2025-10-18 10:11:23 +00:00
step11_toggled_switches.png Update guard details to show more relevant information 2025-10-18 10:11:23 +00:00
step14_after_submit.png Update guard details to show more relevant information 2025-10-18 10:11:23 +00:00
step15_post_submit.png Update guard details to show more relevant information 2025-10-18 10:11:23 +00:00
step23_after_edit_submit.png Update guard details to show more relevant information 2025-10-18 10:11:23 +00:00
step24_verify_after_edit.png Update guard details to show more relevant information 2025-10-18 10:11:23 +00:00
step25_after_close_dialog.png Update guard details to show more relevant information 2025-10-18 10:11:23 +00:00
step25_fetch_api_via_page.png Update guard details to show more relevant information 2025-10-18 10:11:23 +00:00
step25_reopen_edit_dialog.png Update guard details to show more relevant information 2025-10-18 10:11:23 +00:00
tailwind.config.ts Add basic UI components and structure for the application 2025-10-11 09:36:55 +00:00
tsconfig.json Add basic UI components and structure for the application 2025-10-11 09:36:55 +00:00
version.json 🚀 Release v1.0.29 2025-10-21 17:19:38 +00:00
vite.config.ts Add basic UI components and structure for the application 2025-10-11 09:36:55 +00:00