Ajax progress indicator from layout settings is confusing

Created on 24 January 2017, about 8 years ago
Updated 21 February 2025, about 2 months ago

Problem/Motivation

#2796173: Add experimental Field Layout module to allow entity view/form modes to switch between layouts β†’ adds a "Layout settings" detail element to the Field UI to select new layouts.
Layouts can provide their own settings, and would appear once the layout is selected.

However, many layouts (including the ones added in that issue) do not provide settings.
The Ajax progress indicator appears, then disappears with no apparent changes.

Additionally, the table with all the fields in it does not update to represent the new layout until the whole form is saved.

This is confusing on its own, but even more so given the Ajax-ified select element.

Proposed resolution

1) Make the whole form rebuild with the new regions
2) If none of the layouts in the select list have settings, don't perform the Ajax operation at all
3) Both 1 & 2
4) Your idea here!

Remaining tasks

Decide on an approach

User interface changes

Yes, but TBD

API changes

N/A

Data model changes

N/A

πŸ› Bug report
Status

Postponed: needs info

Version

11.0 πŸ”₯

Component

field_layout.module

Created by

πŸ‡ΊπŸ‡ΈUnited States tim.plunkett Philadelphia

Live updates comments and jobs are added and updated live.
  • Blocks-Layouts

    Blocks and Layouts Initiative. See the #2811175 Add layouts to Drupal issue.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¦πŸ‡ΊAustralia acbramley

    Triaged as part of BSI.

    Is this still relevant? I've never used the field_layout module, but when testing it there is at least 1 thing that changes when swapping layouts - the layout icon. Even with no settings this does change so I think this should maybe be closed as outdated?

Production build 0.71.5 2024