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

perf: textarea description wrapper trigger to much changes #1438

Conversation

tbouliere-datasolution
Copy link
Contributor

@tbouliere-datasolution tbouliere-datasolution commented May 26, 2023

Use only one observable, which handles the translation of the changing description.
Also introduce the function throttleTime to limit refresh cycles on the front-end

PR Type

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] CI-related changes
[ ] Documentation content changes
[ ] Application / infrastructure changes
[ ] Other:

What Is the Current Behavior?

Issue Number: Closes #

What Is the New Behavior?

Does this PR Introduce a Breaking Change?

[ ] Yes
[ x ] No

Other Information

Refactoring with the usage of a BehaviorSubject insted recreating the observable each time a change
occured
Also introduce the function throttleTime to limit refresh cycles on the front-end
@Eisie96 Eisie96 self-requested a review May 26, 2023 13:22
@Eisie96 Eisie96 requested a review from SGrueber June 6, 2023 07:36
@SGrueber SGrueber added enhancement Enhancement to an existing feature community Community contributions labels Jun 7, 2023
@SGrueber SGrueber added this to the 4.1 milestone Jun 7, 2023
@SGrueber SGrueber requested a review from Eisie96 June 7, 2023 13:14
@SGrueber SGrueber dismissed Eisie96’s stale review June 7, 2023 13:14

it is outdated

@SGrueber SGrueber merged commit 7cd3933 into intershop:develop Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Community contributions enhancement Enhancement to an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants