feat: add Next Lesson widget and enhance existing widgets

- Implemented a new Next Lesson widget to display the upcoming lesson details on the home screen.
- Updated Today widget to dynamically adjust the number of lessons displayed based on available space.
- Enhanced the Settings screen to allow users to manage hidden lessons more effectively.
- Introduced harmonized color palettes for better visual consistency across themes.
- Updated the timetable API to support a new range parameter for semester-based queries.
- Added tests to ensure the new semester range functionality works as expected.
- Refactored widget styling for improved appearance on devices with different Android versions.
This commit is contained in:
2026-10-18 00:39:32 +03:00
parent 29df0aa61f
commit d900e038b6
52 changed files with 278058 additions and 183859 deletions

View File

@@ -12,6 +12,7 @@ datastore = "1.2.1"
glance = "1.2.0"
work = "2.12.0"
desugar = "2.1.5"
material = "1.13.0"
junit = "4.13.2"
[libraries]
@@ -33,6 +34,8 @@ glance-appwidget = { module = "androidx.glance:glance-appwidget", version.ref =
glance-material3 = { module = "androidx.glance:glance-material3", version.ref = "glance" }
work-runtime = { module = "androidx.work:work-runtime-ktx", version.ref = "work" }
desugar = { module = "com.android.tools:desugar_jdk_libs", version.ref = "desugar" }
# Only for MaterialColors.harmonize; R8 drops the rest from release builds.
material = { module = "com.google.android.material:material", version.ref = "material" }
junit = { module = "junit:junit", version.ref = "junit" }
[plugins]