Commit Graph

351 Commits

Author SHA1 Message Date
Andrew Kingston 58c2659e94 Update client library to work with template screens in real preview 2020-12-04 14:04:07 +00:00
Martin McKeaveney d6b00d5ebe email as default user identifier 2020-12-04 12:22:45 +00:00
Andrew Kingston 3ab5c834f7 Update client app to work with layouts when running inside builder preview 2020-12-02 18:10:46 +00:00
Martin McKeaveney f70db5df36 merge 2020-12-02 14:15:07 +00:00
Andrew Kingston 859ae5f8a4 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 0a72b0e21b Replace mustache usage in client library with handlebars instead 2020-12-02 12:46:36 +00:00
Martin McKeaveney 5674bfc8fa merge 2020-12-01 16:31:40 +00:00
Martin McKeaveney 01343e1474 layouts and screens switcher, merge with component sdk 2020-12-01 16:22:06 +00:00
Andrew Kingston ca9a3d2f3e Fix lint 2020-12-01 16:10:04 +00:00
Andrew Kingston a7fef455ed Fix cypress tests (sort of) 2020-12-01 14:35:47 +00:00
Andrew Kingston 79f1b17265 Adding client lock file 2020-12-01 10:50:08 +00:00
Andrew Kingston ce18e253ba Remove deprecated props, fix warnings, remove old code 2020-11-30 15:05:36 +00:00
Andrew Kingston 3ee9fee10c Optimise builder preview speed and performance and fix components not updating when changing props 2020-11-30 12:11:50 +00:00
mike12345567 d7f2060954 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 86cfd3db22 Fix charts not correctly using data context 2020-11-25 18:43:58 +00:00
Andrew Kingston b000174fce Merge branch 'master' of github.com:Budibase/budibase into component-sdk 2020-11-25 18:38:58 +00:00
Andrew Kingston 9c4b9a2a25 Add fade screen transition and fix navigation component casing 2020-11-25 18:30:09 +00:00
Andrew Kingston 004b3e5daa Tidy up dependencies and rollup configs for client and standard components 2020-11-25 16:03:52 +00:00
Andrew Kingston 907c0fcfda Add button actions, simplify contexts and tidy up 2020-11-25 09:50:51 +00:00
Michael Shanks 88ccfbe844 Correct licenses 2020-11-24 16:04:44 +00:00
Andrew Kingston ad5fc0e780 Simplify data contexts 2020-11-24 11:28:31 +00:00
Andrew Kingston 920ef90e14 Add datepicked data binding and fix mustache rendering for non string values 2020-11-24 11:13:26 +00:00
Andrew Kingston e62fbf8ef7 Add component data binding and simplify context sharing 2020-11-24 11:02:10 +00:00
Andrew Kingston 853f5d8745 Add proper hot reloading of app preview when styles change 2020-11-24 09:31:54 +00:00
Andrew Kingston aa38f1fe57 Fix reinstantiating app when builder props change 2020-11-23 14:28:02 +00:00
Andrew Kingston 192959c865 Fix builder preview 2020-11-23 11:29:24 +00:00
Martin McKeaveney 42d8a94f9a fix e2e 2020-11-20 11:41:17 +00:00
Andrew Kingston 911fa31fe3 Tidy up data binding 2020-11-20 10:49:39 +00:00
Andrew Kingston 32a143cf41 Add support for full depth data binding 2020-11-20 09:50:10 +00:00
Martin McKeaveney a4e0ba8e4b Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into routing-ui 2020-11-19 20:48:23 +00:00
Michael Drury 7f3f11c68b Fixing issues thrown up by PR. 2020-11-19 20:31:11 +00:00
Andrew Kingston 2cb4cb2ce9 Add header to flag whether a request originates from the client 2020-11-19 20:04:30 +00:00
Andrew Kingston 674b89df5d Fetch app definition and routes from the server 2020-11-19 18:39:22 +00:00
Andrew Kingston 71b59d7cca Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into component-sdk 2020-11-19 17:55:40 +00:00
Martin McKeaveney ee8dc0282a add optional chain back in 2020-11-19 17:09:56 +00:00
Martin McKeaveney 7b2a9ec807 merge 2020-11-19 17:02:27 +00:00
mike12345567 c240274889 Merge branch 'master' of github.com:Budibase/budibase into feature/backend-routing 2020-11-19 16:58:54 +00:00
mike12345567 a9d5c3a5cb linting. 2020-11-19 16:56:23 +00:00
mike12345567 87528c8d55 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 70a88589e9 Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into component-sdk 2020-11-19 13:56:51 +00:00
Andrew Kingston c1c7c8ede4 Fix fetching of relationship data in lists 2020-11-19 13:50:20 +00:00
Martin McKeaveney d473786d7e further store tidy up, derive selected page 2020-11-19 11:15:29 +00:00
Andrew Kingston 9ce7817233 Fix data binding after file rename 2020-11-19 09:31:49 +00:00
Andrew Kingston 0ff8a9a67b Add data binding enrichment 2020-11-19 09:24:58 +00:00
Martin McKeaveney a5827a9c53 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 1bd2fac9b2 Update all components to be renderable and styleable 2020-11-18 21:06:12 +00:00
Andrew Kingston a18a861177 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 b501504150 Merge branch 'feature/backend-routing' of github.com:Budibase/budibase into routing-ui 2020-11-18 13:55:08 +00:00
Andrew Kingston 2f0e4694e0 Add work on data context in components 2020-11-18 11:24:01 +00:00
Andrew Kingston aef49616a7 Merge branch 'master' of github.com:Budibase/budibase into component-sdk 2020-11-18 11:23:06 +00:00
mike12345567 d63054a426 Updates for screen refactor - finishing off getting everything over to the class based system. 2020-11-17 13:25:57 +00:00
Andrew Kingston 1ab29e05b1 Remove log statements 2020-11-17 12:09:02 +00:00
Andrew Kingston 94458b3907 Add lots of new work on client library rewrite 2020-11-17 12:08:24 +00:00
Martin McKeaveney 8c5b801c0a v0.3.8 2020-11-16 13:54:26 +00:00
Andrew Kingston cbeea17db0 Add initial new routing and svelte client app generation 2020-11-13 15:42:32 +00:00
Andrew Kingston 0f12f19619 Fix client errors 2020-11-12 09:31:04 +00:00
Andrew Kingston aa70eab935 Add majority of API interactions to SDK 2020-11-12 09:07:09 +00:00
Andrew Kingston e24a89af56 Tidy up standard components 2020-11-11 14:26:33 +00:00
Andrew Kingston f8732b3038 Add initial work on component SDK 2020-11-11 12:25:50 +00:00
Martin McKeaveney fb0f7b0c73 v0.3.7 2020-11-10 20:23:36 +00:00
Martin McKeaveney 2adf0560ac v0.3.6 2020-11-09 18:16:36 +00:00
Martin McKeaveney fc285c64a4 v0.3.5 2020-11-09 16:28:06 +00:00
mike12345567 3d6f50ee5d Improving consistency of how appId is retrieved and making sure it is valid when being used. 2020-11-09 14:38:29 +00:00
Martin McKeaveney 51c0461f35 v0.3.4 2020-11-09 11:08:41 +00:00
mike12345567 7600710125 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 65b36677e6
Merge pull request #817 from Budibase/apex-charts
Apex charts
2020-11-09 08:48:44 +00:00
Martin McKeaveney 4c77b9ceef v0.3.3 2020-11-06 21:40:31 +00:00
mike12345567 eca97f6f57 Linting. 2020-11-06 21:32:03 +00:00
mike12345567 472305d214 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
Martin McKeaveney 612e5e234e v0.3.2 2020-11-06 11:39:44 +00:00
Andrew Kingston e1b3982bab Fix crash when saving rows 2020-11-04 13:17:24 +00:00
Michael Drury b3fbffdfdc Fixing issue with appId being checked when undefined. 2020-11-03 16:23:28 +00:00
Michael Drury 42b16069a6 Fixing issue that was breaking linting. 2020-11-03 15:35:27 +00:00
Michael Drury 0cc837b220 Updating server test cases with the header for appId. 2020-11-03 15:00:39 +00:00
Michael Drury 957706fc91 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 a35b6a57f9 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
Michael Drury 215e1251bc Some further work, logout and preview appear to be working much better now. 2020-11-02 22:46:31 +00:00
mike12345567 0c81516662 Some more re-work, more testing needed to auth stuff. 2020-11-02 20:14:10 +00:00
Martin McKeaveney 1a8a97a103 v0.3.1 2020-10-28 21:30:51 +00:00
Martin McKeaveney 859577299d v0.3.0 2020-10-28 20:28:00 +00:00
Martin McKeaveney d08c1f7140 v0.2.6 2020-10-21 14:14:33 +01:00
Martin McKeaveney 1b5cddb3b5 v0.2.5 2020-10-19 20:31:49 +01:00
Martin McKeaveney b1fc7efa3d v0.2.4 2020-10-19 09:48:33 +01:00
Martin McKeaveney d0d9c33c46 v0.2.3 2020-10-19 08:45:23 +01:00
Michael Shanks 158240bc3b auth - standard-components not loading, windows 2020-10-18 21:45:46 +01:00
Michael Shanks 492c45f169 fixes home route matching everything 2020-10-16 23:36:42 +01:00
Michael Shanks 3f53e2958b Merge remote-tracking branch 'origin/master' into mike-fixes 2020-10-16 21:39:51 +01:00
Andrew Kingston 5253534a05 Fix link 2020-10-16 16:00:26 +01:00
Michael Shanks acd17a6668 client - sanitize urls, so we can match routes with nasty chars 2020-10-16 15:44:39 +01:00
Andrew Kingston 42469e069d Merge branch 'master' of github.com:Budibase/budibase into autoscreen-templates 2020-10-16 12:57:29 +01:00
Martin McKeaveney fff78a0072 v0.2.2 2020-10-16 12:41:05 +01:00
Andrew Kingston 711fab2269 Fix crashing whenever hitting an API error from client app 2020-10-16 09:37:19 +01:00
Andrew Kingston c818bc9a3f Merge branch 'master' of github.com:Budibase/budibase into autoscreen-templates 2020-10-16 09:17:54 +01:00
Andrew Kingston c627c1d7d7 Fix popstate client routing events 2020-10-16 09:16:25 +01:00
Andrew Kingston e21059c74f Merge branch 'master' of github.com:Budibase/budibase into autoscreen-templates 2020-10-16 08:39:06 +01:00
Andrew Kingston 5f7103f508 Add new Delete Row action which can be used in client apps 2020-10-16 08:37:13 +01:00
Michael Shanks 44d6c3a649 Merge remote-tracking branch 'origin/master' into mike-fixes 2020-10-15 23:21:12 +01:00
Martin McKeaveney 1238f85890 replacing pathname 2020-10-15 14:46:24 +01:00
Martin McKeaveney 8a936e0927 more auth bugfixes 2020-10-15 14:26:33 +01:00
Michael Shanks 58b0d2221e Merge remote-tracking branch 'origin/master' into mike-fixes 2020-10-15 09:18:04 +01:00