Make the export buttons 'better'

Created on 24 October 2025, 6 days ago

Problem/Motivation

There are many tickets in the queue all essentially running up against the same thing: the default export buttons are rubbish.

These tickets are:

And there may be others!

In summary:

  • Some users of the module are fine with the buttons as they are
  • Some users of the module don't want the buttons at all, but would like local actions
  • Some users of the module want to be able to customise the text of the button
  • Some users of the module want to be able style the button with CSS in a nice way
  • Some users of the module just want it to look like a normal link/button in Drupal's default admin theme
  • Solving this piecemeal isn't going to get us anywhere

Proposed resolution

We should work to making the export buttons be configurable in some way, so that you can:

  • Pick from various 'styles' of button, and we can include the current styling as a 'legacy' option.
  • For where it makes sense for a style, offer as much customisation as is reasonable, i.e. allowing someone to customise the text of a download button etc.
  • See if we can offer button placement top/bottom type options, though I rather suspect that's a views theming issue.
  • Attempt to get local actions stuff working, but I suspect that'll be incredibly tricky to get working correctly.

Remaining tasks

Code up the new solution, including tests for it where appropriate, and release it asap!

User interface changes

TBC

API changes

TBC

Data model changes

TBC

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom steven jones

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024