Skip to content

Fix in-place reverse messing up position rebasing - #16

Merged
smoores-dev merged 2 commits into
handlewithcarecollective:mainfrom
Magic-Marker:fix-size-error-multi-step-tr
Aug 27, 2025
Merged

Fix in-place reverse messing up position rebasing#16
smoores-dev merged 2 commits into
handlewithcarecollective:mainfrom
Magic-Marker:fix-size-error-multi-step-tr

Conversation

@VV-EE

@VV-EE VV-EE commented Jul 22, 2025

Copy link
Copy Markdown
Contributor

Based on #15 which fixes an error, after that this issue is revealed.
Added test for proof.

@VV-EE
VV-EE force-pushed the fix-size-error-multi-step-tr branch 2 times, most recently from 83ef720 to e93851c Compare July 23, 2025 21:18

@smoores-dev smoores-dev 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.

Thanks for this, great catch. One little note about the new eslint disable comment, otherwise this looks good to me

Comment thread src/withSuggestChanges.ts Outdated
isSuggestChangesEnabled(this.state) &&
!tr.getMeta("history$") &&
!tr.getMeta("collab$") &&
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access

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.

This doesn't seem right — We type cast the meta object on line 219 above to have this property, so I don't know why it would be an unsafe member access. Also, locally I do not need this disable comment, eslint does not complain about this line for me.

smoores-dev
smoores-dev previously approved these changes Aug 27, 2025
@smoores-dev
smoores-dev force-pushed the fix-size-error-multi-step-tr branch from 49d1a97 to 6f8c20a Compare August 27, 2025 14:21
@smoores-dev
smoores-dev merged commit c7bf836 into handlewithcarecollective:main Aug 27, 2025
2 checks passed
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.

2 participants