kilyabin
24bb531dfb
feat(ui): improve lesson cards and theme button, optimize dependency checks
...
UI Improvements:
- Highlight classroom number in lesson cards using Badge component
* Applied to both mobile and desktop views
* Improved visual distinction for classroom information
- Fix theme switcher button layout on mobile
* Add "Тема" text label inside the button (visible on all devices)
* Remove redundant absolute positioned span below button
* Fix text overflow issues on mobile devices
* Improve button isolation to prevent text escaping
Performance Optimization:
- Optimize dependency installation check in deployment scripts
* Replace timestamp-based check with content hash comparison
* Use MD5 hash of package.json and lock files to detect real changes
* Save hash after successful installation for future comparisons
* Significantly reduce unnecessary npm install runs during updates
* Add .dependencies.hash to .gitignore
Files changed:
- src/widgets/schedule/lesson.tsx - Added Badge for classroom
- src/features/theme-switch/index.tsx - Added text label to button
- src/widgets/navbar/index.tsx - Improved button container structure
- src/pages/index.tsx - Removed redundant theme label span
- scripts/manage.sh - Optimized dependency check logic
- scripts/install.sh - Optimized dependency check logic
- .gitignore - Added .dependencies.hash exclusion
2025-11-26 01:09:46 +04:00
kilyabin
808d577964
feat: исправление мобильной версии и улучшение UX
...
- Исправлена мобильная версия: добавлена горизонтальная прокрутка навигации,
оптимизированы отступы и размеры элементов для touch-интерфейсов
- Устранено зависание на мобильных: удален бесконечный цикл в date-serializer.ts
- Улучшена читаемость: сделаны светлее описание пар, дни недели и текст
последнего обновления (текущий день остается выделенным)
- Добавлена автоматическая прокрутка до текущего дня при загрузке страницы
- Добавлено отображение 'Пары нет' для отмененных пар при замене
- Оптимизированы скрипты установки: добавлена проверка зависимостей перед
установкой для ускорения повторных запусков
- Исправлено отображение адреса и аудитории на мобильных устройствах
- Улучшены диалоги и touch-цели для мобильных устройств
2025-11-23 00:13:51 +04:00
kilyabin
327f143a29
fixed scripts and replaced consts
2025-11-18 04:13:20 +04:00
kilyabin
b82d4e5085
add scripts to auto-install
2025-11-18 03:57:22 +04:00
kilyabin
8123e4b574
Update index.tsx
2023-10-19 16:40:04 +04:00
VityaSchel
a756e4ee13
For some reason next/image doesn't work so I'm using default html's img tag now
2023-10-03 17:24:11 +04:00
VityaSchel
c3acb3681e
Fix emoji path
2023-10-03 17:21:33 +04:00
VityaSchel
410b5acb29
Fix hydration error; fix linter reports; fix t.me link
2023-10-02 20:25:03 +04:00
VityaSchel
f0c1347bbd
Add Github button to navbar
2023-10-02 19:07:04 +04:00
VityaSchel
755654cf9d
Added last update, cache strategy, telegram fail notifications, teachers photos
2023-10-02 18:54:26 +04:00
VityaSchel
6653796e87
Added navbar
2023-10-01 21:56:32 +04:00