1
0
Fork 0
mirror of synced 2024-09-18 02:08:34 +12:00
Commit graph

1023 commits

Author SHA1 Message Date
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