Mirrors the rsync workflow I've been running by hand. Patches the production
<title> to "Tunely" (local index.html keeps "Tunely-DEV" so dev tabs are
distinguishable) and restarts the tkb-plan pm2 process.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The TKB server runs on 3090; the proxy was still pointed at 3080 from the
METRO project origin, so the dev server returned the wrong schema (stations
instead of people).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add dochazka Excel export using direct ZIP/XML manipulation of template
(preserves styles.xml byte-for-byte to avoid Excel "repaired styles" warning)
- Calculate per-person stravné doplatek, transport (AUV), and indiv1
(closure count + Janouš internet) per sichtovnice.py logic
- Filter exported people to TEMPLATE_NAMES (12 fixed template rows)
- Add server version polling + auto-reload on deploy
- Add FPD check modal for monthly hour validation
- Add "162" filter button to hide first 5 TKB people from view
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Added PMS summary column after each month's last day
- Merged header cell with rotated "Práce mimo směnu" label spanning
DEN through D8 rows (no internal borders, overflow hidden)
- PMS cells in person rows are editable (click/double-click)
- Right-click context menu works on PMS cells (value, color, comments)
- PMS values stored as negative month keys in person data
- Dynamic height adjustment when info rows toggled
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Added SAZLT info row (between TKB and Metro) with toggle
- Added 16h and 24h shift codes (progressive green shades)
- VN people get red font color on A/B shifts
- NN people get blue font color on A/B shifts
- Changed B (Noční) background to light blue-gray for readability
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Reverted sticky header attempt back to clean two-column layout.
Server now sends no-cache headers for all static files.
Working features:
- People grid (18 TKB + 5 IT) with year-long calendar
- Shift codes (4/6/8/12/A/B/D/N/U/O) with auto-colored backgrounds
- Drag-and-drop cells (including color-only cells)
- Multi-cell selection (click/ctrl/shift/drag) with bulk operations
- Right-click context menu: set value, color palette, comments
- Info rows: TKB, Metro, D8 (toggleable)
- Czech holidays highlighted with names
- Cell value filter toggles in legend
- PDF export (2-page A4 landscape, Czech font support)
- Improvement proposals system
- Auto-contrast text color on manual backgrounds
- Opens at current month on load
TODO: sticky header (needs different approach)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Full rewrite of METRO HMG for TKB tunnel department:
- People-based grid (18 TKB + 5 IT), year-long calendar
- Color-coded shift values (4/6/8/12/A/B/D/N/U/O)
- Drag-and-drop cells, multi-cell selection (click/ctrl/shift/drag)
- Right-click context menu with color palette
- Tunnel closure + Metro + D8 info rows (toggleable)
- Czech holidays highlighted with names
- PDF export (2-page A4 landscape, DejaVu font for Czech chars)
- Improvement proposals system
- Sticky headers (vertical + horizontal scroll)
- Cell value filter toggles in legend
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>