Skip to content

Conversation

@nickvergessen
Copy link
Member

@nickvergessen nickvergessen commented Sep 16, 2022

Fix #7867


  • Implement IAPIWidget
  • Implement IIconWidget
  • Should we also implement IButtonWidget ?

@nickvergessen nickvergessen added 3. to review enhancement feature: api 🛠️ OCS API for conversations, chats and participants labels Sep 16, 2022
@nickvergessen nickvergessen added this to the 💚 Next RC (25) milestone Sep 16, 2022
Copy link
Contributor

@vitormattos vitormattos left a 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?

@nickvergessen
Copy link
Member Author

Isn't good to implement test scenarios to cover this code

I was thinking about it as well.
My main issue is that integration tests go against API of the dashboard app. Also the result is polluted heavily depending on the enabled apps. But sure let me check

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]>
@nickvergessen
Copy link
Member Author

Added integration tests

$subtitle,
$this->url->linkToRouteAbsolute('spreed.Page.showCall', ['token' => $room->getToken()]),
$this->getRoomIconUrl($room, $userId)
);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

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

@nickvergessen nickvergessen merged commit 4577103 into master Sep 20, 2022
@nickvergessen nickvergessen deleted the feature/noid/dashboard-api branch September 20, 2022 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review enhancement feature: api 🛠️ OCS API for conversations, chats and participants

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adapt talk mentions widget for mobile clients

4 participants