Problem/Motivation

A form can send its values again unchanged: UI Patterns does it when a source row closes (#3622928). No revision is added, but the update still saves and re-renders the islands, about 20 KB per request.

Proposed resolution

In ApiController::update(), compare the state hash around setSource(), and return an empty response when it did not change.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mogtofu33 created an issue. See original summary.

mogtofu33’s picture

Issue summary: View changes

mogtofu33’s picture

Some remarks here are based on legacy pre #3622928: UX of the asynchronous component form, let's keep only redundant update after save.

mogtofu33’s picture

Issue summary: View changes

  • mogtofu33 committed 4973587e on 1.0.x
    fix: #3623014 Fit UI Patterns source rows to the Config drawer's auto-...
mogtofu33’s picture

Assigned: mogtofu33 » Unassigned
Status: Needs work » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.