Commit Graph

16 Commits

Author SHA1 Message Date
Andrew Kingston 5d0918a6cb Prevent invalid characters in column names when importing tables 2023-07-20 12:21:09 +01:00
Andrew Kingston 8cd7ba1fdf Undo/Redo for Design and Automate sections + automations refactor (#9714)
* Add full undo/redo support for screens

* Add loading states to disable spamming undo/redo

* Add keyboard shortcuts for undo and redo

* Fix modals not closing in design section when escape is pressed

* Remove log

* Add smart metadata saving to undo/redo

* Add error handling to undo/redo

* Add active state to hoverable icons

* Fix screen deletion

* Always attempt to get latest doc version before deleting in case rev has changed

* Move undo listener top level, hide controls when on certain tabs, and improve selection state

* Add tooltips to undo/redo control

* Update automation section nav to match other sections

* Fix automation list padding

* Fix some styles in create automation modal

* Improve automation section styles and add undo/redo

* Update styles in add action modal

* Fix button size when creating admin user

* Fix styles in add automation step modal

* Fix issue selecting disabled automation steps

* Reset automation history store when changing app

* Reduce spammy unnecessary API calls when editing cron trigger

* WIP automation refactor

* Rewrite most automation state

* Rewrite most of the rest of automation state

* Finish refactor of automation state

* Fix selection state when selecting new doc after history recreates it

* Prune nullish or empty block inputs from automations and avoid sending API requests when no changes have been made

* Fix animation issues with automations

* Sort automations and refetch list when adding or deleting

* Fix formatting

* Add back in ability to swap between values and bindings for block inputs

* Lint

* Format

* Fix potential issue in design section when selected screen is unset

* Fix automation arrow directions everywhere, tidy up logic and fix crash when using invalid looping

* Lint

* Fix more cases of automation errors

* Fix implicity any TS error

* Respect _id specified when creating automations

* Fix crash in history store when reverting a change on a doc whose ID has changed

* Lint

* Ensure cloneDeep helper doesn't crash when a nullish value is passed in

* Remove deprecated frontend automation test

---------

Co-authored-by: Rory Powell <rory.codes@gmail.com>
2023-02-23 13:55:18 +00:00
Andrew Kingston 8b941df5ff Update tables to use button actions rather than link settings 2022-11-14 15:47:14 +00:00
Andrew Kingston 978cdc3968 Add XS size for icons 2022-08-17 14:46:38 +01:00
Andrew Kingston d269354d6f Merge branch 'feature/new-app-publish-workflow' of github.com:Budibase/budibase into new-design-ui-dirty 2022-04-25 13:42:23 +01:00
Andrew Kingston 47bdc9e60b Add tooltip prop to icon component 2022-04-25 12:46:45 +01:00
Dean b2b5fde7ba Cypress test fixes and refactoring. Removed debugging elements 2022-04-20 09:17:01 +01:00
Andrew Kingston 3d426f3089 Update spectrum tabs, add tooltip to icon, add size option to tabs 2022-04-12 15:34:34 +01:00
mike12345567 4cd28fa7c4 Adding http verbs instead of icons for REST requests. 2021-12-09 13:08:16 +00:00
Andrew Kingston 3ee1d3e8e4 Add custom theming to icons 2021-09-03 11:53:25 +01:00
Andrew Kingston 38e064fa0f Fix all eslint issues 2021-06-15 19:36:56 +01:00
Keviin Åberg Kultalahti 9ee6ef3073 rework Icons to use new API 2021-04-27 16:30:13 +02:00
Keviin Åberg Kultalahti 8a36d81d32 switch out remix icons 2021-04-23 10:33:41 +02:00
Andrew Kingston 5770035650 Update automation section to use spectrum 2021-04-22 10:58:04 +01:00
Andrew Kingston 06b438d585 Add datepicker, centralise icon management and update builder styles 2021-04-20 20:06:27 +01:00
Keviin Åberg Kultalahti d761a4ebfe Adds Icon component to bbui 2021-04-16 12:24:06 +02:00