Three small refinements to the owner vault page (also applied to the operator's per-subject view where the same sections render).

Problem

  • The Access requests and Store requests tables are always rendered, but are empty in the common case -- two permanently-empty tables that are pure noise.
  • Active grants (per-item read/write grants) and Consumer access (standing per-kind trust) look almost identical but mean different things, with nothing explaining the difference.

Changes

  • Render the Access/Store request sections only when there is something pending (inbox-style): the table helpers return NULL when empty and the callers omit the whole section. Both render paths (owner overview + operator per-subject view).
  • Collapse the Active grants and Consumer access sections by default -- they are inventory, not action items.
  • Add a one-line description above each of those two tables clarifying per-item grants vs per-kind trust.

Tests / i18n

A functional test asserts the request sections are omitted on an empty vault while the inventory sections remain. French translations added for the new description strings.

Issue fork pdv-3595533

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

mably created an issue. See original summary.

mably’s picture

Status: Active » Needs review

  • mably committed 3a257d8f on 1.x
    task: #3595533 Hide empty request sections, collapse inventory, and use...
mably’s picture

Status: Needs review » Fixed

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.

  • mably committed ac8508c5 on 1.x
    task: #3595533 vault page follow-up + Tugboat demo polish (#3595227)
    
    By...

Status: Fixed » Closed (fixed)

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