Limit the number of revisions displayed in Add Scheduled Transition form

Created on 25 July 2023, almost 2 years ago
Updated 27 July 2023, almost 2 years ago

Problem/Motivation

If an entity has hundreds of revisions, all of these are loaded into the Add form. This results in an extremely slow load time and other buggy outcomes and of course makes the modal quite unusable.

A side effect of this is when selecting a revision, the ajax request also takes a long time which can result in users submitting the form before the ajax request has completed, producing an AJAX error in the console and meaning the transition will always be set to "Latest revision" instead of the selected revision.

Steps to reproduce

Create an entity with hundreds of revisions
Click Add Scheduled Transition on the scheduled transitions page for the entity
Choose a revision and quickly submit the form.

Proposed resolution

Limit the number of revisions? Paginate them? Config option for limiting?

🐛 Bug report
Status

Closed: duplicate

Version

2.4

Component

Code

Created by

🇦🇺Australia acbramley

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

Comments & Activities

Production build 0.71.5 2024