-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
refactor: Sharing sidebar UI redesign #50282
Conversation
adce548
to
6eef604
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I backtracked a bit and adopted a minimally invasive approach that touches only the front end for now. It works without altering the main share components:
- Public sharing link
- Sharing details
We primarily re-adjusted the sharingTab
and sharingInput
components.
I took this approach so we can release what we could consider a version 1 of these enhancements and move follow-up improvements to a new ticket. This way, we can ensure updates are handled via backports.
6eef604
to
8f8aa98
Compare
Suggestion changes to move to new PRs:
|
8f8aa98
to
acfb71a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Design wise from my pov:
Blocking:
- Don't show others with access if there's no one
- "Shares with accounts and teams" instead of "Add users and teams"
- "Create public link" instead of "Share link"
- No separator if there are no more blocks
- Info tooltips text:
Internal: Use this method to share files with individuals or teams within your organization. If the recipient already has access to the share but cannot locate it, you can send them the internal share link for easy access.
External: Use this method to share files with individuals or organizations outside your organization. Files and folders can be shared via public share links and email addresses. You can also share to other Nextcloud accounts hosted on different instances using their federated cloud ID. - Make trigger of the tooltip a tertiary NcButton
Non-blocking for this pr but it would be good to follow-up before release
- Copy internal link should go into the multi-select as an always visible option
- Share link component should show a button if no links are present as per the mockup, but below the input field
e66901a
to
1a2e480
Compare
@marcoambrosini But the first item (which you marked as blocking) and the last non-blocking would require more changes to More than just adding a new item to list of suggestions. Given the recent issues with that component I would say it's best to separate and merge especially after :#50260 Screenshots
|
1a2e480
to
06daebf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Over all this looks good but some accessibility issues spotted
06daebf
to
23a8f0d
Compare
23a8f0d
to
03ca5f7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
still a problem with using a button for additional information
03ca5f7
to
87af914
Compare
5f3eeea
to
984d260
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No accessibility issues anymore ✔️
But can be cleaned up as the description is not needed anymore (too much is also not that good for screen readers because the information is duplicated, but its no hard issue anymore).
5eb8714
to
2921852
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM now 🚀
/compile |
/backport to stable31 |
8a725e4
to
6349f6f
Compare
Primarily to move it out of the way for changes in the source location. The feature was deprecated in version 25 (#28320), five versions ago. Refs: #48925 Signed-off-by: nfebe <[email protected]>
Create two seperate sections for internal and external shares. Signed-off-by: nfebe <[email protected]>
…ctions Signed-off-by: nfebe <[email protected]>
Use `Create public link` for first link share creation Signed-off-by: nfebe <[email protected]>
Signed-off-by: nfebe <[email protected]>
Signed-off-by: nextcloud-command <[email protected]>
6349f6f
to
7ec7a4f
Compare
Description
This is a UI refresh for the sharing sidebar.
It splits shares into two sections:
Screenshots
Todo
<SharingInput>
(new component or making it configurable)Checklist
Credits
Thanks to @thlehmann-ionos from IONOS for laying the foundations for this PR in #49653