feat: Improve circle mobile experience#5163
Conversation
Signed-off-by: Peymaneh <peymaneh@posteo.net>
Signed-off-by: Peymaneh <peymaneh@posteo.net>
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
|
Also @kra-mo what do you think? Are you responsible for circles too? Thanks! |
|
Thanks for the consideration, but the editing was made to be in a popover and inline on purpose. See for example https://modalzmodalzmodalz.com Also see nextcloud/server#56841 (comment) for the actual wording that was supposed to be used inside the popover but that was never implemented… (And see that issue in general.) The wrapping for the buttons is a nice fix, although the profile picture I'd just move to above the title so that when/if we do add pictures, it won't have to be reverted. Toggles instead of checkboxes is also good at this point, but again, I'd keep them in the popover. It's not a particularly common pattern we have but along with the inline editing, it presents a much nicer spacial model. |
|
Hello there, We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process. Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6 Thank you for contributing to Nextcloud and we hope to hear from you soon! (If you believe you should not receive this message, you can add yourself to the blocklist.) |
Changes
The circles integration in the contacts app is currently not very mobile friendly and the detail view a bit cluttered, especially on mobile. This PR tries to improve the mobile experience by ...
I changed PUBLIC_CIRCLES_CONFIG so that one item is an object ({ label: string, description?: string }) instead of a string to fix the awkward overflowing checkbox for CIRCLE_CONFIG_REQUEST. Not sure if this is the cleanliest way, but it seemed straightforward to me. Another option would be to just split the strings at newlines and use everything behind
\nas description. But that is maybe not very stable.Screenshots before
Membership/privacy settings:

Editing name and description:

Sidebar actions button:

Mobile view:
Screenshots afterwards
Desktop circles view:

Desktop settings modal:

Sidebar actions menu:

Mobile view:
