Commit Graph

19 Commits

Author SHA1 Message Date
Adria Navarro ac92aaeab3 Extract HH:mm 2024-05-23 14:59:51 +02:00
Adria Navarro 2626c1a721 Send right time 2024-05-23 11:39:45 +02:00
Adria Navarro 4e67e05ad1 Save date only as date 2024-05-22 14:35:19 +02:00
Adria Navarro 5dc75582d9 Fix timezone issues 2024-05-20 13:09:28 +02:00
Andrew Kingston a7f54eebdb Remove all traces of flatpickr 2024-04-26 16:25:41 +01:00
Andrew Kingston 67863da655 Update date formatting to use default locale as specified by Intl browser API rather than navigator language 2024-04-26 12:40:15 +01:00
Andrew Kingston ba63760f0f Display dates in users locale 2024-04-26 09:39:17 +01:00
Andrew Kingston 55014e304e Fix issue with dates and blur grids when interacting with header cells 2024-04-25 14:26:01 +01:00
Andrew Kingston 4d24b2ba1c Refactor new datepicker so that we can use a custom grid cell, and fix issues with timezone offsets 2024-04-23 17:00:15 +01:00
Andrew Kingston e1245b4cb0 Improve handling of time-only fields and fix issue where time-only values were not displayed properly 2024-04-12 09:40:39 +01:00
Andrew Kingston 0a4dfef8cf Replace usages of date range picker with 2 date pickers 2024-04-10 18:46:41 +01:00
Andrew Kingston 4afc71c4bf Break out core date parsing utils to share between packages 2024-04-08 08:29:20 +01:00
Adria Navarro db2c20e3ae eslint import/newline-after-import 2023-11-20 21:52:29 +01:00
Adria Navarro 63afd34eb2 Bug - BUDI-6068 filters do not work for google sheets (#9886)
* Add data-utils with filters

* Create data-utils

* Add data-utils to compiled code

* Reuse constants

* Fix tests

* Rename package to shared-core

* Namespace export shared-core

* Rely on rollup to bundle shared-core

* Revert "Rely on rollup to bundle shared-core"

This reverts commit e8b5a2bb9a.

* Updating version and removing private.

* Update version

* Increment versions.

* Implement sort

* Enabling sort

* v2.3.21-alpha.2

* Fix build

* Improve readability

* Move deepGet to shared helper

* Better type usage

* Fix types

* Configure types

* Fix vite refs

* Add dep

* Fixing depencencies on client

* Add missing dev command

* Fix loading issues

* Update versions to latest

* Multiple es6 and commonjs configs

* Config

* Use local packages on rollup for client

* Change shared-core and types entry points

---------

Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
2023-03-09 12:25:12 +00: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 8a9e110929 Lint 2022-04-06 13:41:07 +01:00
Andrew Kingston 969e6531d5 Make copy to clipboard an exported utility 2022-02-24 21:48:23 +00:00
Andrew Kingston fcd79ed70a Merge branch 'client-bundle-size-reduction' into experimental-hbs-caching 2022-01-31 18:58:19 +00:00
Andrew Kingston e3258a0caf Add helpers into BBUI rather than frontend core and fix A11y issue 2022-01-20 10:14:39 +00:00