feat(training-units): add compact legend and module styling in Training Unit Sections Editor
Deploy Development / deploy (push) Successful in 40s
Test Suite / pytest-backend (push) Successful in 36s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 12s
Test Suite / playwright-tests (push) Successful in 56s
Deploy Development / deploy (push) Successful in 40s
Test Suite / pytest-backend (push) Successful in 36s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 12s
Test Suite / playwright-tests (push) Successful in 56s
- Introduced new CSS styles for compact module display, enhancing the visual structure of training unit sections. - Implemented functionality to conditionally render module tags and borders based on the selected UX mode. - Enhanced the section module legend model to aggregate and display module information effectively. - Improved the rendering logic to support both compact and standard views, ensuring a flexible user experience. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
e96951728d
commit
05042ee9ec
3 files changed
+235
-5
No files matched your search
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* Darstellung „Herkunft Trainingsmodul“ in Abschnitten (Planungs-Editor).
|
||||
*
|
||||
* - compact_tag_legend (Standard): wenig Höhe — farbige Leiste am Eintrag,
|
||||
* kleiner Modul-Tag in der Zeile, Legende pro Abschnitt unten (Farbe ⇄ Modul).
|
||||
* - full_outline_headers: früheres Verhalten mit großem Kopf-Bereich inkl.
|
||||
* Auflistung der Übungen (viel Platz, maximale Orientierung ohne Scroll).
|
||||
*
|
||||
* Zum Zurückschalten: Wert hier auf `'full_outline_headers'` setzen oder Datei reverten.
|
||||
*/
|
||||
export const PLANNING_MODULE_UX_MODE = 'compact_tag_legend'
|
||||
Reference in new issue
Block a user