Commit Graph

2566 Commits

Author SHA1 Message Date
Martin McKeaveney dd8e54c5e1 update airgap script and enable support for offline mode 2023-06-15 15:20:14 +01:00
Dean 3843b98cf8 Merge remote-tracking branch 'origin/develop' into feature/app-settings-section 2023-06-15 12:51:25 +01:00
Adria Navarro df3afe2a7c Merge pull request #10918 from Budibase/budi-5262/support_pg_client_cert
Budi 5262 - Support pg client cert
2023-06-15 12:40:16 +01:00
Dean c876568865 Merge remote-tracking branch 'origin/develop' into feature/app-settings-section 2023-06-15 12:02:29 +01:00
Adria Navarro b7f0387577 Merge branch 'develop' into budi-5262/support_pg_client_cert 2023-06-15 11:13:52 +01:00
Dean c2f8d54a8a Merge remote-tracking branch 'origin/develop' into feature/app-settings-section 2023-06-15 10:59:28 +01:00
Dean 08ea400312 Merge commit 2023-06-15 10:59:24 +01:00
Adria Navarro 37e27a881b Merge branch 'develop' into backmerge-master 2023-06-15 10:18:34 +01:00
Adria Navarro f446bd96dd Merge branch 'master' into backmerge-master 2023-06-15 10:16:21 +01:00
Conor Webb 7e3b6fd07b Prevent premature closure of imported users modal. (#10916) 2023-06-15 09:41:17 +01:00
Adria Navarro bfc6bb6a6e Add spinner while saving datasources 2023-06-14 17:07:47 +01:00
Adria Navarro fa835e65ef Add loading when saving datasource 2023-06-14 16:57:36 +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
Adria Navarro f31c615e18 Merge branch 'develop' into backmerge-master 2023-06-14 15:45:47 +01:00
Martin McKeaveney 307e6dde02 update bblogoimgur to bblogo 2023-06-14 15:21:46 +01:00
Martin McKeaveney cd1675098f removing need for external internet assets and self hosting our own fonts 2023-06-14 14:54:27 +01:00
Andrew Kingston 0dbd709438 Merge branch 'develop' of github.com:Budibase/budibase into grid-block 2023-06-13 15:15:41 +01:00
Dean 0dda7afee7 Added the export page 2023-06-12 14:09:11 +01:00
Dean 5a7a348ded Added the export section link 2023-06-12 11:49:33 +01:00
Martin McKeaveney 59b33e6867 code review 2023-06-11 18:51:08 +01:00
Martin McKeaveney 7e45773d02 diagnostics panel 2023-06-10 16:16:52 +01:00
Andrew Kingston 881e3503e5 Lint 2023-06-09 13:08:26 +01:00
Dean 795d8a5875 Merge commit 2023-06-09 11:42:10 +01:00
Andrew Kingston 462ae1c894 Update builder blur transition duration to match other animations 2023-06-09 11:41:55 +01:00
Martin McKeaveney 746afaf573 initial work on debug panel 2023-06-08 19:50:29 +01:00
Andrew Kingston bbdb304fe4 Update loading state in preview overlay 2023-06-08 15:51:24 +01:00
Andrew Kingston b3e23562f0 Update in builder preview to be a full screen overlay rather than opening in a new tab 2023-06-08 15:12:50 +01:00
Martin McKeaveney a9787ff608 fix REST connector failure to save 2023-06-08 12:00:34 +01:00
Andrew Kingston 752dd93d84 Add initial grid block, and update grid to keep indentation consistent when row expansion is disabled 2023-06-07 15:50:38 +01:00
Adria Navarro deeba8bae3 Revert "Merge branch 'develop' into master"
This reverts commit 6f29c978e0, reversing
changes made to 1c6ff73c19.
2023-06-06 22:06:34 +01:00
Dean e1b63842e5 Adding in relocated screen components 2023-06-06 16:24:30 +01:00
Dean f37c49e8af Initial commit 2023-06-06 16:16:09 +01:00
Adria Navarro 4247b4425c Clean code 2023-06-06 11:29:50 +01:00
Adria Navarro 25c921e340 Validate url 2023-06-06 11:29:49 +01:00
Adria Navarro 1e238ce693 Validate google sheets url 2023-06-06 11:29:49 +01:00
Adria Navarro d4ba73f331 Open continue 2023-06-06 11:29:49 +01:00
Adria Navarro ee81fd7a59 Split auth google section 2023-06-05 18:26:11 +01:00
Martin McKeaveney c53b7b0a44 Merge pull request #10789 from Budibase/collaboration-lock-transfer
Transfer lock to next oldest session when disconnecting from the builder
2023-06-05 17:47:40 +01:00
Dean f20653d4ca Branding fixes 2023-06-05 15:20:04 +01:00
Dean 42e3ca1872 Merge remote-tracking branch 'origin/develop' into fix/logo-urls 2023-06-05 14:14:02 +01:00
Rory Powell e00eb171be WIP logo url fixes 2023-06-05 14:01:46 +01:00
Andrew Kingston 4a0e23a171 Transfer lock to next oldest session when disconnecting from the builder 2023-06-05 13:54:17 +01:00
Andrew Kingston 6de83a6ab4 Lint 2023-06-05 11:57:36 +01:00
Andrew Kingston 29968df6d9 Fix not being able to navigate away from the design section 2023-06-05 11:55:18 +01:00
Andrew Kingston d87e943750 Fix user avatar in audit logs page 2023-06-05 11:13:24 +01:00
Andrew Kingston d4e28518d2 Fix error on SCIM page 2023-06-05 08:55:16 +01:00
Andrew Kingston ffde512307 Update position of floating buttons to be consistent 2023-06-05 08:49:35 +01:00
Andrew Kingston 920fea7b1f Remove beta button from grid, add feedback button to data section linking to collaboration maze 2023-06-05 08:48:02 +01:00
Andrew Kingston f7f9a359b2 Ensure edit button in overview is never disabled as we don't use the lock any more 2023-06-05 08:27:14 +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
deanhannigan ae9b8e9f2f Merge pull request #10752 from Budibase/fix/overview-deployments-updating
Fix for deployment refresh in overview section
2023-05-31 15:47:16 +01:00
Dean 8b1eca696a Fix for deployment refresh in overiew section 2023-05-31 15:01:15 +01:00
Dean 24d57e8fd2 Merge remote-tracking branch 'origin/develop' into feature/db-query-save-prompt 2023-05-31 11:56:55 +01:00
Dean cd95df629e Merge remote-tracking branch 'origin/develop' into feature/binding-v2-updates 2023-05-31 11:07:47 +01:00
Gerard Burns 23ee9f4af8 Post Sign Up Onboarding Changes (#10701)
* wip

* PR Feedback

* Fixes

* PR Feedback

* PR Feedback

* PR Feedback
2023-05-30 12:54:57 +01:00
Andrew Kingston 22815a064c Fix overflow issue in apps list 2023-05-30 11:16:02 +01:00
Andrew Kingston be40d72f55 Merge pull request #10712 from Budibase/data-section-multidev
Multiple user collaboration for data section
2023-05-30 09:08:14 +01:00
Dean e8c6185add Refactoring and some styling updates 2023-05-29 21:19:44 +01:00
Dean 0730c15b14 Merge remote-tracking branch 'origin/develop' into feature/binding-v2-updates 2023-05-28 22:29:47 +01:00
Andrew Kingston 852df16448 Lint 2023-05-26 10:29:03 +01:00
Dean 56bac67d49 Merge commit 2023-05-26 10:11:51 +01:00
Adria Navarro 77a619945b Merge pull request #10680 from Budibase/budi-6933-verify-data-source-connection-during
Verify data source connection before saves
2023-05-26 10:47:42 +02:00
Andrew Kingston cc7df474c9 Standardise usage of user avatars and colours across the entire platform 2023-05-26 09:24:53 +01:00
Andrew Kingston 5cf4753853 Merge branch 'develop' of github.com:Budibase/budibase into data-section-multidev 2023-05-24 15:14:32 +01:00
Adria Navarro d3eb262bed Validate onboarding 2023-05-24 11:07:49 +02:00
Adria Navarro 237cda064c Simplify integration features 2023-05-24 10:50:51 +02:00
Adria Navarro 3c3f67c300 Handle name change on onboarding 2023-05-24 10:03:49 +02:00
Adria Navarro 6659a697de Improve messaging 2023-05-24 10:03:49 +02:00
Adria Navarro 3951788f7e Improve messaging 2023-05-24 10:03:49 +02:00
Adria Navarro d6b00efa90 Verify datasouce before updating 2023-05-24 10:03:49 +02:00
Adria Navarro cff9c26ef2 Lint 2023-05-19 17:46:34 +02:00
Andrew Kingston 3794d8e204 Simplify websocket comms for grid and improve builder socket 2023-05-18 08:57:20 +01:00
Andrew Kingston 0bebacc741 Merge branch 'develop' of github.com:Budibase/budibase into data-section-multidev 2023-05-17 16:38:01 +01:00
José Vte. Calderón 4928778b0b Merge pull request #10542 from Budibase/user-limit-ui
Adds account locking if user limit is exceeded
2023-05-17 09:20:55 +02:00
Andrew Kingston 1e48020001 Merge branch 'develop' of github.com:Budibase/budibase into data-section-multidev 2023-05-16 15:23:30 +01:00
mike12345567 14806809e8 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-05-16 14:54:44 +01:00
Andrew Kingston 6ed691be1d Improve builder socket 2023-05-16 14:18:31 +01:00
Andrew Kingston e28ec0a5a8 Merge pull request #10556 from Budibase/cheeks-fixes
Sort tables in data section + show full screen URLs on hover
2023-05-15 13:54:55 +01:00
deanhannigan 110e02c454 Merge pull request #10468 from Budibase/feature/user-side-panel-ux-updates
Designer user side panel UX updates.
2023-05-15 12:51:51 +01:00
Dean 5b2f37e175 Merge remote-tracking branch 'origin/develop' into feature/db-query-save-prompt 2023-05-15 12:09:25 +01:00
Adria Navarro deb73be17d Merge branch 'develop' into budi-6158/allow_searching_users
# Conflicts:
#	packages/pro
2023-05-15 13:02:03 +02:00
Dean 6fa59da628 Merge remote-tracking branch 'origin/develop' into feature/portal-pending-users-section 2023-05-15 11:02:25 +01:00
jvcalderon 17e2a4d7e4 Refactor -> Avouid explicit usage of pricing url 2023-05-15 09:00:20 +02:00
jvcalderon fc846e1580 Merge branch 'develop' into user-limit-ui 2023-05-15 08:38:45 +02:00
Andrew Kingston d752448403 Disable command palette and tour for non lock holders and forcefully prevent access to the design and automate pages 2023-05-12 14:33:00 +01:00
Andrew Kingston 5f81584a14 Update top bar when not the primary builder and prevent flashing during loading states 2023-05-12 14:16:10 +01:00
Andrew Kingston 7f96fbf741 Remove single user restriction and notify users if they are the primary builder or not 2023-05-12 13:55:08 +01:00
Andrew Kingston a00d502acb Add title attribute to reveal full screen URLs when hovering in screen list panel 2023-05-12 08:04:34 +01:00
Andrew Kingston f7fbce3444 Fix multiple issues with first app onboarding 2023-05-11 17:11:13 +01:00
Dean 4b45f1a9f0 Merge remote-tracking branch 'origin/develop' into feature/user-side-panel-ux-updates 2023-05-11 12:17:45 +01:00
jvcalderon f2fc1c0b60 Refactor: Avoid will... 2023-05-11 09:43:54 +02:00
jvcalderon 4d6669b6fe Modify modal to open pricing plan 2023-05-11 09:13:00 +02:00
jvcalderon 58878ac57c Adds account locking if user limit is exceeded 2023-05-11 08:20:52 +02:00
Dean c1802452ff Merge remote-tracking branch 'origin/develop' into feature/db-query-save-prompt 2023-05-10 16:04:17 +01:00
Adria Navarro 6d6f8d416c Arrange UI 2023-05-10 15:46:01 +02:00
Adria Navarro 1434bb9ac9 Improve messaging 2023-05-10 15:23:00 +02:00
Adria Navarro 46963bca69 Search on frontend 2023-05-10 15:19:45 +02:00
Adria Navarro 5e7a8f18e5 Fix loading 2023-05-10 12:32:05 +02:00
Adria Navarro d33a06c89c Send search term to api call 2023-05-10 12:32:05 +02:00
Adria Navarro 9b6cb5d09d Merge branch 'develop' into budi-6158/prevent_duplicated_group_names 2023-05-10 10:58:41 +02:00
Adria Navarro eae4f5c9b9 Merge pull request #10508 from Budibase/budi-6158/extract_components
BUDI-6158 - Extract components
2023-05-10 10:57:06 +02:00
Adria Navarro ad257366cf Merge branch 'develop' into budi-6158/paginage-group-users 2023-05-10 10:37:38 +02:00
Adria Navarro a80f00c954 Merge branch 'develop' into budi-6158/prevent_duplicated_group_names
# Conflicts:
#	packages/pro
2023-05-10 10:34:27 +02:00
Adria Navarro 3a9c90ac6b Show error pre-submit 2023-05-08 13:07:54 +02:00
Adria Navarro 51f5f4c018 Display error when populated from the backend 2023-05-08 11:53:14 +02:00
Adria Navarro f59a9da809 Display error when populated from the backend 2023-05-08 11:31:35 +02:00
Adria Navarro b1f1095c89 Split components 2023-05-05 20:21:06 +01:00
Adria Navarro e4b0c55aa6 Split group users component 2023-05-05 20:10:54 +01:00
Adria Navarro 5e8a2de089 Handle cursors on refresh 2023-05-05 16:33:02 +01:00
Adria Navarro e91f9ea5cd Refetch initial data instead of refreshing 2023-05-05 16:33:01 +01:00
Adria Navarro 89afec9bfc Refetch users on changes 2023-05-05 16:33:01 +01:00
Adria Navarro 2c49232fa8 Renames 2023-05-05 16:33:01 +01:00
Adria Navarro 8102c54bc3 Add searching for users back 2023-05-05 16:33:01 +01:00
Adria Navarro 10fcca92f6 Paginate users on group views 2023-05-05 16:33:01 +01:00
Dean 5cf0e57eec Feedback updates and a fix pass the current query after updating a user invite 2023-05-04 16:01:34 +01:00
Peter Clement 1fe7f2fe1b fix copy 2023-05-04 11:09:21 +01:00
Peter Clement 75d8dd907f fix for limit banner re-appearing 2023-05-04 11:00:04 +01:00
Dean 6331299b7b Working commit 2023-05-03 17:26:58 +01:00
Dean 20885a708d Feedback updates 2023-05-03 12:23:21 +01:00
Dean 19ed0ec3f5 Feedback updates and a fix for z-index issue in user side panel 2023-05-03 11:22:38 +01:00
Dean 41006d363a Merge remote-tracking branch 'origin/develop' into feature/portal-pending-users-section 2023-05-02 14:45:31 +01:00
Dean bb98160317 On focus search behaviour renders to 100 invites, all groups and the first page of current users 2023-05-02 14:35:15 +01:00
Dean 530c4fb00f Merge remote-tracking branch 'origin/develop' into feature/user-side-panel-ux-updates 2023-05-02 09:20:08 +01:00
Rory Powell 47933b9a92 Hide manage or renew button when customer uses invoicing + css updates (#10436)
* Hide manage or renew button when customer uses invoicing + css updates

* Remove usages of 'pro' and 'pro plan' from ui

* Enterprise plan -> Enterprise on enforce single sign on

* lint
2023-04-27 16:08:25 +01:00
Dean 4093516a0d Initial commit of filter UX behaviour 2023-04-27 12:46:40 +01:00
Rory Powell 972e2257b7 [draft] Pricing/fixes (#10424)
* Fix qa core suite

* Update package.json

* Lint

* Handle conflict on account metadata

* Fix issue adding users via csv import when on paid plan

* Fix user invites

* Lint
2023-04-27 08:25:53 +01:00
Dean 4f8e293dc9 Refresh pending invites after inviting a new user in the portal user menu 2023-04-26 16:42:27 +01:00
Dean 785b6f50ae Removed console debugging 2023-04-26 14:53:31 +01:00
Dean dbd73a1135 Merge remote-tracking branch 'origin/develop' into fix/client-versioning 2023-04-26 14:25:09 +01:00
Dean 5dff2f3017 Added pending users to user portal screen 2023-04-26 14:16:36 +01:00
Andrew Kingston 15bf1ace68 Standardise width of design section side panels to fix drawer width issues 2023-04-26 12:10:12 +01:00
Dean f3be917da1 Enrich the upgradable version property when fetching the app package 2023-04-25 12:16:02 +01:00
Andrew Kingston 123c47c4d1 Fix real root issue 2023-04-25 08:44:57 +01:00
Andrew Kingston 22d81fd858 Clear selected app ID from overview store when unmounting, and avoid sending up 'null' and 'undefined' string app ID headers 2023-04-25 08:35:25 +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
mike12345567 72d1394873 Further linting. 2023-04-21 12:07:28 +01:00
mike12345567 2056623897 Fixing linting. 2023-04-20 17:51:43 +01:00
mike12345567 060dc05afa Removing export all apps functionality from cloud - this was a very niche feature and often confusing, now there is a consistent flow for starting out in self host. 2023-04-20 17:19:17 +01:00
Andrew Kingston 55ce83c444 Grid UI in data section (#10329)
* Add WIP spreadsheet

* Add footer and improve styles

* Refactor to use IDs and support changing text values inline

* Add inline editing of options fields

* Add row deletion and fix sizing

* Add ability to add new rows

* Fix z-index issue with option cells

* Remove deletion notification and fix selection

* Add gap between items in an options cell

* Tweak options cell to be pixel perfect

* Fix padding around sheet not working when scrolling

* Add resizable columns and add support for all themes

* Allow multiselect component and field to support text values

* Generate inclusion schema when importing multiselect columns

* Add support for multiselect type

* Add number cell

* Add functional date cell

* Disable editing autocolumns

* Make sticky column the primary display and fix opening options cells

* Improve display of relationship cell and options cell

* Support empty dates and use CSS variables for easier styling

* Use more CSS variables and add utils to spreadsheets

* Add drag and drop column reordering

* Break out reordering logic into new stores

* Rename reordering to reorder

* Break out other components from spreadsheet for cleaner code

* Break out spreadsheet body into its own component

* Split into more modular components and try virtual rendering

* Test absolute positioning

* Optimise virtual rendering for both columns and rows to handle infinitely large datasets

* Optimise scrolling and virtual rendering performance

* Fix columnn reordering

* Migrate sheet to data section, improve reordering and reszing

* Clean up more sheet state and increase performance

* Fix multiple issues with z-index, reordering and resizing

* Fix date cells in sheets

* Separate data fetching logic from main sheet and tidy up

* Add infinite scroll, improve row fetching, add error handling, fix svelte store updates

* Fix overly thin scrollbars in firefox

* Use nicer checkboxes and fix some hover styles

* Fix issue reordering columns in firefox and increase performance

* Tidy up

* Use search endpoint instead of get endpoint to fetch individual rows so that relationship enrichment occurs

* Tidy up

* Fix relationship issues when creating rows

* Optimise resetting data to smoothly transition when changing datasource

* Add WIP virtual dom implementation to massively increase performance

* Refactor spreadsheet into more discreet components

* Fix multiple issues, clean up rendering, improve performance

* Tune cell sizes

* Fix some scroll issues and add shadow to sticky column

* Fix issue when no primary display is set

* Add padding to sheet

* Improve styles

* Allow reordering columns to be the first column after sticky column

* Fix row hover state not being removed

* Update hovered row on wheel

* Update scroll styles and z-index

* Improve scroll logic and handle horizontal wheel events

* Simplify and improve z index styles

* Fix styles when using no sticky columns

* Improve rendering performance

* Improve performance by removing keyed each blocks and fix reorder target styling

* Ensure scroll top is always properly reset and add config store

* Allow configuring selecting rows and adding rows

* Integrate sheet into data section better

* Add back in functional delete row button

* Refactor stores and make state more modular

* Lint and remove unused deps

* Remove add column button

* Fix options cells being unable to scroll

* Add WIP initial multi-user websocket implementation for sheets

* Add WIP multi-user UI for sheet interface

* Fix issues with not disconnecting users when swapping datasource and improve multi-user UI

* Update layout and remove logging

* WIP column popovers for dataspace sheets

* Add popovers to sheet column headers, improve mouse UX

* Tidy reordering stuff

* Refactor resizing logic into store and improve UX around hover events when resizing/reordering

* Add column sorting and reordering via popover

* Handle context menu events in header cells

* Fully integrates sheets with datasection and remove lots of old stuff

* Fix buttons being highlighted when filters are set

* Add flags for controlling editing and adding rows in sheets

* Count context menu clicks when considering the click outside handler

* Prevent adding rows to users table and remove log

* Expose loading state of sheet and improve column highlighting logic

* Small style updates

* Update delete button and allow horizontal scrolling

* Add context menu to sheets with deletion and duplication features

* Improve UX around selecting rows and cells

* Add basic keyboard interactions to dataspaces

* Improve keyboard navigation in sheets

* Remove unnecessary searching through large rows array

* Fix issue with deleting rows and fix relationship cells displaying undefined

* Improve loading state

* Update menu width

* Merge with new shared-core and moved lucene utils

* Improve rendering performance and simplify component props

* Remove new row component and improve mouse interactions

* Tidy up buttons above sheets and add FAB for adding rows

* Optimise sheet data loading and add sort button

* Update sorting and remove logs

* Add sheet button to control column visibilty, improve sorting, improve disabled states

* Fix bug with select placeholders and fix sorting loops causing endless refreshes

* Update filter button to look consistent and add double click to resize columns to default width

* Ensure all derived stores have default values

* Reset scrolling when datasource changes and fix wasted pagination calls

* Improve performance by removing searches through the full row array

* Add advanced key handling for spreadsheets and improve blur and focus UX

* Ensure the selected cell is always visible

* Add icons for all data types

* Add new long form text cell

* Add boolean cell

* Add ability to focus first cell via tab

* Add cells for formulae and JSON

* Remove console logs

* Add attachment cell

* Increase padding to account for attachment dropdown

* Prevent deleting autocolumns via keyboard

* Fix attachments overflowing

* Improve sort button, remove header more icons unless hovered and highlight sorted column

* Add functional relationship cell

* Improve relationship cell

* Fix race conditions and edge cases in relationship cell

* Update user avatar colours

* Improve preservation of column widths in sheets when making schema changes

* Remove redundant sheet schema context and fix issues with mutating table schema

* Disable websocket in sheets

* Rollback state changes when row saving fails

* Fix one-to-many relationships allowing selecting multiple rows on both sides

* Remove log

* Make sheet gutter width customisable

* Allow expanding rows using existing edit row modal

* Fix text cell not using full width

* Sort columns to put autocolumns last

* Add new footer for adding rows, improve store memoization, support inverting all data types

* Improve animations for adding rows and handle add row failure

* Ensure all sheet feature flags work as expected and fix multi row deletion

* Fix options ordering

* Fix add row button not appearing when horizontal scrollbar is hidden

* Fix selecting newly created rows

* Remove log and add notification when creating or editing columns

* Move new row component to top, automatically invert cell renderers when required

* Add resizable rows

* Fix overlapping long form text borders

* Fix scroll not working in new row

* Update new row component, fix z-index issues, improve UX

* Large refactors to row creation, naming and sheet APIs

* Refactor stores to fix dependency issues, use modals for adding rows, simplify sheet

* Fix resize overlays

* Add custom colors for drop shadows and blue-100 to all themes, fix sticky column shadow

* Increase horizontal padding when scrolling to a selected cell

* Add multiple validation improvements

* Add validation to duplicating rows

* Remove log

* Restore missing event handler

* Improve data fetch reset logic, fix issues with stale cache in spreadsheets

* Fix issue with cell colors, improve row API interactions to avoid relationship issues due to API response differences

* Fix filters not working

* Simplify logic for reordering and add new overlay. Simplify sheet cells

* Fix importing and exporting with sheets

* Fix reorder overlay z-index issue

* Fix issue when no display column exists

* Fix issue with display column not being able to be unset

* Add persitence to column size and order in sheets

* Improve sheet integration with data section and add horizontal cell inversion

* Fix double click resizing of sticky column

* Make column visibility persistent and refactor column updating

* Improve sheet loading states

* Add beta button to sheet, tidy up constants

* Work around table API inconsistencies to handle table schema updates

* Add additional reorder options and improve beta button

* Improve sorting

* Add copy and paste to spreadsheet and add immediate editing of cells without additional click

* Remove copy/paste rows, remove move to start/end, improve copy/paste for cell values

* Fix dependency ordering

* Refactor other sheet stores to improve dependency ordering

* Fix errors not showing in sticky column and clear cell value on backspace press

* Rewrite relationship cell and update default column widths

* Ensure dynamic row height is properly accounted for

* Update text cells, number cells, long form field cells and relationship cells to respect row height

* Fix row heights with sticky column

* Update JSON, boolean and date cells to respect row height

* Update attachment cell to respect row height

* Use unique background for focused cell

* Standardise shadows across cell types

* Persist row height as table metadata

* Improve a few design issues

* Clean up

* Fix relationship cells not being readonly

* Lint

* Fix icon padding in relationship picker

* Improve styles in relationship dropdown

* Update shadow

* Update relationship icons

* Update relationship icons

* Update error label max size and position

* Prevent using invalid data types as display columns

* Add menu option to edit rows in modal

* Prevent sheet handling key events sourcing from modals

* Standardise menu overlay shadow and add count to relationship cells when hovering

* Improve relationship cell performance

* Remove spellcheck from text fields

* Fix resize overlay handler height

* Fix reorder overlay height

* Remove unused code and change selected table faster in data section

* Fix table selection not working when on datasource page

* Improve sheet loading state

* Add rowHeight property to table types

* Restore builder middleware

* Remove any naming of dataspaces

* Lint

* Disable row import button for users table and add optional chaining to spreadsheetsocket invocations to fix tests

* Use unique user edit modal for editing users in sheets

* Add schemaOverrides prop to sheet and use it to customise user table schema

* Update number icon

* Fix primary display column not properly disabling certain menu options

* Merge

* Update beta button position slightly

* Update beta button text

* Fix HMR for custom plugins which was broken due to signed minio links

* Add maze link to grid

* Update koa <> socket.io integation to improve fake koa context and allow current app middleware

* Rename sheet to grid

* Fix menu postiion, fix copy and paste in menu not working

* Remove commented out usages of websocket emissions for grid
2023-04-20 15:56:24 +01:00
Andrew Kingston 9025e18f15 Misc fixes (#10345)
* Fix some issues with component and screen settings layout

* Fix issue with component setting labels when multi-line

* Remove early termination of form validation when encountering an errored field

* Update free logo badge to be a sticky footer

* Close side panels when clicking on links
2023-04-19 14:21:11 +01:00
adrinr 4a67136c72 Remove unnecessary initialisation 2023-04-17 09:49:11 +01:00
adrinr 965a417a21 Fix disabling fields on first load 2023-04-16 18:45:09 +01:00
Michael Drury 9e68e9cf2f Merge pull request #10181 from Budibase/fix/same-tab-googlesheets-onboarding
Minor googlesheets onboarding improvement
2023-04-03 12:22:09 +01:00
Adria Navarro e1669c8260 Merge pull request #10022 from Budibase/feature/scim
Feature - SCIM endpoints
2023-04-03 13:22:01 +02:00
adrinr d943e387b1 Expose actual error message 2023-04-03 12:00:06 +01:00
mike12345567 ea70b6232f Making login page open SSO authorization on same page, rather than leaving a dead tab. 2023-03-31 14:52:18 +01:00
mike12345567 8673ed1dae Minor improvement - opening the google authorization in the same tab as onboarding rather than creating a dead tab. 2023-03-31 14:03:34 +01:00
Michael Drury 1c6465edcb Merge pull request #10172 from Budibase/fix/budi-6797
Googlesheets onboarding - fix in cloud, disable self host
2023-03-31 13:19:29 +01:00
mike12345567 75baba76d6 Resolving PR comments. 2023-03-31 11:38:09 +01:00
adrinr ec0acadd0a Fix user crossover on the bulder when no using account portal 2023-03-31 09:46:56 +01:00
mike12345567 42320b1d95 Merge branch 'develop' of github.com:Budibase/budibase into fix/budi-6797 2023-03-30 17:29:58 +01:00
mike12345567 32c78ec9bf This makes it so that Googlesheets works correctly as part of onboarding in the Cloud, in self host the googlesheets onboarding option has been hidden as it is too complex to get the user to setup the correct integrations with their google account while doing the first time onboarding to an app. 2023-03-29 19:58:24 +01:00
mike12345567 26aeac357d Removing tenancy validity check, instead depending on the PLATFORM_URL environment variable for determining tenant ID. 2023-03-29 16:19:35 +01:00
Michael Drury d255bfad0b Merge pull request #10149 from Budibase/fix/budicloud-log-out
Budicloud logout on googlesheet auth
2023-03-29 14:47:15 +01:00
mike12345567 b6be98fa4e Making logic around logout very explicit. 2023-03-29 14:22:07 +01:00
mike12345567 70d91acc41 Adding a check for the tenant ID - to make sure it is a real tenant before forcing the user out of the platform based on it. 2023-03-29 14:19:54 +01:00
Rory Powell d6992bbf94 Merge branch 'master' into merge-master-develop 2023-03-29 11:52:09 +01:00
adrinr 204b6d2950 Fix config type 2023-03-29 09:31:07 +01:00
adrinr 5e478f2eaa Fix setting scim config 2023-03-29 09:27:52 +01:00
Rory Powell 89d19a87a7 Revert "Merge pull request #10038 from Budibase/fix/budi-6723" (#10143)
This reverts commit b1b18bef18, reversing
changes made to e841ccd0ed.
2023-03-29 08:48:06 +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
adrinr ac1da306f9 Replace license with feature 2023-03-28 16:46:23 +01:00
adrinr 14347096e4 Replace license with feature 2023-03-28 16:46:23 +01:00
adrinr b50e4df28c Use feature instead of license 2023-03-28 16:46:23 +01:00
adrinr dd2ec5ed78 Don't allow deleting users that are AD sync 2023-03-28 16:46:23 +01:00
adrinr 3c081843f0 Remove unnecessary deletes 2023-03-28 16:46:23 +01:00
adrinr 5d487950b1 Change default scimenabled value 2023-03-28 16:46:23 +01:00
adrinr 045af06edb Use feature flag 2023-03-28 16:46:23 +01:00
adrinr 2fb6f81094 Display api key 2023-03-28 16:46:23 +01:00
adrinr 9094d3c9fd Display right provisioning url 2023-03-28 16:46:23 +01:00
adrinr 5b98d9cbd9 Show settings 2023-03-28 16:46:23 +01:00
adrinr 675d3c5c65 Break components 2023-03-28 16:46:23 +01:00
adrinr 53020e2d2d Create config 2023-03-28 16:46:23 +01:00
adrinr c80d265ea3 Show SCIM banner on group detail 2023-03-28 16:46:23 +01:00
adrinr 4ba0cf6d55 Don't allow deleting users from group 2023-03-28 16:46:23 +01:00
adrinr 76f6c86c0a Show SCIM banner in group list 2023-03-28 16:46:23 +01:00
adrinr 2e40cc6926 Reuse component 2023-03-28 16:46:23 +01:00
adrinr 1bc568f634 Do not display remove group option when readonly 2023-03-28 16:46:23 +01:00
adrinr 15ed91ef85 Make fields readonly if scim is enabled 2023-03-28 16:46:23 +01:00
adrinr 1a26899d90 Display banner if scim is enabled 2023-03-28 16:46:23 +01:00
adrinr 934a2f09d7 Right checks 2023-03-28 16:46:23 +01:00
adrinr 0c5d33a642 Show SCIM banner if SCIM enabled 2023-03-28 16:46:23 +01:00
mike12345567 f637512317 Adding error to check why logout might have occurred as well as a possible fix. 2023-03-28 15:14:28 +01:00
Dean c914ded42c Feedback updates 2023-03-28 11:18:49 +01:00
Dean 51f2557e9a Merge remote-tracking branch 'origin/develop' into feature/whitelabelling 2023-03-27 21:15:31 +01:00
Martin McKeaveney 191bf47179 Merge pull request #10048 from Budibase/fix/conditional-ui-drawer-sections
Fix component settings which have no labels appearing as undefined in conditional UI
2023-03-27 17:43:56 +01:00
Dean eb3e38bb61 Removed the license agreement toggle 2023-03-27 15:32:45 +01:00
Dean 8131d9dc6f Branding feature flag changes, config trimming and some fixes 2023-03-27 15:17:14 +01:00
Martin McKeaveney d1ae1871c0 allow arrow key navigation in the components panel 2023-03-24 16:32:41 +00:00
Dean d19a700612 Linting 2023-03-21 15:19:52 +00:00
Dean f0a8732631 Fix for the page title logic for the login page 2023-03-21 14:32:52 +00: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 75057e2b05 Simplify logic 2023-03-16 08:35:22 +00:00
Andrew Kingston 8d79a23700 Fix component settings which have no labels appearing as undefined in the conditional UI drawer 2023-03-16 08:30:16 +00:00
mike12345567 6174b6ae18 Squashing #10024 for master merge. 2023-03-15 14:16:45 +00:00
Dean c7e54947a8 Merge remote-tracking branch 'origin/develop' into feature/whitelabelling 2023-03-15 10:28:08 +00:00
mike12345567 c2de0ade7d Merge branch 'develop' of github.com:Budibase/budibase into fix/budi-6723 2023-03-14 14:25:46 +00:00
Dean 5ce52cad06 Working commit 2023-03-13 12:33:16 +00:00