Skip to content

[No QA] Remove the ReportActionContextMenu beta#2234

Merged
Jag96 merged 3 commits into
masterfrom
Rory-SunsetReportActionContextMenuBeta
Apr 6, 2021
Merged

[No QA] Remove the ReportActionContextMenu beta#2234
Jag96 merged 3 commits into
masterfrom
Rory-SunsetReportActionContextMenuBeta

Conversation

@roryabraham

Copy link
Copy Markdown
Contributor

Details

Fixed Issues

Coming from this Slack thread

Tests (Web/Desktop)

  1. Run the app
  2. Hover a message, make sure that the reportActionContextMenu appears (it's just one lonely clipboard icon) now 😭

image

  1. Right-click a message, make sure that the menu appears:

image

Tests (iOS/Android/mWeb)

  1. Run the app
  2. Long-press a message, make sure that the menu appears:

image

QA Steps

The "Copy Comment" functionality is covered by regression testing, so we shouldn't need any extra QA here.

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

Screenshots

Web

image
image

Mobile Web

image

Desktop

iOS

Android

@roryabraham roryabraham requested a review from a team April 5, 2021 23:15
@roryabraham roryabraham self-assigned this Apr 5, 2021
@MelvinBot MelvinBot requested review from Jag96 and removed request for a team April 5, 2021 23:15

@Jag96 Jag96 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

When running this on web I get an error, looks like there's still 2 usages of isInReportActionContextMenuBeta

ReportActionItem.js:101 Uncaught TypeError: _this2.isInReportActionContextMenuBeta is not a function

* @returns {Boolean}
*/
isInReportActionContextMenuBeta() {
return _.contains(this.props.betas, CONST.BETAS.REPORT_ACTION_CONTEXT_MENU)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do we still need this beta constant? It looks like its unused now

@roryabraham roryabraham requested a review from a team as a code owner April 6, 2021 00:07
@roryabraham

Copy link
Copy Markdown
Contributor Author

Updated!

@MelvinBot MelvinBot requested review from yuwenmemon and removed request for a team April 6, 2021 00:08
@Jag96 Jag96 merged commit bee0baf into master Apr 6, 2021
@Jag96 Jag96 deleted the Rory-SunsetReportActionContextMenuBeta branch April 6, 2021 17:10
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.

3 participants