1
0
Fork 0
mirror of synced 2024-09-09 22:16:26 +12:00
Commit graph

52 commits

Author SHA1 Message Date
Michael Shanks
9e6f6c5292 bindings... allowing unescaped urls, but not html tags 2020-08-11 14:12:05 +01:00
Michael Shanks
753fb27eb8 client lib - new binding 2020-08-06 21:12:35 +01:00
Martin McKeaveney
7b57f0ecc1 merge 2020-07-07 21:32:32 +01:00
Michael Shanks
208f5b33c1 Form component now supports edit recprd 2020-07-07 20:16:03 +01:00
Michael Shanks
32bd9f2601 some comments 2020-07-07 10:51:25 +01:00
Michael Shanks
921c205e22 routing breaks when we click same link twice #422 2020-07-07 10:48:24 +01:00
Michael Shanks
f4701f98a5 fix: list supports multiple children (without container) 2020-07-06 14:21:55 +01:00
Martin McKeaveney
5cc358e496 deployment E2E 2020-07-02 23:22:20 +01:00
Michael Shanks
4b3ceb7f9d Added recordDetail component 2020-07-01 13:19:14 +01:00
Michael Shanks
d7b09f5b65 removed x-user-agent 2020-06-19 16:59:46 +01:00
Michael Shanks
849fcfe819 client - should recognise new cookie format 2020-06-19 07:04:55 +01:00
Michael Shanks
bf952f8677 instanceid removal 2020-06-18 16:59:31 +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
Michael Shanks
cd29fd9862 Merge branch 'master' into new-list-spike2 2020-06-04 11:57:05 +01:00
Michael Shanks
5fa8e3ca63 bugfix: screenRouter hijacks link clicks and routes when applicable 2020-06-03 22:52:33 +01:00
Michael Shanks
9c258da579 spike - list that accepts children 2020-06-02 23:26:06 +01:00
Martin McKeaveney
9c3c38d0ac tests 2020-06-01 22:25:44 +01:00
Martin McKeaveney
aeae4f50e2 tidy up 2020-06-01 21:26:32 +01:00
Martin McKeaveney
a220822e3a move workflow to array data structure 2020-06-01 10:41:28 +01:00
Martin McKeaveney
65d0161007 orchestrator refactor, user creation block 2020-05-30 13:41:46 +01:00
Martin McKeaveney
7d871ff9cf separate workflow components from routify routes 2020-05-30 00:40:33 +01:00
Martin McKeaveney
7129b9c225 significant client lib refactor 2020-05-30 00:14:41 +01:00
Martin McKeaveney
bba7b93b75 refactor client library 2020-05-29 14:06:36 +01:00
Martin McKeaveney
e3271bf765 Merge branch 'master' of github.com:Budibase/budibase into workflow-v1 2020-05-27 10:13:42 +01:00
Conor_Mack
d250d61c62 Completed CSS Selector Styling 2020-05-25 15:23:56 +01:00
Martin McKeaveney
6f3ad884db workflow UI with DnD 2020-05-21 21:40:16 +01:00
Conor_Mack
5b8d1cead7 Testing Complete - Resolve Post Issue 2020-05-18 16:32:00 +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
2c361f3d1d apps being served correctly 2020-05-04 17:13:57 +01:00
Martin McKeaveney
77b8f8fa8e show screenslot if there's no screens 2020-04-06 17:06:04 +01:00
Michael Shanks
5763d264b8 dont try to attachChildren if theres not htmlElement supplied 2020-02-26 15:57:48 +00:00
Michael Shanks
8ab04fa944 bugfix: route params not populated correctly 2020-02-25 22:27:02 +00:00
Martin McKeaveney
0d0f635db4 eslint tidy up 2020-02-25 15:46:04 +00:00
Michael Shanks
6233c01f4f router not properly matching parameterized route 2020-02-24 14:57:34 +00:00
Michael Shanks
d0f3eeca1b pass in routeParams to uiFunctions 2020-02-21 23:01:41 +00:00
Michael Shanks
d271ed6a50 some more routing fixes - css now loaded at runtime 2020-02-21 16:52:29 +00:00
Michael Shanks
56f00f4e1d fix rooting to be able to handle appRootPath 2020-02-21 15:20:00 +00:00
Michael Shanks
83953922d7
Merge branch 'master' into 98-builtin-slot 2020-02-18 17:11:46 +00:00
pngwn
f42cfd9fa2 Ensure fallback is alway selected when no route matches. 2020-02-18 16:38:35 +00:00
pngwn
063cb0f41f Add screenslot to current preview. 2020-02-18 15:53:22 +00:00
Michael Shanks
901db64450 router swallows excpetions on pushState
(not supported in iframes, used by builder)
2020-02-18 13:10:57 +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
b7d9e05641
Work on Components API & bugfixes (#102)
* typo - screens not being sent to page save

* removed children arg from hydrateChildren (n/a)

* initialiseChildren does not rerender unless forced

* removed derivatives of initialiseChildren

* renamed initialiseChildren > attachChildren

* standard-components - refactoring

div now container
H1, h2... etc now Heading with type
Select now takes option as _children

* loads of bug fixing

* safe props creation
anytime props are loaded,
we make sure they conform to the components props definition
2020-02-14 11:51:45 +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
pngwn
aa4c7fa1c1
48 builder frontend 2 (#76)
* Implement collapsing component hierarchy.

* Save screen when adding new components.

* Allow creation of nested child components.

* Rename updateComponentProps to setComponentProps

* Compile layout and position properties to css strings.

* Correct ordering errors.

* Compile the css for an entire screen.

* Add unique id for each component.

* Ignore _id props.

* Update client to add correct class names to component elements.

* Add grid-template fields to layout styling panel.

* Inject css into iframe. Minor tweaks.

* Fix unset margins.

* Update failing tests.
2020-01-31 16:01:58 +00:00