Skip to content
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

Hide suggested actions not destinated to the user #1706

Merged

Conversation

compulim
Copy link
Contributor

@compulim compulim commented Feb 7, 2019

Fix #1057

Background

Suggested actions (spec here) can specify to field to show the suggested actions only for a set of users.

Today, we did not filter suggested actions based on the to field.

This fix will not show suggested actions with a to field targeting another user. For backward compatibility reason, if the to field is empty or not defined, we will continue to show suggested actions.

Changelog

Fixed

  • Fix #1057. Fixed suggested actions destinated for other recipients should not show up, by @compulim in PR #1706

@coveralls
Copy link

coveralls commented Feb 7, 2019

Coverage Status

Coverage increased (+0.6%) to 53.843% when pulling 57064d4 on compulim:feat-suggested-actions-for-others into 2d438d8 on Microsoft:master.

Copy link
Contributor

@a-b-r-o-w-n a-b-r-o-w-n left a comment

Choose a reason for hiding this comment

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

Just a minor nit

CHANGELOG.md Outdated Show resolved Hide resolved
@a-b-r-o-w-n a-b-r-o-w-n added this to Review in 4.3 Prioritization via automation Feb 7, 2019
4.3 Prioritization automation moved this from Review to In-Flight Feb 7, 2019
CHANGELOG.md Outdated Show resolved Hide resolved
__tests__/suggestedActions.js Outdated Show resolved Hide resolved
__tests__/suggestedActions.js Outdated Show resolved Hide resolved
Corina and others added 3 commits February 7, 2019 12:45
Co-Authored-By: compulim <compulim@users.noreply.github.com>
@compulim compulim moved this from In-Flight to Review in 4.3 Prioritization Feb 8, 2019
@compulim compulim removed this from Review in 4.3 Prioritization Feb 8, 2019
Copy link

@justinwilaby justinwilaby left a comment

Choose a reason for hiding this comment

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

LGTM assuming the build failure is addressed.

@cwhitten cwhitten merged commit 9cc3c85 into microsoft:master Feb 9, 2019
@compulim compulim deleted the feat-suggested-actions-for-others branch February 9, 2019 00:16
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.

SuggestedActions that are accidentally sent to the bot are being rendered for the user
7 participants