-
Notifications
You must be signed in to change notification settings - Fork 159
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 v-calender replace with native browser input date field for expiryDates #11377
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
b3baaa4
to
b9445c2
Compare
b9445c2
to
34db337
Compare
8120f76
to
81397ef
Compare
81397ef
to
5a016cc
Compare
5ec994a
to
d823041
Compare
5712266
to
7bbd5ee
Compare
d65e9cd
to
1465d2d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few nitpicks, but I love it!
packages/web-app-files/src/components/Modals/DatePickerModal.vue
Outdated
Show resolved
Hide resolved
packages/design-system/src/components/OcDatepicker/OcDatepicker.vue
Outdated
Show resolved
Hide resolved
packages/web-app-files/src/components/SideBar/Shares/Links/DetailsAndEdit.vue
Show resolved
Hide resolved
</template> | ||
</oc-datepicker> | ||
<div v-if="option.showDatepicker" class="oc-flex"> | ||
<oc-button |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think at least for screen readers we need a hint that using this button lets the user edit the expiration date. Debatable if we also need it for non-screen reader users. Maybe it's just simpler to use Edit expiration
as button label instead of the current expiration.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Follow up
<span | ||
v-else | ||
key="set-expiration-date-label" | ||
v-text="$gettext('Expires %{expires}', { expires: dateExpire })" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, Edit expiration
might be the better label, although I like to see the expiration duration here :-(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Follow up
Hope to see this merged soon, I'm super hyped about it! Awesome changes! 😍 |
Quality Gate passedIssues Measures |
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Open tasks: