Show maximum supported upload size when no limit is set on the field

Created on 19 December 2022, over 2 years ago
Updated 10 April 2023, about 2 years ago

Problem/Motivation

When file field on the media type doesn't have the limit set, media create form shows current system upload limit instead. This is a good user experience.

This module shows nothing to the user in this situation, like Document (max ): csv, doc. So the user would only know about the limit after they try to upload the file bigger than limit and validation error is present.

Proposed resolution

Follow the UX pattern from core and show current system limit if the file field limit is not set.

Remaining tasks

  • Patch - done
  • Review done
  • Commit

User interface changes

System upload limit is shown to the use when media file field has no limit set.

API changes

None.

Data model changes

None.

✨ Feature request
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡³πŸ‡ΏNew Zealand RoSk0 Wellington

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.

Production build 0.71.5 2024