Commit Graph

283 Commits

Author SHA1 Message Date
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
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 29b51bc6c2 separation of datasources and queries 2020-12-18 18:19:43 +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
Andrew Kingston ef2eba0433 Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into component-sdk 2020-11-19 17:55:40 +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
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
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
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
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
mike12345567 2467043f35 Improving consistency of how appId is retrieved and making sure it is valid when being used. 2020-11-09 14:38:29 +00:00
mike12345567 f2e1f1f4e9 The API that the components library would use was not always consistent with the API client library would use and this would sometimes break things. 2020-11-09 09:42:35 +00:00
Andrew Kingston 253568fd2d Merge pull request #817 from Budibase/apex-charts
Apex charts
2020-11-09 08:48:44 +00:00
mike12345567 5f0912e6ff Linting. 2020-11-06 21:32:03 +00:00
mike12345567 ce12325b8c Fixing issues with auth not being able to find appId in pathname, using the currentapp cookie if pathname not populated. 2020-11-06 21:13:21 +00:00
Andrew Kingston 7aa8d7870d Fix crash when saving rows 2020-11-04 13:17:24 +00:00
Michael Drury 016e09eb81 Fixing issue with appId being checked when undefined. 2020-11-03 16:23:28 +00:00
Michael Drury 684df38561 Fixing issue that was breaking linting. 2020-11-03 15:35:27 +00:00
Michael Drury 4f28bd9430 Updating server test cases with the header for appId. 2020-11-03 15:00:39 +00:00
Michael Drury 19bcecf9f3 Linting and fixing client test case, have to mock getAppId as the location will never be set during testing. 2020-11-03 14:30:20 +00:00
Michael Drury ac73b5c4aa Further work towards the re-implementation of auth, changing how the appId is determined, now it mainly will use a header, and a cookie which will be written to store the current status of appId. 2020-11-03 13:45:49 +00:00
mike12345567 a1fd261af6 Some more re-work, more testing needed to auth stuff. 2020-11-02 20:14:10 +00:00
Michael Shanks a9d9e14e22 auth - standard-components not loading, windows 2020-10-18 21:45:46 +01:00
Michael Shanks 1a8c2907ca fixes home route matching everything 2020-10-16 23:36:42 +01:00
Michael Shanks 7ab1e9c6fb Merge remote-tracking branch 'origin/master' into mike-fixes 2020-10-16 21:39:51 +01:00
Andrew Kingston 19bfa87859 Fix link 2020-10-16 16:00:26 +01:00
Michael Shanks ab23d02f4b client - sanitize urls, so we can match routes with nasty chars 2020-10-16 15:44:39 +01:00
Andrew Kingston 0c61fe60a2 Fix crashing whenever hitting an API error from client app 2020-10-16 09:37:19 +01:00
Andrew Kingston bb2a650eee Merge branch 'master' of github.com:Budibase/budibase into autoscreen-templates 2020-10-16 09:17:54 +01:00
Andrew Kingston 92a6bd1a6d Fix popstate client routing events 2020-10-16 09:16:25 +01:00
Andrew Kingston 89bba530be Merge branch 'master' of github.com:Budibase/budibase into autoscreen-templates 2020-10-16 08:39:06 +01:00
Andrew Kingston 536e1f2ab3 Add new Delete Row action which can be used in client apps 2020-10-16 08:37:13 +01:00
Michael Shanks cf1df37e71 Merge remote-tracking branch 'origin/master' into mike-fixes 2020-10-15 23:21:12 +01:00
Martin McKeaveney 5565bd2124 replacing pathname 2020-10-15 14:46:24 +01:00
Martin McKeaveney f163027ca8 more auth bugfixes 2020-10-15 14:26:33 +01:00
Michael Shanks 8f0be4c44c Merge remote-tracking branch 'origin/master' into mike-fixes 2020-10-15 09:18:04 +01:00
Michael Shanks 9ee36ef2c0 app screen routing - routes are no case insensitive 2020-10-14 20:54:07 +01:00
Andrew Kingston db8e0b03c4 Add support for client app ID routing when serving on a LAN ip address 2020-10-14 20:33:09 +01:00
mike12345567 5e9d32824c Merge branch 'feat/linked-records-data-source' of github.com:Budibase/budibase into endpoint-renaming 2020-10-13 09:58:08 +01:00