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

Prevent tags for showing in sidebar for edited messages #5042

Merged
merged 2 commits into from
Oct 18, 2021

Conversation

NikkiWines
Copy link
Contributor

Details

Follow up to https://github.com/Expensify/Web-Expensify/pull/31834. Uses message.text instead of message.html so that we don't show tags in the sidebar when you edit a message

HELD until https://github.com/Expensify/Web-Expensify/pull/31834 is live.

Fixed Issues

$ #4702

Tests / QA Steps

  1. Navigate to a conversation
  2. Send a message
  3. Edit the message and add a markdown to any of the words
  4. Confirm the LHN shows the message preview without any HTML elements

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android -- couldn't get android working locally, will tinker with it.

Screenshots

Web

web.mov

Mobile Web

mweb.mov

Desktop

desktop.mov

iOS

ios.mov

Android

@NikkiWines NikkiWines self-assigned this Sep 3, 2021
@NikkiWines NikkiWines requested a review from a team as a code owner September 3, 2021 00:18
@MelvinBot MelvinBot requested review from AndrewGable and removed request for a team September 3, 2021 00:19
@NikkiWines NikkiWines changed the title [HOLD] Prevent tags for showing in sidebar for edited messages Prevent tags for showing in sidebar for edited messages Sep 16, 2021
@NikkiWines
Copy link
Contributor Author

NikkiWines commented Sep 16, 2021

Corresponding Web-E PR is live, so this is now off hold. @AndrewGable do you know if I should hold off on merging this because of the n6-hold label I've seen on a couple of PRs?

@AndrewGable
Copy link
Contributor

Good question - My gut says yes, let's hold, but we could discuss further in Slack if you disagree.

@NikkiWines NikkiWines changed the title Prevent tags for showing in sidebar for edited messages [HOLD] Prevent tags for showing in sidebar for edited messages Sep 27, 2021
@NikkiWines NikkiWines changed the title [HOLD] Prevent tags for showing in sidebar for edited messages Prevent tags for showing in sidebar for edited messages Oct 18, 2021
@NikkiWines
Copy link
Contributor Author

Re-tested and confirmed that this still fixes the original issue. Should be ready for review @AndrewGable!

@AndrewGable
Copy link
Contributor

Excited for this one! Feel free to merge once E2E is done if I don't get to it first.

@NikkiWines NikkiWines merged commit c23c8be into main Oct 18, 2021
@NikkiWines NikkiWines deleted the nikki-use-text-not-html branch October 18, 2021 17:58
@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 @NikkiWines in version: 1.1.8-10 🚀

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

@OSBotify
Copy link
Contributor

🚀 Deployed to production by @roryabraham in version: 1.1.10-2 🚀

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