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

feat: Delete the booking history of past meetings #18787 #19118

Open
wants to merge 21 commits into
base: main
Choose a base branch
from

Conversation

PAVANNAIK25
Copy link
Contributor

@PAVANNAIK25 PAVANNAIK25 commented Feb 5, 2025

What does this PR do?

Mandatory Tasks (DO NOT REMOVE)

  • I have self-reviewed the code (A decent size PR without self-review might be rejected).
  • I have updated the developer docs in /docs if this PR makes changes that would require a documentation change. If N/A, write N/A here and check the checkbox. N/A
  • I confirm automated tests are in place that prove my fix is effective or that my feature works.

How should this be tested?

  • Are there environment variables that should be set? - No, special env.
  • What are the minimal test data to have?
    • You must have at least one bookings in past.
  • What is expected (happy path) to have (input and output)?
    • On click of edit in past bookings section on bookings page. The delete booking history which delete the same booking from past history.
  • Any other important info that could help to test that PR
    • Feature PR as per the above requirement from @PeerRich: Added a delete button under the edit section for past bookings. Implemented both the UI and backend functionality to allow deleting a single past booking. The delete option is available only for past bookings

/claim #18787

Copy link

vercel bot commented Feb 5, 2025

Someone is attempting to deploy a commit to the cal-staging Team on Vercel.

A member of the Team first needs to authorize it.

@CLAassistant
Copy link

CLAassistant commented Feb 5, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
3 out of 4 committers have signed the CLA.

✅ anikdhabal
✅ TusharBhatt1
✅ PAVANNAIK25
❌ Pavan


Pavan seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@graphite-app graphite-app bot added the community Created by Linear-GitHub Sync label Feb 5, 2025
@graphite-app graphite-app bot requested review from a team February 5, 2025 17:53
Copy link
Contributor

github-actions bot commented Feb 5, 2025

Hey there and thank you for opening this pull request! 👋🏼

We require pull request titles to follow the Conventional Commits specification and it looks like your proposed title needs to be adjusted.

Details:

Unknown release type "Feature" found in pull request title "Feature: Delete the booking history of past or canceled meetings #18787". 

Available types:
 - feat: A new feature
 - fix: A bug fix
 - docs: Documentation only changes
 - style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
 - refactor: A code change that neither fixes a bug nor adds a feature
 - perf: A code change that improves performance
 - test: Adding missing tests or correcting existing tests
 - build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
 - ci: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
 - chore: Other changes that don't modify src or test files
 - revert: Reverts a previous commit

@github-actions github-actions bot added ✨ feature New feature or request 💎 Bounty A bounty on Algora.io labels Feb 5, 2025
@dosubot dosubot bot added the i18n area: i18n, translations label Feb 5, 2025
@dosubot dosubot bot added this to the v5.0 milestone Feb 5, 2025
Copy link

graphite-app bot commented Feb 5, 2025

Graphite Automations

"Add consumer team as reviewer" took an action on this PR • (02/05/25)

1 reviewer was added to this PR based on Keith Williams's automation.

"Add foundation team as reviewer" took an action on this PR • (02/05/25)

1 reviewer was added to this PR based on Keith Williams's automation.

"Add community label" took an action on this PR • (02/05/25)

1 label was added to this PR based on Keith Williams's automation.

"Add ready-for-e2e label" took an action on this PR • (02/19/25)

1 label was added to this PR based on Keith Williams's automation.

@PAVANNAIK25 PAVANNAIK25 changed the title Feature: Delete the booking history of past or canceled meetings #18787 feat: Delete the booking history of past or canceled meetings #18787 Feb 5, 2025
@PAVANNAIK25
Copy link
Contributor Author

@PeerRich @CarinaWolli Please review my PR. As per requirement mentioned, I have implemented delete functionality to past booking. Let me know if any changes are needed to merge this PR.

Copy link
Contributor

@TusharBhatt1 TusharBhatt1 left a comment

Choose a reason for hiding this comment

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

@PAVANNAIK25 Can you add a quick loom video !

@PAVANNAIK25
Copy link
Contributor Author

Hi @TusharBhatt1

Here is the Loom video. Please let me know if anything else is needed from my side.

Video: https://www.loom.com/share/4129a7614a204d1581d5c436c8747b79?sid=4cdf4030-4f87-46a6-9bab-0bdf374023f6

@TusharBhatt1
Copy link
Contributor

Hi @TusharBhatt1

Here is the Loom video. Please let me know if anything else is needed from my side.

Video: https://www.loom.com/share/4129a7614a204d1581d5c436c8747b79?sid=4cdf4030-4f87-46a6-9bab-0bdf374023f6

Nice , will review. Also have you manually added text variables to all the languages , if yes , it’s only required to be added inside en (english) , rest is managed automatically

@PAVANNAIK25
Copy link
Contributor Author

Nice , will review. Also have you manually added text variables to all the languages , if yes , it’s only required to be added inside en (english) , rest is managed automatically

Should I remove from the other languages?

@TusharBhatt1
Copy link
Contributor

Nice , will review. Also have you manually added text variables to all the languages , if yes , it’s only required to be added inside en (english) , rest is managed automatically

Should I remove from the other languages?

Yes.
Secondly the loom video shows deletion for past bookings , is it for canceled bookings as well ?

@PAVANNAIK25
Copy link
Contributor Author

Yes. Secondly the loom video shows deletion for past bookings , is it for canceled bookings as well ?

Currently, it is only for the past bookings. Since in the issue Peer Richelsen mentioned to add in past bookings.

@TusharBhatt1
Copy link
Contributor

Yes. Secondly the loom video shows deletion for past bookings , is it for canceled bookings as well ?

Currently, it is only for the past bookings. Since in the issue Peer Richelsen mentioned to add in past bookings.

Cool , just make sure your implementation is dynamic , so that can be used for other type of bookings as well.
Will review in some time.

@PAVANNAIK25
Copy link
Contributor Author

Cool , just make sure your implementation is dynamic , so that can be used for other type of bookings as well.
Will review in some time.

I have removed the text variables from all other languages. I believe the implementation is dynamic, however, if you feel any changes are required, please let me know.

Thank you😊

@TusharBhatt1 TusharBhatt1 changed the title feat: Delete the booking history of past or canceled meetings #18787 feat: Delete the booking history of past meetings #18787 Feb 17, 2025
@PAVANNAIK25
Copy link
Contributor Author

@TusharBhatt1 I have corrected the title.

@TusharBhatt1
Copy link
Contributor

@TusharBhatt1 I have corrected the title.

I was referring to :

Screenshot (119)

@PAVANNAIK25
Copy link
Contributor Author

I was referring to :

Screenshot (119)

Ohh my bad. I have added below in common.json.

"delete_history_title": "Delete booking history",
 "delete_history_description": "Are you sure you want to delete this from your booking history?",
 "unable_to_delete_booking": "Unable to delete booking",
 "booking_delete_successfully": "Booking deleted successfully"
 

Please confirm only title needs to be changed or others too.

@TusharBhatt1
Copy link
Contributor

I was referring to :
Screenshot (119)

Ohh my bad. I have added below in common.json.

"delete_history_title": "Delete booking history",
 "delete_history_description": "Are you sure you want to delete this from your booking history?",
 "unable_to_delete_booking": "Unable to delete booking",
 "booking_delete_successfully": "Booking deleted successfully"
 

Please confirm only title needs to be changed or others too.

"delete_history_title": "Delete booking history" not required we already have "delete" , kindly use that , rest looks fine

@PAVANNAIK25
Copy link
Contributor Author

"delete_history_title": "Delete booking history" not required we already have "delete" , kindly use that , rest looks fine

https://www.loom.com/share/867558eaedd44170bd88f12135892f01?sid=a3938b07-5cc4-407a-9508-3171820a0c8c

does it looks good to you?

@TusharBhatt1
Copy link
Contributor

"delete_history_title": "Delete booking history" not required we already have "delete" , kindly use that , rest looks fine

https://www.loom.com/share/867558eaedd44170bd88f12135892f01?sid=a3938b07-5cc4-407a-9508-3171820a0c8c

does it looks good to you?

Let's make the title from "Delete?" to "Delete booking?" (similar to event-type) , just make sure it works well on dark mode as well
Rest LGTM

@PAVANNAIK25
Copy link
Contributor Author

PAVANNAIK25 commented Feb 19, 2025

Please confirm below.

Delete Button
image

Delete Dialog
image

@TusharBhatt1
Copy link
Contributor

Please confirm below.

Delete Button image

Delete Dialog image

Perfect !

TusharBhatt1
TusharBhatt1 previously approved these changes Feb 19, 2025
@TusharBhatt1 TusharBhatt1 added the high-risk Requires approval by Foundation team label Feb 19, 2025
TusharBhatt1
TusharBhatt1 previously approved these changes Feb 21, 2025
@PAVANNAIK25
Copy link
Contributor Author

@TusharBhatt1 Can you please help me to merge current main into this branch?

Copy link
Contributor

github-actions bot commented Mar 3, 2025

E2E results are ready!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🙋 Bounty claim 💎 Bounty A bounty on Algora.io community Created by Linear-GitHub Sync ✨ feature New feature or request high-risk Requires approval by Foundation team i18n area: i18n, translations ready-for-e2e
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CAL-5114] Delete the booking history of past meetings
5 participants