-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Tighter integration - Open in Notes Button #14497
Conversation
9bbebb1
to
8c41452
Compare
8c41452
to
9d36770
Compare
@jancborchardt, please review the design and placement of the new Open in Notes button. It's designed to look like the Open in Collectives button in the web interface. |
9d36770
to
ffdd1ef
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.
Nice! It could be improved a bit by clearly grouping it within an outlined card to separate it from the regular content.
https://m3.material.io/components/cards/overview
@Hyeyoung346, as @jancborchardt suggested, I've placed the Open in Notes button and associated text in a
And the Open in Collectives button from the web UI, for reference: |
@ZetaTom I also think the filled style looks better. But I think this component is more similar to the banner component. I think M3 doesn't have a banner implementation and therefore needs a bit of customization. The M3 guideline recommends a button with low emphasis text for banners, and I think the current button looks a bit large. So I suggest using a text button like this. ![]() What about adding |
Thank you @Hyeyoung346 for your feedback. This has been discussed with @tobiasKaminsky. We decided to go with the filled card style because implementing the banner style would unfortunately require a lot of work on the surrounding components. Similarly adding a dismiss button would require more logic and is currently considered out of scope for this pull request. We also considered the outlined button in order to reduce the visual strain. Please see the screenshots below:
|
@ZetaTom Yes, it's strange that there are no banner components in M3. I think the text button looks better and this complies with M3 guidelines. As for adding a dismiss text button, I think it would be better to add that option, but can consider to implement later. |
9d1b1aa
to
5d77c74
Compare
Signed-off-by: ZetaTom <[email protected]>
Signed-off-by: ZetaTom <[email protected]>
Signed-off-by: ZetaTom <[email protected]>
Signed-off-by: ZetaTom <[email protected]>
Signed-off-by: ZetaTom <[email protected]>
Signed-off-by: ZetaTom <[email protected]>
Signed-off-by: ZetaTom <[email protected]>
Signed-off-by: ZetaTom <[email protected]>
Signed-off-by: ZetaTom <[email protected]>
Signed-off-by: ZetaTom <[email protected]>
5d77c74
to
8320398
Compare
Signed-off-by: ZetaTom <[email protected]>
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/14497.apk |
Signed-off-by: Andy Scherzinger <[email protected]>
This change introduces a new Open in Notes button to folders managed by the Nextcloud Notes app. Taping on this button will open the Notes app carrying the current account over.
Screenshots
(Rich Workspace)
(Rich Workspace)
Related