Open webzwo0i opened 2 years ago
As a side note: The commits that fixed https://github.com/ether/etherpad-lite/issues/2802 should be re-evaluated.
This should be ready now.
Thanks for the input @rhansen! Will clean up.
Regarding putting the test into the same commit as the fix, I thought we also put the test in a separate commit (before all other commits) as stated somewhere in CONTRIBUTING.md. But in this case, as it's fixing multiple bugs in one PR, I'll definitely include them into the correct commit.
Rebased onto latest develop
.
Regarding putting the test into the same commit as the fix, I thought we also put the test in a separate commit (before all other commits) as stated somewhere in CONTRIBUTING.md.
It's OK to add an xit()
test before the commit that fixes the bug, then change the xit()
to it()
in the commit that fixes the bug. I generally don't like that approach for a couple of reasons:
xit()
tests. Other test frameworks support the concept of "expected to fail" tests that are still run but don't result in overall failure unless they actually pass (in which case the "expected to fail" should be converted to the usual "expected to pass").@webzwo0i I rebased onto latest develop
and made some changes to address my feedback. The "easysync tests: move to separate files" commit was split into 5 different commits to make it easier to review. I think the only thing left is to add the regression tests to the commits that fix the associated bugs.
Thanks! I added the tests to the appropriate commits, added and also refined the commit messages of the last three commits.poolOrArray
to easysync-assembler
Rebased onto latest develop
OK, I think I ensure that newlines are everywhere first. It's possible that I didn't saw missing newlines because it's dealing with edits at the end of the pad.
Any update @webzwo0i?
Will have time in the next few days. I'll probably tackle curCol/curLine behavior first, including asserting the invariants. For newlines behavior I need to take a look at mutateAttributionLines
I rebased onto latest develop
and pushed a couple of fixup commits.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Any update on thoses fixup commits ?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Bump @webzwo0i -- any progress?
@dependabot rebase
@webzwo0i Do you have some time to fix this pr?
Will clean this up tomorrow (fixing eslint etc). This should fix https://github.com/ether/etherpad-lite/issues/5214 https://github.com/ether/etherpad-lite/issues/5213 and replace https://github.com/ether/etherpad-lite/pull/5215 and https://github.com/ether/etherpad-lite/pull/2911
Also adds some comments and additional coverage.