Commit Graph

118 Commits

Author SHA1 Message Date
Andrew Kingston c980801579 Add role IDs as bindings 2022-04-05 16:05:29 +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