Skip to content

Define a pattern for adding/showing/removing multiple items

We currently have a lot of different patterns in place for showing data when the user can add multiple items.

Some examples:

Streamed Audit Events (headers) streamed_audit_events_headers

New Pipeline new_pipeline

Webhooks settings webhooks_settings

Status checks settings status_checks

Branch protection settings branch_protection

Deploy tokens settings deploy_tokens

MR settings mrs

Differences

  • Different table styles
  • Some use just a list style
  • Remove button
  • Add button / Auto adding new line
  • Some have a disabled add button when form is empty
Edited by Sascha Eggenberger