Commit Graph

489 Commits

Author SHA1 Message Date
Andrew Kingston 03e6799258 Remove success notification on query success to prevent notifications on 'read' queries 2021-01-26 09:31:41 +00:00
Andrew Kingston 5bec329581 Merge branch 'master' of github.com:Budibase/budibase into component-binding-refactor 2021-01-26 09:11:43 +00:00
Keviin Åberg Kultalahti d622b75db3 some more typo fixes 2021-01-25 13:39:19 +01:00
Keviin Åberg Kultalahti 8ed9dd08cf fix typos and linting issues 2021-01-25 13:36:35 +01:00
Keviin Åberg Kultalahti 58f8350984 fixes spelling error 2021-01-25 13:14:38 +01:00
Keviin Åberg Kultalahti b64b164236 adds catch-all notification to some requests that aren't caught in the API 2021-01-25 13:10:13 +01:00
Keviin Åberg Kultalahti d2790ddd19 adds notifications to running queries 2021-01-25 12:57:04 +01:00
Keviin Åberg Kultalahti 8713105b62 changes notification handling from catch-all to specific messages per action 2021-01-25 12:55:29 +01:00
Keviin Åberg Kultalahti 2034fb8646 adds success notification messages to row API 2021-01-25 12:44:44 +01:00
Keviin Åberg Kultalahti d419766a31 update catch all error message 2021-01-25 11:06:50 +01:00
Keviin Åberg Kultalahti 2a9ae62834 switches context to use sdk instead of it's own context 2021-01-25 08:43:28 +01:00
Keviin Åberg Kultalahti 73b2a775aa failing API calls now display errors using the toast 2021-01-22 13:27:13 +01:00
Keviin Åberg Kultalahti 598f58bb63 use const instead of var 2021-01-22 13:11:38 +01:00
Keviin Åberg Kultalahti 67afb1678f adds smooth removal of notifications using animate:flip 2021-01-22 13:05:52 +01:00
Keviin Åberg Kultalahti 91e88d2025 removes unused context in Component 2021-01-22 12:47:43 +01:00
Keviin Åberg Kultalahti 6527f4ac74 lint fixes 2021-01-22 12:44:43 +01:00
Keviin Åberg Kultalahti bafd229716 minor fixes 2021-01-22 12:44:23 +01:00
Keviin Åberg Kultalahti e411ac5b3d Merge branch 'master' into feature/client-feedback-component 2021-01-22 12:34:16 +01:00
Keviin Åberg Kultalahti 0e1142b3cc adds notification toast capability to the client 2021-01-22 12:31:56 +01:00
Keviin Åberg Kultalahti 65652e1c14 finishes notificationStore 2021-01-22 12:21:44 +01:00
Andrew Kingston 343687cbab Stop component crashing if children don't exist 2021-01-22 11:08:42 +00:00
Andrew Kingston 4188761ea6 Merge branch 'master' of github.com:Budibase/budibase into component-binding-refactor 2021-01-22 11:07:27 +00:00
mike12345567 db5ce51c67 Merge branch 'master' of github.com:Budibase/budibase into feature/handlebars-migration 2021-01-22 10:49:03 +00:00
Keviin Åberg Kultalahti ca9f979105 first pass at custom store to handle notifications 2021-01-22 11:37:34 +01:00
Keviin Åberg Kultalahti 260213e468 switch name 2021-01-22 10:42:15 +01:00
Keviin Åberg Kultalahti e3b4ef81ae adds dummy errorStore to client lib 2021-01-22 10:24:43 +01:00
Andrew Kingston 86a3caa881 Remove unused vars 2021-01-21 15:49:58 +00:00
Andrew Kingston 3621bcf1de Prevent invalid query params being enriched 2021-01-21 13:45:05 +00:00
mike12345567 239079d973 Linting. 2021-01-21 11:32:26 +00:00
Andrew Kingston 9978d0707d Merge branch 'feature/handlebars-migration' of github.com:Budibase/budibase into form-builder 2021-01-21 11:31:45 +00:00
mike12345567 3dd985cfb6 Merge branch 'master' of github.com:Budibase/budibase into feature/handlebars-migration 2021-01-21 10:57:41 +00:00
Andrew Kingston 9056b0e49d Enrich datasources so that data can be correctly fetched reactively using only the datasource definition 2021-01-21 10:42:14 +00:00
Andrew Kingston ce6d89bc5c Only update components when their props actually change 2021-01-21 10:41:30 +00:00
Andrew Kingston 976517e028 Update client library to handle async enrichment 2021-01-20 13:49:41 +00:00
mike12345567 ce5ab5482b Updating the string templating system to be capable of async operations. 2021-01-20 13:32:15 +00:00
Andrew Kingston 47dabc16ce Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-20 11:14:36 +00:00
mike12345567 d7a3e6210d Moving everything over to use the string template library, now just need to escape spaces properly and handle HTML escaping. 2021-01-19 18:44:29 +00:00
Andrew Kingston d94473bca5 Update button actions and remove deprecated code 2021-01-19 17:38:24 +00:00
kevmodrome 84450d0323 adds a empty state for no components added in the repeater 2021-01-19 15:21:23 +01:00
mike12345567 419c6b9393 Adding the handlebars library, still need to add testcases to this. 2021-01-18 17:40:19 +00:00
Martin McKeaveney 133d93fbee fix dynamic params 2021-01-18 15:37:32 +00:00
Martin McKeaveney a7f9e2fb8f better integration API, parse JSON by default 2021-01-15 13:11:51 +00:00
Andrew Kingston 26067ed026 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-15 10:26:19 +00:00
Martin McKeaveney b96518458e v0.5.3 2021-01-14 15:24:01 +00:00
Martin McKeaveney 836092ec82 v0.5.2 2021-01-14 15:03:58 +00:00
Martin McKeaveney 951808e535 v0.5.1 2021-01-14 14:46:40 +00:00
Martin McKeaveney 3ea31ba383 v0.5.0 2021-01-14 14:37:53 +00:00
Andrew Kingston cdfcff4bbb Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-14 09:10:41 +00:00
Michael Shanks fbb4fd482f Merge pull request #981 from Budibase/trigger_automation_action
Trigger automation from button click
2021-01-13 11:06:10 +00:00
Andrew Kingston af73139a87 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-12 20:05:24 +00:00
Andrew Kingston 9b035df33e WIP component management and definition refactor 2021-01-12 20:00:35 +00:00
Martin McKeaveney a48869a2f0 merge 2021-01-11 20:29:33 +00:00
Martin McKeaveney 15de3c8f83 styling, async data fetching 2021-01-11 20:17:56 +00:00
Martin McKeaveney b76d42bcde use dynamic input in query 2021-01-11 15:34:43 +00:00
mike12345567 ef0787917a Fixing removal of full path function (adding back original functionality). 2021-01-11 10:01:02 +00:00
Michael Shanks ccb2d7de7d Merge remote-tracking branch 'origin/master' into trigger_automation_action 2021-01-11 09:51:48 +00:00
Andrew Kingston e94cdf1f8e Remove hostname check when creating API endpoint URLs now that they are proxied 2021-01-11 09:38:40 +00:00
Martin McKeaveney 102b7ce61f binding data context in component 2021-01-08 18:22:03 +00:00
Michael Shanks a878d7eb40 Trigger Automation from frontend actions 2021-01-08 17:25:06 +00:00
Martin McKeaveney 8e40f4b5f8 Allow dynamic query execution from front end components 2021-01-08 12:06:37 +00:00
mike12345567 f98bd2ca4a Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2021-01-08 10:46:55 +00:00
Andrew Kingston cf087209d7 Bundle app ID inside apps, rather than trying to find it dynamically 2021-01-07 14:53:56 +00:00
Andrew Kingston 32c71bd006 Bundle client as IIFE rather than ESM 2021-01-07 14:53:18 +00:00
Martin McKeaveney 963d8cb679 Merge branch 'master' of github.com:Budibase/budibase into external-tables 2021-01-07 13:39:48 +00:00
mike12345567 acbc15ad84 Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2021-01-06 17:00:49 +00:00
Andrew Kingston fcad9892e0 Swap back to border for selected component highlighting from box-shadow 2021-01-06 16:03:45 +00:00
Martin McKeaveney d7a0d29b03 switching between queries 2021-01-06 12:28:51 +00:00
mike12345567 1c553a75df Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2021-01-06 11:00:02 +00:00
Andrew Kingston 0cfc05f6a8 Initialise client app with preview type, left out from previous commit 2021-01-06 10:16:21 +00:00
Andrew Kingston 34509e0c12 Prevent client app links from functioning in the builder preview 2021-01-06 10:14:05 +00:00
Andrew Kingston a40bf95c41 Enable selecting components from the builder preview and apply any custom styles 2021-01-06 10:13:30 +00:00
Andrew Kingston c101715c0e Pass preview type to client app so it can decide whether components are selectable 2021-01-06 10:11:56 +00:00
mike12345567 40a6348e7c Version working with reverse proxy, need to just change settings menu in builder now to use this properly. 2021-01-05 18:47:51 +00:00
Martin McKeaveney 755fa0ac4a allow execution of external connector queries from button clicks 2021-01-04 18:57:16 +00:00
Andrew Kingston 1a1aa5963d Add ability to enter custom component CSS 2021-01-04 18:39:17 +00:00
Martin McKeaveney b4b4941003 use queries in front end 2020-12-30 12:58:39 +00:00
Martin McKeaveney 736adca7a4 v0.4.3 2020-12-23 22:39:10 +00:00
Martin McKeaveney 29b51bc6c2 separation of datasources and queries 2020-12-18 18:19:43 +00:00
Martin McKeaveney 0665a0dcc5 v0.4.2 2020-12-15 15:23:45 +00:00
Martin McKeaveney 14b88d781a v0.4.1 2020-12-15 14:46:11 +00:00
Martin McKeaveney f834004dab v0.4.0 2020-12-15 11:53:28 +00:00
Andrew Kingston cb7b5ae306 Fix lint 2020-12-11 16:19:56 +00:00
Andrew Kingston 84e1f54fa0 Improve navigation when logging in and out, remove need to hard reload the page and replace with smooth transitions 2020-12-11 14:24:19 +00:00
Andrew Kingston a926b23720 Sort routes to ensure the client router always matches correctly 2020-12-08 15:44:35 +00:00
Andrew Kingston 5130bdf3cd Improve handling of routes and screens. Fix issue which could prevent logging in depending on order of screens in app definition 2020-12-08 10:15:33 +00:00
Martin McKeaveney 39473cb029 merge 2020-12-07 21:20:35 +00:00
Martin McKeaveney 3b049bc286 allow creation of custom layouts, moving layoutId prop to top level of screen 2020-12-04 23:16:07 +00:00
Andrew Kingston d628edffe0 Remove log statement 2020-12-04 14:52:48 +00:00
Andrew Kingston 155c375ada Update client library to work with template screens in real preview 2020-12-04 14:04:07 +00:00
Martin McKeaveney f05d696ef7 email as default user identifier 2020-12-04 12:22:45 +00:00
Andrew Kingston 13a137ecd1 Update client app to work with layouts when running inside builder preview 2020-12-02 18:10:46 +00:00
Martin McKeaveney 13824dcf09 merge 2020-12-02 14:15:07 +00:00
Andrew Kingston ce2bff5bab Move selection highlighting in builder preview in to client library and replace handlebars with mustache again 2020-12-02 13:49:24 +00:00
Andrew Kingston 3ffeda9da9 Replace mustache usage in client library with handlebars instead 2020-12-02 12:46:36 +00:00
Martin McKeaveney 1c2a869e26 merge 2020-12-01 16:31:40 +00:00
Martin McKeaveney 33c40063af layouts and screens switcher, merge with component sdk 2020-12-01 16:22:06 +00:00
Andrew Kingston 00ef8dda44 Fix lint 2020-12-01 16:10:04 +00:00
Andrew Kingston edb3ea66fd Fix cypress tests (sort of) 2020-12-01 14:35:47 +00:00
Andrew Kingston 24d88882d1 Adding client lock file 2020-12-01 10:50:08 +00:00
Andrew Kingston a54dd9509f Remove deprecated props, fix warnings, remove old code 2020-11-30 15:05:36 +00:00
Andrew Kingston 48a5a50e85 Optimise builder preview speed and performance and fix components not updating when changing props 2020-11-30 12:11:50 +00:00
mike12345567 55aecdd850 Some further work after testing, really need to get the backlink of screens to layouts functional. 2020-11-27 16:36:31 +00:00
Andrew Kingston c962ea9ad9 Fix charts not correctly using data context 2020-11-25 18:43:58 +00:00
Andrew Kingston b8bc583fd9 Merge branch 'master' of github.com:Budibase/budibase into component-sdk 2020-11-25 18:38:58 +00:00
Andrew Kingston 07229858c8 Add fade screen transition and fix navigation component casing 2020-11-25 18:30:09 +00:00
Andrew Kingston b607d2e933 Tidy up dependencies and rollup configs for client and standard components 2020-11-25 16:03:52 +00:00
Andrew Kingston 1e857f101a Add button actions, simplify contexts and tidy up 2020-11-25 09:50:51 +00:00
Michael Shanks 300fbb3a5a Correct licenses 2020-11-24 16:04:44 +00:00
Andrew Kingston 199c3409c9 Simplify data contexts 2020-11-24 11:28:31 +00:00
Andrew Kingston def6054b26 Add datepicked data binding and fix mustache rendering for non string values 2020-11-24 11:13:26 +00:00
Andrew Kingston be4106eae4 Add component data binding and simplify context sharing 2020-11-24 11:02:10 +00:00
Andrew Kingston 18a0f3888b Add proper hot reloading of app preview when styles change 2020-11-24 09:31:54 +00:00
Andrew Kingston 99c167c54f Fix reinstantiating app when builder props change 2020-11-23 14:28:02 +00:00
Andrew Kingston b3cd81d832 Fix builder preview 2020-11-23 11:29:24 +00:00
Martin McKeaveney 417002beaa fix e2e 2020-11-20 11:41:17 +00:00
Andrew Kingston 093d7f95b9 Tidy up data binding 2020-11-20 10:49:39 +00:00
Andrew Kingston 1b0fa94dff Add support for full depth data binding 2020-11-20 09:50:10 +00:00
Martin McKeaveney 06db0b88a0 Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into routing-ui 2020-11-19 20:48:23 +00:00
Michael Drury 7ac1c2198e Fixing issues thrown up by PR. 2020-11-19 20:31:11 +00:00
Andrew Kingston 21a9840b8b Add header to flag whether a request originates from the client 2020-11-19 20:04:30 +00:00
Andrew Kingston 9c30ab2df3 Fetch app definition and routes from the server 2020-11-19 18:39:22 +00:00
Andrew Kingston ef2eba0433 Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into component-sdk 2020-11-19 17:55:40 +00:00
Martin McKeaveney 09bd7da1db add optional chain back in 2020-11-19 17:09:56 +00:00
Martin McKeaveney f91c833074 merge 2020-11-19 17:02:27 +00:00
mike12345567 b74d4dc473 Merge branch 'master' of github.com:Budibase/budibase into feature/backend-routing 2020-11-19 16:58:54 +00:00
mike12345567 961a921a09 linting. 2020-11-19 16:56:23 +00:00
mike12345567 4997df919e Fixing issues with the application API, it utilised /api/:appId heavily which is a route that matches nearly everything. 2020-11-19 16:55:59 +00:00
Andrew Kingston aaa6aa4c72 Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into component-sdk 2020-11-19 13:56:51 +00:00
Andrew Kingston 3dcd9d32e2 Fix fetching of relationship data in lists 2020-11-19 13:50:20 +00:00
Martin McKeaveney a00bf70d29 further store tidy up, derive selected page 2020-11-19 11:15:29 +00:00
Andrew Kingston e9fc20696b Fix data binding after file rename 2020-11-19 09:31:49 +00:00
Andrew Kingston 261ae68907 Add data binding enrichment 2020-11-19 09:24:58 +00:00
Martin McKeaveney 26cfb54a0f nested routing UI up and running, refactor drag and drop functionality by decoupling store from components 2020-11-18 22:04:18 +00:00
Andrew Kingston cdb8ff3563 Update all components to be renderable and styleable 2020-11-18 21:06:12 +00:00
Andrew Kingston 1a8d781c8c Refactor entire SDK into client lib and enable svelte context sharing between client and components 2020-11-18 19:18:18 +00:00
Martin McKeaveney 0f7594e3e2 Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into routing-ui 2020-11-18 13:55:08 +00:00
Andrew Kingston 7a3f9d61d2 Add work on data context in components 2020-11-18 11:24:01 +00:00
Andrew Kingston fef561ffe4 Merge branch 'master' of github.com:Budibase/budibase into component-sdk 2020-11-18 11:23:06 +00:00
mike12345567 e793c46097 Updates for screen refactor - finishing off getting everything over to the class based system. 2020-11-17 13:25:57 +00:00
Andrew Kingston 65610fde3c Remove log statements 2020-11-17 12:09:02 +00:00
Andrew Kingston e11656fa24 Add lots of new work on client library rewrite 2020-11-17 12:08:24 +00:00
Martin McKeaveney e9e97101e9 v0.3.8 2020-11-16 13:54:26 +00:00
Andrew Kingston 3a981ac256 Add initial new routing and svelte client app generation 2020-11-13 15:42:32 +00:00
Andrew Kingston bf5aa49e4d Fix client errors 2020-11-12 09:31:04 +00:00
Andrew Kingston 299dcbab3d Add majority of API interactions to SDK 2020-11-12 09:07:09 +00:00
Andrew Kingston 921cae0cbc Tidy up standard components 2020-11-11 14:26:33 +00:00
Andrew Kingston 499ad2e35d Add initial work on component SDK 2020-11-11 12:25:50 +00:00
Martin McKeaveney 2e6ed0bad9 v0.3.7 2020-11-10 20:23:36 +00:00
Martin McKeaveney 4c5c386a14 v0.3.6 2020-11-09 18:16:36 +00:00
Martin McKeaveney 1a273d9b05 v0.3.5 2020-11-09 16:28:06 +00:00