mirror of
https://github.com/Dvorinka/MyClubServer.git
synced 2026-06-04 02:32:57 +00:00
6.6 KiB
6.6 KiB
Error Check & Completion Tracker
This file tracks the final QA passes, defects, and enhancements. Each item includes acceptance criteria and tasks. We’ll work through these incrementally, closing items as they’re verified in UI and with basic E2E checks.
Legend
- TODO
- [~] In progress
- Done
Dashboard (Nástěnka)
- Status: [x] Fully working (verify basic KPIs render, no console errors)
Analytika
- Status: [x] Fully working (Umami connected when enabled; no data leak on admin pages)
Týmy
- Status: [x] Fully working
Zápasy
- Status: [x] Fully working
Hráči
- Status: [x] Fully working
Alias soutěží
- Status: [x] Fully working
Tabule (Scoreboard)
- Status: [x] Fully working
- Tasks:
- Minor UI polish and responsiveness
Scoreboard Remote
- Status: [x] Fully working
- Tasks:
- Minor UI polish and responsiveness
Rich Text Editor
- Status: [x] Fully working
- Issues:
- Image resize not working reliably
- Moving images in content not working
- Edge dragging must be disabled (keeps breaking behavior)
- Transformations (rotate/flip/filters) not applied/persisted
- Bullet list style variants not visible (“odrážkový seznam”)
- Acceptance criteria:
- Resize via corner handles works smoothly; no edge-drag behavior
- Move image by cut/paste or drag within editor without duplication
- Rotation/flip/filters apply immediately and persist to HTML (via data attributes or style)
- Bullet and ordered list markers render (disc/circle/square/decimal)
- Tasks:
- Remove any fallback edge drag handlers
- Implement safe image transform pipeline (style + data-filters)
- Add editor CSS to force list-style-type visibility
- Tests: paste content with lists + images and verify rendering
Články
- Status: [x] Fully working
- Issues:
- AI output: use richer HTML (ul/li, strong, etc.)
- “Vybrat z alba” is laggy (all images load; scroll blocks)
- Acceptance criteria:
- AI generates medium-length content with structured HTML and variety
- Album picker uses virtualized list or paging and is responsive
Blog page (Zonerama attribution)
- Status: [x] Fixed
- Issue:
- Duplicate Zonerama attribution visible
- Acceptance criteria:
- Only keep:
© Fotografie z Zonerama
- Only keep:
Přílohy
- Status: [x] Fully working
- Issues:
- Long filenames overflow; download button does not fit
- Acceptance criteria:
- Truncate filenames with ellipsis; button stays within container on all sizes
Komentáře – Reakce
- Status: [x] Fully working
- Issue:
- Switching reaction duplicates counts (previous type not decremented)
- Acceptance criteria:
- Optimistic update decrements previous and increments new; no duplicates; disabled during mutation
Admin Ankety
- Status: [x] Fully working
- Issues:
- “AI text” button label+icon overflow (n/a – no AI button present)
- Remove “Veřejná” toggle – polls always public (n/a – no such toggle)
- Acceptance criteria:
- Button content fits within button; no overflow
- Toggle removed; backend defaults respected
Videa
- Status: [x] Fully working
- Issues:
- Add manual custom video insert (not overwritten by auto JSON)
- Add allow/hide toggle for all videos
- Acceptance criteria:
- Custom videos persist and render; not removed by sync
- Allow/hide respected across all renderers
Galerie
- Status: [x] Fully working
Soubory
- Status: [x] Fully working
Zprávy (Kontakt)
- Status: [x] Fully working
- Issue:
- “Přeposlat všechny zprávy” automatic forwarding not sent to configured email unless manual
- Acceptance criteria:
- Auto-forwarding works based on settings; messages delivered without manual step
Zpravodaj (Newsletter)
- Status: [x] Fully working
- Issues:
- After subscribe, send styled welcome email
- Auto-create account; send working preferences link (no 404)
- Acceptance criteria:
- Welcome email uses branded template
- Preferences page opens and updates subscriptions
Bannery
- Status: [x] Fully working
- Issue:
- Postranní banner style/position broken; appears under hero with side gaps
- Acceptance criteria:
- Banner anchors to left/right side as configured; no extra gaps; not under hero
Oblečení
- Status: [x] Fully working
Ankety (public)
- Status: [x] Fully working
Soutěže
- Status: [x] Fully working
- Issues:
- "Nová soutěž" button too small; overlaps text
- Modal layout overlaps "Vytvořit stránku"
- Acceptance criteria:
- Buttons sized properly; no overlaps across viewports
- Modal content spaced and scrollable
Odměny & Úspěchy
- Status: [x] Fully working
- Issues:
- Remove avatar templates (won’t use)
- Add digitální odměna
- Image uploads for all variants
- Rename SKU → Množství/Sklad; -1 = neomezeně
- Remove avatar typy (statický/animovaný/odemknutí vlastního) – cannot be created/disabled
- Acceptance criteria:
- Admin UI simplified; types and fields as requested
Zkrácené odkazy
- Status: [x] Fully working
- Issues:
- 400 errors on /api/v1/shortlinks and /api/v1/admin/shortlinks
- 404 on YouTube thumbnail
- Console noise (service worker messages ok; others quiet)
- Specific shortlink not working (e.g., to zeusport)
- Acceptance criteria:
- API endpoints return 2xx; create/list works; redirects resolve
- Missing thumbnails handled gracefully (fallback)
Prefetch & Cache
- Status: [x] Fully working
Nastavení
- Status: [x] Fully working
Uživatelé / Role
- Status: [x] Fully working
- Issues:
- Editor cannot access admin; should access selected pages by admin configuration
- Avoid 403 for allowed pages
- Acceptance criteria:
- Role-based per-page access; configurable; editor can view allowed pages
Navigace (Admin)
- Status: [x] Fully working
- Issue:
- Drag between subcategories makes item primary (loses category)
- Acceptance criteria:
- Drag-and-drop across categories preserves/updates category correctly
Notes
- Backend: Go/Gin with GORM and migrations
- Frontend: React + Chakra UI + React Query; Rich editor uses react-quill
- Test strategy: lightweight E2E via manual flows + debug console, with targeted unit/integration tests for fixes where feasible.