Commit Graph

719 Commits

Author SHA1 Message Date
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
Andrew Kingston 3db35d3af9 Enable data providers to use array and attachment fields as their source 2021-11-12 13:42:55 +00:00
mike12345567 dc8d0aa533 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-11-11 13:48:07 +00:00
Peter Clement 35f0384b17 removing log 2021-11-11 12:55:04 +00:00
Peter Clement 14168615dc fix saving of blank screen 2021-11-11 12:09:36 +00:00
Peter Clement 8645299ab1 save nav selection 2021-11-11 11:07:55 +00:00
Peter Clement 8592c489f9 move modals to top level 2021-11-11 08:28:42 +00:00
Andrew Kingston f9cf221c84 Fix issue with using blocks and conditional UI together due to new nested settings 2021-11-10 19:41:58 +00:00
Peter Clement eaaa134fb3 logic for saving of multiple screens 2021-11-10 16:04:27 +00:00
Andrew Kingston 862bf14268 Rename blocks to be shorter 2021-11-10 15:56:51 +00:00
Andrew Kingston 2b59d44e06 Change bindable properties order 2021-11-10 14:57:46 +00:00
Peter Clement fae88947e9 Merge remote-tracking branch 'origin/develop' into feature/auto-screen-ui 2021-11-10 14:48:56 +00:00
Andrew Kingston 93976e4f55 Use bindable combo boxes for text settings and clean up 2021-11-10 11:23:51 +00:00
Martin McKeaveney 7cf916a00d code review, simplify iframeTemplate 2021-11-10 12:12:33 +01:00
Martin McKeaveney 0cc2069929 fixes for templates, ensured iframetemplate fires ready event 2021-11-09 17:40:31 +01:00
Martin McKeaveney fddf52ad45 remove comment 2021-11-09 12:25:02 +01:00
Martin McKeaveney 72eb24b0fa formatting 2021-11-09 12:24:18 +01:00
Martin McKeaveney cb459bc877 adding flags for messagePassing 2021-11-09 12:15:29 +01:00
Peter Clement 1a265149e2 new auto screen ux 2021-11-09 09:33:34 +00:00
Andrew Kingston 8e0b265815 Merge pull request #3249 from Budibase/blocks
Core blocks implementation + table with search block
2021-11-08 20:46:21 +00:00
Andrew Kingston a7849eac7d Add card list with search block. Add concept of nested settings which can consume their own contexts and are not enriched at the top level 2021-11-08 14:35:58 +00:00
Andrew Kingston 8c63b147fb Remove forced capitalisation of setting labels 2021-11-05 12:38:15 +00:00
Martin McKeaveney 1219c53250 fix safari 2021-11-04 17:24:56 +01:00
Martin McKeaveney 193d40bbf3 refactor switch into a key value handler object
tidy up - remove logs and comments

update windowed modals to use postMessage
2021-11-04 17:21:17 +01:00
Andrew Kingston adda702588 Add button to table with search block and support defining multiple settings sections in component manifest entries 2021-11-04 11:30:43 +00:00
Andrew Kingston e9dd47b562 Add initial structure of table with search block 2021-11-01 17:18:38 +00:00
Andrew Kingston de163567f5 Move keyboard handling into client library so that component deletion via keyboard can reference client app state 2021-10-28 13:00:55 +01:00
Martin McKeaveney 9301406bcd enable collapsible nodes in component tree 2021-10-21 16:24:58 +01:00
Rory Powell be41a855d1 Remove redundant fieldTypes 2021-10-18 12:02:08 +01:00
Rory Powell f2b4ba2fb2 Code review refactoring 2021-10-18 11:58:42 +01:00
Rory Powell 956a826b8c Merge branch 'develop' into options-text-columns 2021-10-18 11:25:35 +01:00
Rory Powell 346f1d652b Allow options picker to be used on text columns 2021-10-14 16:36:45 +01:00
Andrew Kingston 0b42415374 Fix editing text input settings inline 2021-10-14 10:43:04 +01:00
Andrew Kingston b1e421651d Use custom Input for component settings so that JS bindings can be displayed nicley 2021-10-12 16:07:59 +01:00
Martin McKeaveney 1d55b5ece2 adding made in budibase tag 2021-10-07 20:57:50 +01:00
Andrew Kingston 7da48384de Merge branch 'develop' of github.com:Budibase/budibase into ak-fixes 2021-10-04 18:16:41 +01:00
Andrew Kingston 5943782377 Merge pull request #2848 from Budibase/prevent-screenslot-deletion
Prevent screen slot from being deleted
2021-10-04 18:16:16 +01:00
Andrew Kingston b0b0268b7d Give up on attempting to get jest to work with BBUI, change strategy for showing notifications when deleting invalid components 2021-10-04 16:50:52 +01:00
Andrew Kingston 5c6752a132 Merge branch 'develop' of github.com:Budibase/budibase into ak-fixes 2021-10-04 15:56:37 +01:00
Andrew Kingston a41505f8a0 Rename primary color to accent color 2021-10-04 14:45:51 +01:00
Martin McKeaveney 4490b3582a Merge pull request #2630 from mslourens/invalid_route_settings_section
Sanitise urls after change
2021-10-04 12:30:11 +01:00
Andrew Kingston cc78f08032 Update button text in theme settings to 'View changes' 2021-10-01 14:41:58 +01:00
Martin McKeaveney 8c65d45c23 Merge branch 'develop' into dnd 2021-09-30 14:56:23 +01:00
Andrew Kingston e4a57253fa Merge branch 'develop' of github.com:Budibase/budibase into data-ui-pagination 2021-09-29 10:34:03 +01:00
Andrew Kingston 4a827c2aab Fix resetting filters and sorting options when changing tables 2021-09-29 10:17:12 +01:00
Andrew Kingston 14b23cffee Prevent bindings from being used when filtering tables in the data UI 2021-09-29 09:18:08 +01:00
Andrew Kingston 745aff0c44 Reuse filter drawer component to allow full table filtering on any type in data UI 2021-09-29 09:05:04 +01:00
Andrew Kingston b9ad634b85 Fix bug with filter editor preventing date pickers or booleans from being shown 2021-09-29 08:57:09 +01:00
Andrew Kingston 2b2697a34e Fixing issue with refreshing data providers manually due to incorrect action name 2021-09-28 13:33:15 +01:00
Andrew Kingston 705088362b Move lucene logic into builder 2021-09-27 15:36:18 +01:00
Andrew Kingston fd24a8fce3 Lint 2021-09-23 20:51:55 +01:00
Andrew Kingston a30ced6408 Add button action for manually refreshing a data provider 2021-09-23 19:34:01 +01:00
Maurits Lourens 0f3cb8e2ff Merge branch 'develop' into invalid_route_settings_section
# Conflicts:
#	packages/builder/src/components/design/NavigationPanel/NewScreenModal.svelte
2021-09-23 13:15:53 +02:00
Maurits Lourens cd4765664d remove console.log 2021-09-22 08:49:33 +02:00
Martin McKeaveney 0a7512a4d9 changed events to constants, instantiated analytics client at right time 2021-09-21 20:21:15 +01:00
Andrew Kingston f0b7188db3 Merge branch 'develop' of github.com:Budibase/budibase into dnd 2021-09-17 12:53:06 +01:00
Maurits Lourens f9c82e5059 re-use sanitizeUrl utils method, add / if it's not added already 2021-09-17 11:43:27 +02:00
Maurits Lourens 931ec7bfd9 fix merge conflicts, make arguments more consistent 2021-09-16 23:20:31 +02:00
Maurits Lourens 518f8fd55e merge develop into branch 2021-09-16 22:15:09 +02:00
Andrew Kingston e625d2e4a3 Reduce duplication in move componment handler from dnd callback 2021-09-16 17:39:39 +01:00
Andrew Kingston fdef6d1e89 Merge branch 'develop' of github.com:Budibase/budibase into dnd 2021-09-16 17:34:40 +01:00
Andrew Kingston 110fd1d5af Fix intermittent crash due to invalid iframe reference when hot reloading 2021-09-16 16:27:19 +01:00
mike12345567 72763ec45f Merge branch 'develop' of github.com:Budibase/budibase into feature/automation-query 2021-09-16 15:33:03 +01:00
Andrew Kingston d86e5718d5 Prevent DND if target is a child of source 2021-09-16 07:35:19 +01:00