Skip to content

40172 Polish new sharing flow : accesibility, expand bahavior, click outside behaviour - #40266

Merged
AndyScherzinger merged 4 commits into
masterfrom
40172-polish-new-sharing-flow
Sep 7, 2023
Merged

40172 Polish new sharing flow : accesibility, expand bahavior, click outside behaviour#40266
AndyScherzinger merged 4 commits into
masterfrom
40172-polish-new-sharing-flow

Conversation

@nfebe

@nfebenfebe commented Sep 5, 2023

Copy link
Copy Markdown
Contributor

Addresses the following issues

#39472 (comment)

Share list

  • BUG: Quick access menu should close when click outside

  • BUG: Create a new share to a user, change to custom permission, click save share, go back to the share details -> now update and share check-boxes are missing (the custom permissions are the same as view only, but nevertheless the check-boxes should of course still be available)

Non-blocking

  • Accessibility fixes for quick menu

Follow-ups:

  • Switching between permissions presets should not close the advanced settings view

Resolves : #40172

@nfebenfebe changed the title 40172 polish new sharing flow40172 Polish new sharing flow : accesibility, expand bahavior, click outside behaviourSep 5, 2023
@nfebe

nfebe commented Sep 5, 2023

Copy link
Copy Markdown
ContributorAuthor

/compile amend /

@nextcloud-command
nextcloud-commandforce-pushed the 40172-polish-new-sharing-flow branch from 6bb4e5c to ad17781CompareSeptember 5, 2023 18:01
@nfebe
nfebeforce-pushed the 40172-polish-new-sharing-flow branch from ad17781 to 4490340CompareSeptember 6, 2023 09:41
@nfebe

nfebe commented Sep 6, 2023

Copy link
Copy Markdown
ContributorAuthor

/compile amend /

@nextcloud-command
nextcloud-commandforce-pushed the 40172-polish-new-sharing-flow branch from 4490340 to 486ed0fCompareSeptember 6, 2023 10:06
@nfebe
nfebeforce-pushed the 40172-polish-new-sharing-flow branch from 486ed0f to ab9a304CompareSeptember 6, 2023 11:28
@juliusknorrjuliusknorr added bug 3. to review Waiting for reviews labels Sep 6, 2023
@juliusknorrjuliusknorr added this to the Nextcloud 28 milestone Sep 6, 2023
@juliusknorr

Copy link
Copy Markdown
Member

/backport to stable27

@artongeartonge left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Could be useful to have @Pytal's review for the focus trap as I am not familiar with it

Comment threadapps/files_sharing/src/components/SharingEntryQuickShareSelect.vue Outdated
@nfebe
nfebeforce-pushed the 40172-polish-new-sharing-flow branch from ab9a304 to 85280f6CompareSeptember 6, 2023 11:53
@nfebe

nfebe commented Sep 6, 2023

Copy link
Copy Markdown
ContributorAuthor

/compile amend /

@nextcloud-command
nextcloud-commandforce-pushed the 40172-polish-new-sharing-flow branch from 7ec3d02 to 3b0bf0fCompareSeptember 6, 2023 15:31
@nfebe
nfebeforce-pushed the 40172-polish-new-sharing-flow branch 2 times, most recently from 8226964 to 258f5ebCompareSeptember 6, 2023 17:50
@nfebe

nfebe commented Sep 6, 2023

Copy link
Copy Markdown
ContributorAuthor

/compile amend /

@nextcloud-command
nextcloud-commandforce-pushed the 40172-polish-new-sharing-flow branch from 258f5eb to f246b78CompareSeptember 6, 2023 18:13

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

Other than the remark below

Currently, swithcing between permissions in the sharing permissions
details view would toggle the custom permissions view.
We think, it's better for the custom permission option to simple
expand the custom permissions view and never close it gain even if the
user is switching between bundled permissions.
The user can always collapse the view by using the "Advanced settings" toggle.
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
If a user clicks anywhere outside of the quickshare dropdown,
it should be closed.
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
- Adds appropriate aria attributes
- Uses button element for dropdown items as it's more semantically correct
- Uses trap-focus lib to trap focus when the drowpdown is active
- Adds custom handling for arrow up and down
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
@nfebe
nfebeforce-pushed the 40172-polish-new-sharing-flow branch from f246b78 to faa76b9CompareSeptember 7, 2023 10:09
@juliusknorr

Copy link
Copy Markdown
Member

/compile

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

⛑️ Polishing for new sharing design and flow 🤝

8 participants

@nfebe@juliusknorr@AndyScherzinger@artonge@Pytal@joshtrichards@skjnldsv@nextcloud-command