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

feat(editLocallyAction): Handle possible no local client scenario #46452

Merged
merged 3 commits into from
Jul 31, 2024

Conversation

Fenn-CS
Copy link
Contributor

@Fenn-CS Fenn-CS commented Jul 11, 2024

Summary

Resolves: #46438

Screencast

Screencast.from.2024-07-12.01-43-50.webm

TODO

  • Screenshots ?

@Fenn-CS Fenn-CS force-pushed the feat/46438/provide-feedback-edit-locally branch 8 times, most recently from a113d41 to c45e176 Compare July 12, 2024 00:41
@Fenn-CS Fenn-CS marked this pull request as ready for review July 12, 2024 00:41
@Fenn-CS Fenn-CS requested a review from skjnldsv as a code owner July 12, 2024 00:41
@Fenn-CS Fenn-CS requested review from a team, Pytal and sorbaugh and removed request for a team July 12, 2024 00:45
@Fenn-CS Fenn-CS added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Jul 12, 2024
@Fenn-CS Fenn-CS enabled auto-merge July 12, 2024 00:46
@Fenn-CS Fenn-CS force-pushed the feat/46438/provide-feedback-edit-locally branch 3 times, most recently from ce7055b to 0ef4ad3 Compare July 12, 2024 14:41
@Fenn-CS Fenn-CS force-pushed the feat/46438/provide-feedback-edit-locally branch from 0ef4ad3 to 43aade3 Compare July 15, 2024 11:22
@Fenn-CS Fenn-CS requested review from Pytal and susnux July 15, 2024 11:23
.then(() => {
// Ensure the callback is called even if the dialog is dismissed in other ways
if (!callbackCalled) {
localEditCallback(true)
Copy link
Member

Choose a reason for hiding this comment

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

IMO closing the dialog should have the same effect as cancelling

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I thought so too, but I was like maybe it's better to just proceed with action the user was attempting to do in the first place if they are clicking outside the modal?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't have any strong feeling about this, any is fine for me.

@Fenn-CS Fenn-CS force-pushed the feat/46438/provide-feedback-edit-locally branch from 43aade3 to 9ad0a2b Compare July 15, 2024 23:28
@Fenn-CS Fenn-CS requested a review from Pytal July 15, 2024 23:29
@Fenn-CS Fenn-CS force-pushed the feat/46438/provide-feedback-edit-locally branch from 9ad0a2b to 038b40b Compare July 16, 2024 01:14
@Fenn-CS
Copy link
Contributor Author

Fenn-CS commented Jul 16, 2024

/compile /

@Fenn-CS Fenn-CS force-pushed the feat/46438/provide-feedback-edit-locally branch 2 times, most recently from 0b526e1 to 0274821 Compare July 17, 2024 08:43
@Fenn-CS
Copy link
Contributor Author

Fenn-CS commented Jul 17, 2024

/compile /

@skjnldsv
Copy link
Member

@Fenn-CS can you fix the test please?

@Fenn-CS Fenn-CS force-pushed the feat/46438/provide-feedback-edit-locally branch from 4578636 to d22fe6e Compare July 31, 2024 09:24
Resolves: #46438

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
@Fenn-CS Fenn-CS force-pushed the feat/46438/provide-feedback-edit-locally branch 2 times, most recently from 50110c6 to 08df57e Compare July 31, 2024 09:26
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
@Fenn-CS Fenn-CS force-pushed the feat/46438/provide-feedback-edit-locally branch from 08df57e to efcf98d Compare July 31, 2024 09:28
@Fenn-CS
Copy link
Contributor Author

Fenn-CS commented Jul 31, 2024

/compile /

@Fenn-CS
Copy link
Contributor Author

Fenn-CS commented Jul 31, 2024

/backport to stable29

@Fenn-CS
Copy link
Contributor Author

Fenn-CS commented Jul 31, 2024

/backport to stable28

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@Fenn-CS Fenn-CS merged commit 0e2ef42 into master Jul 31, 2024
111 checks passed
@Fenn-CS Fenn-CS deleted the feat/46438/provide-feedback-edit-locally branch July 31, 2024 10:09
@blizzz blizzz mentioned this pull request Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: ☑️ Done
Development

Successfully merging this pull request may close these issues.

Workaround when selecting "edit locally" as an option
5 participants