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

Unintended Behavior: Excessive Backend Saves on Each Keypress in Edit Component-ID #11989

Open
lassopicasso opened this issue Jan 10, 2024 · 1 comment
Labels
area/ui-editor Area: Related to the designer tool for assembling app UI in Altinn Studio. kind/bug Used when there is a defect / something is not working as it should. status/ready-for-specification Status: Used for issues that are ready for functional decription og detailed design.

Comments

@lassopicasso
Copy link
Contributor

Description of the bug

Observed an issue with the Edit Component-ID feature where saving to the backend is triggered on every keypress. This behavior leads to unintended consequences, including frequent reloads of the preview and potential runtime errors, especially when users input data rapidly. Additionally, the writing experience becomes laggy when the system attempts to save too frequently.

Altinn.Studio.-.Google.Chrome.2024-01-10.09-55-46.mp4

Steps To Reproduce

  1. Go to "Lage"-page
  2. Go to edit container of a component
  3. Edit the ID of the component
  4. Can trigger runtime error when writing too fast or removing too fast

Additional Information

No response

@lassopicasso lassopicasso added kind/bug Used when there is a defect / something is not working as it should. area/data-storage status/ready-for-specification Status: Used for issues that are ready for functional decription og detailed design. labels Jan 10, 2024
@lassopicasso lassopicasso added area/ui-editor Area: Related to the designer tool for assembling app UI in Altinn Studio. and removed area/data-storage labels Jan 10, 2024
@mlqn mlqn linked a pull request Mar 18, 2024 that will close this issue
3 tasks
@mlqn mlqn removed a link to a pull request Mar 26, 2024
3 tasks
@mlqn
Copy link
Contributor

mlqn commented Aug 28, 2024

Looks like it has been fixed by #12214

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui-editor Area: Related to the designer tool for assembling app UI in Altinn Studio. kind/bug Used when there is a defect / something is not working as it should. status/ready-for-specification Status: Used for issues that are ready for functional decription og detailed design.
Projects
Status: No status
Development

No branches or pull requests

2 participants