Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing conformance criteria roll up count from a list to a table #354

Merged
merged 3 commits into from
Mar 12, 2024

Conversation

dmundra
Copy link
Collaborator

@dmundra dmundra commented Feb 16, 2024

Sharing some changes we made last year to the output of the ACR. Instead of the roll-up of conformance to be a list, it is a table. See https://civicactions.github.io/openacr/drupal-10-16.html#success_criteria_level_a and here is an example:

Previously:

Conformance to the 30 criteria listed below is distributed as follows:

  • 57 supported
  • 4 partially supported
  • 5 not supported
  • 34 not applicable

After the changes:

Conformance to the 30 criteria listed below is distributed within each category as follows:

Conformance Level Web Electronic Documents Software Authoring Tool
Supports 19 19 0 19
Partially Supports 2 0 0 2
Does Not Support 2 1 0 2
Not Applicable 2 5 25 2

Also updating the stored examples with the above changes and latest ACR for Drupal.

mgifford and others added 3 commits June 21, 2023 15:22
* Just the new drupal files

* delete old acr

* delete old acr

* pre-commit fixes

---------

Co-authored-by: pre-commit <[email protected]>
* Update drupal-10-16.yaml

Changing the path to CivicActions.

* Update drupal-10-16.html

Using the CLI

* Moving the 16 Simple

* Adding Drupal 10 16 Simple

* pre-commit fixes

* Updated Drupal 10 yaml version.

---------

Co-authored-by: pre-commit <[email protected]>
Co-authored-by: Daniel Mundra <[email protected]>
* Redoing progressPerChapter to output counts as a table.

* Removed skipping of none label.

* Adjusted table counts per row display.

* Added functions to get level and component labels to use in the progress table.

* Updating markdown examples after testing. Reset output functions.

* Changed any column header to all and added margin to simple table.

* Removed un-needed conditional check.

* Added check for undefined and updated all examples.

* Added test when first criteria has missing components. Updated output logic and regenerated examples.

* Updated tests.

* Updated version and ran JS build.
@dmundra
Copy link
Collaborator Author

dmundra commented Feb 16, 2024

Check failure reasons:

  • Deploy is because the fork does not have access to deploy to this repo.
  • pre-commit because the EU file needs some cleanup.
  • tests because we need to run this command npx browserslist@latest --update-db to update the package-lock.json (might need to figure out how to ignore that.

@drewnielson drewnielson merged commit 86f890a into GSA:main Mar 12, 2024
2 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants