Problem/Motivation

Contextual form when empty is still showing the 'Update' button.

We should remove the button and replace with a message 'No configuration required.'

Steps to reproduce

Click on block without configuration (Like help, breadcrumb, message, our [Page] title...)

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

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

Status: Active » Needs review
pdureau’s picture

Good idea.

Would it be a good idea to completely hide the tab (main contextual form, but also the third party settings ones) when empty?

So, in a profile with 2 contextual panels (contextual form & styles):

  • if empty contextual form but styles form: we directly display the styles form
  • if empty contextual form and empty styles form: we display a message like 'No configuration required'
mogtofu33’s picture

Assigned: Unassigned » pdureau

Managing the tabs is more work, this feature request is simple and address only the content, which is a good start.
After merge we can have a follow up to hide the tabs.

mogtofu33’s picture

Assigned: pdureau » Unassigned
Status: Needs review » 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.