Skip to content

Regression: Make message popup user mentions reactive again#11567

Merged
rodrigok merged 6 commits intodevelopfrom
regression.message-popup-mentions
Jul 27, 2018
Merged

Regression: Make message popup user mentions reactive again#11567
rodrigok merged 6 commits intodevelopfrom
regression.message-popup-mentions

Conversation

@tassoevan
Copy link
Copy Markdown
Member

No description provided.

@tassoevan tassoevan added area: ui/ux Related to UI/UX, frontend code, accessibility, and user interaction type: regression labels Jul 25, 2018
@tassoevan tassoevan added this to the 0.68.0 milestone Jul 25, 2018
@tassoevan tassoevan requested a review from ggazzo July 25, 2018 21:18
@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-11567 July 25, 2018 21:19 Inactive
@tassoevan tassoevan requested a review from rodrigok July 26, 2018 19:19
@tassoevan tassoevan changed the title [WIP] [REGRESSION] Make message popup user mentions reactive again [REGRESSION] Make message popup user mentions reactive again Jul 26, 2018
Meteor.startup(function() {
Tracker.autorun(function() {
if (Meteor.userId() == null || Session.get('openedRoom') == null) {
if (!Meteor.userId() || !Session.get('openedRoom')) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you move these 2 itens to variables and, test them here and use them below?

}));

const registerNewUser = user => browser.executeAsync(({ name, email, username, password, isMentionable }, done) => {
setTimeout(() => Meteor.call('registerUser', { name, email, pass: password }, error => {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@rodrigok rodrigok changed the title [REGRESSION] Make message popup user mentions reactive again Regression: Make message popup user mentions reactive again Jul 27, 2018
@rodrigok rodrigok merged commit f4c58df into develop Jul 27, 2018
@rodrigok rodrigok deleted the regression.message-popup-mentions branch July 27, 2018 19:20
@sampaiodiego sampaiodiego mentioned this pull request Jul 28, 2018
ubarsaiyan pushed a commit to ubarsaiyan/Rocket.Chat that referenced this pull request Aug 15, 2018
…at#11567)

* Make message popup user mentions reactive again

* Add e2e test for user mentions in message popup

* Avoid call functions twice

* Prepare test data using the REST API

* Remove @watch from test description

* Logout before testing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ui/ux Related to UI/UX, frontend code, accessibility, and user interaction

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants