pulibrary / figgy

Valkyrie-based digital repository backend.
Other
36 stars 4 forks source link

Allow users to diagnose and fix files in child resources from the parent resource. #6341

Closed tpendragon closed 4 months ago

tpendragon commented 5 months ago

Wireframes

Wireframe State 1: Collapsed list of problematic resources

01_figgy-issue-6297-wireframe-COLLAPSED

Wireframe State 2: Display spinning Loader as list of problematic resources is generating

02_figgy-issue-6297-wireframe-LOADER

Wireframe State 3: Expanded list of problematic resources

03_figgy-issue-6297-wireframe-EXPANDED

Wireframe Updates

This report should:

  1. Instead of "Show 10 problematic resources" it should say "Show Affected Resources"
  2. Only show up for resources that have child resources (deep) (non-FileSets)
    • E.g if I have an Ephemera Project with a bad folder in a box, the Ephemera project's health report should have a link to the Folder, not the box, since the box's file manager will be empty.
  3. Each link should send you to the file manager for that child resource
  4. Each link should say how many are bad - e.g XXI Bk, No. 117 (2416) - 7 Files Affected
  5. The report should start to load when the health modal is opened.
  6. Flip the arrow directions. When collapsed, the arrow should be pointing down, when expanded the arrow should point up.

First Step

Write a query to return all child resources that are returning bad health statuses.