Commit Graph

2640 Commits

Author SHA1 Message Date
Adria Navarro 1a7e845c56 Remove notifications from frontend-core 2024-04-04 21:27:21 +02:00
Adria Navarro 349b22ba25 Move downloadfile to frontend-core 2024-04-04 21:27:21 +02:00
Michael Drury 5437188385
Revert "Revert "Single attachment column type"" 2024-04-03 16:05:18 +01:00
Michael Drury 1cfe4da027
Revert "Single attachment column type" 2024-04-03 16:01:45 +01:00
Adria Navarro 32d11498d2 Change icons 2024-04-03 12:54:43 +02:00
Adria Navarro a8c3011071 Rename FieldType.ATTACHMENT to FieldType.ATTACHMENTS 2024-04-03 12:54:20 +02:00
Adria Navarro 39ac734edd Clean components 2024-04-03 12:53:55 +02:00
Adria Navarro 6d5c47e0cc Max 1 file on single attachment 2024-04-03 12:53:55 +02:00
Adria Navarro ed228a2288 Single attachment cell 2024-04-03 12:53:55 +02:00
Adria Navarro 7d88548255 More types 2024-04-03 12:53:55 +02:00
Adria Navarro f7c7ee91e2 Add single attachment type 2024-04-03 12:53:54 +02:00
Adria Navarro a6c56c35d4 Type 2024-04-03 12:43:51 +02:00
Adria Navarro 94890eae3e Type TypeIconMap 2024-04-03 12:26:25 +02:00
Adria Navarro 3d45dcea5f Type renderers 2024-04-03 12:10:21 +02:00
Andrew Kingston fd709308cd Merge branch 'master' of github.com:Budibase/budibase into new-datepicker 2024-04-02 09:52:08 +01:00
Andrew Kingston a07ee66ac4 Merge branch 'master' of github.com:Budibase/budibase into fix/skeleton-colours 2024-03-26 10:50:55 +00:00
Andrew Kingston 6c9127427c Fix issues with colours in app skeletons 2024-03-26 10:43:56 +00:00
José Vte. Calderón bb50c87ac4
Merge branch 'master' into feature/onboarding 2024-03-26 09:04:12 +01:00
Gerard Burns d9033b2636
Un-revert Skeleton Loader PR (#13180)
* wip

* wip

* wip

* client versions init

* wip

* wip

* wip

* wip

* wip

* linting

* remove log

* comment client version script

* lint

* skeleton loader type fix

* fix types

* lint

* fix types again

* fix manifest not being served locally

* remove preinstalled old client version

* add constant for dev client version

* linting

* Dean PR Feedback

* linting

* pr feedback

* wip

* wip

* clientVersions empty array

* delete from git

* empty array again

* fix tests

* pr feedback

---------

Co-authored-by: Andrew Kingston <andrew@kingston.dev>
2024-03-25 16:39:42 +00:00
jvcalderon 1da10c9a5f Merge branch 'master' into feature/onboarding 2024-03-25 12:51:57 +01:00
Andrew Kingston f458ae20a9 Fix requiring double keypress to create new rows 2024-03-20 13:46:52 +00:00
Adria Navarro bb4b24219b
Merge branch 'master' into BUDI-8084/single-attachment-column-setting 2024-03-15 12:53:11 +01:00
deanhannigan 7a737e7664
Merge branch 'master' into feature/app-list-actions 2024-03-15 09:31:54 +00:00
deanhannigan 72a671e93b
Merge branch 'master' into feature/app-list-actions 2024-03-15 09:10:57 +00:00
Adria Navarro e9f03649bd Send maximum to dropzone 2024-03-13 21:43:30 +01:00
Andrew Kingston b13d2d3803 Merge branch 'master' of github.com:Budibase/budibase into cheeks-snippets-poc 2024-03-12 15:38:23 +00:00
jvcalderon 40cb22a7d5 Adds OnboardingProcessCorrelationKey 2024-03-12 13:45:09 +01:00
Andrew Kingston fa685962a8 Merge branch 'master' of github.com:Budibase/budibase into cheeks-lab-day-binding-eval 2024-03-05 11:46:48 +00:00
Dean 41b55c28b7 Merge remote-tracking branch 'origin/master' into feature/app-list-actions 2024-03-04 15:13:47 +00:00
Dean 42893c1218 Merge remote-tracking branch 'origin/master' into feature/app-list-actions 2024-03-04 10:00:03 +00:00
Andrew Kingston 87e8b89075 Merge branch 'master' of github.com:Budibase/budibase into cheeks-lab-day-binding-eval 2024-02-29 19:12:52 +00:00
Andrew Kingston 613105d370
Merge branch 'master' into fix-grid-single-char-changes-v2 2024-02-29 17:05:35 +00:00
Gerard Burns 5ec4e90c6d
Revert "App Preview Skeleton (#12898)" (#13159)
This reverts commit 9a9b745795.
2024-02-29 12:51:56 +00:00
Andrew Kingston bc723c7094 Lint 2024-02-29 12:25:21 +00:00
Andrew Kingston acecea5704 Refactor grid row actions to be more explicit and remove extraneous flags 2024-02-29 10:30:38 +00:00
Andrew Kingston e876d14b92 Ensure unsaved pending changes to rows are applied when changing cell 2024-02-28 16:43:41 +00:00
Gerard Burns 9a9b745795
App Preview Skeleton (#12898)
* wip

* wip

* wip

* wip

* wip

* wip

* builder design skeleton

* pre doc loading skeleton for portal preview

* feature complete?

* wip

* linting

* linting

* linting

* fix ts error?

* ts types fix

* linting

* remove unnecessary build stuff

* include skeleton in server app directly

* linting

* linting

* fix builder preview aspect ratio for skeleton

* remove dev tools skeleton

* linting
2024-02-27 15:29:35 +00:00
Andrew Kingston 08ad9d9c4e Add binding eval for non relationship fields when editing formula columns 2024-02-27 14:44:25 +00:00
melohagan 6e4c2b7242
Export data make CSV delimiter configurable (#13028)
* Add delimiter option

* Add custom delimiter

* external export delimiter

* Custom headers for row export

* External export rows custom headers

* Support custom JSON export labels

* Handle export table source switch

* update account portal

* Add space as delimiter

* Refactor

* update account portal
2024-02-27 09:23:49 +00:00
Dean 6877d0a016 Merge remote-tracking branch 'origin/master' into feature/app-list-actions 2024-02-22 15:00:34 +00:00
Dean 18f09f4e13 Duplicate app behaviour and test updates 2024-02-22 15:00:16 +00:00
Gerard Burns de0414afbe
Update Svelte Major Version to 4 (#13036)
* update svelte versions

* temporarilly disable svelte warnings

* change bbap version pointed to

* remove sub module specifying svelte version

* point at updated account-portal

* add type declaration for svelte in the server

* add svelte transformer for server jest tests

* remove svelte from bbui package.json

* get builder tests working

* linting fixes

* prettier fixes

* fix server test

* fix another server test

* fix server serverlog test

* account-portal-version

* pin master version of pro

* revert hbs doc file in server to use triple braces, ensures nothing gets escaped
2024-02-22 13:19:29 +00:00
melohagan c12e5fd196
Fix array type missing from query schema selector (#12772)
* Tidy MongoDB aggregation pipeline view

* Remove unused code

* WIP

* Add bindings for bindings drawer

* Is not external table if it's a query

* Add QueryArrayFetch

* Bug fix

* JavaScript is the worst

* refactor

* Add array label to query schema

* Remove console log

* type fix

* Don't include Array in SchemaTypeOptions, but show label

* Fix bindings

* refactor

* Rename isObject to hasSchema

* WIP

* Typing WIP

* Type not Types

* Unused import

* type fix

* Handle json array subtype

* Support queryarray datasource type

* refactor

* yarn lock

* update account portal

---------

Co-authored-by: Sam Rose <hello@samwho.dev>
2024-02-19 09:13:03 +00:00
Gerard Burns b12aa639d3
Allow Collapsing Selected Components, Add Hotkeys for Collapsing Components (#12764)
* wip

* fix spelling

* wip

* linting

* change order of fix version of linting

* lint fix

* linting
2024-02-15 10:53:58 +00:00
Peter Clement d508e8f01b store tenant in cookie for use in account portal 2024-02-13 15:26:22 +00:00
Andrew Kingston d6bf33bce7 Update data binding generation to match how context is provided by components, respecting branching due to local context 2024-02-02 14:59:45 +00:00
Martin McKeaveney 475070a495 client and frontend core 2024-01-31 10:53:53 -03:00
deanhannigan d45642da98
Merge branch 'master' into revert-12832-revert-11830-global-bindings 2024-01-26 15:16:02 +00:00
mike12345567 4fe30355f2 Fix frontend build issue. 2024-01-24 17:20:12 +00:00
deanhannigan d246adca9c
Revert "Revert "Global bindings"" 2024-01-22 11:10:03 +00:00
deanhannigan b2c790650b
Revert "Global bindings" 2024-01-22 11:03:05 +00:00
Dean 4ffd0a549e Merge remote-tracking branch 'origin/master' into global-bindings 2024-01-08 16:23:55 +00:00
Adria Navarro 03a933005d Pass isMigrationDone 2024-01-08 13:42:38 +01:00
Adria Navarro 3dcb3dec3f Fix import 2024-01-08 13:35:07 +01:00
Adria Navarro 43aca917d7 Fix import 2024-01-08 13:33:41 +01:00
Adria Navarro 82ce1f2e93 Add link 2024-01-08 13:31:41 +01:00
Adria Navarro f7f51e7909 Change copy 2024-01-08 13:07:33 +01:00
Adria Navarro 13325b63a2 Use seconds instead of ms 2024-01-08 12:56:09 +01:00
Adria Navarro a8019d86cc Move api checks 2024-01-08 12:09:24 +01:00
Adria Navarro a427b322be Move ui to frontend-core 2024-01-08 11:11:46 +01:00
Adria Navarro a472e47b22
Merge branch 'master' into BUDI-7654/app-migration-builder-frontend 2024-01-08 10:13:54 +01:00
Dean 5d6862b399 Merge remote-tracking branch 'origin/master' into global-bindings 2024-01-05 12:10:12 +00:00
Adria Navarro 13f80ad735 Tidy up 2023-12-19 12:29:57 +01:00
Andrew Kingston b5f369d595 Remove leftover debug flag 2023-12-14 15:49:32 +00:00
Andrew Kingston 16f98dd8f7 Merge branch 'master' of github.com:Budibase/budibase into feature/multistep-form-block 2023-12-14 15:48:11 +00:00
Andrew Kingston a244b34e53 Fix multi step settings rendering and improve multi step form block client rendering when inside builder 2023-12-14 14:33:43 +00:00
Adria Navarro 50da799216 Add onMigrationDetected function 2023-12-14 10:07:46 +01:00
Adria Navarro 005dd27663 Use header consts from shared-core 2023-12-14 10:07:46 +01:00
Andrew Kingston 08cd5bbb91 Refactor form block layout and add functional update and view multi step forms 2023-12-13 13:09:57 +00:00
Andrew Kingston 69ea28ad46 Clean up and improve multi step form block 2023-12-12 20:22:48 +00:00
Andrew Kingston 01c8ef9f0f Update multistep button generation to show/hide buttons rather than disabling them 2023-12-11 17:32:51 +00:00
Adria Navarro 1e267fca5b Merge branch 'master' into BUDI-7580/account_portal_submodule 2023-12-11 09:50:48 +01:00
Andrew Kingston 368b227086 Add validation to default form step button actions 2023-12-08 16:52:49 +00:00
Andrew Kingston 223a315801 Update multi step form block to use core button config generation 2023-12-08 14:39:47 +00:00
Andrew Kingston 5a8c12c91b Move multi step button config into frontend core and fix button config setting layout 2023-12-08 14:15:23 +00:00
Michael Drury bc5563d776
Revert "Revert "Add Buttongroup configuration support to Formblock/Tableblock"" 2023-12-07 10:24:46 +00:00
Michael Drury a6fc56c764
Revert "Add Buttongroup configuration support to Formblock/Tableblock" 2023-12-07 10:17:36 +00:00
Dean a84b4e65ed Merge remote-tracking branch 'origin/master' into feature/add-buttongroup-to-formblock 2023-11-30 10:42:38 +00:00
Andrew Kingston b1a218beb0 Merge branch 'master' of github.com:Budibase/budibase into global-bindings 2023-11-28 15:08:12 +00:00
Adria Navarro e7bcabf1d2 Merge branch 'master' into BUDI-7580/account_portal_submodule 2023-11-27 20:48:32 +01:00
Andrew Kingston c4a3837fc1 Merge branch 'master' of github.com:Budibase/budibase into creator-changes 2023-11-24 15:18:06 +00:00
Gerard Burns 0d0db98484
Grid columns UI (#12209)
* grid columns ui

* linting

* remove comment

* remove property thats not used

* remove cli pacakge change

* PR Feedback

* fixes

* fixes

* wip

* wip

* wip

* wip

* wip

* wip

* about to implement

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* tests

* linting

* remove drag handle file

* fix icons

* remove field config changes

* wip

* wip

* wip

* remove logs

* wip

* linting

* pr feedback

* linting
2023-11-24 11:02:57 +00:00
Andrew Kingston 2cac5c9e8c Remove duplicated constants and add creator option to user import modal 2023-11-23 14:31:27 +00:00
Andrew Kingston fd5dd8dd72 Dedupe and clean up some role logic and constants, and display roles properly in user list 2023-11-23 14:12:10 +00:00
Andrew Kingston 35a35f92e6 Update constants and user invitation API to account for new creator flag 2023-11-23 14:02:29 +00:00
Dean c0012409f7 Added button group support to Formblock and Tableblock components 2023-11-23 10:45:13 +00:00
Adria Navarro 92f411bf77 Prettier 2023-11-20 21:48:49 +01:00
Adria Navarro 4d27ff1dc0 eslint import/no-duplicates 2023-11-20 21:48:49 +01:00
Adria Navarro 90ae387fbd Fix import/export 2023-11-20 21:48:49 +01:00
Andrew Kingston 7806591b82 Merge branch 'master' of github.com:Budibase/budibase into global-bindings 2023-11-20 14:47:37 +00:00
Andrew Kingston 7926490391
Merge branch 'master' into grid-buttons 2023-11-20 08:31:50 +00:00
Adria Navarro ac57cdbf02 Encode view ids on paths 2023-11-10 16:17:58 +01:00
Adria Navarro ef914882d4 Merge branch 'master' into BUDI-7580/account_portal_submodule 2023-11-07 19:06:33 +01:00
Andrew Kingston 8017dd592b Ensure rows are cleaned before being passed to button actions in grids 2023-11-07 14:12:06 +00:00
Andrew Kingston c25b8a1448 Expose schema context from grid and allow usage in buttons 2023-11-07 14:10:16 +00:00
Andrew Kingston 20f9fd5d1b Merge branch 'master' of github.com:Budibase/budibase into grid-buttons 2023-11-07 11:28:42 +00:00
mike12345567 c43bfda45d Fix for user invitations throwing a 501 error due to the way the search was being performed. 2023-11-06 12:38:10 +00:00
Adria Navarro fb9215d2e4 Merge branch 'master' into BUDI-7580/account_portal_submodule 2023-11-06 10:32:56 +01:00
Andrew Kingston b2352157cd Improve grid integration with new datepicker 2023-11-03 20:27:30 +00:00
Adria Navarro 8c90b9ddfb Merge branch 'master' into BUDI-7580/account_portal_submodule 2023-11-02 13:35:17 +01:00
Mihail Hadzhiev 87b69007f4
Merge branch 'master' into grid-tweaks 2023-11-02 09:52:52 +02:00
Andrew Kingston 2b8bbafcac Add support for buttons inside grids 2023-11-01 16:45:37 +00:00
Adria Navarro 18b8d6d3ef Merge branch 'master' into BUDI-7580/account_portal_submodule 2023-10-31 09:55:30 +01:00
Michael Drury 9643d9c0e2
Merge branch 'master' into feature/budi-7607-migrate-user-relationship-columns-to-the-new-user-column 2023-10-30 17:41:44 +00:00
Sam Rose ca9491ce67
Surface error message from attachments API to user. 2023-10-30 16:55:57 +00:00
Sam Rose 436d6a1585
Revert frontend changes to filter out file extensions in the upload box. 2023-10-30 14:39:12 +00:00
Sam Rose 6bb6f106d5
Apply valid file types to AttachmentCell. 2023-10-27 16:46:30 +01:00
Sam Rose 45543cbc03
Catch a few more edge cases with column names, add tests for them. 2023-10-27 15:59:31 +01:00
Adria Navarro 6abb1b5f70 Merge branch 'master' into BUDI-7580/account_portal_submodule 2023-10-27 10:57:07 +02:00
Andrew Kingston 69cffd0f09 Clean up 2023-10-26 19:14:36 +01:00
Andrew Kingston fd15f771ef Refactor how relationship cells fetch and cache primary display columns to fix issues with store stale data 2023-10-26 19:03:04 +01:00
Andrew Kingston 23cdac5906 Update grids to support pagination with REST queries and to simplify some logic 2023-10-26 17:37:59 +01:00
Andrew Kingston 0535bae0f5 Merge branch 'master' of github.com:Budibase/budibase into global-bindings 2023-10-26 10:14:05 +01:00
Andrew Kingston 230dc169fa Revert previous fix for relationship column dragging 2023-10-26 10:11:34 +01:00
Sam Rose 26100ffd8b
Merge branch 'feature/budi-7607-migrate-user-relationship-columns-to-the-new-user-column' into feature/budi-7607-migrate-user-relationship-columns-to-the-new-user-column-4 2023-10-26 09:57:11 +01:00
Sam Rose e03b1be9d1
Make sure new column name cannot be the same as an existing column name. 2023-10-25 16:41:37 +01:00
Sam Rose c5097487e2
Use FieldType constant instead of raw string. 2023-10-25 16:38:55 +01:00
Sam Rose ef84e96f98
Use RelationshipType enum instead of raw string. 2023-10-25 16:38:14 +01:00
Sam Rose 2c5dd99da2
Use FieldSubtype enum instead of raw strings. 2023-10-25 16:37:15 +01:00
Sam Rose 7acce7b7c0
Remove unused dispatch import. 2023-10-25 16:01:08 +01:00
Sam Rose c9e3b7a348
Remove the previous attempt at syncing grid state, it is no longer needed. 2023-10-25 16:00:14 +01:00
Sam Rose 402a53cacb
User constant for user table ID. 2023-10-25 15:33:12 +01:00
Sam Rose 5779e97e6e
Add column name input validation. 2023-10-25 15:29:56 +01:00
Sam Rose fbf60ece4f
Merge base branch. 2023-10-25 14:58:37 +01:00
Andrew Kingston 4fb18baf17 Merge branch 'grid-inline-searching' of github.com:Budibase/budibase into refactor-grid-columns 2023-10-25 08:48:21 +01:00
Sam Rose f4c6ab7f48
Make sure the user cannot enter the same column name as the old column for the migrated column. 2023-10-24 17:33:49 +01:00
Sam Rose d3670ddf21
Add an input to allow the user to choose the new column name. 2023-10-24 17:22:49 +01:00
Sam Rose 2f0a40e9bb
Introduce modal to show warning to users, and toast to show success. 2023-10-24 15:18:46 +01:00
Andrew Kingston c5537dd58c Prettier 2023-10-24 08:46:55 +01:00
Andrew Kingston f355933bf3 Add grid support for old views with groupBy specified, and any other datasource that has a custom means of determining a datasource schema 2023-10-24 08:26:57 +01:00
Sam Rose a701933f48
Frontend changes for the user column migration work. 2023-10-23 17:57:25 +01:00
Andrew Kingston 9a72c418c9 Remove duplicate comment 2023-10-20 14:13:30 +01:00
Andrew Kingston 3bfa6e9d60
Merge branch 'master' into grid-inline-searching 2023-10-20 12:32:07 +01:00
Andrew Kingston 452dc92356 Merge branch 'master' of github.com:Budibase/budibase into grid-all-datasources 2023-10-20 10:41:08 +01:00
Andrew Kingston 9d62affe07 Merge branch 'grid-inline-searching' of github.com:Budibase/budibase into refactor-grid-columns 2023-10-18 16:00:59 +01:00
Andrew Kingston 16a361b366 Merge branch 'grid-all-datasources' of github.com:Budibase/budibase into grid-inline-searching 2023-10-18 16:00:31 +01:00
Andrew Kingston 41e72a28c9
Merge branch 'master' into grid-all-datasources 2023-10-18 15:59:12 +01:00
Andrew Kingston 05133d7e69 Ensure data section grid sort column options are properly filtered down 2023-10-18 15:44:27 +01:00
Andrew Kingston fb69c3a0da Add new shared core util for determining whether columns can be sort columns or not 2023-10-18 15:38:37 +01:00
mike12345567 13dadbcc7d Merge branch 'master' of github.com:Budibase/budibase into fix/internal-db-enrich-perf 2023-10-18 15:22:00 +01:00
Andrew Kingston 93d717d2e9 Fix add new row setting not being enough to edit new rows with also enabling edit rows flag 2023-10-18 14:25:59 +01:00
Adria Navarro 9838c368eb Unify more packages 2023-10-18 10:49:15 +02:00
Adria Navarro 0f862088d2 Unify lodash 2023-10-18 10:49:15 +02:00
Andrew Kingston dadb368279 Lint and add hover styles for deleting prompts 2023-10-18 08:31:29 +01:00
Andrew Kingston c37538d611 Use CSS content-visibility to improve rendering performance by hiding offscreen grid cells 2023-10-18 08:17:18 +01:00
Andrew Kingston 4e703fdfcc Remove concept of rendered columns from grid and instead render all columns 2023-10-18 08:17:03 +01:00
Michael Drury ee0da189d2
Merge branch 'master' into global-bindings 2023-10-17 14:13:04 +01:00
mike12345567 fefd5fa0dc Quick fix for drag and drop behaviour of relationship cells, appears empty cells were causing things to break in the re-render. 2023-10-16 17:41:20 +01:00
Andrew Kingston 74cab11191 Improve grid sorting labels to account for date types and provide better labels 2023-10-16 17:17:14 +01:00
Andrew Kingston a857eb266c Ensure keyboard events while inline searching are not captured by the main grid keyboard manager 2023-10-16 17:12:25 +01:00