Commit Graph

31 Commits

Author SHA1 Message Date
3fb897fc8b MVP today view
All checks were successful
Build and Publish Docker Container / build (push) Successful in 5m29s
2023-10-20 12:02:35 +01:00
cdd8c963ca Add today basic view
All checks were successful
Build and Publish Docker Container / build (push) Successful in 5m59s
2023-10-16 12:19:00 +01:00
f712837f91 Improve icons, add homepage links to courses
All checks were successful
Build and Publish Docker Container / build (push) Successful in 5m28s
2023-10-08 16:38:40 +01:00
7344ac3d67 Make it a little generic, time to step away for now
All checks were successful
Build and Publish Docker Container / build (push) Successful in 5m55s
2023-10-07 16:05:26 +01:00
8fd4072af3 Remove "Recording" header on table to allow for that column to contain more stuff 2023-10-07 15:55:52 +01:00
2b49e64123 Hide total line for weeks with no work done
All checks were successful
Build and Publish Docker Container / build (push) Successful in 5m15s
2023-10-06 22:40:38 +01:00
a0918ce011 Add total lecture time and improve time representation
In the attendance tracker view, the total times for preparation, in lecture, and review have been humanized for better readability. Also, total time spent on lectures for each week has been included for a quicker overview. A helper method 'humanise_duration' has been added in application helper to convert time into a more readable format. Changes have been done in 'lecture' model for calculation of total time.
2023-10-06 22:38:48 +01:00
0cb03812cf Track associated toggl entry id for uniqueness, show stats for time spent in different parts of the lecture flow. 2023-10-06 22:00:01 +01:00
c706aa2561 Add status symbols for upcoming prep and review entries 2023-10-06 21:04:34 +01:00
927a9032d4 Fix issue with popover when lecture not attended 2023-10-06 20:54:15 +01:00
9a2508bb34 Improve styling
All checks were successful
Build and Publish Docker Container / build (push) Successful in 5m8s
2023-10-06 20:52:03 +01:00
41e3eebe52 Add in lecture time popover 2023-10-06 20:49:53 +01:00
e3199a097f Move recording to its own column 2023-10-06 20:19:44 +01:00
6c8d2544e0 Add review and prep actions
Some checks reported warnings
Build and Publish Docker Container / build (push) Has been cancelled
2023-10-04 15:14:19 +01:00
7c96b2c2bc Add ability to start lecture and redirect to recorded content. 2023-10-04 15:00:23 +01:00
0e0d26d06d Move calendar scraping to a model method 2023-10-04 14:41:15 +01:00
9a5116f29e Add Toggl data to attendances, fix attendance creation for past lectures. Change styling a little. 2023-10-02 16:19:37 +01:00
2530ee629a Improve styling 2023-10-02 13:26:12 +01:00
fcff7ca839 Add the rest of my modules 2023-10-02 11:13:31 +01:00
58c1280309 Update Lecture-Recording relationship and add Lecture cancellation status
The commit introduces notable changes to the Lecture-Recording model relationship in our application and adds a new cancellation status to Lecture model.

Models Lecture and Recording previously had a belongs_to :recording and belongs_to :lecture relationship respectively. However, this setup was not reflecting the correct relationship between these two entities in the actual educational setup where a lecture can have a recording but a recording is always of a lecture. Thus, the relationship has been revised to has_one :recording in Lecture and belongs_to :lecture in Recording models.

Also, added the ability to mark a lecture as "cancelled". This addresses the requirement of representing real-world scenarios where lectures are sometimes cancelled. This cancellation status is then reflected in the Attendance Tracker view and is also handled in the ScrapePanoptoJob.

Additionally, new changes are reflected in the application's schema, migration files, admin dashboard, and stylesheets (for displaying cancelled lectures).
2023-10-02 09:47:46 +01:00
d9d182bc94 Update lecture properties and various migration changes
Modified code to remove 'status' field from lecture's table and added 'event_uuid' field. Also refined the 'start_time' field in recordings' table to handle datetime instead of strings. Further, made minor changes in scraping jobs and seeding logic. Implemented these changes to allow lectures to be associated with calendar events and streamlined various fields.
2023-10-01 19:44:20 +01:00
9923067a17 Stash 2023-10-01 17:34:41 +01:00
3c55c64b3f Add future styling 2023-09-29 21:40:52 +01:00
211825faf8 Fix issue with link not displaying 2023-09-29 21:34:51 +01:00
598c1204e3 Move the display to attendances 2023-09-29 21:32:28 +01:00
0d97b5fdc0 Scraping work 2023-09-29 19:54:03 +01:00
34c5f771ad Show multiple courses 2023-09-29 19:03:26 +01:00
a36284b73e Make the UI a little more complete 2023-09-29 19:01:35 +01:00
d14903fcb4 Some initial UI work 2023-09-29 18:53:43 +01:00
86b8846f20 A basic UI template 2023-09-29 18:11:05 +01:00
f49dd9a882 Add controller 2023-09-29 17:50:55 +01:00