Hide department KPI card, "Загрузка по сотрудникам" card, and
the assignee filter for non-director sessions. The tasks table
title swaps to "Мои поручения" for employees. Calendar dots and
the upcoming-tasks widget now show only the current user's
tasks when not director.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
applySession was still checking the old name, so Абделазиз was
classified as employee and the create-task menu item stayed
hidden.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Replace 'Директор' employee with 'Абделазиз' (director role).
- Seed unique simple temporary passwords for every employee in
localStorage on first run. Existing sessions/usernames migrated.
- Login now requires a password for every employee.
- Add personal cabinet (modal) reachable via the user chip with a
change-password form (current + new + confirm, min 4 chars).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Login overlay on first visit. Pick employee from list; director
requires password (demo: 1234). Session persists in localStorage.
The "Create task" menu item and form are gated to the director
role. Employees are redirected away from #/create. Top bar shows
a user chip with avatar, name, role, and logout button.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Two-column row: calendar | upcoming tasks (top 6 by deadline).
Color-coded by overdue / due soon / normal. Priority dot on right.
Click an item to filter analytics by that deadline.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Mini month calendar below clock/weather. Highlights today,
shows dots on dates with active task deadlines. Click a day
to filter analytics table by that deadline.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>