Skip to content

fix: Date Range Picker behavior#17914

Merged
sean-brydon merged 10 commits into
calcom:mainfrom
anikdhabal:daterangepicker
Dec 2, 2024
Merged

fix: Date Range Picker behavior#17914
sean-brydon merged 10 commits into
calcom:mainfrom
anikdhabal:daterangepicker

Conversation

@anikdhabal
Copy link
Copy Markdown
Contributor

What does this PR do?

  • Fixes #XXXX (GitHub issue number)
  • Fixes CAL-XXXX (Linear issue number - should be visible at the bottom of the GitHub issue description)

Mandatory Tasks (DO NOT REMOVE)

  • I have self-reviewed the code (A decent size PR without self-review might be rejected).
  • N/A-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?
  • What are the minimal test data to have?
  • What is expected (happy path) to have (input and output)?
  • Any other important info that could help to test that PR

Checklist

  • I haven't read the contributing guide
  • My code doesn't follow the style guidelines of this project
  • I haven't commented my code, particularly in hard-to-understand areas
  • I haven't checked if my changes generate no new warnings

@vercel
Copy link
Copy Markdown

vercel Bot commented Nov 29, 2024

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

A member of the Team first needs to authorize it.

@anikdhabal anikdhabal marked this pull request as draft November 29, 2024 16:41
@graphite-app graphite-app Bot requested a review from a team November 29, 2024 16:41
@dosubot dosubot Bot added ui area: UI, frontend, button, form, input 🐛 bug Something isn't working labels Nov 29, 2024
@keithwillcode keithwillcode added the core area: core, team members only label Nov 29, 2024
@graphite-app
Copy link
Copy Markdown

graphite-app Bot commented Nov 29, 2024

Graphite Automations

"Add consumer team as reviewer" took an action on this PR • (11/29/24)

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

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

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

@anikdhabal anikdhabal marked this pull request as ready for review November 30, 2024 15:45
Comment on lines +28 to +30
function handleDayClick(date: Date) {
if (dates?.endDate) {
onDatesChange({ startDate: date, endDate: undefined });
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

first click = start, second click = end

sean-brydon
sean-brydon previously approved these changes Dec 2, 2024
Copy link
Copy Markdown
Member

@sean-brydon sean-brydon left a comment

Choose a reason for hiding this comment

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

LGTM - UX here is much better ty

@sean-brydon sean-brydon enabled auto-merge (squash) December 2, 2024 13:15
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Dec 2, 2024

E2E results are ready!

@sean-brydon sean-brydon merged commit 0aa58c1 into calcom:main Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛 bug Something isn't working core area: core, team members only ready-for-e2e ui area: UI, frontend, button, form, input

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants