Commit Graph

1196 Commits

Author SHA1 Message Date
Peter Clement 84571e36c2 use display to hide picker button instead of prop 2023-08-30 10:50:49 +01:00
Peter Clement 7dfc516758 Merge remote-tracking branch 'origin/develop' into feat/per-app-builder-fe 2023-08-30 09:06:13 +01:00
Andrew Kingston 37158ea387 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-30 08:06:19 +01:00
Peter Clement e88efe2d1a update picker to allow only popover 2023-08-29 14:41:34 +01:00
Peter Clement 34a125f90d Merge remote-tracking branch 'origin/develop' into feat/per-app-builder-fe 2023-08-29 08:56:25 +01:00
Andrew Kingston 6c38eb5a4c Add back in auto focus behaviour to modals but disable it for screen creation 2023-08-25 16:45:41 +01:00
Andrew Kingston 8e74fc65d1 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-25 15:23:33 +01:00
Dean 13f6fed101 UX Enhancements and custom positioning behaviour for the popover 2023-08-25 11:19:28 +01:00
Andrew Kingston 71c092be1e Stop focusing submit button in modals as this causes long modals to scroll to the bottom 2023-08-25 09:49:04 +01:00
Dean 7492a70bcf Merge remote-tracking branch 'origin/develop' into feature/form-block-ux-updates 2023-08-25 09:06:24 +01:00
Jonny McCullagh 6826f48743 merge master changes into develop (#11590)
* Return the actual objects (#11570)

* Bump version to 2.9.30

* trigger a feature branch on pull request (#11584)

trigger a feature branch on pull request

* Bump version to 2.9.31

* Bump version to 2.9.32

---------

Co-authored-by: melohagan <101575380+melohagan@users.noreply.github.com>
Co-authored-by: Budibase Staging Release Bot <>
2023-08-24 15:51:46 +01:00
Dean dc500ba290 Merge remote-tracking branch 'origin/develop' into feature/form-block-ux-updates 2023-08-24 14:43:50 +01:00
Dean 1ec2faf74d List refinement, Form Block UX updates for action type. Bug fixes for FormBlock bindings. TableBlock UX updates and Component Setting updates 2023-08-24 14:39:53 +01:00
Andrew Kingston a22fc8d208 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-24 12:07:23 +01:00
Peter Clement f7e43a766d add tag support to picker 2023-08-24 11:38:50 +01:00
Andrew Kingston f0e7f481de Merge branch 'design-section-feature-branch' of github.com:Budibase/budibase into screen-theme-rightpanel 2023-08-23 16:20:55 +01:00
Andrew Kingston 51f6574942 Fix issue with tab styles 2023-08-22 11:32:57 +01:00
Dean cad624a9a4 Merge Commit 2023-08-21 12:50:16 +01:00
Dean 79c9535659 Merge remote-tracking branch 'origin/develop' into feature/form-block-ux-updates 2023-08-04 11:31:50 +01:00
Dean cb2a19620b Initial commit 2023-08-03 09:29:12 +01:00
Peter Clement 2ee7cb008b Reworked Column Configuration in the data section (#11379)
* base work for using popover to create and edit columns

* more work to enable editing column in popover

* update styling of column type configs

* add new option picker component

* some updates to how the popover is opened and the new picker

* more updates to support the popover handling correctly

* update the popover to support a custom z index

* some styling around the colour picker

* update naming

* fix lint errors

* fix lint

* update filename

* incremental column numbers based on existing schema

* move func declaration

* add option color object to schema not constraints

* ux / pr comment updates

* undefined var

* fix issue with deleting option

* change background color

* update popove z-index
2023-07-31 14:28:11 +00:00
Adria Navarro de0f3f7463 Merge branch 'develop' into backmerge-master-20230726 2023-07-26 12:50:52 +01:00
Andrew Kingston 58820cacdb Fix nullish check in position dropdown logic 2023-07-25 11:53:03 +01:00
mike12345567 bb032852e5 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-07-21 16:26:34 +01:00
Andrew Kingston 5bbf6dc1c8 Merge pull request #11309 from Budibase/cheeks-fixes
Misc fixes
2023-07-21 13:28:09 +01:00
Andrew Kingston af8be511df Add back in XS icons 2023-07-21 10:39:58 +01:00
mike12345567 4275a58846 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-07-20 14:20:38 +01:00
Andrew Kingston 5d0918a6cb Prevent invalid characters in column names when importing tables 2023-07-20 12:21:09 +01:00
Dean 794ed5a29a Merge remote-tracking branch 'origin/new-design-nav-component' into screen-theme-rightpanel 2023-07-20 11:35:17 +01:00
Dean d94fe7c2eb Moved screen settings/theme into the new rightpanel structure. Refactord the color picker to help with positioning. Removed dead home link 2023-07-20 11:32:48 +01:00
Andrew Kingston bada641262 Fix bug in checkboxgroup due to reassignment of value prop 2023-07-18 16:47:43 +01:00
Dean e77a105bb2 General fixes for bindings and the undo/redo behaviour 2023-07-18 16:46:35 +01:00
Adria Navarro 13ef7b8858 Merge branch 'develop' into backmerge-20230717 2023-07-17 17:13:26 +01:00
melohagan 731482c359 Localize animation (#11240) 2023-07-17 16:40:07 +01:00
melohagan 89c0d3b389 Add BigInt type support (#11145) (#11195)
* Add BigInt type

* Allow BigInt columns to be added

* Sort fixes

* Add BigInt field
2023-07-11 14:01:55 +01:00
Andrew Kingston 52cd16f42d Merge branch 'develop' of github.com:Budibase/budibase into cheeks-fixes 2023-07-10 13:05:09 +01:00
Andrew Kingston fb35d52ac9 Add temporary tooltip to help creating the first row in grids 2023-07-10 11:23:29 +01:00
Andrew Kingston 06876b0ea2 Improve tooltips more by ensuring they follow the target smoothly 2023-07-07 16:03:25 +01:00
melohagan 7a06fcee0f Add BigInt type support (#11145)
* Add BigInt type

* Allow BigInt columns to be added

* Sort fixes

* Add BigInt field
2023-07-07 15:11:41 +01:00
Andrew Kingston 99ef4f2992 Add new temporary tooltip component. Improve tooltips and user avatars 2023-07-07 14:46:41 +01:00
Andrew Kingston 4129f166e6 Add fixed setting to allow tooltip to be permanently rendered 2023-07-07 12:11:19 +01:00
Andrew Kingston 35150af784 Update multiple usages of tooltips to use new tooltip 2023-07-07 12:09:23 +01:00
Andrew Kingston 6aef0f2134 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-fixes 2023-07-07 11:33:18 +01:00
Gerard Burns 808e0d1ef2 Linting improvements (#11119) 2023-07-05 18:00:50 +01:00
Andrew Kingston 0ef0da6b78 Merge pull request #11135 from Budibase/design-collab
Multi-user collaboration for everything except automations
2023-07-05 16:32:24 +01:00
Andrew Kingston 75c4b92766 Add new tooltip which is far better 2023-07-05 15:46:07 +01:00
Gerard Burns 1f59986a87 Use constant for keeping modal open (#11067) 2023-07-05 13:49:39 +01:00
Andrew Kingston 86986b17d6 Remove unused code 2023-07-05 09:58:00 +01:00
Andrew Kingston 57242840b7 Update tooltips to transition and to use friendly names when possible 2023-07-05 09:10:03 +01:00
Andrew Kingston 8f601a2c58 Disable reverting to published app version when not the only builder 2023-07-04 15:31:13 +01:00
Andrew Kingston f007ec3c58 Add tooltip to side nav items, disable delete and update when not the only user, add transitions to tooltips 2023-07-04 13:54:53 +01:00
Andrew Kingston ec25ccfea0 Fix disabled tooltip in name and url settings 2023-07-04 13:24:18 +01:00
Adria Navarro fea218a62f Respect initial selection on FancyCheckboxGroup[ 2023-06-30 11:43:24 +01:00
Andrew Kingston 16bd879f5d Fix issue with datepickers not working after starting off as disabled 2023-06-28 11:35:36 +01:00
Dean eaecd3ab68 Merge remote-tracking branch 'origin/develop' into merge-master 2023-06-27 09:31:35 +01:00
Gerard Burns 1606ca0c84 Refactor Datasource Creation Modal (#10783) 2023-06-26 09:52:02 +01:00
mike12345567 3d3efadb37 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-06-23 15:19:49 +01:00
Dean a61cf5fa45 Merge remote-tracking branch 'origin/master' into fix/oidc-custom-icons-fixed 2023-06-23 14:58:47 +01:00
Dean ceecd85d76 OIDC icon fix recreated on a new branch 2023-06-23 14:47:58 +01:00
Dean 959d3729dc Added config for FontAwesome icons used by EasyMDE in the builder 2023-06-22 12:28:12 +01:00
Conor Webb 7e3b6fd07b Prevent premature closure of imported users modal. (#10916) 2023-06-15 09:41:17 +01:00
Jonny McCullagh 757ca6a166 Merge master develop (#10897)
* Binding drawer fixes

* Added missing headless flag for the bindable combobox

* Fix for QueryEditor width

* Fix svelte transitions in grid new row component breaking routify

* Bump version to 2.7.7

* fix REST connector failure to save

* Bump version to 2.7.8

* Bump version to 2.7.9

* Unexpected token when export data (#10721)

* Tidy ID string for JSON parse

* Display error for composite keys

* Unit test WIP

* directly assign the mock function on the datasource

* Unit tests for exportRows ID handling

---------

Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>

* Return all rows if oneOf value is falsey (#10638)

* Bump version to 2.7.10

* Make sure divider fields are left-most (#10627)

* Make sure divider fields are left most

* Refactor

* Bump version to 2.7.11

* Temporarily remove the focus store update as it triggers a full redraw of the component settings

* Linting

* Removed commented out code

* Bump version to 2.7.12

* Bump version to 2.7.13

* Do not show Business tag for Email action (#10867)

* Bump version to 2.7.14

* new deploy trigger (#10892)

* point the deploys at the new env

* Bump version to 2.7.15

---------

Co-authored-by: Dean <deanhannigan@gmail.com>
Co-authored-by: Andrew Kingston <andrew@kingston.dev>
Co-authored-by: Budibase Staging Release Bot <>
Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>
Co-authored-by: Martin McKeaveney <martin@budibase.com>
Co-authored-by: melohagan <101575380+melohagan@users.noreply.github.com>
Co-authored-by: Adria Navarro <adria@budibase.com>
2023-06-14 16:18:09 +01:00
Andrew Kingston c2e5427860 Small refactor to move CSS variables inside fields rather fancy forms 2023-06-12 15:54:08 +01:00
Michael Drury 06eb965564 Updates from PR comments. 2023-06-09 14:35:46 +01:00
melohagan 736f78c3d6 Make sure divider fields are left-most (#10627)
* Make sure divider fields are left most

* Refactor
2023-06-09 14:09:14 +01:00
Adria Navarro cc52362fe3 Use svelte class attribute 2023-06-07 15:00:23 +01:00
Adria Navarro 1bdf62ab41 Use indeterminate for select all 2023-06-07 14:48:17 +01:00
Adria Navarro 615d825817 Allow indeterminate booleans 2023-06-07 14:48:03 +01:00
mike12345567 cc60baa3d1 Some fixes for BBUI and updating postgres table name fetching to get uniques. 2023-06-06 17:40:14 +01:00
mike12345567 f6108998f9 Adding better selection control to fancy checkbox group. 2023-06-06 16:52:06 +01:00
mike12345567 0602f5f26f Updating fancy form components and building out first version of fancy checkbox group. 2023-06-06 16:32:20 +01:00
Adria Navarro 7afbce696b Create listbox component 2023-06-06 11:31:44 +01:00
mike12345567 b57557760d Updating fancy forms to be usable for data table fetching designs. 2023-06-05 18:36:50 +01:00
Dean 221cf0979a Merge remote-tracking branch 'origin/develop' into bindings-fixes 2023-06-02 09:23:45 +01:00
Dean 3a70426e3e Tab switch default behaviour shifted to correct location 2023-06-01 14:51:50 +01:00
Dean b44a7fb288 Restored the default behaviour for tab switching when no switch checking fn is provided 2023-06-01 14:44:03 +01:00
Dean d08dd2d491 Minor fixes for bindings v2 2023-06-01 11:47:27 +01:00
deanhannigan 8c144bbe2c Merge pull request #10732 from Budibase/feature/binding-v2-updates
Binding V2 Updates
2023-05-31 19:15:20 +01:00
Andrew Kingston 564a98bedc Increase tooltip max size and fix issue with overflow in app overview 2023-05-31 18:23:20 +01:00
Dean cd95df629e Merge remote-tracking branch 'origin/develop' into feature/binding-v2-updates 2023-05-31 11:07:47 +01:00
Martin McKeaveney 43a90c1638 Merge pull request #10496 from mslourens/fix/10400-use_trashcan_icon
update icon name to Delete
2023-05-30 22:04:52 +01:00
Dean e8c6185add Refactoring and some styling updates 2023-05-29 21:19:44 +01:00
Dean 56bac67d49 Merge commit 2023-05-26 10:11:51 +01:00
Andrew Kingston cc7df474c9 Standardise usage of user avatars and colours across the entire platform 2023-05-26 09:24:53 +01:00
Adria Navarro cff9c26ef2 Lint 2023-05-19 17:46:34 +02:00
Gerard Burns 28f4736e98 Onboarding Improvements (#10540)
* Onboarding Improvements

* PR Feedback

* linting
2023-05-17 10:58:06 +01:00
Andrew Kingston 59ea4460f9 Fix multiple issues with keypresses and date cells due to flatpickr 2023-05-11 10:51:44 +01:00
Maurits Lourens 2475f17bd9 update icon name to Delete 2023-05-05 17:33:01 +02:00
Andrew Kingston 5b0ba593b8 Move modal consideration CSS selector up a few levels to underlay to prevent modal close clicks triggering external handlers 2023-05-05 09:18:00 +01:00
Andrew Kingston e01e91e075 Fix row selection being cleared when exporting rows, and ignore download-js click events in click-outside handler 2023-05-05 09:13:06 +01:00
Rory Powell ec06f13aa6 Per user pricing (#10378)
* Update pro version to 2.4.44-alpha.9 (#10231)

Co-authored-by: Budibase Staging Release Bot <>

* Track installation and unique tenant id on licence activate (#10146)

* changes and exports

* removing the extend

* Lint + tidy

* Update account.ts

---------

Co-authored-by: Rory Powell <rory.codes@gmail.com>
Co-authored-by: mike12345567 <me@michaeldrury.co.uk>

* Type updates for loading new plans (#10245)

* Add new quota for max users on free plan

* Split available vs purchased plan & price type definitions. Update usages of available prices and plans

* Type fixes

* Add types for minimums

* New `PlanModel` type for `PER_USER` and `DAY_PASS` (#10247)

* Add new quota for max users on free plan

* Split available vs purchased plan & price type definitions. Update usages of available prices and plans

* Type fixes

* Add types for minimums

* New `PlanModel` type for `PER_USER` and `DAY_PASS`

* Add loadEnvFiles to lerna config for run command to prevent local test failures

* Fix types in license test structure

* Add quotas integration to user create / delete + migration (#10250)

* Add new quota for max users on free plan

* Split available vs purchased plan & price type definitions. Update usages of available prices and plans

* Type fixes

* Add types for minimums

* New `PlanModel` type for `PER_USER` and `DAY_PASS`

* Add loadEnvFiles to lerna config for run command to prevent local test failures

* Fix types in license test structure

* Add quotas integration to user create / delete

* Always sync user count from view total_rows value for accuracy

* Add migration to sync users

* Add syncUsers.spec.ts

* Lint

* Types and structures for user subscription quantity sync (#10280)

* Add new quota for max users on free plan

* Split available vs purchased plan & price type definitions. Update usages of available prices and plans

* Type fixes

* Add types for minimums

* New `PlanModel` type for `PER_USER` and `DAY_PASS`

* Add loadEnvFiles to lerna config for run command to prevent local test failures

* Fix types in license test structure

* Add quotas integration to user create / delete

* Always sync user count from view total_rows value for accuracy

* Add migration to sync users

* Add syncUsers.spec.ts

* Prevent old installs from activating, track install info via get license request instead of on activation.

* Add usesInvoicing to PurchasedPlan

* Add min/max users to PurchasedPlan

* Additional test structures for generating a license, remove maxUsers from PurchasedPlan - this is already present in the license quotas

* Stripe integration for monthly prorations on annual plans

* Integrate annual prorations with test clocks

* Updated types, test utils and date processing for licensing (#10346)

* Add new quota for max users on free plan

* Split available vs purchased plan & price type definitions. Update usages of available prices and plans

* Type fixes

* Add types for minimums

* New `PlanModel` type for `PER_USER` and `DAY_PASS`

* Add loadEnvFiles to lerna config for run command to prevent local test failures

* Fix types in license test structure

* Add quotas integration to user create / delete

* Always sync user count from view total_rows value for accuracy

* Add migration to sync users

* Add syncUsers.spec.ts

* Prevent old installs from activating, track install info via get license request instead of on activation.

* Add usesInvoicing to PurchasedPlan

* Add min/max users to PurchasedPlan

* Additional test structures for generating a license, remove maxUsers from PurchasedPlan - this is already present in the license quotas

* Stripe integration for monthly prorations on annual plans

* Integrate annual prorations with test clocks

* Updated types, test utils and date processing

* Lint

* Pricing/billing page (#10353)

* bbui updates for billing page

* Require all PlanTypes in PlanMinimums for compile time safety

* fix test package utils

* Incoming user limits warnings (#10379)

* incoming user limits warning

* fix inlinealert button

* add corretc button link and text to user alert

* pr comments

* simplify limit check

* Types and test updates for subscription quantity changes in account-portal (#10372)

* Add chance extensions for `arrayOf`. Update events spies with license events

* Add generics to doInTenant response

* Update account structure with quota usage

* User count limits (#10385)

* incoming user limits warning

* fix inlinealert button

* add corretc button link and text to user alert

* pr comments

* simplify limit check

* user limit messaging on add users modal

* user limit messaging on import users modal

* update licensing store to be more generic

* some styling updates

* remove console log

* Store tweaks

* Add startDate to Quota type

---------

Co-authored-by: Rory Powell <rory.codes@gmail.com>

* Lint

* Support custom lock options

* Reactivity fixes for add user modals

* Update ethereal email creds

* Add warn for getting invite from code error

* Extract disabling user import condition

* Handling unlimited users in modals logic and adding start date processing to store

* Lint

* Integration testing fixes (#10389)

* lint

---------

Co-authored-by: Mateus Badan de Pieri <mateuspieri@gmail.com>
Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
Co-authored-by: Peter Clement <PClmnt@users.noreply.github.com>
2023-04-24 09:31:48 +01:00
Andrew Kingston 9b2b071b88 Merge branch 'develop' of github.com:Budibase/budibase into spreadsheet-integration 2023-04-18 21:00:42 +01:00
Gerard Burns d36cd3b1f8 Builder Unit Test PoC (#10173)
* wip

* wip
2023-04-18 14:37:29 +01:00
Andrew Kingston 876522bf1e Merge branch 'develop' of github.com:Budibase/budibase into spreadsheet-integration 2023-04-18 10:48:53 +01:00
Gerard Burns 7e5b99aa84 Fix Help Menu (#10257)
* Fix Help Menu

* PR Feedback

* linting
2023-04-18 10:37:11 +01:00
Andrew Kingston 69f6834886 Improve sheet integration with data section and add horizontal cell inversion 2023-04-13 12:01:16 +01:00
Andrew Kingston 4d34c8b65b Restore missing event handler 2023-04-11 17:35:51 +01:00
Andrew Kingston 1726948f67 Add custom colors for drop shadows and blue-100 to all themes, fix sticky column shadow 2023-04-11 14:07:27 +01:00
Andrew Kingston a0299d4c7c Move new row component to top, automatically invert cell renderers when required 2023-03-31 17:37:59 +01:00
Andrew Kingston dbf5bfe83d Ensure all sheet feature flags work as expected and fix multi row deletion 2023-03-31 12:00:32 +01:00
Andrew Kingston 31f6f9db7b Merge branch 'develop' of github.com:Budibase/budibase into spreadsheet-integration 2023-03-29 12:09:57 +01:00
Andrew Kingston f2b12bcf45 Component error state improvements (#10136)
* Tidy logic for creating initial component instances

* Add initial implementation of enriching empty settings

* Fix regression that prevented custom placeholders from working (#9994)

* Tidy up

* Add automatic naming of form fields when added

* Update missing required setting placeholder

* Improve error states and add ability to automatically wrap a component in a required parent type

* Fix crash in column editor and rename component placeholder to error state

* Select the parent component after adding it when wrapping a component with a missing ancestor

* Fix blocks and make fields require forms

* Improve empty component placeholder

* Lint
2023-03-28 21:11:33 +01:00
Martin McKeaveney bcbed08a40 Merge pull request #9951 from Budibase/settings-panel-update
Settings panel layout update
2023-03-28 18:36:58 +01:00
Andrew Kingston e0e5ca7a3c Merge branch 'develop' of github.com:Budibase/budibase into spreadsheet-integration 2023-03-28 15:47:53 +01:00
Dean 1d97e2a908 Merge remote-tracking branch 'origin/develop' into feature/whitelabelling 2023-03-27 15:21:35 +01:00
Andrew Kingston 1b2b4dba88 Revert skeleton loaders and restore required setting functionality (#9979) 2023-03-27 14:43:29 +01:00
Dean bfd7e49c72 Template fixes and updates to the file picker. Error handling added to display a warning when navigating to an unpublished or invalid app url. 2023-03-21 09:20:43 +00:00
Dean 253ee413a2 Working commit 2023-03-16 09:07:21 +00:00
Andrew Kingston f290d758ba Add attachment cell 2023-03-14 11:53:01 +00:00
Dean 5ce52cad06 Working commit 2023-03-13 12:33:16 +00:00
Andrew Kingston 909118d398 Merge branch 'develop' of github.com:Budibase/budibase into just-dataspace-things 2023-03-13 11:30:18 +00:00
Andrew Kingston c1128618fb Fix bug with select placeholders and fix sorting loops causing endless refreshes 2023-03-11 18:28:58 +00:00
Mateus Badan de Pieri d8ce0713aa Merge branch 'develop' into license-key-mgmt 2023-03-10 12:29:10 +00:00
Andrew Kingston a78ba19cf8 Tidy up buttons above sheets and add FAB for adding rows 2023-03-10 11:59:10 +00:00
Andrew Kingston c4e3667b6c Merge branch 'develop' of github.com:Budibase/budibase into just-dataspace-things 2023-03-09 17:54:58 +00:00
Andrew Kingston e5271bdef1 Command palette (#9942)
* command palette E2E

* tidy up

* Improve theming with spectrum badges and dedupe spectrum label usage

* Update data section nav to match designs and use panel component

* Fix main content layout in data section

* Update data section routing for tables

* Improve data section routing for tables to account for edge cases

* Update internal and sample datasource routing

* Update external datasource routing

* Update routing for queries and make a top level concept like everything else

* Update routing for views

* Fix undefined reference when deleting datasource

* Reduce network calls and fix issues with stale datasourcenavigator state

* Update routing for REST queries and unify routes for normal queries and REST queries

* Lint

* Fix links for queries from datasource details page

* Remove redundant API calls and improve table deletion logic

* Improve data entity deletion logic and redirection and fix query details keying

* Improve determination of selected item in datasource tree

* Update command palette to support new data routes

* Update command palette, fix keybind issues and updating loading state

* Lint

* Fix publish command and fix preview published app URL

* Fix BBUI import

* Lint

* Fix datasource navigator selected state not working for internal DB or sample data

* Update command palette to use ctr+k/cmd+k

* Update command palette to match new designs and add visible categories

* Restore missing styles£

* Use proper theme constants for changing theme in command palette

* Add command palette action for inviting users

---------

Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>
2023-03-09 14:15:43 +00:00
Adria Navarro 158703daef 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 08:50:26 +00:00
Andrew Kingston db7f267887 Update component settings to be left aligned and update long component settings labels to be shorter 2023-03-08 19:22:19 +00:00
Andrew Kingston 04fc1be3d2 Add max height to popover when rendering above anchor (#9945) 2023-03-08 15:50:15 +00:00
deanhannigan d5f7a27d07 Component settings section tabs (#9895)
* Added tabs to the component settings section in the builder

* Review updates

* Update setting tab buttons to be size M and use a lighter font color when selected

---------

Co-authored-by: Andrew Kingston <andrew@kingston.dev>
2023-03-08 14:40:13 +00:00
Andrew Kingston a25af10c0e Count context menu clicks when considering the click outside handler 2023-03-07 11:54:41 +00:00
Andrew Kingston b93f575bca Add popovers to sheet column headers, improve mouse UX 2023-03-06 15:09:42 +00:00
Peter Clement aa02c0ca30 fix issue with user searching 2023-03-02 14:30:04 +00:00
Rory Powell 8edf3f5a2c Merge pull request #9826 from Budibase/fix-default-oidc-icons
Fix default oidc icons
2023-03-01 12:29:34 +00:00
Mateus Badan de Pieri b677ffedd5 hotfix 2023-03-01 10:48:24 +00:00
Mateus Badan de Pieri 31d4bce2e0 updating imports 2023-03-01 10:46:47 +00:00
Rory Powell c6a22282f7 Fix default oidc icons 2023-02-28 16:22:23 +00:00
Andrew Kingston a28148d9f8 Merge branch 'develop' of github.com:Budibase/budibase into spreadsheet-abs 2023-02-28 13:59:37 +00:00
Andrew Kingston 9f3176ce09 Update width of picker footer 2023-02-28 13:19:44 +00:00
Andrew Kingston a44729d7ec Add role footer for admins and developers, remove wasted API calls 2023-02-28 12:49:40 +00:00
Andrew Kingston 862ba6ce92 Update spacing, borders and sizing 2023-02-28 12:29:13 +00:00
Dean dd08845a44 Merge remote-tracking branch 'origin/develop' into feature/app-user-onboarding-ux 2023-02-28 09:38:15 +00:00
Dean 61ed62e6c4 Builder user onboarding 2023-02-28 09:37:03 +00:00
Mateus Badan de Pieri 272081a31f move imports to right source 2023-02-27 17:11:53 +00:00
Mateus Badan de Pieri 057abb5351 move component to bbui 2023-02-27 15:04:30 +00:00
mike12345567 42fc004212 Merge branch 'develop' of github.com:Budibase/budibase into feature/audit-logs 2023-02-24 12:46:58 +00:00
Andrew Kingston b8e7e0b701 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-spreadsheet 2023-02-23 16:41:08 +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
Peter Clement ffee41aea3 custom popover height and sidebar styling 2023-02-22 12:31:04 +00:00
Peter Clement dc691bcaf7 integrate properly with audit log search api 2023-02-21 10:48:55 +00:00
Andrew Kingston c627cb60c3 Allow multiselect component and field to support text values 2023-02-20 18:45:35 +00:00
Peter Clement a1b47bbce3 ensure table is pulling from search endpoint 2023-02-17 16:49:41 +00:00
mike12345567 2845ec3bf7 Merge branch 'feature/audit-logs' of github.com:Budibase/budibase into feature/audit-logs 2023-02-13 11:41:16 +00:00
Peter Clement 70ac7b81c3 add base audit logs ui 2023-02-13 09:47:08 +00:00
andz-bb 59b8aef844 stop chrome autofilling login when adding env var 2023-02-07 17:44:23 +00:00
Andrew Kingston 9311680f4c Hack around chrome autofill to handle filling on page load and look half-decent 2023-02-07 12:11:25 +00:00
Peter Clement 4e88981ce8 fix issue with regex on safari 2023-02-06 16:36:03 +00:00
Martin McKeaveney d4a0e44b31 merge 2023-02-05 22:11:37 +00:00
Andrew Kingston 659cfd2492 Misc fixes and improvements (#9503)
* Rewrite position dropdown helper to properly work as a svelte action, improve performance and fix bugs

* Update action button styles

* Update spacing on some onboarding pages and update background gradient

* Prevent special characters in first app name

* Fix type in onboarding tour

* Default first app name and url to having a value

* Update text in first app onboarding file upload

* Fix double mounting of apps page causing issues and templates error

* Fix null app ID when creating your first app using data upload

* Fix app deletion not causing app list to be refreshed
2023-02-02 10:06:41 +00:00
Andrew Kingston f753116af4 Add configurable dropdown to popovers to allow styling without needing data-cy 2023-02-01 08:28:50 +00:00
Andrew Kingston 4e9d952b52 Merge branch 'develop' of github.com:Budibase/budibase into Cypress 2023-02-01 08:24:30 +00:00
Andrew Kingston 6e12c3fa3c Remove most traces of data-cy attributes 2023-02-01 08:20:46 +00:00
Gerard Burns dd343a5946 New App Onboarding (#9489)
* New App Onboarding

* Lint

* Move app creation onboarding into its own route

* Fix quiet action button variant

* Fix alt attribute background image flashing

* Update routing logic and redirects to show app creation onboarding

* Navigate to data rather than design upon initial app creation to allow tour to function properly

* Tidy up popover logic and remove tip functionality

* Fix binding popovers

* Lint

* Silence spammy warnings from the builder

* Exclude SVG files from rollup plugin image to fix spectrum icons

* Fix help menu icon colours not working in light themes

* Tweak help menu styles

---------

Co-authored-by: Andrew Kingston <andrew@kingston.dev>
2023-01-31 19:34:32 +00:00
deanhannigan ee288c1f2d Merge pull request #9409 from Budibase/feature/user-onboarding-overlays
Feature/user onboarding overlays
2023-01-31 16:37:18 +00:00
Michael Drury 099179f848 Merge pull request #9481 from Budibase/feature/9480
Password replacement for REST authentication basic type
2023-01-31 12:48:38 +00:00
Andrew Kingston 4c1dcc06cb Fix popovers not scrolling when required 2023-01-31 11:22:55 +00:00
mike12345567 c2eb8fb976 Update to cover the authentication for REST, replacing it with secret value and converting to password field, as well as minor update to env dropdown to only be a password field when not containing an environment variable - #9480. 2023-01-30 18:50:35 +00:00
mike12345567 2548d89f04 Merge branch 'develop' of github.com:Budibase/budibase into feature/environment-variables 2023-01-30 09:53:31 +00:00
Andrew Kingston 23c1d1a9d8 Merge branch 'develop' of github.com:Budibase/budibase into develop 2023-01-30 08:16:47 +00:00
Andrew Kingston 415a3fbae2 Add icon slot in fancy buttons 2023-01-30 08:16:20 +00:00
Dean 67ebe422fe Feedback updates 2023-01-29 21:28:46 +00:00
Dean 2b4d28edb4 Merge remote-tracking branch 'origin/develop' into feature/user-onboarding-overlays 2023-01-27 20:21:33 +00:00
Andrew Kingston 2211becdba Fix certain types of popover not working inside modals or side panels (#9424) 2023-01-27 14:38:31 +00:00
Peter Clement 4ed239e5fd fix input not disabling properly 2023-01-27 12:06:34 +00:00
Peter Clement d031a9157e fix max-height in dropdown 2023-01-27 12:04:32 +00:00
Peter Clement 7ccce5c042 fix warnings 2023-01-27 11:49:44 +00:00
Peter Clement 8372b50de1 update env dropdown input to remove tags 2023-01-27 11:48:02 +00:00
Rory Powell da2c809a09 Merge branch 'develop' into feature/environment-variables 2023-01-27 11:27:11 +00:00
mike12345567 301bc2af8e Merge branch 'cheeks-lab-day-portal-redesign' of github.com:Budibase/budibase into feature/environment-variables 2023-01-27 10:52:46 +00:00
Peter Clement 4eaefa677a add tags to input dropdown 2023-01-26 14:24:10 +00:00
Andrew Kingston f068f20c61 Add suffix setting to fancy input component and fix lint warning 2023-01-25 15:57:47 +00:00
Andrew Kingston 1eebab8910 Add suffix prop to fancy input component 2023-01-25 15:55:57 +00:00
Andrew Kingston 2b8525ef4e Fix fancy select not correctly displaying the label for the selected value 2023-01-25 14:11:33 +00:00
Peter Clement 100571b6fe add licensing check to env dropdown 2023-01-25 11:27:57 +00:00
Peter Clement 0ca1521a58 css updates to dropdown component 2023-01-24 15:24:29 +00:00
melohagan 0daacf3425 Add fields for MongoDB SSL cert file paths (#8260)
* Added fields for tls certificate files

* lint

* Only include cert fields if SELF_HOSTED

* lint

* Refactor getSchema function

* Add datasource field group with accordion

* Handle no display column on fieldGroup field

* Override text transform accordian header

* Renamed from TLS to SSL in UI config

* readable flag

* Add accordion component

* Refactor
2023-01-23 16:46:02 +00:00
Andrew Kingston 549e4e0dc5 Onboarding core components (#9412)
* Update BB logo to black

* Update top nav bar and core layout

* Add redesign for apps pages

* Update user and groups pages

* More WIP portal redesign!

* Fix top nav colours and fix selected tab not updating

* Remove log

* Update copy on settings pages

* Update and standardise page headers and subtitles, and remove side nav titles

* Update font styles to allow for easy customisation

* Update button styles to always use newStyles, update auth page styles

* Update settings pages to new designs

* Update structure for account pages

* Add initial rewrite of app overview section

* Update config checklist to properly center

* Update app overview version and name/url screens

* Add tooltip to explain why URL cannot be changed until unpublishing

* Update overview automation history tab

* Update overview backups page

* Rewrite app overview access tab

* Update table hover colours

* Remove scrolling from tables when not required and stop selects from updating their own state locally

* Update table styles to support flexible column widths much better

* Fix extremely long strings in breadcrumbs not wrapping

* Fix multiple issues with long text overflow

* Fix flashing in version settings page

* Fix loading bugs in app backups page

* Add sidebar for portal and use it for automation history. Fix multiple overflow and scrolling issues

* Tidy up

* Update user details page to use tables and match designs

* Update users detail page

* Update user and group details pages with new tables

* Fix automation error linking from apps page and improve automation fetching logic in automation history

* Move theme and API key into user profile dropdown instead of settings

* Move settings before account and show plugins for devs

* Convert plugins page to table and update components and modals

* Update links when going back from the builder

* Update plugin search placeholder

* Fix URLs in app overview

* Properly handle text overflow in plugins table

* Remove getting started checklist

* Fix checklist removal and fix profile modal

* Update email details page to match new designs

* Cleanup

* Add licensing and env logic to determine which account links to show

* Update upgrade button URL for cloud accounts

* Update app list to use a more compact style

* Make core page layout responsive and update apps list to be responsive

* Update mobile design of apps page

* Update more pages to be responsive and add mobile specific components

* Refactor main portal page into multiple components

* Update multiple pages to be responsive and improve loading experience

* Make automation history page responsive

* Update backups page to be responsive

* Update pickers to use absolutely positioned root popover so that overflow does not matter

* Fix some responsive styles

* Fix update link in app overview

* Improve dropdown logic

* Lint

* Update click outside handler to handle modals properly

* Remove log

* Fix mobile menu upgrade button not closing menu

* Hide groups page if disabled at tenant level

* Centralise menu logic and show full menu on mobile

* Update app access assignment and fix backups table

* Ensure avatars cannot be squished

* Standardise disabled field text colour

* Allow developer users to access users, groups and usage pages

* Allow readonly access to users and groups for developer users

* Remove logs

* Improve users page loading experience

* Improve responsiveness on apps list page and fix discussions link styles

* Update spacing on user and group detail page and fix usage page showing wrong copy

* Fix logo override not working

* Pin minio version to an old one that supports the fs backend in dev

* Shrink upgrade button

* Shrink user dropdown

* Update assignment modal text

* Remove clickable visual styles from plugins

* Always show groups section in app access page

* Update app overview button styles to include more CTAs

* Hide edit and view links in more menu on overview page unless on mobile

* Make usage stats responsive and fix layout issues

* Add core page layout for onboarding to frontend-core

* Add initial work on fancy form components for onboarding

* Add checkbox component and add error handling to fancy form fields

* Add fancy select and improve other fancy components

* Update fancy components and fix select rounded corners

* Fix mobile styles for split pages

* Revert google button

* Fix links not working with click handlers

* Fix label animation

* Improve styles of fancy components

* Improve mobile compatibility with fancy button radio

* Revert changes to builder files for testing

* Tidy up small UI issues

* Improve some minor design issues

* Fix issue with scroll padding not being applied

* Ensure unauthorised users cannot view pages they should not be able to

* Lint
2023-01-23 15:38:43 +00:00
Dean 910a077d19 Merge fix 2023-01-23 09:59:01 +00:00
Dean a10bd138ff Merge remote-tracking branch 'origin/develop' into feature/user-onboarding-overlays 2023-01-23 09:34:20 +00:00
Dean a9ce6e9cc0 Minor fixes for reactivity issues and some updates 2023-01-23 09:06:21 +00:00
Dean 14da8c0c9e Added new onboarding tour flow for builder 2023-01-23 00:32:01 +00:00
melohagan 245d64d1ad Return empty not null on clear (#9078) 2023-01-22 15:24:48 +00:00
Peter Clement 47663ca395 update datasource config to allow env var selection 2023-01-19 16:43:06 +00:00
Andrew Kingston 2a2466fbda More fixes (#9387)
* Mark filters as nested settings to support persisting bindings post block ejection

* Add support for searching on linked fields in blocks

* Fix multi-select pickers closing on every click

* Target spectrum root element by default when rendering popovers, and allow customisation via context for client library

* Don't send up invalid HBS expressions when filtering on dates in blocks with empty date value

* Move profile above theme in user dropdown
2023-01-19 16:09:40 +00:00
Andrew Kingston d92f1a7097 Portal redesign (#9336)
* Update BB logo to black

* Update top nav bar and core layout

* Add redesign for apps pages

* Update user and groups pages

* More WIP portal redesign!

* Fix top nav colours and fix selected tab not updating

* Remove log

* Update copy on settings pages

* Update and standardise page headers and subtitles, and remove side nav titles

* Update font styles to allow for easy customisation

* Update button styles to always use newStyles, update auth page styles

* Update settings pages to new designs

* Update structure for account pages

* Add initial rewrite of app overview section

* Update config checklist to properly center

* Update app overview version and name/url screens

* Add tooltip to explain why URL cannot be changed until unpublishing

* Update overview automation history tab

* Update overview backups page

* Rewrite app overview access tab

* Update table hover colours

* Remove scrolling from tables when not required and stop selects from updating their own state locally

* Update table styles to support flexible column widths much better

* Fix extremely long strings in breadcrumbs not wrapping

* Fix multiple issues with long text overflow

* Fix flashing in version settings page

* Fix loading bugs in app backups page

* Add sidebar for portal and use it for automation history. Fix multiple overflow and scrolling issues

* Tidy up

* Update user details page to use tables and match designs

* Update users detail page

* Update user and group details pages with new tables

* Fix automation error linking from apps page and improve automation fetching logic in automation history

* Move theme and API key into user profile dropdown instead of settings

* Move settings before account and show plugins for devs

* Convert plugins page to table and update components and modals

* Update links when going back from the builder

* Update plugin search placeholder

* Fix URLs in app overview

* Properly handle text overflow in plugins table

* Remove getting started checklist

* Fix checklist removal and fix profile modal

* Update email details page to match new designs

* Cleanup

* Add licensing and env logic to determine which account links to show

* Update upgrade button URL for cloud accounts

* Update app list to use a more compact style

* Make core page layout responsive and update apps list to be responsive

* Update mobile design of apps page

* Update more pages to be responsive and add mobile specific components

* Refactor main portal page into multiple components

* Update multiple pages to be responsive and improve loading experience

* Make automation history page responsive

* Update backups page to be responsive

* Update pickers to use absolutely positioned root popover so that overflow does not matter

* Fix some responsive styles

* Fix update link in app overview

* Improve dropdown logic

* Lint

* Update click outside handler to handle modals properly

* Remove log

* Fix mobile menu upgrade button not closing menu

* Hide groups page if disabled at tenant level

* Centralise menu logic and show full menu on mobile

* Update app access assignment and fix backups table

* Ensure avatars cannot be squished

* Standardise disabled field text colour

* Allow developer users to access users, groups and usage pages

* Allow readonly access to users and groups for developer users

* Remove logs

* Improve users page loading experience

* Improve responsiveness on apps list page and fix discussions link styles

* Update spacing on user and group detail page and fix usage page showing wrong copy

* Fix logo override not working

* Pin minio version to an old one that supports the fs backend in dev

* Shrink upgrade button

* Shrink user dropdown

* Update assignment modal text

* Remove clickable visual styles from plugins

* Always show groups section in app access page

* Update app overview button styles to include more CTAs

* Hide edit and view links in more menu on overview page unless on mobile

* Make usage stats responsive and fix layout issues

* Add comment to docker-compose config
2023-01-18 13:56:53 +00:00
melohagan 3ea5078f07 Undo time offset (#9140) 2023-01-13 17:03:46 +00:00
Andrew Kingston 387c3be2b4 Remove clickable visual styles from plugins 2023-01-13 12:01:34 +00:00
Andrew Kingston 1d9ab4163f Standardise disabled field text colour 2023-01-13 08:28:33 +00:00
Andrew Kingston 0f47d8da38 Ensure avatars cannot be squished 2023-01-13 08:28:21 +00:00
Andrew Kingston 034871ebad Remove log 2023-01-12 15:41:00 +00:00
Andrew Kingston 2477f4f40b Update click outside handler to handle modals properly 2023-01-12 15:39:46 +00:00
Andrew Kingston 020cddc76e Improve dropdown logic 2023-01-12 14:42:05 +00:00
Andrew Kingston 3778ab3bd5 Update pickers to use absolutely positioned root popover so that overflow does not matter 2023-01-12 09:18:17 +00:00
Andrew Kingston 5cf6ba89cf Update multiple pages to be responsive and improve loading experience 2023-01-11 11:58:27 +00:00
Andrew Kingston 34adcdcddf Update more pages to be responsive and add mobile specific components 2023-01-11 09:11:35 +00:00
Andrew Kingston 6871172822 Make core page layout responsive and update apps list to be responsive 2023-01-11 08:29:57 +00:00
Andrew Kingston a38d1ec583 Update app list to use a more compact style 2023-01-11 08:10:56 +00:00
Andrew Kingston f805f6d7f3 Convert plugins page to table and update components and modals 2023-01-09 11:12:54 +00:00
Dean bc933638ef Added sorting to the options field 2023-01-04 13:08:28 +00:00
Andrew Kingston 3dd5916f24 Update user and group details pages with new tables 2022-12-21 16:33:25 +00:00