Skip to content

feat: Improve edit availability workflow#5159

Merged
emrysal merged 16 commits intocalcom:mainfrom
G3root:improve-availability-edit
Nov 3, 2022
Merged

feat: Improve edit availability workflow#5159
emrysal merged 16 commits intocalcom:mainfrom
G3root:improve-availability-edit

Conversation

@G3root
Copy link
Copy Markdown
Contributor

@G3root G3root commented Oct 21, 2022

What does this PR do?

this PR improves workflow of editing a availability. currently users are redirected when an availability schedule is edited, this PR improve aims to increase the UX without redirecting the user.

https://www.loom.com/share/702a021d380b4dfabf398af652fc3875

Type of change

  • New feature (non-breaking change which adds functionality)

@vercel
Copy link
Copy Markdown

vercel Bot commented Oct 21, 2022

@G3root is attempting to deploy a commit to the cal Team on Vercel.

A member of the Team first needs to authorize it.

@hariombalhara hariombalhara requested a review from emrysal October 28, 2022 09:14
Copy link
Copy Markdown
Contributor

@JeroenReumkens JeroenReumkens left a comment

Choose a reason for hiding this comment

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

Nice! This works perfectly, tested it locally as well 🙏
One small request to add a comment. Apart from that really happy with it.

I also verified that it updates data on other pages without refreshing 👍
Any other remarks @emrysal ?

Comment thread apps/web/pages/availability/[schedule].tsx
@JeroenReumkens JeroenReumkens added the ♻️ autoupdate tells kodiak to keep this branch up-to-date label Nov 2, 2022
@G3root G3root requested review from JeroenReumkens and removed request for emrysal November 3, 2022 08:29
@JeroenReumkens
Copy link
Copy Markdown
Contributor

Thanks @G3root! Awesome change 🙏
Will ping Alex to see if he still has a comment, otherwise it's good to merge in my opinion 👏

@emrysal emrysal dismissed JeroenReumkens’s stale review November 3, 2022 11:37

Requested changes applied

@emrysal emrysal self-requested a review November 3, 2022 11:38
@emrysal emrysal enabled auto-merge (squash) November 3, 2022 11:38
Copy link
Copy Markdown
Contributor

@emrysal emrysal left a comment

Choose a reason for hiding this comment

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

Looking good! 🚀 - thanks for the contribution as always @G3root

Copy link
Copy Markdown
Contributor

@JeroenReumkens JeroenReumkens left a comment

Choose a reason for hiding this comment

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

Looking great!

@vercel
Copy link
Copy Markdown

vercel Bot commented Nov 3, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
cal ✅ Ready (Inspect) Visit Preview Nov 3, 2022 at 8:54PM (UTC)

@emrysal emrysal merged commit 179a9b7 into calcom:main Nov 3, 2022
@G3root G3root deleted the improve-availability-edit branch November 4, 2022 10:32
haffla pushed a commit to tourlane/cal.com that referenced this pull request Nov 22, 2022
* feat: return data fromsetupDefaultSchedule

* feat: update returned data of "schedule.update" resolver as same as "schedule" query resolver.

* feat: set query data from updated results and invalidate prev default availability if it's changed.

* chore: add comments

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge ♻️ autoupdate tells kodiak to keep this branch up-to-date

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants