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

Fix appointment booking loading #5410

Merged
merged 1 commit into from
Aug 22, 2023
Merged

Fix appointment booking loading #5410

merged 1 commit into from
Aug 22, 2023

Conversation

hamza221
Copy link
Contributor

closes #5409

Signed-off-by: hamza221 <hamzamahjoubi221@gmail.com>
@hamza221 hamza221 added 3. to review Waiting for reviews bug skill:frontend Issues and PRs that require JavaScript/Vue/styling development skills labels Aug 11, 2023
@hamza221 hamza221 self-assigned this Aug 11, 2023
@codecov
Copy link

codecov bot commented Aug 11, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.05% ⚠️

Comparison is base (7f39c7b) 22.66% compared to head (c4e760c) 22.61%.
Report is 13 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #5410      +/-   ##
============================================
- Coverage     22.66%   22.61%   -0.05%     
  Complexity      372      372              
============================================
  Files           237      238       +1     
  Lines         11725    11749      +24     
  Branches       2282     2292      +10     
============================================
  Hits           2657     2657              
- Misses         9068     9092      +24     
Flag Coverage Δ
javascript 13.85% <0.00%> (-0.04%) ⬇️
php 65.47% <ø> (ø)

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

Files Changed Coverage Δ
src/components/Appointments/AppointmentDetails.vue 0.00% <ø> (ø)
src/components/Editor/Properties/PropertyText.vue 0.00% <0.00%> (ø)
src/mixins/PropertyLinksMixin.js 0.00% <0.00%> (ø)
src/views/Appointments/Booking.vue 0.00% <ø> (ø)
src/views/EditSidebar.vue 0.00% <ø> (ø)
src/views/EditSimple.vue 0.00% <ø> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

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

👍

this.canClose = false
this.isLoading = true
try {
await this.$emit('save', {
Copy link
Member

Choose a reason for hiding this comment

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

so the issue was that event listeners are not awaitable?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes

@ChristophWurst
Copy link
Member

cc @pjrobertson for testing and review :)

@pjrobertson
Copy link
Contributor

Looking into it :)

Still struggling to get a proper dev environment set up though. Is https://github.com/juliushaertl/nextcloud-docker-dev the best way to set up an environment?

@hamza221
Copy link
Contributor Author

Looking into it :)

Still struggling to get a proper dev environment set up though. Is https://github.com/juliushaertl/nextcloud-docker-dev the best way to set up an environment?

That's what I'm using and I can totally recommend it

@pjrobertson
Copy link
Contributor

LGTM @ChristophWurst, I think it's good to merge!

Also apologies, my PR didn't get it working correctly.

@hamza221
Copy link
Contributor Author

@pjrobertson Thank you for the review

@hamza221 hamza221 added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Aug 22, 2023
@hamza221 hamza221 merged commit 9f43c60 into main Aug 22, 2023
38 of 40 checks passed
@hamza221 hamza221 deleted the fix/booking-loading branch August 22, 2023 16:13
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 bug skill:frontend Issues and PRs that require JavaScript/Vue/styling development skills
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix Loading animation of appointment booking
3 participants