Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Talk rooms for appointments #4025

Merged
merged 1 commit into from
Apr 20, 2023

Conversation

ChristophWurst
Copy link
Member

@ChristophWurst ChristophWurst commented Mar 7, 2022

  • New database column
  • Front-end
    • Add checkbox to modal (only render when Talk is enabled)
  • Adjust email template to show the link

Fixes #3480

@codecov
Copy link

codecov bot commented Mar 7, 2022

Codecov Report

Patch coverage has no change and project coverage change: +0.04 🎉

Comparison is base (cd6f8ab) 22.55% compared to head (0d86766) 22.59%.

❗ Current head 0d86766 differs from pull request most recent head 74fc70d. Consider uploading reports for the commit 74fc70d to get more accurate results

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #4025      +/-   ##
============================================
+ Coverage     22.55%   22.59%   +0.04%     
- Complexity      353      373      +20     
============================================
  Files           233      236       +3     
  Lines         11372    11475     +103     
  Branches       2144     2149       +5     
============================================
+ Hits           2565     2593      +28     
- Misses         8807     8882      +75     
Flag Coverage Δ
javascript 14.02% <0.00%> (-0.02%) ⬇️
php 63.92% <ø> (-1.68%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/components/AppointmentConfigModal.vue 0.00% <0.00%> (ø)
...s/AppointmentConfigModal/CheckedDurationSelect.vue 0.00% <ø> (ø)
...rc/components/AppointmentConfigModal/TextInput.vue 0.00% <0.00%> (ø)
src/models/appointmentConfig.js 0.00% <0.00%> (ø)
src/store/settings.js 87.71% <0.00%> (-0.78%) ⬇️

... and 11 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

return;
}

if (!$event->getConfig()->getCreateTalkRoom()) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$event->getConfig() might as well be a local variable.

$broker->createConversation(
$event->getConfig()->getName(),
[$organizer],
$broker->newConversationOptions()->setPublic(false),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the link is to be sent shouldn't the conversation be public if the attendee is not an user?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yet I missed to make it public: #5516

@ChristophWurst
Copy link
Member Author

Adjust email template to show the link

Right now there is only a verification email, not a confirmation email for the final booking. We'll have to add the latter to propagate the link. The verification email can't have the Talk link as we only create the conversation once the booking is confirmed.

@ChristophWurst ChristophWurst added 1. to develop Accepted and waiting to be taken care of and removed 2. developing Work in progress labels May 20, 2022
@ChristophWurst ChristophWurst added 2. developing Work in progress and removed 1. to develop Accepted and waiting to be taken care of labels Oct 31, 2022
@ChristophWurst
Copy link
Member Author

It works

Bildschirmfoto vom 2022-10-31 11-17-17

@ChristophWurst ChristophWurst added the enhancement New feature request label Oct 31, 2022
string $displayName,
string $email,
?string $description = null,
?string $location = null) : string {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The location is on the $config object (unless you want to refactor that and allow a talk room per booking, not per config?)

$booking->getDisplayName(),
$booking->getEmail(),
$booking->getDescription(),
$config->getCreateTalkRoom() ? $booking->getTalkUrl() : $config->getLocation(),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@miaulalala 👀 an appointment with a Talk room is implicitly taking place online, so there is no location to enter for the organizer and we will write the Talk URL instead

@ChristophWurst ChristophWurst added 1. to develop Accepted and waiting to be taken care of and removed 2. developing Work in progress labels Apr 4, 2023
@ChristophWurst ChristophWurst removed their assignment Apr 4, 2023
@hamza221 hamza221 force-pushed the enhancement/create-talk-room-appointment branch from 4669ebc to eef6116 Compare April 18, 2023 20:45
@hamza221 hamza221 added 2. developing Work in progress and removed 1. to develop Accepted and waiting to be taken care of labels Apr 18, 2023
@hamza221 hamza221 marked this pull request as ready for review April 18, 2023 20:46
@ChristophWurst ChristophWurst added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Apr 19, 2023
@ChristophWurst
Copy link
Member Author

Linter is not happy yet

@hamza221 did you have to change anthing except resolveing conflicts? Then approve the PR if it works. I'm not allowed to review my own PR :)

@ChristophWurst
Copy link
Member Author

ChristophWurst commented Apr 20, 2023

  • BUG when I click the checkbox Create a Talk room
[Vue warn]: Invalid prop: type check failed for prop "disabled". Expected Boolean, got Array 

Edit: info.xml missing so the migration didn't run.

@ChristophWurst ChristophWurst added 2. developing Work in progress and removed 3. to review Waiting for reviews 2. developing Work in progress labels Apr 20, 2023
@ChristophWurst ChristophWurst added the 3. to review Waiting for reviews label Apr 20, 2023
@ChristophWurst ChristophWurst force-pushed the enhancement/create-talk-room-appointment branch from fe69765 to ac52bb6 Compare April 20, 2023 11:50
@ChristophWurst
Copy link
Member Author

👍 on Hamza's latest state. The integration works.

Signed-off-by: Christoph Wurst <[email protected]>
@ChristophWurst ChristophWurst force-pushed the enhancement/create-talk-room-appointment branch from 0d86766 to 74fc70d Compare April 20, 2023 13:20
@ChristophWurst ChristophWurst added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Apr 20, 2023
@ChristophWurst ChristophWurst merged commit 3db581f into main Apr 20, 2023
@ChristophWurst ChristophWurst deleted the enhancement/create-talk-room-appointment branch April 20, 2023 15:51
@ChristophWurst ChristophWurst added this to the v4.4.0 milestone May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish enhancement New feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create Talk room for booked appointments
5 participants