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

Fix(DPLAN-12449): dp-obscure tag not being applied #3700

Closed
wants to merge 5 commits into from

Conversation

sakutademos
Copy link
Contributor

@sakutademos sakutademos commented Sep 20, 2024

Ticket: DPLAN-12449

Description: This PR fixes an issue where the <dp-obscure> tag was not being applied because the transformObscureTag function was not triggered. This function should be executed with every update action, otherwise, the <dp-obscure> tag will not be transformed as expected.

However, executing it with every update action causes another bug, DPLAN-12305 Prevent Cursor from Jumping to End of File. To resolve this, the transformed text should be processed outside the input event to avoid updating the full text directly.

I think it's because fullText is a v-model of the editor, and if its value is different from the HTML, it updates the field and causes the cursor to jump. So, we shouldn't update fullText directly but store it in a different variable. I haven't found a better solution, I tried different approaches... If you have a better idea, feel free to share :)

Linked PRs (optional)

…event the cursor from jumping to the end, which occurs if the fullText is updated during the input event
@sakutademos sakutademos added the review:frontend PRs that are missing review(s) from a FE perspective label Sep 20, 2024
@sakutademos sakutademos self-assigned this Sep 20, 2024
Copy link
Contributor

@salisdemos salisdemos left a comment

Choose a reason for hiding this comment

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

Thank You to make me understand what went wrong. Until now, I didn't get why the cursor jumped all the time.

MoritzMandler and others added 4 commits September 23, 2024 11:42
…ws) and are expected to be present when fetching entities within the tests. (#3708)

* fix(refs DPLAN-11379) the customer got added to the
globalContent (news) and are expected to be present
when fetching entities within the tests.
Throw

* style: Apply php-cs-fixer

---------

Co-authored-by: Demos-CI <devops-system+github@demos-deutschland.de>
…enerateCustomerCommand (#3680)

* fix(refs DPLAN-1917): Add map-params to newly created customers via GenerateCustomerCommand

* style: Apply php-cs-fixer

* fix(refs DPLAN-1917): Remove leftover unused code snippet

* fix(refs DPLAN-1917): alters the command to allow
empty strings if really wanted. Changed the user
guidance to be more comfortable / understandable.

* fix(refs DPLAN-1917): adjust the tests since the command got altered.
The tests were skipped with the hint that mysql-client is somehow needed - but the tests work
fine at least locally -> removed the skips

* fix(refs DPLAN-1917): make use of constants within the customerInterface

* style: Apply php-cs-fixer

---------

Co-authored-by: Demos-CI <devops-system+github@demos-deutschland.de>
@sakutademos sakutademos changed the base branch from main to release September 24, 2024 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review:frontend PRs that are missing review(s) from a FE perspective
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants