-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Extend dashboard api to allow listing of widgets #33658
Conversation
Thanks for this first version. Some questions/remarks
|
Icon url is left in so the web interface might use it in the future (and the data is there anyway)
Extended to allow apps to register a button, example implementation added to the notes app
This requires apps providing widgets to implement the new interface for getting the icon url, so the fallback exists for apps that don't.
Url to the apps' view of the widget, renamed it to |
can this be merged already or does it contain breaking changes ? |
Api is still being tweaked |
@icewind1991 I hope you don't mind me adding commits here. Discussion with @tobiasKaminsky started there #33940 (comment) Then a new attribute ( I can make adjustments if needed or even remove this commit and add it in a PR to this branch. As you wish. What do you think? |
4c856fa
to
c448154
Compare
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
…tItemIconsRound() for now Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Signed-off-by: Robin Appelman <robin@icewind.nl>
bf3a6c6
to
9ba26ee
Compare
Rebased on master. |
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Still works 🎉 |
This comment was marked as resolved.
This comment was marked as resolved.
Signed-off-by: Joas Schilling <coding@schilljs.com>
This comment was marked as resolved.
This comment was marked as resolved.
Signed-off-by: Joas Schilling <coding@schilljs.com>
it's merged!!! please update the PRs that were dependent on it :-) |
Will there be app dev docs? |
and allow filtering widget items by widget.
Extends on the api added by #26430
Apps will need to implement the new
IIconWidget
interface to have a icon url set.Implementation for the "recommendations" widget can be found at: nextcloud/recommendations#543