Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
3.03k stars 2.54k forks source link

fix Inconsistency while pasting highlighted mention in room description #42361

Open tienifr opened 2 weeks ago

tienifr commented 2 weeks ago

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/41919 PROPOSAL: https://github.com/Expensify/App/issues/41919#issuecomment-2109828822

Tests

  1. Open app.
  2. Tap FAB > Start a Chat > create a new room.
  3. Copy the following text:

@ApplauseTester++0411km @jaihanumanblog@gmail.com

  1. Tap header

  2. Paste text in room description

  3. Note second mention is highlighted

Note now second mention is highlighted and displayed

Offline tests

QA Steps

PR Author Checklist

Screenshots/Videos

Android: Native
Android: mWeb Chrome
iOS: Native https://github.com/Expensify/App/assets/113963320/16b6adeb-e0ef-4c92-9001-c69d9d57d7af
iOS: mWeb Safari
MacOS: Chrome / Safari https://github.com/Expensify/App/assets/113963320/ffaf5571-b588-465d-a9cd-842a29d921f1
MacOS: Desktop
melvin-bot[bot] commented 2 weeks ago

@shubham1206agra Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

tienifr commented 1 week ago

@shubham1206agra Please help review this PR

shubham1206agra commented 1 week ago

@tienifr Merge main please.

shubham1206agra commented 1 week ago

@tienifr I am unable to add new line in New Room description. Can you fix this?

tienifr commented 5 days ago

@shubham1206agra

@tienifr Merge main please.

I merged main

@tienifr I am unable to add new line in New Room description. Can you fix this?

Can you share the recording? I still can add a new line.

shubham1206agra commented 5 days ago

https://github.com/Expensify/App/assets/58412969/6169893f-ed88-4ad7-b95b-45c305705490

@tienifr See this.

tienifr commented 5 days ago

@shubham1206agra I still can use cmd+enter to add a new line.

shubham1206agra commented 5 days ago

@shubham1206agra I still can use cmd+enter to add a new line.

@tienifr This will not work. We require to Enter or Shift + Enter to give a new line too.

tienifr commented 4 days ago

@shubham1206agra I fixed this issue

tienifr commented 1 day ago

@shubham1206agra Can you check this?