Skip to content

fix(files): move focus to sidebar on open - #42444

Merged
skjnldsv merged 3 commits into
masterfrom
fix/41877/files--move-focus-to-sidebar-on-open
Feb 8, 2024
Merged

fix(files): move focus to sidebar on open#42444
skjnldsv merged 3 commits into
masterfrom
fix/41877/files--move-focus-to-sidebar-on-open

Conversation

@ShGKme

@ShGKmeShGKme commented Dec 22, 2023

Copy link
Copy Markdown
Contributor

Summary

See commits for details.

See nextcloud-libraries/nextcloud-vue#5219 for screenshots

Checklist

@ShGKmeShGKme added 2. developing Work in progress feature: file sidebar Related to the file sidebar component accessibility labels Dec 22, 2023
@ShGKmeShGKme added this to the Nextcloud 29 milestone Dec 22, 2023
@ShGKmeShGKme self-assigned this Dec 22, 2023
@ShGKme
ShGKmeforce-pushed the fix/41877/files--move-focus-to-sidebar-on-open branch from 8656a08 to 027868eCompareFebruary 7, 2024 01:38
@ShGKme
ShGKmeforce-pushed the fix/41877/files--move-focus-to-sidebar-on-open branch from 027868e to 4ec2ba6CompareFebruary 7, 2024 01:44

@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 great too! Thank you!

@JuliaKirschenheuter
JuliaKirschenheuter marked this pull request as ready for review February 7, 2024 09:25
@JuliaKirschenheuter

Copy link
Copy Markdown
Contributor

/compile /

@emoral435emoral435 added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Feb 7, 2024

@emoral435emoral435 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.

Outside of a minor nitpick, LGTM! 🐘💙

Comment threadapps/files/src/views/Sidebar.vue Outdated
@ShGKme

ShGKme commented Feb 7, 2024

Copy link
Copy Markdown
ContributorAuthor

/compile /

This PR requires @nextcloud/vue update first

@ShGKme
ShGKmeforce-pushed the fix/41877/files--move-focus-to-sidebar-on-open branch 2 times, most recently from 608e7d5 to a70c3deCompareFebruary 7, 2024 15:35
:close-after-click="!isMenu(action.id)"
:data-cy-files-list-row-action="action.id"
:is-menu="isMenu(action.id)"
:aria-label="mountType === 'shared' && action.id === 'sharing-status' ? action.title([source]) : actionDisplayName(action)"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

That seems really specific, where is this coming from and what does it have to do with that PR? :)

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.

From the next one line (title prop) and the content of the button 7 lines below. I can move it to a new PR, but a button must have a label or text.

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.

@skjnldsv moved to another PR

@skjnldsvskjnldsv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

See comment

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
@ShGKme

Copy link
Copy Markdown
ContributorAuthor

/backport to stable28

@ShGKme
ShGKmeforce-pushed the fix/41877/files--move-focus-to-sidebar-on-open branch from a70c3de to 17c9f73CompareFebruary 7, 2024 23:05
@ShGKme

Copy link
Copy Markdown
ContributorAuthor
  • Rebased onto master with required @nextcloud/vue changes
  • Fixing labeling of inline files actions is moved to another PR

@skjnldsv
skjnldsv merged commit 66bd27f into masterFeb 8, 2024
@skjnldsv
skjnldsv deleted the fix/41877/files--move-focus-to-sidebar-on-open branch February 8, 2024 07:57
@JuliaKirschenheuter

Copy link
Copy Markdown
Contributor

/backport to stable28

artonge pushed a commit that referenced this pull request Feb 8, 2024
@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

Labels

3. to reviewWaiting for reviewsaccessibilityfeature: file sidebarRelated to the file sidebar component

Projects

None yet

4 participants

@ShGKme@JuliaKirschenheuter@skjnldsv@emoral435