1
0
Fork 0
mirror of synced 2024-08-26 15:31:48 +12:00
Commit graph

1017 commits

Author SHA1 Message Date
Andrew Kingston
b488293e92 Add warning to navigation section when using an old screen with a custom layout, and allow upgrading 2022-05-13 13:50:15 +01:00
mike12345567
a7631bbad9 Shifting the title of the flow item header into separate component so that it can be used by the run history flow as well. 2022-05-12 18:14:38 +01:00
Andrew Kingston
b041700ea8 Remove concept of frontend preview types 2022-05-12 09:46:21 +01:00
Andrew Kingston
8331b72b1a Remove currentView flag from builder store 2022-05-12 09:42:57 +01:00
Andrew Kingston
5f7940d9a1 Render screenslot when showing legacy layouts and remove concept of preview type 2022-05-12 09:42:25 +01:00
Andrew Kingston
343f28bbe1 Add initial layouts panel and add explicit panels for theme and navigation tabs 2022-05-11 12:47:24 +01:00
Andrew Kingston
4ebe82c82e Update screen sorting to sort using url param order 2022-05-11 09:04:33 +01:00
Andrew Kingston
914a94b695 Remove concept of selected access role and refactor logic around assigning roles to new screens 2022-05-11 08:47:24 +01:00
Andrew Kingston
a8ac919a71 Add new settings to new screens upon creation 2022-05-10 17:00:03 +01:00
Andrew Kingston
90436a0167 Automatically update old apps with new navigation settings based on old layouts 2022-05-10 16:20:28 +01:00
Andrew Kingston
088c7123e6 Centrally sort screens to allow consistency across design UI 2022-05-10 13:32:34 +01:00
Andrew Kingston
1d9b053efc Add link settings to new navigation tab 2022-04-27 17:50:01 +01:00
Rory Powell
bd33c827eb Merge branch 'develop' into feature/posthog-v2 2022-04-27 16:32:00 +01:00
Andrew Kingston
570484eedf Allow client library to render new screen structure without layouts 2022-04-27 12:30:35 +01:00
Andrew Kingston
944e7a0343 Add ability to set home screens and fix issue with sorting screens 2022-04-27 11:36:47 +01:00
Andrew Kingston
c22ffb9f52 Don't show selected components unless the components tab is active and automatically route to components whenever selecting on in the preview 2022-04-27 08:47:06 +01:00
Andrew Kingston
c81135dbd6 Add back in component settings panel 2022-04-26 14:22:32 +01:00
Andrew Kingston
53f3a4755b Add back in working component tree with scrolling and dropdown menus 2022-04-26 13:44:21 +01:00
Andrew Kingston
f3fc57a94d Add screen settings panel 2022-04-25 19:59:30 +01:00
Andrew Kingston
a1a4dca420 Update routify structure to prevent remounting full page when changing URL params and update nav item wrapping 2022-04-25 19:33:43 +01:00
Andrew Kingston
2436c8d6e8 Merge branch 'feature/new-app-publish-workflow' of github.com:Budibase/budibase into new-design-ui-dirty 2022-04-25 13:42:23 +01:00
Andrew Kingston
c35906a831 Refactor routes and start updating core design UI into new components 2022-04-22 16:03:47 +01:00
Andrew Kingston
4126e5884d Add reusable utility to sync URL params with state 2022-04-21 17:06:11 +01:00
Andrew Kingston
04b299750d Add button actions to update form field values 2022-04-14 09:46:07 +01:00
Rory Powell
23b68660c2 Merge branch 'feature/licensing' into feature/posthog-v2 2022-04-12 17:12:46 +01:00
Andrew Kingston
c9ef46d2bf Fix spaces in screen URLs 2022-04-07 16:06:04 +01:00
Andrew Kingston
07c8bc4af8 Fix endless encoding loop with screen URLs 2022-04-07 12:23:17 +01:00
Andrew Kingston
b4632fc431 Update role bindings to use Role prefix rather than Roles 2022-04-06 08:22:10 +01:00
Andrew Kingston
2cafc7d032 Add role IDs as bindings 2022-04-05 16:05:29 +01:00
Andrew Kingston
4b21d4bba0 Merge branch 'develop' of github.com:Budibase/budibase into nord-theme 2022-04-04 12:19:29 +01:00
Rory Powell
1922bd1fcb Add analytics to backend-core. Update server posthog usage 2022-03-25 13:04:34 +00:00
Andrew Kingston
9f3a0ce3c9
Merge pull request #5086 from Budibase/continue-if-button-action
'Continue if' button action
2022-03-25 12:29:19 +00:00
Andrew Kingston
78e78523e0 Merge branch 'develop' of github.com:Budibase/budibase into feature/map-actions 2022-03-25 12:00:17 +00:00
Andrew Kingston
ff327423e1 Add 'continue if' button action 2022-03-25 09:26:15 +00:00
Andrew Kingston
3d0328e65e Fix issue when currentAsset is null and fix overflow when no screens for current role 2022-03-21 15:21:29 +00:00
Andrew Kingston
3b7f59323e Ensure the component tree containing the selected component cannot be hidden 2022-03-21 15:17:51 +00:00
Andrew Kingston
1e78ff1463 Add nord theme 2022-03-15 11:20:06 +00:00
Andrew Kingston
2d33b1195e 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
eabe1a0057 Add optional chaining to all current asset references to account for nullish values 2022-03-08 17:57:36 +00:00
Andrew Kingston
fe95844569 Merge branch 'develop' of github.com:Budibase/budibase into copy-paste-improvements 2022-03-08 13:35:35 +00:00
Peter Clement
ea63b9b065 Add button action allowing for export of client row selection 2022-03-07 12:06:11 +00:00
Andrew Kingston
a6cf5852fd 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
d89f5f74e5 Rewrite screen wizard to make modals reusable and fix some edge case URL bugs 2022-03-02 19:10:18 +00:00
Andrew Kingston
18d7176ab7 Improve copy and paste to support keeping all data bindings valid 2022-03-02 17:45:01 +00:00
Peter Clement
c630a18946
Merge pull request #4390 from Budibase/feature/automation-data-types
Adding ability to toggle between Automation input types.
2022-03-01 14:00:21 +00:00
Peter Clement
e730a447e9 Merge remote-tracking branch 'origin/develop' into feature/automation-data-types 2022-03-01 11:18:11 +00:00
Andrew Kingston
0338e8c7b5 Ensure data binding generation doesn't crash if no asset is selected 2022-02-25 08:25:56 +00:00
Andrew Kingston
664fd945f4 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
53c207691c add ability to select rows from different tables and provide bindings 2022-02-22 15:18:08 +00:00
Peter Clement
8d5cf7cbb5 Merge remote-tracking branch 'origin/develop' into feature/table-row-selection 2022-02-22 15:17:38 +00:00
Andrew Kingston
953c6b13bf Fix issue with schema generation when datasource is undefined 2022-02-17 09:25:02 +00:00
Peter Clement
8fc10b3341 Merge remote-tracking branch 'origin/develop' into feature/table-row-selection 2022-02-16 14:35:42 +00:00
Andrew Kingston
9daa241c71 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
a665c71529 Merge remote-tracking branch 'origin/develop' into feature/automation-data-types 2022-02-15 14:14:27 +00:00
Peter Clement
77822bbca3 update automation type coercion 2022-02-15 13:03:24 +00:00
Peter Clement
2ead1c59be changing bindings key 2022-02-11 15:37:43 +00:00
Peter Clement
350edc2aec add row selection functionality to tables 2022-02-11 11:55:35 +00:00
Peter Clement
59b59dcccb change naming of var 2022-02-08 15:00:16 +00:00
Peter Clement
e7c02e2fb8 allow use of plain inputs for automations enabling use of bindings in all types 2022-02-08 14:52:08 +00:00
Andrew Kingston
e6ed16f274 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-08 08:12:37 +00:00
Andrew Kingston
04d53a709c Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-07 14:45:14 +00:00
Andrew Kingston
a575763bf6 Use automatic formatting for generated longform fields 2022-02-07 12:11:20 +00:00
Andrew Kingston
f5197df8b4 Reset the builder store whenever unmounting the app root layout 2022-02-04 09:29:51 +00:00
Andrew Kingston
515d4f91c0 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-26 16:02:27 +00:00
Rory Powell
5cb6e19274 Add CSRF Token 2022-01-25 22:54:50 +00:00
Andrew Kingston
48c3c7852a Lint 2022-01-25 15:49:35 +00:00
Andrew Kingston
9ea5be7851 Refactor automation store to properly handle errors 2022-01-25 15:44:08 +00:00
Andrew Kingston
da4d462f8c Clean up frontend store 2022-01-24 18:53:41 +00:00
Andrew Kingston
7e90c3de43 Remove all obscure error handling from stores and move it to the display level 2022-01-24 18:40:06 +00:00
Andrew Kingston
c7877055a5 Move API client in builder to top level under src and fix some endpoints not being imported 2022-01-24 16:38:36 +00:00
Andrew Kingston
e0cb60d011 Update remaining builder stores to use new core API and handle errors properly 2022-01-24 14:32:27 +00:00
Andrew Kingston
db30c91a0b Refactor all backend stores and their usages to use new core API and handle errors 2022-01-24 12:37:22 +00:00
Rory Powell
7e0c435b7b Merge branch 'develop' into feature/app-urls 2022-01-21 17:35:23 +00:00
Rory Powell
08bd447b51 Remove server -> worker request to retrieve apps, remove hosting endpoints and store 2022-01-21 17:31:18 +00:00
Andrew Kingston
ca6fa1334a Add lots more work on refactoring builder to use core API 2022-01-21 15:09:27 +00:00
Andrew Kingston
1f22b4ecfe Add more work on API refactor in builder 2022-01-21 09:10:59 +00:00
Andrew Kingston
2e73a693db Update parts of builder with core API refactor 2022-01-20 18:42:30 +00:00
mike12345567
5ba73b3c5c Minor fix, when testing the filtering the data section noticed some stuff didn't work, like filtering by just a number (which is actually text) we fixed this previously but had to version the API to fix it, builder needed to send up the API version it desires to use. 2022-01-20 18:06:14 +00:00
Andrew Kingston
3a3f4f0538 Update usages of utils and helpers in the builder 2022-01-20 11:19:37 +00:00
Andrew Kingston
597a1e5e68 Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-01-19 13:54:39 +00:00
mike12345567
1623a929cc Merge branch 'master' of github.com:Budibase/budibase into develop 2022-01-18 14:25:30 +00:00
Andrew Kingston
919e31d216 Add initial work on frontend-core refactor 2022-01-18 09:39:19 +00:00
Rory Powell
6a1b96fe6d Test fix 2022-01-13 17:46:57 +00:00
Rory Powell
d07852bcf2 Handle 403 when loading templates 2022-01-13 17:24:52 +00:00
Rory Powell
9da1c77903 Fix return url using cookies 2022-01-13 14:07:49 +00:00
mike12345567
cd3148da95 Adding a skip button for fetching plus datasource tables incase working with very large data sets and still want to perform queries. 2022-01-06 15:28:38 +00:00
Andrew Kingston
8d10fcf34c Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-12-15 13:36:10 +00:00
Andrew Kingston
54645df16f Refactor button definitions, rename button action components and add button manifest 2021-12-13 10:55:45 +00:00
Andrew Kingston
5793cc3bbd Add support for binding forms to deep json fields 2021-12-10 14:18:01 +00:00
Andrew Kingston
6aaab83895 Generate button context bindings for all button actions 2021-12-09 08:36:50 +00:00
Andrew Kingston
3c2c18a8dc 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
ba2588d44e Add support for accessing unlimited levels of nested JSON arrays 2021-12-07 21:19:14 +00:00
Andrew Kingston
a0f3863f69 Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-12-07 15:11:32 +00:00
Andrew Kingston
122f8dba3a Fix data bindings from JSON fields not correctly squashing nested structures beyond the first level 2021-12-06 19:56:05 +00:00
Andrew Kingston
999d8f3d55 Add data bindings for top level properties within JSON fields 2021-12-06 19:55:21 +00:00
Andrew Kingston
39e1e84512 Enable support for handling shallow non-object arrays in JSON fields 2021-12-06 18:12:27 +00:00
mike12345567
ba9854d121 Adding all response capabilities. 2021-12-06 17:39:51 +00:00
Andrew Kingston
2a814abd53 Add more comments to clarify data binding behaviour 2021-12-06 12:14:06 +00:00
Andrew Kingston
bd00ab28b4 Remove log statements 2021-12-06 12:04:55 +00:00
Andrew Kingston
b0732846d0 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
f898b8c94d 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
mike12345567
c949f7fd09 Merge branch 'develop' of github.com:Budibase/budibase into feature/rest-redesign 2021-12-03 12:45:32 +00:00
Andrew Kingston
b362068d47 Add new form field component for JSON fields, JSON validation and update autoscreen generation 2021-12-03 09:20:45 +00:00
mike12345567
a5e4d0bc95 Merge branch 'develop' of github.com:Budibase/budibase into feature/rest-redesign 2021-12-02 14:35:17 +00:00
Andrew Kingston
b3b56a7d15 Reset client features when selecting a new app 2021-12-02 12:27:59 +00:00
Andrew Kingston
51cedd537f Merge branch 'fix/block-context' of github.com:Budibase/budibase into feature/json-backend 2021-12-01 11:40:09 +00:00
Andrew Kingston
a3af1ece09 Ensuire the save row action determines the correct runtime bindings and only uses valid context types 2021-12-01 10:32:55 +00:00
mike12345567
655c6034c2 Updating REST creation, removing the modal step, updating the config page to move things around as per designs. 2021-11-30 16:21:16 +00:00
Andrew Kingston
52b7e41e5f Prevent data providers from using arbitrary context-providing components as sources 2021-11-30 14:32:18 +00:00
mike12345567
5e0a6d6c91 Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-11-30 11:32:50 +00:00
mike12345567
de0b23dd9f Moving generation to builder because it reduces API calls and has no reason to be carried out server-side, handling array/object schema generation correctly. 2021-11-29 17:11:08 +00:00
Andrew Kingston
0da0002bc5 Preserve bindings when duplicating components 2021-11-29 08:30:52 +00:00
Peter Clement
3d94d1df88
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
f271bef3cb fix automation 2021-11-25 09:30:10 +00:00
Peter Clement
9e0ab7373d refactor screen templates to include table name 2021-11-24 19:26:07 +00:00
Peter Clement
7e65edfc5a refactor screen templates to include table name 2021-11-24 19:10:10 +00:00
Peter Clement
672cf93b50 Merge remote-tracking branch 'origin/develop' into fix/pc-generic-fixes 2021-11-23 10:24:27 +00:00
Andrew Kingston
5cf9aad280
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
8d93a89b1d
Merge pull request #3334 from Budibase/feature/auto-screen-ui
Feature/auto screen UI
2021-11-22 10:15:44 +00:00
Peter Clement
ace9d9b878 fix bug with test results 2021-11-18 11:41:51 +00:00
Peter Clement
2d76c530f7 save inputted test data 2021-11-17 13:49:34 +00:00
Andrew Kingston
e4eb925a15 Prevent unecessary updates to component settings to improve performance 2021-11-16 13:38:47 +00:00
Andrew Kingston
3db13562d6
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
0c9ab127e5 Update data sources to correctly include block context suffixes in provider IDs 2021-11-15 12:25:01 +00:00
Andrew Kingston
07f15c5759 Add data block component 2021-11-12 15:19:25 +00:00
Andrew Kingston
e0c88597a7 Enable data providers to use array and attachment fields as their source 2021-11-12 13:42:55 +00:00
mike12345567
d54992de3d Merge branch 'master' of github.com:Budibase/budibase into develop 2021-11-11 13:48:07 +00:00
Andrew Kingston
7fd5f60ecc
Merge pull request #3299 from Budibase/full-bindings
Full bindings for relationships and attachments
2021-11-11 11:01:27 +00:00
Andrew Kingston
0637168ab9 Change bindable properties order 2021-11-10 14:57:46 +00:00
Peter Clement
6dfba972a5 Merge remote-tracking branch 'origin/develop' into feature/auto-screen-ui 2021-11-10 14:48:56 +00:00
Andrew Kingston
25f2109d1f Use full bindings for releationships and attachments 2021-11-09 15:45:32 +00:00
Martin McKeaveney
f7550c8c47 adding flags for messagePassing 2021-11-09 12:15:29 +01:00
Peter Clement
9df2f8b634 new auto screen ux 2021-11-09 09:33:34 +00:00
Andrew Kingston
aa56d6fd63 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
cb263cd1e4 Fix issue getting bindable properties when selecting a screen 2021-11-05 12:37:42 +00:00
Andrew Kingston
dc9b1a2a8c 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
56274019d6 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
mike12345567
89be613c40 Setting a hard limit on how many rows can be returned by the SQL plus queries. 2021-10-15 17:52:06 +01:00
mike12345567
0ba56ea54c Merge branch 'develop' of github.com:Budibase/budibase into js-binding-drawer 2021-10-13 16:48:36 +01:00
Peter Clement
6f708ec86b fix webhook issue in automations 2021-10-12 11:00:49 +01:00
Andrew Kingston
b06669fe32 Fix inserting bindings manually when using JS 2021-10-11 16:18:20 +01:00
Andrew Kingston
d114b3f1ed Fix bug determining if a binding is JS or not 2021-10-11 15:51:47 +01:00
Andrew Kingston
21c60849c7 Enable binding replacements in JS bindings 2021-10-11 14:54:24 +01:00
mike12345567
3cc733eefd Merge branch 'develop' of github.com:Budibase/budibase into fix/mike-fixes 2021-10-06 16:58:02 +01:00
mike12345567
2b0bdffa65 Fixing an issue with attempting to access a locked app causes a redirect loop locking up browser. 2021-10-06 16:27:46 +01:00
Peter Clement
82fed89d04
Merge pull request #2902 from Budibase/bug/pc-ux-fixes
Some UX fixes for datasources and automations
2021-10-06 15:53:22 +01:00
Peter Clement
e7d30a968a allow user to add automation block between existing blocks 2021-10-06 15:09:51 +01:00
Andrew Kingston
cf91990125 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
6e9736e79b Prevent screen slot or something containing the screen slot from being deleted 2021-10-01 15:01:16 +01:00
mike12345567
c7bc68d0de 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