Done

Problem/Motivation

Several users have mentioned wanting to filter the results dashboard by various things -- groups membership, pages they have authored or recently edited, node published status, etc. Making this easy to do in Views requires refactoring the custom DB tables. As this is a massively breaking change, it makes sense to group together many feature requests that also affect DB structure decisions, and contemplate a sustainable support model for the next wave of much-more-complex features.

Proposed resolution

  • Rewrite the backend to create a separate pages table that can be mapped into Views relationships to create user/term/node connections. The goal is getting Views to be able to pull result counts in content dashboards, the Editoria11y dashboard to display and filter by extended data (e.g., draft/published, author), and the inline GUI to display node-level results from other checkers (e.g., broken links on page).
  • Rewrite library to ES6 and merge test suites with Sa11y. Editoria11y has spent the last 5 years building out the server APIs and live-edit functionality; Sa11y has been writing test after test after test. Adam and John have been talking about merging test suites into a single shared repo for years. It's time.
  • Manage the feature-explosion: maintain the turnkey "core" largely unchanged (except for much more useful Views!), and place the more complicated or niche features in submodules.
  • Build out a "split configuration" system, so developers/designers and content editors can see different sets of tests.

Deferred/roadmap feature wish-list

  • Consider adding another action on tips to mark manual checks as confirmed errors.
  • Dismissal notes & pinned to-dos
  • Event based email alerts ("Someone posted a PDF," "To-do assigned")
  • Link checking
  • Flagged words
  • Multi-site content governance features: client/host submodules

User interface changes

The default dashboard Views now display the current page title rather than the recorded title for any pages without path parameters, and provide many more filters and sort options against "live" data in other tables (e.g.: Node authored by, Node last edited by, Node creation date, Node updated date, Node published status...).

API changes

Quite a few changes, but I do not think anyone else is targeting the API directly. I am now basing DB operations on result keys ("altNull") rather than the human-readable name, and passing the human-readable names through Drupal translation in views.

Data model changes

There are now three tables:

  1. ed11y_page, NEW: has metadata for each record with Views connections to Nodes, Terms and User bio pages
  2. ed11y_result: several columns removed and moved into the editoria11y_pages table
  3. ed11y_action: several columns removed and moved into the editoria11y_pages table, and the "stale" boolean is now "stale_date," to allow for future maintenance operations to drop older stale records.
CommentFileSizeAuthor
#7 Screenshot 2025-05-30 at 6.12.06 PM.png116.61 KBjoeg8612
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

itmaybejj created an issue. See original summary.

itmaybejj’s picture

Status: Postponed » Active
itmaybejj’s picture

Title: Add full views integration for the content dashboard » 3.x Roadmap
Issue summary: View changes
itmaybejj’s picture

Title: 3.x Roadmap » Editoria11y 3.x Roadmap
itmaybejj’s picture

Issue summary: View changes
itmaybejj’s picture

Issue summary: View changes
joeg8612’s picture

StatusFileSize
new116.61 KB

We had the same need that you mention in your problem/motification. We did make a view that allows authors to see the results at a high level and filter by their organization.
screenshot of view

https://github.com/massgov/openmass/pull/2571/files

itmaybejj’s picture

Version: 2.2.x-dev » 3.0.x-dev

  • itmaybejj committed 08137b9f on 3.0.x-dev
    Resolve #3492299 "Editoria11y 3.x roadmap"
    
itmaybejj’s picture

Issue summary: View changes
itmaybejj’s picture

Issue summary: View changes
itmaybejj’s picture

Issue summary: View changes
itmaybejj’s picture

Issue summary: View changes
itmaybejj’s picture

Issue summary: View changes
itmaybejj’s picture

Issue summary: View changes
itmaybejj’s picture

Issue summary: View changes
itmaybejj’s picture

Issue summary: View changes
itmaybejj’s picture

Issue summary: View changes

  • itmaybejj committed 4d77abe9 on 3.0.x
    [#3492299] Update hooks, missing config detection, views language match...

  • itmaybejj committed 4d77abe9 on 3.0.x-dev
    [#3492299] Update hooks, missing config detection, views language match...
itmaybejj’s picture

Issue summary: View changes

Batching moved into new sub-module with separate dependencies, so that users can define their own export fields.

itmaybejj’s picture

Issue summary: View changes
itmaybejj’s picture

Issue summary: View changes

  • itmaybejj committed 8f00a896 on 3.0.x
    [#3492299] Fix update hook batch size measurements
    

  • itmaybejj committed 8f00a896 on 3.0.x-dev
    [#3492299] Fix update hook batch size measurements
    

  • itmaybejj committed 09f53149 on 3.0.x
    [#3492299] Tuning views, fixing another schema error.
    

  • itmaybejj committed 09f53149 on 3.0.x-dev
    [#3492299] Tuning views, fixing another schema error.
    
itmaybejj’s picture

Issue summary: View changes
itmaybejj’s picture

Assigned: Unassigned » itmaybejj
Issue summary: View changes
itmaybejj’s picture

Issue summary: View changes

  • itmaybejj committed 71f09ee2 on 3.0.x-dev
    [#3492299] Adjust tip design, start to wire in global ignore buttons.
    

  • itmaybejj committed 4bf654e5 on 3.0.x-dev
    [#3492299] Hash global dismissals in library and API.
    

itmaybejj’s picture

Issue summary: View changes
itmaybejj’s picture

Issue summary: View changes

  • itmaybejj committed 4bf654e5 on 3.0.x
    [#3492299] Hash global dismissals in library and API.
    

  • itmaybejj committed 71f09ee2 on 3.0.x
    [#3492299] Adjust tip design, start to wire in global ignore buttons.
    

itmaybejj’s picture

Issue summary: View changes
itmaybejj’s picture

Issue summary: View changes
itmaybejj’s picture

Issue summary: View changes
itmaybejj’s picture

Issue summary: View changes
itmaybejj’s picture

Issue summary: View changes

  • itmaybejj committed 9fc6b63a on 3.0.x
    feat: #3492299: Add Freemius license management.
    

  • itmaybejj committed 9fc6b63a on 3.0.x-dev
    feat: #3492299: Add Freemius license management.
    

  • itmaybejj committed ad618c49 on 3.0.x
    feat: #3492299: New Edit media button, new meta and attribute tests,...

  • itmaybejj committed ad618c49 on 3.0.x-dev
    feat: #3492299: New Edit media button, new meta and attribute tests,...

  • itmaybejj committed d1efeaff on 3.0.x
    #3492299: en-gb and en-ca, performance refactor, fixes for Views...

  • itmaybejj committed d1efeaff on 3.0.x-dev
    #3492299: en-gb and en-ca, performance refactor, fixes for Views...
itmaybejj’s picture

Status: Active » Fixed

Work and testing complete; RC1 tagged.

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.

itmaybejj’s picture

Issue summary: View changes
itmaybejj’s picture

Issue summary: View changes
itmaybejj’s picture

Issue summary: View changes
itmaybejj’s picture

Issue summary: View changes
itmaybejj’s picture

Issue summary: View changes
itmaybejj’s picture

Issue summary: View changes
itmaybejj’s picture

Issue summary: View changes

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.