Problem/Motivation

The vault overview page (/user/{uid}/vault) renders a single generic row of action buttons at the top: Add a file, Grant access, Add trusted consumer, the per-kind record-add buttons, and Lock vault. Those actions sit far from the content they relate to, so the page reads as one button bar followed by several unrelated tables.

Proposed resolution

Move each action next to the content it creates, below that section table:

  • Add a file goes under the Files section.
  • The per-kind "Add [kind]" record buttons go under the Structured data section.
  • Grant access goes under the Active grants section.
  • Add trusted consumer goes under the Consumer access section.
  • Lock vault moves into Advanced, next to Vault passphrase, since it is a passphrase control. It only shows while the vault is unlocked; when locked, the prominent Unlock prompt is the action instead.

An empty section drops its placeholder table and shows just the action button. A section with neither rows nor an action (for example Access requests or Store requests when nothing is pending) is hidden entirely.

Remaining tasks

  • Review the rendering.
  • Merge.

Issue fork pdv-3594568

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

Title: Move the vault overview action buttons into their sections » Reorganize vault action buttons and add row batch actions

  • mably committed 03a1e49f on 1.x
    task: #3594568 Reorganize vault action buttons and add row batch actions...
mably’s picture

Status: Active » 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.

Status: Fixed » Closed (fixed)

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