Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Ctrl/cmd a behaviour web #548

Merged
merged 25 commits into from
Feb 1, 2023
Merged

Conversation

alunturner
Copy link
Contributor

@alunturner alunturner commented Feb 1, 2023

This will close issue 540.

The fix for the cmd a behaviour is small, we just needed to count the extra offsets that are introduced by certain tags after the paragraph refactor.

That work, however, made me realise that a lot of the dom tests for getCurrentSelection needed rewriting as they no longer represented what a user would be writing in the composer. This is why the diff is so large.

Behaviour:

Screen.Recording.2023-02-01.at.10.36.04.mov

@alunturner
Copy link
Contributor Author

Just putting back into draft whilst I appease SonarCloud

@alunturner alunturner marked this pull request as draft February 1, 2023 10:54
@sonarcloud
Copy link

sonarcloud bot commented Feb 1, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@alunturner alunturner marked this pull request as ready for review February 1, 2023 13:08
@alunturner
Copy link
Contributor Author

If I check the coverage locally, it doesn't match the issues that SonarCloud is showing, I'm not sure what is going on there

@florianduros
Copy link
Contributor

If I check the coverage locally, it doesn't match the issues that SonarCloud is showing, I'm not sure what is going on there

The CI doesn't run the coverage however the report is sent to sonar.

@alunturner alunturner merged commit 3008ff5 into main Feb 1, 2023
@alunturner alunturner deleted the alunturner/ctrl-cmd-a-behaviour-web branch February 1, 2023 15:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Select all (ctrl/cmd a) not working correctly on web
2 participants