Skip to content

Apps engine.ui.extra component 1#15111

Merged
d-gubert merged 22 commits intoRocketChat:lolimay-apps-engine-experimentalfrom
shiqimei:Apps-Engine.UI.ExtraComponent-1
Aug 7, 2019
Merged

Apps engine.ui.extra component 1#15111
d-gubert merged 22 commits intoRocketChat:lolimay-apps-engine-experimentalfrom
shiqimei:Apps-Engine.UI.ExtraComponent-1

Conversation

@shiqimei
Copy link
Copy Markdown
Contributor

@shiqimei shiqimei commented Aug 6, 2019

In this PR, I added the following changes:

Game Center
In order to present all the games in a place, I created a tab bar button and let it as the entry point of the games to the end-users. Related files are gameCenter.js and gameCenter.html. In the game center, all the games enabled by the admin will be rendered here as a game list.
AppExternalComponentManager
As you suggested before, I let AppExternalComponentManager maintain the game list itself. And the Rocket.Chat side, I expose the provided components by adding the method getGames and the rest api app/games.
game modal
To load each game according to its URL, I created a gameModal.js and gameModal.html to do such a thing. When I clicked a game item in the game center, Rocket.Chat will open the game modal
to load the game.

@d-gubert d-gubert changed the base branch from develop to lolimay-apps-engine-experimental August 7, 2019 00:59
@d-gubert d-gubert merged commit 340d33b into RocketChat:lolimay-apps-engine-experimental Aug 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants