Commit Graph

227 Commits

Author SHA1 Message Date
mike12345567 ce5ab5482b Updating the string templating system to be capable of async operations. 2021-01-20 13:32:15 +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
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
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
Michael Shanks a878d7eb40 Trigger Automation from frontend actions 2021-01-08 17:25:06 +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
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
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
Andrew Kingston 1a1aa5963d Add ability to enter custom component CSS 2021-01-04 18:39:17 +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 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 07229858c8 Add fade screen transition and fix navigation component casing 2020-11-25 18:30:09 +00:00
Andrew Kingston 1e857f101a Add button actions, simplify contexts and tidy up 2020-11-25 09:50:51 +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
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
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