Skip to content

Resolve "Create Button element"

Alexander Haller requested to merge 1686-create-button-element into develop

What is in this MR

This MR introduces a new "button" element. It has the same functionality as the button version of the LinkElement. We need this element as one of the building blocks to make events work, it will receive more configuration at a later stage.

How to test this MR

  • Create a new page
  • Add a button element
  • Change the text
    • Please not to wrap the text in '' since the backend will fail otherwise
      • In the data explorer MR I removed the need for frontend validation on these fields, that's why I didn't add it here, the problem will resolve itself once the data explorer MR is merged
  • Change the alignment
  • Change the width

Make sure everything works as expected and that it behaves exactly the same as the link button.

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 #1686 (closed)

Edited by Alexander Haller

Merge request reports