feat: Add 8 certificate templates with different courses and lecturers

Templates:
- AIcertifikat (Zdarílek), AIcertifikatGablas, AIcertifikatPatrik
- ScrumMaster, ScrumProductOwner (blue background)
- ITILFoundation (green background)
- PRINCE2Foundation, PRINCE2Practitioner (orange background)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
richardtekula
2026-01-29 17:15:44 +01:00
parent f7d252ee7b
commit e923e42a65
10 changed files with 630 additions and 113 deletions

View File

@@ -1,15 +1,49 @@
Refactoring Smoke Test Checklist
=================================
Task 1: Changed "Todos" to "Úlohy" in Sidebar
1. [x] Start server (npm run dev) — does it boot without import errors?
2. [x] Login — check audit log entry exists
3. [x] Create a company — check audit log
4. [x] Add a note to the company
5. [x] Add a reminder to the company
6. [x] Assign a user to the company
7. [x] Create a project, assign user
8. [x] Create a todo with assigned users — check push notification
9. [x] Start/stop/pause/resume a timer
10. [x] Generate a monthly timesheet XLSX — open and verify
11. [x] Upload a file to a project (check size/type limits)
12. [x] AI Kurzy: create course, participant, registration
Task 2: Fixed EventDetail panel width from w-max to w-80
Task 3: Chat Online Indicator:
- Added sendHeartbeat() to userApi
- Added heartbeat interval (30s) in AppDataContext
- Added green dot indicator in ChatList for users online < 60s
Task 4: Updated search placeholder in CompaniesPage
Task 5: Calendar Notification Badge:
- Created CalendarCountContext.jsx
- Added getTodayCount() to eventApi
- Added badge to Calendar button in Sidebar
Task 6: Calendar Reminders Display:
- Added reminders state to useCalendarData
- Display reminders in CalendarGrid with orange styling and bell icon
Task 7: team_leader role access in Sidebar
Task 8: Changed "AI Kurzy" to "Všetky kurzy" in Sidebar
Task 9: User Flagging System:
- Added needsFollowup checkbox column to RegistrationsTable
- Added red ring around rows when needsFollowup is true
Task 10: Sidebar Reorganization with logical sections:
- Quick Access: Profil, Dashboard, Chat, Kalendár
- Work Management: Úlohy, Sledovanie času, Výkazy
- CRM: Firmy, Projekty, Kontakty
- Communication: Emaily, Doručené
- Services: Služby
- Admin: Používatelia, História akcií, Všetky kurzy
---
Next Steps:
1. Run npm run db:push in crm-server to apply database changes
2. Test all features
3. Commit changes when ready
- i cant see online users there is not any green indicator and should be there
- i wanted to search comapny by her title,number , email address or website linked to company
now when i type phone nuber for exasmle it not display any company
- badge was added to kalendar button in Sidebar but i want to show number for whole day todos,reminders,dostupnost not only meetings/events
- i cant see the new role team_leader why ?? i cant create user with that role or edit role to team team_leader
-