Skip to content

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Jul 25, 2024

@backportbot backportbot bot requested a review from mejo- July 25, 2024 17:43
@backportbot backportbot bot added bug Something isn't working 3. to review labels Jul 25, 2024
@backportbot backportbot bot added this to the Nextcloud 28.0.9 milestone Jul 25, 2024
@mejo- mejo- force-pushed the backport/6116/stable28 branch 2 times, most recently from b2e4606 to a4f5ffb Compare July 25, 2024 17:49
@mejo- mejo- marked this pull request as ready for review July 25, 2024 17:51
@mejo- mejo- changed the title [stable28] [stable29] Fix/toc without transaction [stable28] Fix/toc without transaction Jul 26, 2024
max-nextcloud and others added 10 commits July 29, 2024 09:54
This avoids transactions that actually change the document state.

Fixes #5861.

Signed-off-by: Max <[email protected]>
This will trigger an update event on the editor
which in turn will trigger all update handlers.

Avoid this when not necessary.

Signed-off-by: Max <[email protected]>
This allows typing even at the beginning of the heading
as the cursor now is between the anchor and the first letter.

Signed-off-by: Max <[email protected]>
The toc does not trigger a transaction anymore
and therefore there is no push to wait for either.

Also use cypress aliases and avoid deep nesting
of cypress calls when possible.

Signed-off-by: Max <[email protected]>
When the whole document gets replaced by the same content,
`DecorationSet.map()` returns an empty decorationSet. So only use it for
updates where no decorations get removed.

Signed-off-by: Jonas <[email protected]>
@mejo- mejo- force-pushed the backport/6116/stable28 branch from a4f5ffb to 8a6768a Compare July 29, 2024 07:54
@mejo- mejo- merged commit 6f4f629 into stable28 Jul 29, 2024
@mejo- mejo- deleted the backport/6116/stable28 branch July 29, 2024 08:07
@Altahrim Altahrim mentioned this pull request Aug 8, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants