Skip to content

Resolve "Disable Undo/Redo on the App builder for now"

What is in this MR

Only register an action when an application is created if the application_type.supports_actions. This is to ensure that when a builder application is created, we don't register an action. At the moment we don't register any further actions in AB.

How to test this MR

  • Create a database application. Hit undo/ctrl+z/cmd+z. Note how it's been undone.
  • Create a builder application. Hit undo/ctrl+z/cmd+z. Note how it's not undone. If you created the builder application after the database application, it'll undo the database application creation instead, as it was the last registered action.

Merge Request Checklist

  • changelog.md has been updated if required.
  • New/updated Premium/Enterprise features are separated correctly in the premium or enterprise folder
  • The latest Chrome and Firefox have been used to test any new frontend features
  • Documentation has been updated
  • Quality Standards are met
  • Performance: tables are still fast with 100k+ rows, 100+ field tables
  • The redoc API pages have been updated for any REST API changes
  • Our custom API docs are updated for changes to endpoints accessed via api tokens
  • The UI/UX has been updated following UI Style Guide

Closes #2246 (closed)

Edited by Peter Evans

Merge request reports