Commit Graph

782 Commits

Author SHA1 Message Date
Andrew Kingston 9500203515 Add event context to button actions to allow passing in params at run time and add corresponding data bindings 2022-03-15 11:16:51 +00:00
Dean c672a439c0 Merge remote-tracking branch 'origin/develop' into feature/map-component 2022-03-09 11:02:53 +00:00
Andrew Kingston f335c2635b Merge branch 'develop' of github.com:Budibase/budibase into copy-paste-improvements 2022-03-08 17:58:12 +00:00
Andrew Kingston 990442b45e Add optional chaining to all current asset references to account for nullish values 2022-03-08 17:57:36 +00:00
Dean b67b34928a Initial Commit for Issue/3819. World map component added and a small change to the Component draggable behaviour to accomodate it. 2022-03-08 16:41:21 +00:00
Andrew Kingston d8cb5bfd24 Fix screen renaming when same route already exists 2022-03-08 14:14:57 +00:00
Peter Clement 38ba2509d7 Merge remote-tracking branch 'origin/develop' into feature/export-from-client 2022-03-08 13:56:56 +00:00
Andrew Kingston 4ef06ea6c1 Merge branch 'develop' of github.com:Budibase/budibase into copy-paste-improvements 2022-03-08 13:35:35 +00:00
Peter Clement ebaaff1f8c account for blocks within export button action 2022-03-08 13:31:14 +00:00
Peter Clement 064aee5e2e Update how button action for exporting works 2022-03-08 12:58:05 +00:00
Martin McKeaveney 14cffcd6ff merge 2022-03-08 12:40:41 +01:00
Martin McKeaveney 975eb0b99e merge from master 2022-03-08 12:34:27 +01:00
Andrew Kingston e84e4f9899 Add duplicate action to settings bar 2022-03-07 14:05:26 +00:00
Andrew Kingston d2b13cf3fa Add option to paste inside screens 2022-03-07 13:56:06 +00:00
Peter Clement ed2c210db8 Add button action allowing for export of client row selection 2022-03-07 12:06:11 +00:00
Andrew Kingston 4c88a046fd Update confirm text button when duplicating screens 2022-03-07 10:41:52 +00:00
Andrew Kingston 91b698cfe1 Properly remove window event listener when unmounting component preview 2022-03-07 10:17:05 +00:00
Andrew Kingston 018b8713d7 Use new string-templates function and remove the one implemented on this branch for finding HBS expressions 2022-03-07 09:32:31 +00:00
Andrew Kingston 530024bd63 Add component name to settings panel 2022-03-07 08:16:55 +00:00
Andrew Kingston 8b4e464e8a Allow bulk deleting all screens under a route 2022-03-02 19:52:10 +00:00
Andrew Kingston f5ff71f9d1 Allow duplication of screens 2022-03-02 19:26:43 +00:00
Andrew Kingston f2fbd3d1d0 Rewrite screen wizard to make modals reusable and fix some edge case URL bugs 2022-03-02 19:10:18 +00:00
Andrew Kingston e411354538 Improve copy and paste to support keeping all data bindings valid 2022-03-02 17:45:01 +00:00
Andrew Kingston 0f295afb04 Make component setting updates sequential to prevent 409s 2022-03-01 11:11:56 +00:00
Andrew Kingston 1ec76e3e7e Merge branch 'develop' of github.com:Budibase/budibase into table-cell-config 2022-02-23 13:25:48 +00:00
Rory Powell 6fca8ca936 Merge branch 'master' into merge-master 2022-02-23 12:14:04 +00:00
Andrew Kingston 58d7a30894 Lint 2022-02-21 13:50:20 +00:00
Andrew Kingston f1209f30de Merge branch 'develop' of github.com:Budibase/budibase into table-cell-config 2022-02-21 13:46:22 +00:00
Andrew Kingston 7236ae80e5 Allow bindings for table cell values and break out cell settings into its own drawer component 2022-02-21 13:19:29 +00:00
Andrew Kingston f63db2fb4f Add configuration options for table cell customisation to the table component 2022-02-18 20:15:47 +00:00
Andrew Kingston 6237af2826 Add quick actions for adding all column or for resetting column selection back to default 2022-02-18 12:36:12 +00:00
Rory Powell 814b5ae5ab Merge branch 'master' into develop 2022-02-18 11:57:54 +00:00
Andrew Kingston a69962c26c Fix usage of className instead of class 2022-02-17 16:06:17 +00:00
Andrew Kingston 6a4067da52 Fix role being stale when creating screens 2022-02-17 11:50:55 +00:00
Andrew Kingston 053e6af3d1 Use selected role when creating screens 2022-02-17 09:41:44 +00:00
mike12345567 db45086105 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-02-15 16:54:21 +00:00
Andrew Kingston ee0bfa9ab0 Update datasource schema generation to take new flags, and update automation blocks to use core databinding utilities 2022-02-15 14:59:11 +00:00
mike12345567 c1bd5b8329 Fixing issue #4337, allows internal tables to search by the _id or _rev properties in automation query block. 2022-02-14 14:57:06 +00:00
Andrew Kingston 6c1701830f Improve layout and edge cases around using column editor drawer 2022-02-14 13:06:32 +00:00
Andrew Kingston 4f00e7a3b1 Add labels to column config drawer 2022-02-14 11:47:48 +00:00
Andrew Kingston c7edfa7f59 Remount button action components fully when changing action to prevent stale UI 2022-02-13 15:18:54 +00:00
Andrew Kingston b94ed3d23b Add new setting component for configuring table column order and display names 2022-02-10 16:41:43 +00:00
Andrew Kingston a0c703288c Fix button layout in drawers 2022-02-10 11:46:57 +00:00
Michael Drury 1cc32e42c0 Merge branch 'develop' into frontend-core 2022-02-09 14:42:05 +00:00
mike12345567 36bd285093 Merge branch 'develop' of github.com:Budibase/budibase into fix/feb-fixes 2022-02-08 12:28:27 +00:00
Andrew Kingston d90ccc26c7 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-08 08:12:37 +00:00
mike12345567 a35a8cb81c Addomg a fix for #4370 - allow queries to contain newlines, they will always be escaped. 2022-02-07 17:56:01 +00:00
Andrew Kingston d78e6a5e59 Merge branch 'develop' of github.com:Budibase/budibase into feature/real-rich-text 2022-02-07 12:13:29 +00:00
mike12345567 e74621f327 Fixing an issue with search field select erroring in builder when using queries in blocks. 2022-02-04 16:56:12 +00:00
Andrew Kingston 9310ef08f5 Add markdown viewer component to builder 2022-02-02 21:23:39 +00:00
Andrew Kingston de12e0dc79 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-01 16:46:00 +00:00
mike12345567 f9c7877e02 Merge branch 'develop' of github.com:Budibase/budibase into feature/formula-filtering 2022-01-31 15:21:15 +00:00
Andrew Kingston 9d52841219 Refactor automation store to properly handle errors 2022-01-25 15:44:08 +00:00
Andrew Kingston 81558588dc Clean up frontend store 2022-01-24 18:53:41 +00:00
Andrew Kingston 891bdefcb7 Remove all obscure error handling from stores and move it to the display level 2022-01-24 18:40:06 +00:00
Andrew Kingston 30fa72665a Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-24 15:46:54 +00:00
Andrew Kingston b0defa8176 Merge pull request #4030 from Budibase/s3-upload
S3 file upload component
2022-01-24 15:41:46 +00:00
Andrew Kingston 8284e1d76c Filter out an S3 datasources which contain custom endpoints when selecting the datsource to use with the S3 upload component 2022-01-24 15:19:21 +00:00
mike12345567 deb4a34c18 Adding the ability to filter using the filter drawer for formula fields, getting them based on the enriched contents of a row - adding functionality to denote to each table which other tables depend on them for formula. 2022-01-21 16:24:24 +00:00
Andrew Kingston e2fb5f51f5 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-20 18:44:04 +00:00
mike12345567 8d95d9b603 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-01-20 17:03:21 +00:00
mike12345567 c66b9fb0b4 Renaming bindableOptions to bindings and replacing the query bindings variable with queryBindings. 2022-01-20 16:12:32 +00:00
Andrew Kingston 9f180ca292 Fix issue with search fields in builder when not using a table 2022-01-20 13:37:33 +00:00
Andrew Kingston 1ec3a91cae Update usages of utils and helpers in the builder 2022-01-20 11:19:37 +00:00
Andrew Kingston 6e58820b45 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-20 09:43:23 +00:00
Andrew Kingston ff97e5af43 Update builder to reference assets in frontend core 2022-01-20 09:41:05 +00:00
Andrew Kingston 8be7018543 Rename return URL to redirect URL in log out action 2022-01-19 12:50:07 +00:00
Andrew Kingston ce3715ccad Update log out action text 2022-01-19 12:45:15 +00:00
Andrew Kingston 8be175843a Add return URL setting to log out button action 2022-01-19 11:22:04 +00:00
mike12345567 cde801d99b Adding dynamic filter capabilities, also updating search field select in builder to make sure it removes banned search field types. 2022-01-17 16:48:49 +00:00
mike12345567 aae2dc86d3 Getting client partially working, having an issue with search fields not updating for a table block. 2022-01-14 17:42:14 +00:00
Andrew Kingston 4dfb74f512 Add public URL of uploaded file to button action outputs when uploading files to S3 2022-01-14 10:40:38 +00:00
mike12345567 41b9c94237 Quick fix, only allow using SQL. 2022-01-13 16:48:19 +00:00
mike12345567 90859cfe18 Basic frontend work, getting it sending up search fields from tables with links. 2022-01-13 15:59:04 +00:00
Andrew Kingston 9f90bf3801 Update reset theme button to use white for light theme 2022-01-13 10:26:05 +00:00
Andrew Kingston aa5762d6d7 Revert nav bar background to default theme color when changing client app theme, and use a unique nav background color for light theme 2022-01-12 15:39:20 +00:00
Andrew Kingston dfd95f9b83 Add initial work on new S3 upload component and button action 2022-01-11 14:01:21 +00:00
Andrew Kingston d06cc93757 Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-12-15 13:36:10 +00:00
Andrew Kingston ab1e5abd5e Refactor button definitions, rename button action components and add button manifest 2021-12-13 10:55:45 +00:00
Andrew Kingston 7ecf681010 Lint 2021-12-13 09:45:50 +00:00
Andrew Kingston c072044d21 Rename Key/Value field to JSON field 2021-12-10 15:26:43 +00:00
Andrew Kingston 891538eaa4 Hide JSON array from filter editor 2021-12-10 10:52:51 +00:00
Andrew Kingston eeecc762d2 Add button context to execute query action 2021-12-09 16:48:19 +00:00
Andrew Kingston dd5d0ffc7b Add output context to duplicate row action 2021-12-09 16:29:22 +00:00
Andrew Kingston d9278dbc24 Dynamically enrich button actions at runtime and provide additional ephemeral button action output context 2021-12-09 11:25:32 +00:00
Andrew Kingston 59ac6682ae Generate button context bindings for all button actions 2021-12-09 08:36:50 +00:00
mike12345567 82fd691ec7 Adding bindings to rest API, adding in spaceship placeholder, updating the look of some other components, cleaning up some whitespace. 2021-12-08 17:58:30 +00:00
Andrew Kingston 2da952af24 Fix bug where state variables were not always extracted, improve performance when determining bindable state values and add initial work on generating button context bindings 2021-12-08 15:31:06 +00:00
Andrew Kingston 7beaa80759 Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-12-08 13:08:28 +00:00
Andrew Kingston a10ca1e045 Update manifest 'dependsOn' logic to correctly handle boolean values 2021-12-08 13:06:36 +00:00
Andrew Kingston 46cf642abd Add new tag component to client apps 2021-12-08 13:06:15 +00:00
Rory Powell 379b8cecc0 Merge branch 'master' into develop 2021-12-08 12:07:06 +00:00
Andrew Kingston 31e669dc12 Merge pull request #3666 from Budibase/fix/conditional-layout-links
Fix conditional layout links
2021-12-08 11:30:21 +00:00
Andrew Kingston 96e2ada5bd Lint 2021-12-08 09:42:19 +00:00
Andrew Kingston cc212d456a Fix query params directly mutating the stored app definition 2021-12-08 09:31:39 +00:00
Andrew Kingston b1cc72c54a Add support for accessing unlimited levels of nested JSON arrays 2021-12-07 21:19:14 +00:00
Andrew Kingston 7146b994ff Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-12-07 15:11:32 +00:00
Andrew Kingston d36daaf9b9 Add button action for duplicating a row 2021-12-07 13:59:12 +00:00
Andrew Kingston 20ee863780 Add console error to builder when iframe preview receives invalid JSON to aid in debugging some cases of endless loading apps 2021-12-06 18:00:19 +00:00
Andrew Kingston adae966769 Remove legacy performance hack of remove _revs from component definitions as this was sometimes leading to invalid JSON, preventing the app from loading 2021-12-06 17:59:23 +00:00
Andrew Kingston d10d332b9f Update client side lucene searching to work with nested JSON fields and fix bug with flattening nested JSON schema 2021-12-06 12:04:22 +00:00
Andrew Kingston cd5d370e7b Allow using JSON field arrays as a data provider source and add data bindings for nested JSON fields 2021-12-06 11:41:17 +00:00
Peter Clement 610fc04145 some css fixes for autoscreen ui work 2021-12-03 14:27:38 +00:00
Andrew Kingston 39d5c81b72 Ensure links are an array in the wrapper component for a cleaner fix 2021-12-03 11:45:04 +00:00
Andrew Kingston e695396bb8 Ensure links prop is always an array when configuring layout links 2021-12-03 11:38:49 +00:00
Andrew Kingston 1e38628a4b Add new form field component for JSON fields, JSON validation and update autoscreen generation 2021-12-03 09:20:45 +00:00
Andrew Kingston 9a7cb71371 Fix custom query params not appearing 2021-12-02 12:28:12 +00:00
Andrew Kingston c54489d7ee Fix button actions directly mutating the real component definition 2021-12-01 10:33:17 +00:00
Andrew Kingston e6741ce341 Ensuire the save row action determines the correct runtime bindings and only uses valid context types 2021-12-01 10:32:55 +00:00
Andrew Kingston 2c91b89f02 Prevent data providers from using arbitrary context-providing components as sources 2021-11-30 14:32:18 +00:00
Andrew Kingston 0341b596e6 Merge pull request #3576 from Budibase/ak-fixes
Misc bug fixes
2021-11-30 10:05:01 +00:00
Peter Clement e77ef4cf76 Merge pull request #3581 from Budibase/feature/auto-screen-ui
Autoscreen fixes
2021-11-29 13:49:59 +00:00
Peter Clement d716f38759 autoscreen fixes 2021-11-29 11:53:46 +00:00
Andrew Kingston 71e4764b17 Fix issue with navigation links editor mutating real component structure 2021-11-29 08:58:49 +00:00
Andrew Kingston 8b4bd84ab5 Preserve bindings when duplicating components 2021-11-29 08:30:52 +00:00
Peter Clement 0b9cc02023 Merge pull request #3544 from Budibase/feature/auto-screen-ui
Remove initial screen defintion so user can see the new screen creation button
2021-11-25 22:13:07 +00:00
Peter Clement fec8689069 change colour of autoscreen selection 2021-11-25 21:57:27 +00:00
Peter Clement 4ede32c408 Merge pull request #3533 from Budibase/feature/auto-screen-ui
Fix issue where auto screen UI was duplicating selections
2021-11-25 10:23:50 +00:00
Peter Clement 591d0bb7d8 re-add analytics 2021-11-25 09:41:40 +00:00
Peter Clement f9fea88541 refactor screen templates to include table name 2021-11-24 19:10:10 +00:00
Peter Clement 4d18fa2360 Merge pull request #3520 from Budibase/feature/auto-screen-ui
Autoscreen ux changes
2021-11-24 13:48:51 +00:00
Peter Clement dd3d6aa630 unneeded log 2021-11-24 11:53:56 +00:00
Andrew Kingston aff6c66fcd Merge pull request #3508 from Budibase/js-formula-fields
JS for formula fields + binding panel refactor
2021-11-24 09:10:46 +00:00
Andrew Kingston 567d188e29 Merge pull request #3476 from Budibase/multi-filter-component
Dynamic filter component
2021-11-24 08:39:28 +00:00
Peter Clement 35f4121d44 some autoscreen ux fixes 2021-11-23 20:14:28 +00:00
Peter Clement a0fd1993dc remove log 2021-11-23 15:02:10 +00:00
Peter Clement c89e807e31 issue with datasource plus autogen 2021-11-23 15:00:21 +00:00
Peter Clement cc40a68423 fix bg color of screen wizard modal 2021-11-23 14:45:50 +00:00
Andrew Kingston 4145f6eccc Refactor client and server binding panels into single generic panel. Enable JS for formula fields 2021-11-23 14:05:20 +00:00
Peter Clement abe7cdfcf7 removing log 2021-11-23 09:43:21 +00:00
Peter Clement a68247ffcb fixng some auto screen bugs 2021-11-23 09:39:40 +00:00
Peter Clement 33f1264cbb remove nav selection modal 2021-11-23 09:01:12 +00:00
Andrew Kingston 0fcc7619d0 Reorganise component structure 2021-11-22 14:48:04 +00:00
Andrew Kingston 8f9dba0db3 Merge branch 'develop' of github.com:Budibase/budibase into multi-filter-component 2021-11-22 10:44:52 +00:00
Andrew Kingston 6c0a1e99da Merge pull request #3403 from Budibase/cheeks-lab-day
Inline text editing + perf. enhancements + preview enhancements
2021-11-22 10:44:38 +00:00
Peter Clement 7bbf5500c6 Merge pull request #3334 from Budibase/feature/auto-screen-ui
Feature/auto screen UI
2021-11-22 10:15:44 +00:00
Andrew Kingston 8f981704d6 Merge branch 'cheeks-lab-day' of github.com:Budibase/budibase into multi-filter-component 2021-11-18 15:58:04 +00:00
Andrew Kingston f77f7c1e5f Add dynamic filter component 2021-11-18 15:36:16 +00:00
Peter Clement 776e4e2d20 more refactoring of screen wizard 2021-11-17 10:24:14 +00:00
Andrew Kingston 9b988b60b0 Replace old usage of 'editable' manifest setting with 'static' 2021-11-16 18:33:14 +00:00
Andrew Kingston f14e6d8e22 Remove unused client event for iframe-loaded 2021-11-16 13:15:31 +00:00
Peter Clement f3cddaaf08 refactor wizard into its own file 2021-11-16 12:18:13 +00:00
Andrew Kingston 0bac3765b3 Remove deprecated keydown event being sent by client library 2021-11-16 11:45:28 +00:00
Andrew Kingston 2adbaea026 Merge develop into editable text lab day 2021-11-16 11:14:46 +00:00
Andrew Kingston 4c84f713b9 Merge pull request #3355 from Budibase/repeater-array
Data block + array fields as data sources
2021-11-16 11:03:30 +00:00
Andrew Kingston 7a1b22ef5f Rename data block to repeater block 2021-11-15 18:07:51 +00:00
Andrew Kingston cc4702909c Remove unused prop 2021-11-15 18:02:24 +00:00
Andrew Kingston 3470b1ea1b Update data sources to correctly include block context suffixes in provider IDs 2021-11-15 12:25:01 +00:00
Peter Clement fba0975c54 Add deletion modal and hover on delete icon 2021-11-15 11:03:09 +00:00
Andrew Kingston df455c2719 Add data block component 2021-11-12 15:19:25 +00:00