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

#2457 - Fix the broken blockquotes in the chat markdown #2458

Merged
merged 7 commits into from
Dec 16, 2024

Conversation

SebinSong
Copy link
Collaborator

closes #2457

[ Fix screenshot ]

Made sure this fix does not revert the fix for #2130 too.

@SebinSong SebinSong self-assigned this Dec 14, 2024
Copy link

cypress bot commented Dec 14, 2024

group-income    Run #3572

Run Properties:  status check passed Passed #3572  •  git commit 60fd471d78 ℹ️: Merge dc68f199d1d74caccd4cf47b3e404ffb8e2d41de into e4e1f9b8bca3105bb6490dfabdce...
Project group-income
Branch Review sebin/task/#2457-blockquote-not-working
Run status status check passed Passed #3572
Run duration 11m 26s
Commit git commit 60fd471d78 ℹ️: Merge dc68f199d1d74caccd4cf47b3e404ffb8e2d41de into e4e1f9b8bca3105bb6490dfabdce...
Committer Sebin Song
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 10
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 111
View all changes introduced in this branch ↗︎

Copy link
Member

@taoeffect taoeffect left a comment

Choose a reason for hiding this comment

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

Nice work @SebinSong!

Found one issue related to empty paragraph breaks in blockquotes.

Markdown:

> Test

And

> `another () => test` of the
> 
> ```
> emergency () => system
> ```
> 
> But what about
> Paragraph breaks
> That are empty
> 
> Like this one

() => test

Group Income:

Screenshot 2024-12-15 at 4 46 11 PM

Github:

Test

And

another () => test of the

emergency () => system

But what about
Paragraph breaks
That are empty

Like this one

() => test

@SebinSong
Copy link
Collaborator Author

@taoeffect Improved the PR with additional fix.

Copy link
Member

@taoeffect taoeffect left a comment

Choose a reason for hiding this comment

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

EDIT: I can also save this for a separate issue to fix if you'd prefer!

Interesting... it seems the logic for @mentions and channel name mentions is a bit wonky too, as sometimes it works, and sometimes it doesn't:

Markdown:

> @u1 Test #general 

And

> `another () => test` of the
> 
> ```
> emergency () => system
> and
> 
> break
> ```
> 
> But what about
> Paragraph breaks
> That are empty
> 
> Like this one @u1 #general 

() => test

Result:

Screenshot 2024-12-16 at 10 26 03 AM

Github (checking to see if it handles @U1...):

@U1 Test #general

And

another () => test of the

emergency () => system
and

break

But what about
Paragraph breaks
That are empty

Like this one @U1 #general

() => test

Copy link
Member

@taoeffect taoeffect left a comment

Choose a reason for hiding this comment

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

I'm actually going to merge this now and open a separate issue for that separate bug I found, since this PR does close the original issue. Great work! 👍

@taoeffect taoeffect merged commit 2223594 into master Dec 16, 2024
4 checks passed
@taoeffect taoeffect deleted the sebin/task/#2457-blockquote-not-working branch December 16, 2024 19:41
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.

Chat doesn't render blockquotes in chat anymore
2 participants