-
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
[full-ci] feat: move expiration date to a drop #5806
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
packages/web-app-files/src/components/SideBar/Shares/Collaborators/CollaboratorsEditOptions.vue
Outdated
Show resolved
Hide resolved
114f715
to
ad49927
Compare
This comment has been minimized.
This comment has been minimized.
Results for oC10SharingInternalGroups https://drone.owncloud.com/owncloud/web/19144/22/1
|
Results for oC10SharingInternalGroupsSharingIndicator https://drone.owncloud.com/owncloud/web/19182/24/1
|
85e6b4e
to
5d2512e
Compare
Results for oCISRename https://drone.owncloud.com/owncloud/web/19218/48/1
|
Results for oC10SharingInternalUsersSharingIndicator https://drone.owncloud.com/owncloud/web/19218/27/1
|
Results for oC10Files1 https://drone.owncloud.com/owncloud/web/19218/12/1
|
sure |
…ud/web into feat/expiration-date-drop
Results for oC10Files1 https://drone.owncloud.com/owncloud/web/19592/12/1
|
518ff85
to
5e93728
Compare
Results for oC10Files1 https://drone.owncloud.com/owncloud/web/19624/12/1
|
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.
This PR in general looks good to me, but is a good example of why we should move into smaller PRs for better review-ability - this one could have been divided into OCS update, unit test refactoring, share-date related simplification and then the feature of replacing the Datepicker component itself (just as a suggestion)
Also, apart from the smaller comments I added and which I wouldn't consider show-stoppers, I'm not quite sure how to feel about deleting all those acceptance tests that check the share expiry settings by OC10 admins
packages/web-app-files/src/components/SideBar/Shares/Collaborators/CollaboratorsEditOptions.vue
Show resolved
Hide resolved
packages/web-app-files/src/components/SideBar/Shares/Collaborators/CollaboratorsEditOptions.vue
Show resolved
Hide resolved
packages/web-app-files/src/components/SideBar/Shares/Collaborators/CollaboratorsEditOptions.vue
Show resolved
Hide resolved
packages/web-app-files/src/components/SideBar/Shares/Collaborators/EditCollaborator.vue
Show resolved
Hide resolved
packages/web-app-files/src/components/SideBar/Shares/Collaborators/EditCollaborator.vue
Show resolved
Hide resolved
packages/web-app-files/src/components/SideBar/Shares/Collaborators/NewCollaborator.vue
Outdated
Show resolved
Hide resolved
packages/web-app-files/src/components/SideBar/Shares/Collaborators/NewCollaborator.vue
Show resolved
Hide resolved
packages/web-app-files/tests/integration/specs/peopleExpirationDate.spec.js
Show resolved
Hide resolved
Results for oC10Sharing1 https://drone.owncloud.com/owncloud/web/19630/16/1
|
Results for oC10Files1 https://drone.owncloud.com/owncloud/web/19630/12/1
|
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.
One major thing: could you adapt the expiration date handling in links (create/edit public links) so that it looks the same as for user shares? Ideally by reusing the same component... if too much work we can keep it like it is.
(result) => { | ||
expirationDate = result.value | ||
const date = new Date(result.value) | ||
const dateString = |
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.
Can't you use string formatting on the date to achieve the same result? Probably makes sense to just append the time ( 00:00:00
), but for the date it looks weirdly handcrafted / hacky.
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.
its actually copied from calculateDate
in sharingHelper
so the dates actually match but i can't use that function sadly, but i don't get why the calculateDate
has to be this weird
packages/web-app-files/src/components/SideBar/Shares/Collaborators/CollaboratorsEditOptions.vue
Show resolved
Hide resolved
packages/web-app-files/src/components/SideBar/Shares/Collaborators/EditCollaborator.vue
Show resolved
Hide resolved
packages/web-app-files/src/components/SideBar/Shares/Collaborators/NewCollaborator.vue
Show resolved
Hide resolved
SonarCloud Quality Gate failed. |
Open tasks: