Merge changelog entries from v20260206-04 branch

Combined changelog entries to include:
- Sandbox environment indicator feature (from v20260206-04)
- Autotask UI improvements (from v20260206-04)
- Branch merge documentation
- Branch cleanup documentation

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Ivo Oskamp 2026-02-06 13:54:47 +01:00
parent 48db3ea1fb
commit 6db8cf9ded

View File

@ -4,7 +4,38 @@ This file documents all changes made to this project via Claude Code.
## [2026-02-06] ## [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 `<head>` section
- Banner placed directly after `<body>` tag, before navbar
- The banner displays "SANDBOX" in uppercase with letter-spacing for clear visibility across all pages
### Changed ### 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 - Merged all feature branches from v20260203-01 through v20260205-13 into main branch
- Consolidated 29 feature branches spanning three development cycles - Consolidated 29 feature branches spanning three development cycles
- Used final state from v20260205-13-changelog-python-structure to preserve all functionality - Used final state from v20260205-13-changelog-python-structure to preserve all functionality