-
Notifications
You must be signed in to change notification settings - Fork 508
Implement dashboard IAPIWidget #7942
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
Conversation
vitormattos
left a comment
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.
Isn't good to implement test scenarios to cover this code and check if to specific room list will return the specific items?
I was thinking about it as well. |
Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
ceb3394 to
73033ce
Compare
|
Added integration tests |
| $subtitle, | ||
| $this->url->linkToRouteAbsolute('spreed.Page.showCall', ['token' => $room->getToken()]), | ||
| $this->getRoomIconUrl($room, $userId) | ||
| ); |
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.
Can you add here roundIcon: true
https://github.com/nextcloud/server/blob/master/lib/public/Dashboard/Model/WidgetOptions.php#L32
it is in
Widget Options:
https://github.com/nextcloud/server/blob/master/lib/public/Dashboard/IOptionWidget.php#L37
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.
Items itself don't have the options and the widget itself already has the "roundIcon" option set.
https://github.com/nextcloud/spreed/pull/7942/files#diff-9d0ac71d126947c6f952b00aba3afc1df1e75b99431cb53086b0c43c2f677c29R90
Signed-off-by: Joas Schilling <[email protected]>
Fix #7867