Skip to content

fix(settings): focus on federation scope after dialog - #43358

Merged
JuliaKirschenheuter merged 3 commits into
masterfrom
fix/settings--focus-on-federation-scope-after-dialog
Feb 6, 2024
Merged

fix(settings): focus on federation scope after dialog#43358
JuliaKirschenheuter merged 3 commits into
masterfrom
fix/settings--focus-on-federation-scope-after-dialog

Conversation

@ShGKme

Copy link
Copy Markdown
Contributor

Summary

NcActions returns focus to the trigger button by default. However, on the federation scope menu, changing the scope triggers a password confirmation dialog which then loses the focus.

Focusing manually after change.

image

Probably, we should also have setReturnFocus on password confirmation dialog.

Checklist

@ShGKme

Copy link
Copy Markdown
ContributorAuthor

/backport to stable28

:clearable="false"
:options="visibilityOptions"
:value="visibilityObject"
label-outside

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Fixes
image

@JuliaKirschenheuterJuliaKirschenheuter left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

works well! Thank you!

Comment threadapps/settings/src/components/PersonalInfo/shared/FederationControl.vue Outdated
@ShGKme
ShGKmeforce-pushed the fix/settings--focus-on-federation-scope-after-dialog branch from 680d45c to db16ee8CompareFebruary 5, 2024 19:43
ShGKmeand others added 2 commits February 6, 2024 10:47
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
@ShGKme
ShGKmeforce-pushed the fix/settings--focus-on-federation-scope-after-dialog branch from db16ee8 to 18a3739CompareFebruary 6, 2024 09:47
@ShGKme

Copy link
Copy Markdown
ContributorAuthor

Rebased onto master

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
@ShGKme
ShGKmeforce-pushed the fix/settings--focus-on-federation-scope-after-dialog branch from 18a3739 to 6a7fc2cCompareFebruary 6, 2024 10:18
@JuliaKirschenheuter
JuliaKirschenheuter merged commit 57d1245 into masterFeb 6, 2024
@JuliaKirschenheuter
JuliaKirschenheuter deleted the fix/settings--focus-on-federation-scope-after-dialog branch February 6, 2024 12:25
@blizzzblizzz mentioned this pull request Mar 5, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

4 participants

@ShGKme@JuliaKirschenheuter@Pytal@emoral435