poprawki i zmiany ux

This commit is contained in:
Mateusz Gruszczyński
2026-03-26 09:30:39 +01:00
parent fd0f645251
commit 138059945e
28 changed files with 1000 additions and 225 deletions

53
ZMIANY_WDROZONE.txt Normal file
View File

@@ -0,0 +1,53 @@
Wdrożone poprawki:
1. Responsywny time picker / zakresy na mobile
- poprawione przyciski zakresów
- poprawione pola datetime-local
- lepsze układanie filtrów na małych ekranach
2. Ustawienia desktop - budowanie widoków strony głównej
- przebudowane na interaktywny układ z kolejnością, dodawaniem i usuwaniem metryk
- poprawione przyciski i czytelność sekcji
3. Przebudowa layoutu ustawień + LIVE
- bardziej przyjazny układ ustawień
- interaktywne ustawianie kolejności sekcji LIVE
- podgląd kolejności sekcji
4. Polskie znaki
- poprawione polskie znaki w wielu etykietach frontend/backend/demo
5. DC moc i napięcie na wykresach
- rozróżnienie etykiet typu: DC1 moc [W], DC1 napięcie [V]
6. Dane chwilowe - zoom i pinch
- dodany zoom/pinch w wykresie live/history przez dataZoom
- wykres danych chwilowych na pełną szerokość
- wybór metryk pod wykresem
7. Build i weryfikacja
- frontend: npm run build OK
- backend: py_compile OK
[v6]
- Live page chart controls aligned further to the right in the header.
- Auto/Paused buttons visually separated for better readability.
- Live chart pause now freezes chart updates and preserves selected zoom area during unrelated re-renders.
- ECharts wrapper no longer recreates the chart instance on every render.
- Cache-Control/Pragma/Expires headers added in Vite dev server and Flask API responses.
- Remaining hardcoded Polish analytics titles/subtitles moved to i18n-backed strings.
[v7]
- Live header controls are now pushed to the right edge of the header block instead of visually sticking to the title area.
- Live refresh mode uses a polished Auto/Paused switch instead of two plain buttons.
- Added a dedicated live header grid so spacing is cleaner and better balanced on desktop.
[v8]
- Moved live/archive auto-refresh controls from page headers into the navigation bar area to eliminate desktop overflow.
- Live and historical header layouts are slimmer now and keep only range selectors.
- Added compact navbar refresh switch + refresh action styling for better fit and readability.
- Fixed live chart freeze logic: pausing auto-refresh now really keeps the current chart state and user-selected zoom area intact.
- Frontend build verified after the layout refactor.
- v9: removed the navbar "Refresh now" button for chart views and reduced the compact Auto/Paused switch size to fit the top bar better.