Commit Graph

182 Commits

Author SHA1 Message Date
Dean f4a5715461 Merge remote-tracking branch 'origin/develop' into feature/binding-ux-update 2022-08-22 12:49:56 +01:00
Dean 098c67ce5d Initial commit of UX refactor 2022-08-22 12:49:05 +01:00
Andrew Kingston 7b6cef8794 Rename some usages of button actions to events 2022-08-18 13:43:32 +01:00
Andrew Kingston 1841677e0d Add bindings for screen on load setting 2022-08-18 11:16:59 +01:00
Andrew Kingston 16116f2877 Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-07-11 10:33:50 +01:00
Dean e14289abee Added fixes for query body binding. Query parameter fixes and pretty bindings added 2022-07-03 17:33:25 +01:00
Dean 31b51e1ecf Fixes for datasource authentication parsing. Mapping UX updates 2022-07-01 17:27:24 +01:00
Andrew Kingston 7eddb3b369 Add data binding for query params 2022-06-21 09:39:25 +01:00
Andrew Kingston 8643bb1553 Add 'on load' actions for screens 2022-06-20 16:12:46 +01:00
Dean d50a62fd37 Context binding for authenticated user in REST API querys. Includes fix for REST datasource UI 2022-06-14 10:14:05 +01:00
Andrew Kingston 271e302b10 Add back in component settings panel 2022-04-26 14:22:32 +01:00
Andrew Kingston 9545b3af1b Add button actions to update form field values 2022-04-14 09:46:07 +01:00
Andrew Kingston e5678d9b27 Update role bindings to use Role prefix rather than Roles 2022-04-06 08:22:10 +01:00
Andrew Kingston c980801579 Add role IDs as bindings 2022-04-05 16:05:29 +01:00
Andrew Kingston d08d9d1248 Add form block and form block plus components 2022-04-01 12:51:23 +01:00
Andrew Kingston bedbf4bcae Merge branch 'develop' of github.com:Budibase/budibase into feature/map-actions 2022-03-25 12:00:17 +00:00
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
Andrew Kingston 990442b45e Add optional chaining to all current asset references to account for nullish values 2022-03-08 17:57:36 +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 175bde36d6 Ensure data binding generation doesn't crash if no asset is selected 2022-02-25 08:25:56 +00:00
Andrew Kingston e38cc1c079 Fix table row selection bindings not being generated, add row selection bindings for table blocks, update readable text for row selection bindings 2022-02-24 09:17:27 +00:00
Peter Clement dffdcd882f add ability to select rows from different tables and provide bindings 2022-02-22 15:18:08 +00:00
Peter Clement 87d001b66f Merge remote-tracking branch 'origin/develop' into feature/table-row-selection 2022-02-22 15:17:38 +00:00
Andrew Kingston c858b9341f Fix issue with schema generation when datasource is undefined 2022-02-17 09:25:02 +00:00
Peter Clement 1dd909c8c2 Merge remote-tracking branch 'origin/develop' into feature/table-row-selection 2022-02-16 14:35:42 +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
Peter Clement 5a88c89baf changing bindings key 2022-02-11 15:37:43 +00:00
Peter Clement d45c107db7 add row selection functionality to tables 2022-02-11 11:55:35 +00:00
Andrew Kingston 1ec3a91cae Update usages of utils and helpers in the builder 2022-01-20 11:19:37 +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 dc7d22e5cb Add support for binding forms to deep json fields 2021-12-10 14:18:01 +00:00
Andrew Kingston 59ac6682ae Generate button context bindings for all button actions 2021-12-09 08:36:50 +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 b1cc72c54a Add support for accessing unlimited levels of nested JSON arrays 2021-12-07 21:19:14 +00:00
Andrew Kingston ca0abba428 Add data bindings for top level properties within JSON fields 2021-12-06 19:55:21 +00:00
Andrew Kingston 8dd916afb9 Add more comments to clarify data binding behaviour 2021-12-06 12:14:06 +00:00
Andrew Kingston 7a0ee7aea6 Remove log statements 2021-12-06 12:04:55 +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
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 3470b1ea1b Update data sources to correctly include block context suffixes in provider IDs 2021-11-15 12:25:01 +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
Andrew Kingston fc6e531115 Merge pull request #3299 from Budibase/full-bindings
Full bindings for relationships and attachments
2021-11-11 11:01:27 +00:00
Andrew Kingston 2b59d44e06 Change bindable properties order 2021-11-10 14:57:46 +00:00
Andrew Kingston 4690ae827c Use full bindings for releationships and attachments 2021-11-09 15:45:32 +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 117a7f7ce8 Fix issue getting bindable properties when selecting a screen 2021-11-05 12:37:42 +00: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
mike12345567 a1aaf00e41 Fixing two issues, not verifying a file has been uploaded for import app and fixing HBS visual issue where handlebars statement could get screwed up. 2021-10-20 18:37:07 +01:00
Andrew Kingston 43d546b2db Fix inserting bindings manually when using JS 2021-10-11 16:18:20 +01:00
Andrew Kingston 67a74ee327 Fix bug determining if a binding is JS or not 2021-10-11 15:51:47 +01:00
Andrew Kingston 8f1e536318 Enable binding replacements in JS bindings 2021-10-11 14:54:24 +01:00
mike12345567 4ecc92de3b Updating data bindings, there were instances where it could loop/iterate over already replaced bindings, used a search technique to be a bit more specific about the replacements and make sure each binding could only be replaced once. 2021-09-30 17:24:43 +01:00
Andrew Kingston 8b35405a85 Fix regex binding replacement issue due to not being escaped 2021-09-24 16:24:16 +01:00
Maurits Lourens 28e7ef2806 replace all handlebars bindings, not just the first 2021-09-21 09:57:14 +02:00
Andrew Kingston bf8975ec6d Hide state bindings if feature is not available 2021-09-02 11:39:41 +01:00
Andrew Kingston 0f6a7946b5 Automatically determine which state keys are available 2021-08-26 16:46:25 +01:00
Andrew Kingston 9369e8b375 Add client app state and button actions to control it 2021-08-26 11:28:44 +01:00
Andrew Kingston 32fe0ea072 Support multiple component context exports and export additional context from forms 2021-08-18 14:58:58 +01:00
Andrew Kingston 47ca925003 Add global data bindings for mobile and tablet device sizes 2021-08-13 11:24:47 +01:00
Andrew Kingston 61912fd7cd Fix crash when removing data bindings from an object which contains a null value 2021-06-14 12:18:54 +01:00
Andrew Kingston 1ae8264276 Allow data providers to inherit each other and add full client side lucene implementation 2021-05-27 15:11:08 +01:00
mike12345567 e5f3b3956c Merge branch 'next' of github.com:Budibase/budibase into labday/mike-formulas 2021-05-04 13:24:14 +01:00
Andrew Kingston 797e8a8b67 Add explicit prettier options 2021-05-04 11:32:22 +01:00
Andrew Kingston c010eeb314 Fix prettier and fix crash when using certain views as data sources 2021-05-04 11:04:42 +01:00
mike12345567 d3ef4224a6 Merge branch 'labday/mike-formulas' of github.com:Budibase/budibase into labday/mike-formulas 2021-05-04 10:50:52 +01:00
mike12345567 dcf69b2181 Merge branch 'next' of github.com:Budibase/budibase into labday/mike-formulas 2021-05-04 10:34:30 +01:00
Keviin Åberg Kultalahti 0afbf1649e lint:fix 2021-05-03 09:31:09 +02:00
Michael Drury 48a0c66972 Fixing cypress tests. 2021-04-30 19:17:00 +01:00
mike12345567 a7022de9b5 Moving drawers around to be a common component as they are utilised in a few places, keep all the binding work together, as well as some fixing for readable/runtime binding detection and conversion. 2021-04-30 16:17:57 +01:00
mike12345567 b7a767a571 Linting. 2021-04-29 19:10:02 +01:00
mike12345567 a14c80bf6c Adding handlebars formulas to the system, it is now possible to set a formula at a column level which will always be applied on the way out with a relationship depth of one. 2021-04-29 19:06:58 +01:00
Michael Shanks a61c54f07e lint fix + remove electron.js 2021-04-13 16:57:22 +01:00
Martin McKeaveney 651b57fbb2 small fixes 2021-04-13 09:20:30 +01:00
Andrew Kingston 6c5129f8db Merge branch 'next' of github.com:Budibase/budibase into datasource-refactor 2021-04-01 17:58:10 +01:00
Andrew Kingston e15986a6a5 Remove unecessary escape in regex 2021-03-29 18:21:57 +01:00
Andrew Kingston c486a311b1 Update search component to work with new data bindings. Simplify manifest context entries for data bindings 2021-03-29 16:37:17 +01:00
Keviin Åberg Kultalahti 44e3f29a0b moves backend stores to "stores" in the root src directory 2021-03-26 09:50:37 +01:00
Andrew Kingston f17e2478e2 Fix crash generating bindable properties for an empty data provider ID 2021-03-25 16:17:56 +00:00
Andrew Kingston 14a4545874 Update cypress tests 2021-03-23 13:31:56 +00:00
Keviin Åberg Kultalahti d37778d809 lint fix 2021-03-23 13:31:18 +01:00
Keviin Åberg Kultalahti 45a2e5cf46 fix databindings 2021-03-23 12:48:54 +01:00
Keviin Åberg Kultalahti c77061f239 wip: converts components to use separate stores 2021-03-23 12:16:54 +01:00
Andrew Kingston 28e1688138 Don't add _id and _rev fields to form schemas 2021-03-22 17:59:54 +00:00
Andrew Kingston b9fe600a9b Fix data binding not generating bindable properties for components referencing a data provider ID wrapped for handlebars 2021-03-22 17:57:19 +00:00
Andrew Kingston e62a6b92b4 Update bindings to always ensure they are safely escaped 2021-03-22 12:10:43 +00:00
Andrew Kingston 12ea52f3b1 Update schema generation to automatically include _id and _rev fields 2021-03-19 14:04:00 +00:00
Andrew Kingston 6d7cb8d6ba Update bar chart to work with new data provider 2021-03-18 17:34:51 +00:00
Andrew Kingston 1368074f68 Update bindable properties to handle new data provider 2021-03-16 19:11:00 +00:00
Andrew Kingston 6e29423d4d Add data provider component and refactor component setting types 2021-03-16 13:54:34 +00:00
Andrew Kingston 1b5ac74150 Fix crash when schema doesnt exist for a datasource 2021-02-26 09:55:38 +00:00
mike12345567 2151709a9b Merge branch 'develop' of github.com:Budibase/budibase into bug/fix-binding-issue 2021-02-22 15:50:29 +00:00
mike12345567 afe70d1ba2 Fixing issue - this will replace any bindings when copying and pasting a stack of components with 'Invalid binding'. 2021-02-22 15:49:57 +00:00
Andrew Kingston 9c37fa8716 Merge branch 'develop' of github.com:Budibase/budibase into repeater-filtering 2021-02-22 12:23:46 +00:00
Andrew Kingston 7b4b22377d Display enriched relationship info in grids and bindings 2021-02-19 12:00:06 +00:00
Andrew Kingston 7f92c82298 Fix calc view schemas not being determined correctly 2021-02-17 16:01:11 +00:00
Andrew Kingston ec94aaa90b Merge branch 'develop' of github.com:Budibase/budibase into url-context 2021-02-16 15:35:05 +00:00
Andrew Kingston 284018fefa Rename form data bindings to Fields instead of Schema 2021-02-16 13:17:13 +00:00