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

Fix CreateMenu and mobile safari attachment picker #2516

Merged
merged 1 commit into from
Apr 22, 2021

Conversation

roryabraham
Copy link
Contributor

Details

This PR and this PR made updates to an old version of CreateMenu, essentially missing the changes introduced to the component here.

Since we had two competing modules, src/components/CreateMenu/ and src/components/CreateMenu.js, the latter was being used and the fixes to the attachment picker introduced here were not taking effect.

This PR combines the histories of these two modules and creates a single CreateMenu component.

Fixed Issues

Fixes (regression comment) #2460 (comment)

Tests / QA Steps

  1. Open the attachment picker.
  2. Make sure you can choose an attachment and upload it.
  3. Open the following menus, and make sure they appear in their correct locations:
    • Global create
    • Add attachment
    • Emoji menu
    • Edit photo (in Settings -> Profile)
    • ReportActionContextMenu

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

Screenshots

Web

image

image

Mobile Web

image

image

Desktop

iOS

Android

@roryabraham roryabraham requested a review from a team April 21, 2021 18:47
@roryabraham roryabraham self-assigned this Apr 21, 2021
@MelvinBot MelvinBot requested review from AndrewGable and removed request for a team April 21, 2021 18:47
Copy link
Contributor

@AndrewGable AndrewGable left a comment

Choose a reason for hiding this comment

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

Nice DRY fix!

@AndrewGable AndrewGable merged commit 889b4f5 into main Apr 22, 2021
@AndrewGable AndrewGable deleted the Rory-FixCreateMenu branch April 22, 2021 21:54
@OSBotify
Copy link
Contributor

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

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