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

Remove clearable from color and time pickers #1965

Merged
merged 10 commits into from
Apr 30, 2024

Conversation

andrearutrecht
Copy link
Contributor

@andrearutrecht andrearutrecht commented Apr 19, 2024

The clearable prop is removed from all pickers in admin/admin-date-time and from ColorPicker. All Pickers are now clearable by default and only not clearable when required is set.

PR Checklist

  • Verify if the change requires a changeset. See CONTRIBUTING.md
  • Link to the respective task if one exists: COM-670
  • Provide screenshots/screencasts if the change contains visual changes
Screenshots of Time and Date Pickers in Storybook to show default `clearable` behaviour: Screenshot 2024-04-19 at 13 51 29
Screenshots of Time and Date Pickers in Storybook to show `required` behaviour:

Screenshot 2024-04-23 at 11 17 44 Screenshot 2024-04-23 at 11 17 52 Screenshot 2024-04-23 at 11 17 58 Screenshot 2024-04-23 at 11 18 03 Screenshot 2024-04-23 at 11 18 09

Screenshots of `ColorPicker` stories:

Screenshot 2024-04-22 at 09 47 18 Screenshot 2024-04-22 at 09 47 30 Screenshot 2024-04-22 at 09 47 38

@andrearutrecht andrearutrecht self-assigned this Apr 19, 2024
@andrearutrecht andrearutrecht changed the title Remove clearable from time pickers Remove clearable from color and time pickers Apr 19, 2024
@andrearutrecht andrearutrecht force-pushed the remove-clearable-from-pickers branch 2 times, most recently from 6d1b5cc to f413748 Compare April 22, 2024 07:27
@johnnyomair
Copy link
Collaborator

@andrearutrecht is this ready for review?

@andrearutrecht
Copy link
Contributor Author

@andrearutrecht is this ready for review?

@johnnyomair No, it is still set to draft

@johnnyomair
Copy link
Collaborator

@andrearutrecht is this ready for review?

@johnnyomair No, it is still set to draft

Then the review requests should be removed.

Draft + review request = "It can't be merged like this, but I want your opinion on it anyway"

Draft + no review request = "I'm still working on it"

@andrearutrecht
Copy link
Contributor Author

Oh, thank you for that info! I did not know.

@andrearutrecht andrearutrecht marked this pull request as ready for review April 23, 2024 09:20
@auto-assign auto-assign bot requested a review from johnnyomair April 23, 2024 09:20
@johnnyomair johnnyomair merged commit cb544bc into next Apr 30, 2024
10 checks passed
@johnnyomair johnnyomair deleted the remove-clearable-from-pickers branch April 30, 2024 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants