diff --git a/docs/changelog-claude.md b/docs/changelog-claude.md index a4a5a2c..0b89cf1 100644 --- a/docs/changelog-claude.md +++ b/docs/changelog-claude.md @@ -2,6 +2,61 @@ This file documents all changes made to this project via Claude Code. +## [2026-02-06] + +### Added +- Added Sandbox/Development environment indicator feature: + - **Database Model**: Added `is_sandbox_environment` boolean column to `SystemSettings` model (defaults to `False` for production safety) + - **Database Migration**: Created `migrate_system_settings_sandbox_environment()` function for automatic schema update on deployment (idempotent, safe to run multiple times) + - **Backend Routes**: + - Extended `routes_settings.py` to process the new checkbox setting in the General tab + - Updated `routes_shared.py` context processor to inject `system_settings` into all template contexts + - **Settings UI**: + - Added new "Environment" card in Settings > General (placed after Navigation section) + - Toggle switch with clear English description: "Mark this as a Sandbox/Development environment" + - Help text explains visual banner behavior + - **CSS Styling**: + - Created `sandbox.css` with diagonal red banner styling + - Position: top-left corner, rotated 45 degrees + - Color: Bootstrap danger red (#dc3545) with white text + - Z-index: 9999 (always on top) + - `pointer-events: none` - banner itself is non-interactive, elements behind it remain clickable + - Box-shadow for depth effect + - **Base Template**: + - Banner conditionally displayed only when setting is enabled + - CSS include added to `` section + - Banner placed directly after `` tag, before navbar + - The banner displays "SANDBOX" in uppercase with letter-spacing for clear visibility across all pages + +### Changed +- Renamed "Refresh" button to "Search" in Link existing Autotask ticket modal for better clarity (the button performs a search operation) +- Added ellipsis-field functionality to "Overall remark" and "Remark" fields in Run Checks modal to prevent long text from hiding action buttons (click to expand/collapse) +- Enhanced Autotask ticket display in Run Checks modal: + - Added "Open in Autotask" button next to ticket number for direct navigation to ticket in Autotask PSA + - Button only appears when ticket is linked (autotask_ticket_id exists) and Autotask integration is enabled + - Opens in new tab with proper URL format including workspace and ticket ID parameters + - Styled as small outline button to maintain compact layout +- Merged all feature branches from v20260203-01 through v20260205-13 into main branch + - Consolidated 29 feature branches spanning three development cycles + - Used final state from v20260205-13-changelog-python-structure to preserve all functionality + - Successfully integrated Autotask PSA integration, changelog restructuring, and UI improvements + - All features from individual branches now available in main + +### Fixed +- Jobs from archived jobs and inactive customers no longer appear on Daily Jobs, Run Checks, and Jobs list pages + - Added customer active status filtering to all job list queries + - Jobs now filtered where customer is NULL or active=True alongside existing archived=False filter + - Prevents showing jobs with "-" status from deleted customers or archived jobs + +### Removed +- Cleaned up 66 merged feature branches from repository (both local and remote): + - Removed all v20260113-* branches (8 branches) + - Removed all v20260115-* branches (17 branches) + - Removed all v20260116-* branches (12 branches) + - Removed all v20260119-* branches (18 branches) + - Removed all v20260120-* branches (11 branches) + - Repository now contains only main branch and current working branches (v20260206-*) + ## [2026-02-05] ### Added