1
0
Fork 0
mirror of synced 2024-08-22 21:41:49 +12:00
Commit graph

58 commits

Author SHA1 Message Date
Andrew Kingston
602255c1fc Fetch and use app theme in real client apps 2021-06-30 20:35:02 +01:00
Andrew Kingston
d28c48ccad Add global app theme picker and use it in client preview 2021-06-28 12:55:11 +01:00
Andrew Kingston
97dfc14007 Bundle app ID inside apps, rather than trying to find it dynamically 2021-01-07 14:53:56 +00:00
Andrew Kingston
6a6cbd6623 Initialise client app with preview type, left out from previous commit 2021-01-06 10:16:21 +00:00
Martin McKeaveney
01343e1474 layouts and screens switcher, merge with component sdk 2020-12-01 16:22:06 +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
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
94458b3907 Add lots of new work on client library rewrite 2020-11-17 12:08:24 +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
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
mike12345567
0c81516662 Some more re-work, more testing needed to auth stuff. 2020-11-02 20:14:10 +00:00
Michael Shanks
158240bc3b auth - standard-components not loading, windows 2020-10-18 21:45:46 +01:00
Martin McKeaveney
d6aa94b2e8 budibase complete deployment 2020-07-07 17:51:41 +01:00
Martin McKeaveney
8ae6f04290 extra index template for production 2020-07-06 19:43:40 +01:00
Martin McKeaveney
5cc358e496 deployment E2E 2020-07-02 23:22:20 +01:00
Michael Shanks
f3ba6552f0 client: fixing broken tests 2020-06-14 20:30:23 +01:00
Michael Shanks
bf1da9e94e removal of appRoot - appId comes in cookie 2020-06-12 20:42:55 +01:00
Martin McKeaveney
2e42f8033e workflow DAO tests 2020-06-01 11:52:15 +01:00
Martin McKeaveney
a220822e3a move workflow to array data structure 2020-06-01 10:41:28 +01:00
Martin McKeaveney
bba7b93b75 refactor client library 2020-05-29 14:06:36 +01:00
Martin McKeaveney
c8dd48b507 formatting 2020-05-18 11:01:17 +01:00
Martin McKeaveney
5646ef1101 fixing tests 2020-05-07 22:25:27 +01:00
Martin McKeaveney
0962f102c5 data components 2020-05-07 22:15:09 +01:00
Martin McKeaveney
85f1faeb3c client lib tests 2020-05-07 13:33:25 +01:00
Martin McKeaveney
c255883aed formatting + fixing builder tests 2020-05-07 10:53:34 +01:00
Martin McKeaveney
7da95c23a3 dev setup complete 2020-05-06 12:17:15 +01:00
Martin McKeaveney
392de2efcc development setup, adding data components 2020-05-06 10:33:30 +01:00
Martin McKeaveney
abd6da7b11 component library modules and definitions refactor - moved to backend. More routing and middleware reorganisation 2020-05-02 15:29:10 +01:00
Martin McKeaveney
c733b5bee8 access levels, actions and triggers removed. Restructuring and refactoring 2020-04-29 20:29:56 +01:00
Martin McKeaveney
bcb66e7759 all eslint errors fixed 2020-02-25 16:23:45 +00:00
Martin McKeaveney
3d7ba759fa fix tests 2020-02-25 15:46:04 +00:00
Martin McKeaveney
0d0f635db4 eslint tidy up 2020-02-25 15:46:04 +00:00
Martin McKeaveney
412aa6739f state management bindings 2020-02-21 15:44:48 +00:00
Michael Shanks
56f00f4e1d fix rooting to be able to handle appRootPath 2020-02-21 15:20:00 +00:00
Michael Shanks
4089b52c53
Client Api - New state binding method (#105)
* new binding...
- state manager
- one store per screen
- not passing

* client lib binding - tests passing

* binding fully working again post stateManager

* bugfix with button component

* Control flow ("code") now working, tests passing

* Events List now reading from component definition

* fix to button.svelte - missing props._children
2020-02-18 12:29:38 +00:00
Michael Shanks
c3fa212b31
Lots of poking around to get apps to run, plux fixing tests (#92)
ixing broken tests on client
typo in buildPage.js
fixing some server tests
local datastore uses fs-extra remove, not rmdir
client - loadBudibase - no longer destructuring arg
updated publishdev script for client (reads apps)
prettier fix
some little bug fixes
bugfix - set screens to empty array when falsy
typo in template page.json
replaced "Shard Factor" for "Estimated Count"
2020-02-12 12:45:24 +00:00
Michael Shanks
da7339035f
Builder saves backend and front end seperately (#88)
* refactoring server for screens & page layout restructure

* Disable API calls, UI placeholders.

* buildPropsHierarchy is gone & screen has url

* Recent changes.

* router

* router

* updated git-ignore to reinclude server/utilities/builder

* modified cli - budi new create new file structure

* Fix uuid import.

* prettier fixes

* prettier fixes

* prettier fixes

* page/screen restructure.. broken tests

* all tests passing at last

* screen routing tests

* Working screen editor and preview.

* Render page previews to the screen.

* Key input lists to ensure new array references when updating styles.

* Ensure the iframe html and body fills the container.

* Save screens via the API.

* Get all save APIs almost working.

* Write pages.json to disk.

* Use correct API endpoint for saving styles.

* Differentiate between saving properties of screens and pages.

* Add required fields to default pages layouts.

* Add _css default property to newly created screens.

* Add default code property.

* page layout / screens - app output

* backend and fronend save seperately

Co-authored-by: pngwn <pnda007@gmail.com>
2020-02-10 21:35:51 +00:00
Michael Shanks
f7bea46f01
Page Layout & Screen restructure (#87)
* refactoring server for screens & page layout restructure

* Disable API calls, UI placeholders.

* buildPropsHierarchy is gone & screen has url

* Recent changes.

* router

* router

* updated git-ignore to reinclude server/utilities/builder

* modified cli - budi new create new file structure

* Fix uuid import.

* prettier fixes

* prettier fixes

* prettier fixes

* page/screen restructure.. broken tests

* all tests passing at last

* screen routing tests

* Working screen editor and preview.

* Render page previews to the screen.

* Key input lists to ensure new array references when updating styles.

* Ensure the iframe html and body fills the container.

* Save screens via the API.

* Get all save APIs almost working.

* Write pages.json to disk.

* Use correct API endpoint for saving styles.

* Differentiate between saving properties of screens and pages.

* Add required fields to default pages layouts.

* Add _css default property to newly created screens.

* Add default code property.

* page layout / screens - app output

Co-authored-by: pngwn <pnda007@gmail.com>
2020-02-10 15:51:09 +00:00
Martin McKeaveney
94eb93b186 running prettier over codebase, removing merge files 2020-02-03 09:24:25 +00:00
Michael Shanks
c7cbe6ca8b
#24 - Control Flow (#79)
* removed binding references to array type

* refactored initialiseChildren into seperate file

* render function, with code blocks - tested simple cases

* few mores tests for control flow

* md components - getting TestApp to work

* new render wrapper - bug fix

* client: providing access to component root elements

* code editor working

* code editor improvements
2020-01-31 23:11:50 +00:00
Michael Shanks
1ec928e60a
Control flow - Client library foundations (#72)
* removed binding references to array type

* refactored initialiseChildren into seperate file

* render function, with code blocks - tested simple cases

* few mores tests for control flow

* md components - getting TestApp to work

* new render wrapper - bug fix

* client: providing access to component root elements
2020-01-29 23:01:14 +00:00
Michael Shanks
7b1ada5091
Client Lib > Ability to inject code around initialise children (#68)
* removed binding references to array type

* refactored initialiseChildren into seperate file

* render function, with code blocks - tested simple cases

* few mores tests for control flow

* md components - getting TestApp to work

* new render wrapper - bug fix
2020-01-28 14:14:53 +00:00
Michael Shanks
b5922e0ff0 added DOM tests for client library 2020-01-24 13:18:31 +00:00
Michael Shanks
eac855bb71 #48 restructure. Screens in, user components out. _children static concept 2020-01-17 23:06:42 +00:00
Michael Shanks
a7ecea82ac fixes for getting started... 2019-11-09 08:14:10 +00:00
Michael Shanks
75f4c6dd68 backup before an f-up 2019-10-18 17:32:03 +01:00
Michael Shanks
89c6dd04c3 bootstra components - backup before comonen control flow 2019-10-16 05:38:45 +01:00