fossasia / eventyay-talk

eventyay speakers and talks component
Apache License 2.0
1.48k stars 47 forks source link

Add online video link to menu #150

Open lcduong opened 1 month ago

lcduong commented 1 month ago

This PR closes/references issue #133. It does so by

How has this been tested?

Checklist

Summary by Sourcery

This pull request introduces a new feature allowing event organizers to add an online video link in the event settings. The video link, if configured, will be displayed in the event menu for easy access.

sourcery-ai[bot] commented 1 month ago

Reviewer's Guide by Sourcery

This pull request adds a new 'video_link' field to the event settings form, allowing organizers to configure an online video link. This link will be displayed as a button in the event menu if set.

File-Level Changes

Files Changes
src/pretalx/orga/forms/event.py
src/pretalx/orga/templates/orga/settings/form.html
Added a new 'video_link' field to the event settings form and included it in the display settings.
src/pretalx/agenda/templates/agenda/header_row.html Added a button to the event menu to link to the online video if 'video_link' is set.

Tips - Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request. - Continue your discussion with Sourcery by replying directly to review comments. - You can change your review settings at any time by accessing your [dashboard](https://app.sourcery.ai): - Enable or disable the Sourcery-generated pull request summary or reviewer's guide; - Change the review language; - You can always [contact us](mailto:support@sourcery.ai) if you have any questions or feedback.
lcduong commented 1 month ago

Video url in event setting

image

Video button on talk menu

image

odkhang commented 1 month ago

image

popup if customer not order ticket or not login yet.

configuration need for this feature to working

  1. eventyay-video plugin need to be installed.
  2. join_url, secret, issuer, audience of eventyay-video plugin need to be fullfilled
  3. Ticket shop url in event setting need to fullfilled

image