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

[No QA] Cleanup implementation of HTMLEngineProvider #6885

Merged
merged 14 commits into from
Jan 19, 2022

Conversation

roryabraham
Copy link
Contributor

@roryabraham roryabraham commented Dec 22, 2021

Details

This PR cleans up the HTMLEngineProvider component implementation to make it align with the one-component-per-file convention we have throughout the rest of our codebase. There was a seemingly arbitrary exception made in HTMLEngineProvider, and it made the component very large and harder to scan/reason about.

Fixed Issues

$ n/a

Tests

  1. Open a chat
  2. Send a text-only message. Verify that it renders correctly.
  3. Edit the text-only message. Verify that the edit box appears correctly and that you can edit the message.
  4. Send an image attachment. Verify that it renders correctly.
  5. Send an inline code block. Verify that it renders correctly.

QA Steps

Just regression tests.

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

Screenshots

Web

Mobile Web

Desktop

iOS

Android

@roryabraham roryabraham changed the title Cleanup implementation of HTMLEngineProvider [No QA] Cleanup implementation of HTMLEngineProvider Dec 28, 2021
# Conflicts:
#	src/components/HTMLEngineProvider/BaseHTMLEngineProvider.js
@roryabraham roryabraham self-assigned this Dec 28, 2021
@roryabraham roryabraham marked this pull request as ready for review January 4, 2022 22:54
@roryabraham roryabraham requested a review from a team as a code owner January 4, 2022 22:54
@MelvinBot MelvinBot requested review from stitesExpensify and removed request for a team January 4, 2022 22:55
@roryabraham
Copy link
Contributor Author

Merged main again to keep up-to-date and make sure tests pass, but there were no conflicts. Small bump @stitesExpensify

Copy link
Contributor

@stitesExpensify stitesExpensify left a comment

Choose a reason for hiding this comment

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

LGTM, good cleanup IMO!

@stitesExpensify stitesExpensify merged commit 7dfe96f into main Jan 19, 2022
@stitesExpensify stitesExpensify deleted the Rory-CleanupHtmlEngineProvider branch January 19, 2022 01:26
@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.

@OSBotify
Copy link
Contributor

🚀 Deployed to staging by @stitesExpensify in version: 1.1.31-2 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

@OSBotify
Copy link
Contributor

🚀 Deployed to production by @AndrewGable in version: 1.1.32-0 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

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