Closed odkhang closed 1 month ago
With this PR:
video PR: https://github.com/fossasia/eventyay-video/pull/176
This pull request introduces a new feature allowing users to save and manage their favourite talks. It adds a new model, serializer, and API endpoint to handle favourite talks, and updates the schedule view to display favourite counts and a do_not_record flag. The changes include new views, URL patterns, and database migrations.
Files | Changes |
---|---|
src/pretalx/api/views/submission.py src/pretalx/api/urls.py |
Introduced a new API endpoint and view to handle user's favourite talks, including methods for retrieving and adding favourite talks. |
src/pretalx/submission/models/submission.py src/pretalx/submission/migrations/0076_submissionfavourite.py |
Added a new model and serializer for storing and managing user's favourite talks, along with the necessary database migration. |
src/pretalx/schedule/models/schedule.py |
Enhanced the schedule model to include favourite count and do_not_record flag in the schedule data. |
Right now it seems there is a mix of the previous "browser based" implementation and the current implementation.
Sorting does not work at all yet. I also see the option for different timezones. This is out of scope for this issue.
Hi @mariobehling,
Font color and diameter of fav count is updated. And the pop will look like above, do you have any feedback?
About the unstar issue, I open 2 browsers, if I unstar one, and refresh other brower, it also reflect the number, could you test again?
About sort issue, currently we sort in a list session bucket (all sessions in each 30 minutes), with that way it will not break the layout as current layout showing a list bucket of sessions in 30 minutes.
About the connection with Video.
From Talk:
From video:
Please resolve conflicts.
This PR closes/references issue #136 . It does so by:
141 to show do not record on schedule view.
How has this been tested?
Checklist
Summary by Sourcery
This pull request adds functionality for users to save and manage their favorite talks, integrating this feature into the personal schedule. It also enhances the schedule view to show additional information about talks, such as the number of favorites and recording preferences.