Skip to content

fix: 'No content to add' error if we send empty alias for email#555

Merged
Gonals merged 2 commits into
Expensify:mainfrom
eh2077:21234-fix-no-content-added-error-for-empty-alias-of-email-markdown
Jul 4, 2023
Merged

fix: 'No content to add' error if we send empty alias for email#555
Gonals merged 2 commits into
Expensify:mainfrom
eh2077:21234-fix-no-content-added-error-for-empty-alias-of-email-markdown

Conversation

@eh2077

@eh2077 eh2077 commented Jul 4, 2023

Copy link
Copy Markdown
Contributor

Fixed Issues

$ Expensify/App#21234

Tests

  1. Go to a chat and add following comment
[](concierge@expensify.com)
[   ](concierge@expensify.com)
[   

 ](concierge@expensify.com)
  1. Verify that
    a. Only emails inside () are parsed as email link
    b. [], () and spaces(including line break) inside [] are not parsed
  2. Click to edit the comment
  3. Verify that the initial draft is same as the original input.

See below demo video

web.mov

I'll fill out the full checklist in the PR to update version of App repo.

QA

Same as test

@MariaHCD

MariaHCD commented Jul 4, 2023

Copy link
Copy Markdown
Contributor

Tagging @parasharrajat here! (can't assign you as a reviewer, apparently)

@MariaHCD MariaHCD 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.

This lgtm but leaving the final reviews to @parasharrajat and @Gonals!

@Gonals

Gonals commented Jul 4, 2023

Copy link
Copy Markdown
Contributor

LGTM @parasharrajat, anything to add?

@parasharrajat parasharrajat left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. cc: @Gonals @MariaHCD

🎀 👀 🎀 C+ reviewed

@parasharrajat

Copy link
Copy Markdown
Member

Ready for merge

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.

4 participants