Add ability to customize label contents

Created on 10 June 2023, over 1 year ago

Problem/Motivation

We currently use a vertical pipe as the separator between the file extension and size in the contents of label. We need a way to control what separator to use, or to use no separator. We should also support customizing the contents of the label so text can be added if needed.

Proposed resolution

Add a new settings field that supports two "tokens" (not Drupal tokens) to substitute for the file extension and file size. Like [extension] and [size]. The text field should be plain text so it's easy to see the non-breaking spaces that are used by default.

Remaining tasks

  • Add a new settings text field for "label contents".
  • Adjust process related methods to find [extension] and [size] from "label contents" and replace the tokens with actual data.
✨ Feature request
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States matthand Riverdale Park, Maryland

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

Comments & Activities

Production build 0.71.5 2024