Problem/Motivation

Currently, the main module requires one of the widget 'sub modules' to be enabled to populate the admin form, this can be confusing to an end user.

Steps to reproduce

1. Enable the module without enabling one of the widget sub modules
2. Go to the admin page

Proposed resolution

1. Provide a message advising there are no widgets to configure and to enable one of the sub modules
2. In the form alters per widget, then ensure this message is not present if the form is populated with meaningful config options

Issue fork jstimer-3515705

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

aaron.ferris created an issue. See original summary.

aaron.ferris’s picture

Issue summary: View changes

julio_retkwa made their first commit to this issue’s fork.

julio_retkwa’s picture

Assigned: Unassigned » julio_retkwa
julio_retkwa’s picture

I'll start this one, thanks!

julio_retkwa’s picture

Hi @aaron May you can review it for me?

message

would this require any test instructions ?

Thank you

julio_retkwa’s picture

Status: Active » Needs review
julio_retkwa’s picture

StatusFileSize
new80.8 KB
aaron.ferris’s picture

StatusFileSize
new137.16 KB
new180.88 KB

Thanks for that, ive tweaked the message as providing a new notice per sub module could've been cleaner.

(As attached)

Code looks good, ill merge this when the pipeline finishes.

aaron.ferris’s picture

Status: Needs review » Fixed
aaron.ferris’s picture

Status: Fixed » Closed (fixed)