only show summary button if there is a summary#139
Conversation
|
Manual testing passes but we need to address failing tests. |
|
@tonypaulbarker Those failing tests are already present, and not caused by this PR. Let's get this merged and file a follow up to fix the failing tests - convert |
|
The PHP Unit tests were passing in the last release and ES Lint was passing in https://github.com/localgovdrupal/localgov_step_by_step/actions/runs/19265037637 The ESLint test notice line numbers refer to the code changes here. |
|
Ooops, sorry @tonypaulbarker The JS items are fixed up now. I'll check the PHP ones once the tests have finished running. |
finnlewis
left a comment
There was a problem hiding this comment.
Discussing in Merge Tuesday, @markconroy has fixed the tests now and @tonypaulbarker approved the manual testing last week.
However, @markconroy just tested manually on a screen share, and the show all is not working as expected.
Needs a little more work!
|
All working now!!! |
|
Almost ! Testing locally, when showing all items individually, showing the last item changes the global toggle to "hide summaries' But clicking on it the first time does not hide. Clicking the second time does hide all the summaries. So need to make sure the aria-expanded attribute is set to true once the last summary is shown. |
|
Moving this to Drupal.org https://git.drupalcode.org/project/localgov_step_by_step/-/merge_requests/4 |
Closes #138
What does this change?
Thanks to Big Blue Door for sponsoring my time to work on this.