Problem/Motivation
There is a second widget named 'Sentiment check'
https://www.digital.nsw.gov.au/transformation/goverment-technology-platf...
Proposed resolution
Add a block plugin for that
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork nsw_feedback-3196695
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
Comment #3
larowlanComment #4
Anonymous (not verified) commentedlarowlan credited liton10.
Comment #9
larowlanComment #11
larowlanComment #12
mcaddz commentedI think the Sentiment check twig template should be vanilla, not opinionated.
i.e.
This way customisations can be done in a separate module/theme. Also the 'placeHolder' value is optional and when it's not passed, the widget is floated right on the page.
This might be the desired approach for some agencies.
Also the Description field is not used anywhere in the JS snippet (above) so I feel this should be implemented elsewhere in a theme/separate module. CSS overrides would also live in the same place so the module is more generic.
I also wonder if we need consistent names for the blocks? I was searching for 'feedback' initially when placing the block which didn't bring up the One Gov block which might be confusing for others.
Suggested names for the blocks:
NSW feedback (Feedback assist)
NSW feedback (Sentiment check)
Comment #13
mcaddz commentedWill move the items identified in the comment above ^ to separate issues.