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

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

Merged
merged 4 commits into from Sep 7, 2023

Conversation

Fenn-CS
Copy link
Contributor

@Fenn-CS Fenn-CS commented Sep 5, 2023

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

@Fenn-CS Fenn-CS changed the title 40172 polish new sharing flow 40172 Polish new sharing flow : accesibility, expand bahavior, click outside behaviour Sep 5, 2023
@Fenn-CS
Copy link
Contributor Author

Fenn-CS commented Sep 5, 2023

/compile amend /

@Fenn-CS
Copy link
Contributor Author

Fenn-CS commented Sep 6, 2023

/compile amend /

@Fenn-CS Fenn-CS force-pushed the 40172-polish-new-sharing-flow branch from 486ed0f to ab9a304 Compare September 6, 2023 11:28
@juliushaertl juliushaertl added bug 3. to review Waiting for reviews labels Sep 6, 2023
@juliushaertl juliushaertl added this to the Nextcloud 28 milestone Sep 6, 2023
@juliushaertl
Copy link
Member

/backport to stable27

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.

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

@Fenn-CS
Copy link
Contributor Author

Fenn-CS commented Sep 6, 2023

/compile amend /

@Fenn-CS Fenn-CS force-pushed the 40172-polish-new-sharing-flow branch 2 times, most recently from 8226964 to 258f5eb Compare September 6, 2023 17:50
@Fenn-CS
Copy link
Contributor Author

Fenn-CS commented Sep 6, 2023

/compile amend /

Copy link
Member

@Pytal Pytal left a comment

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>
@Fenn-CS Fenn-CS force-pushed the 40172-polish-new-sharing-flow branch from f246b78 to faa76b9 Compare September 7, 2023 10:09
@juliushaertl
Copy link
Member

/compile

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@AndyScherzinger AndyScherzinger merged commit a0c4935 into master Sep 7, 2023
38 of 39 checks passed
@AndyScherzinger AndyScherzinger deleted the 40172-polish-new-sharing-flow branch September 7, 2023 10:57
@nextcloud nextcloud deleted a comment from backportbot-nextcloud bot Sep 7, 2023
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.

⛑️ Polishing for new sharing design and flow 🤝
7 participants