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

[stable27] 44032 fix show new shares without refresh #44464

Merged
merged 3 commits into from
May 14, 2024

Conversation

nfebe
Copy link
Contributor

@nfebe nfebe commented Mar 25, 2024

Resolves : #44032

Before

no-refresh.mp4

After

now-refresh.mp4

@nfebe nfebe force-pushed the 44032-fix-show-new-shares-without-refresh branch 3 times, most recently from b21988c to c6a0d7c Compare April 2, 2024 15:09
@nfebe nfebe marked this pull request as ready for review April 2, 2024 15:09
@nfebe nfebe requested review from susnux, artonge, Pytal and emoral435 April 2, 2024 15:10
@nfebe nfebe added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Apr 2, 2024
@nfebe
Copy link
Contributor Author

nfebe commented Apr 2, 2024

/backport to master

@nfebe
Copy link
Contributor Author

nfebe commented Apr 2, 2024

/backport to stable29

@nfebe
Copy link
Contributor Author

nfebe commented Apr 2, 2024

/backport to stable28

@nfebe nfebe force-pushed the 44032-fix-show-new-shares-without-refresh branch from c6a0d7c to 1273195 Compare April 2, 2024 15:18
@nfebe nfebe force-pushed the 44032-fix-show-new-shares-without-refresh branch from 1273195 to 22c9019 Compare April 8, 2024 13:11
@susnux susnux added this to the Nextcloud 27.1.9 milestone Apr 18, 2024
@Altahrim Altahrim mentioned this pull request Apr 18, 2024
4 tasks
@solracsf solracsf requested a review from artonge April 18, 2024 22:55
@artonge artonge added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Apr 22, 2024
@Altahrim Altahrim mentioned this pull request Apr 24, 2024
@nfebe nfebe force-pushed the 44032-fix-show-new-shares-without-refresh branch 2 times, most recently from 2b131e0 to 5fafe28 Compare April 29, 2024 22:24
Copy link
Contributor

github-actions bot commented May 1, 2024

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

@Altahrim Altahrim force-pushed the 44032-fix-show-new-shares-without-refresh branch from 244d328 to 0913a8e Compare May 3, 2024 07:19
Copy link
Contributor

@susnux susnux left a comment

Choose a reason for hiding this comment

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

Logically makes sense, some code comments.

apps/files_sharing/src/components/SharingEntryLink.vue Outdated Show resolved Hide resolved
apps/files_sharing/src/components/SharingEntryLink.vue Outdated Show resolved Hide resolved
apps/files_sharing/src/components/SharingEntryLink.vue Outdated Show resolved Hide resolved
apps/files_sharing/src/components/SharingEntryLink.vue Outdated Show resolved Hide resolved
apps/files_sharing/src/components/SharingEntryLink.vue Outdated Show resolved Hide resolved
apps/files_sharing/src/components/SharingEntryLink.vue Outdated Show resolved Hide resolved
apps/files_sharing/src/components/SharingEntryLink.vue Outdated Show resolved Hide resolved
apps/files_sharing/src/components/SharingEntryLink.vue Outdated Show resolved Hide resolved
@nfebe nfebe force-pushed the 44032-fix-show-new-shares-without-refresh branch 5 times, most recently from 1fc066c to 2cf97f3 Compare May 4, 2024 19:43
@nfebe nfebe requested a review from susnux May 4, 2024 19:44
@nfebe
Copy link
Contributor Author

nfebe commented May 4, 2024

/compile

Copy link
Contributor

@susnux susnux left a comment

Choose a reason for hiding this comment

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

Code looks good now

@nfebe nfebe force-pushed the 44032-fix-show-new-shares-without-refresh branch from 50b25a5 to d08d477 Compare May 6, 2024 14:05
@nfebe nfebe requested a review from artonge May 6, 2024 14:06
Copy link
Contributor

@artonge artonge left a comment

Choose a reason for hiding this comment

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

Looks good :)

nfebe added 2 commits May 14, 2024 09:32
These changes fixes the issue of having the refresh the UI after share creation, as the share is not
immediately removed from the UI list.

Important changes

- The basis of checking wether a password/expire date is no longer based on config values alone
because the config is not expected in a share creation circle. Hence we check the configs and check
if the share object (this.share) has the expected values set. This way, once the required properties
are set, code control does not enter the block meant to handle the setting of required properties
unneccessarily.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
@nfebe nfebe force-pushed the 44032-fix-show-new-shares-without-refresh branch from d08d477 to 2be6834 Compare May 14, 2024 08:33
@nfebe
Copy link
Contributor Author

nfebe commented May 14, 2024

/compile

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants