android-vtop-chennai icon indicating copy to clipboard operation
android-vtop-chennai copied to clipboard

Home screen widgets to display timetable, exams and assignments

Open therealsujitk opened this issue 2 years ago • 7 comments

Feature Request

It would be very convenient to have home screen widgets showing the current day's timetable, exams and assignments.

therealsujitk avatar May 18 '22 07:05 therealsujitk

assign this to me I was thinking of exactly the same feature

ashishsaranshakya avatar Jul 06 '23 12:07 ashishsaranshakya

Do you have any design templates for how the widget would look?

therealsujitk avatar Aug 07 '23 15:08 therealsujitk

widget_preview I tried to make it match the overall app theme

ashishsaranshakya avatar Aug 08 '23 16:08 ashishsaranshakya

Hi @therealsujitk ,I would like to work on this. I have some ideas for possible widgets. All of these widget themes and styling follow the Material 3.0 Design guidelines.

  1. Upcoming Class: Shows the next class attendance and the classroom. Time Table Widget This same widget during exam times will display another view that is related to the exam schedule as shown below Exam Version

  2. Upcoming Classes: A widget that shows 2-3 of the next upcoming classes. Here is an example image of that. The widget targets a 2x3 home screen grid. Time Table Widget-1

  3. Overall Stats : A smaller widget that shows your overall attendance. (Not sure if this would be useful though)

  4. Upcoming Assignments: Shows the upcoming assignments you have due. Something similar to the google photos widgets where swiping down cycles through the assignments you have left (Still didn't mock-up a design for this one)

If you are wondering how they look on a homescreen here is an example image

I was thinking about hooking the widget update logic into the broadcast receiver that fires to display the upcoming class and exam notifications. There is no minimum time for widget updates if the widget update is triggered by the app manually so that won't be a problem.

Please let me know your thoughts on these ideas and I can work on implementing them into the app

Guhan-SenSam avatar Apr 03 '24 18:04 Guhan-SenSam

Hey @Guhan-SenSam thanks for contributing! This UI looks good, though i'd prefer it to match with the phone's UI (the fonts, colours, progress bar style, etc.), the placement of the components seem fine to me. It'll be better if you include the course code as well.

You can maybe start with the timetable first, let's perfect it, and then we'll focus on the exam schedule. Feel free to open a draft PR and @mention me if you need any help.

therealsujitk avatar Apr 05 '24 15:04 therealsujitk

Thanks! Regarding the styles matching ,the colours will be decided by android automatically(Material Design 3 Monet Engine Computed Colours) and in terms of the font its default Roboto font. The progress bar ya I will use the default android component one.

I will create a PR with the changes soon.

Guhan-SenSam avatar Apr 05 '24 16:04 Guhan-SenSam

Cool 👍. The app uses a font called Rubik, it's present locally in the app resources folder.

therealsujitk avatar Apr 05 '24 18:04 therealsujitk