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

Use value classes for inline markdown #329 #331

Merged
merged 2 commits into from
Mar 31, 2024

Conversation

obask
Copy link
Collaborator

@obask obask commented Mar 27, 2024

This classes wrap CommonMark's nodes and preserve
a familiar API. Some tests were turned off because we don't use the same IR for string serialization.

Changing dataclasses to values classes for blocks
is coming in the next pull request.

@obask obask self-assigned this Mar 27, 2024
@obask obask requested a review from rock3r March 27, 2024 01:30
@obask obask marked this pull request as draft March 27, 2024 01:50
@obask obask marked this pull request as ready for review March 27, 2024 02:03
@obask
Copy link
Collaborator Author

obask commented Mar 27, 2024

I thought that it makes scrolling errors more prominent, but it looks exactly the same as before... not sure if the bug is in CfD or the way we represent lists or remember some nodes... which is probably not the case, because these nodes don't change during rendering at all.

@rock3r
Copy link
Collaborator

rock3r commented Mar 27, 2024

You need to run the apiDump task for this to go green :)

@rock3r rock3r added the cleanup Improve the project/tooling and/or get rid of tech debt label Mar 27, 2024
Copy link
Collaborator

@rock3r rock3r left a comment

Choose a reason for hiding this comment

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

Forgot to mark as "request changes" :)

@obask obask force-pushed the tweak-dataclasses branch 3 times, most recently from e066d06 to 6bb20ee Compare March 30, 2024 05:23
@obask obask requested a review from rock3r March 30, 2024 22:23
Copy link
Collaborator

@rock3r rock3r left a comment

Choose a reason for hiding this comment

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

LGTM but has conflicts to solve first

obask and others added 2 commits March 31, 2024 10:34
This classes wrap CommonMark's nodes and preserve
a familiar API. Some tests were turned off because
we don't use the same IR for string serialization.

Changing dataclasses to values classes for blocks
is coming in the next pull request.
@obask obask enabled auto-merge (squash) March 31, 2024 17:36
@obask obask merged commit 82d3581 into JetBrains:main Mar 31, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Improve the project/tooling and/or get rid of tech debt
Projects
None yet
2 participants