1
0
Fork 0
mirror of synced 2024-08-17 11:01:26 +12:00
Commit graph

318 commits

Author SHA1 Message Date
Martin McKeaveney
5729f46ae6 final tidy up 2020-02-12 10:12:54 +00:00
Martin McKeaveney
67db93bb39 close dropdown on component change 2020-02-12 10:12:54 +00:00
Martin McKeaveney
175002d178 unit tests 2020-02-12 10:12:54 +00:00
Martin McKeaveney
f34a4707a9 fix rotation on state arrow 2020-02-12 10:12:54 +00:00
Martin McKeaveney
0b3f75aaff merging with master 2020-02-12 10:12:54 +00:00
Martin McKeaveney
8be69162f7 auto update state origins when attaching click handlers 2020-02-12 10:12:54 +00:00
Martin McKeaveney
893cd3b57d state binding complete 2020-02-12 10:12:54 +00:00
Martin McKeaveney
b2dd9cc12f better state bindings for defaults 2020-02-11 14:19:06 +00:00
Martin McKeaveney
ee9df6c29a state binding v1 2020-02-11 14:19:06 +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
Conor_Mack
27a15e0295
MD Typography completed (#86) 2020-02-10 15:47:47 +00:00
Conor_Mack
52c0e3b066 New feature and refactor of Classbuilder along with some bug fixes (#85) 2020-02-10 10:04:20 +00:00
Conor_Mack
7fe09780a4
Completed textfield, minor bug fixes and config changes to reference uncompiled components (#83)
* Beginnings of text field

* Completed textfield component and its dependents

* Minor bug fixes
2020-02-07 20:56:00 +00:00
Conor Mack
21db6077fe Updating icon context if check as per Martins discussion point 2020-02-03 21:10:47 +00:00
Conor Mack
8b415d7adf Fixing merge conflicts after pulling upstream master 2020-02-03 18:55:17 +00:00
Conor Mack
0d1ec13f4d Config updates to add bundles to build folder so that index.html can be un-gitignored 2020-02-03 18:48:49 +00:00
Conor Mack
f4402d9092 functional md button and icon with ripple effect and classbuilder helper 2020-02-03 18:38:09 +00:00
Martin McKeaveney
34d56e960f include svelte files in prettier 2020-02-03 09:50:30 +00:00
Martin McKeaveney
94eb93b186 running prettier over codebase, removing merge files 2020-02-03 09:24:25 +00:00
Michael Shanks
65b800b1d0 few wee bug fixes 2020-01-31 23:29:49 +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
Martin McKeaveney
20ad23c43f
Merge pull request #77 from shogunpurple/ci
CI
2020-01-31 15:07:05 +00:00
Martin McKeaveney
5790c52085 ci setup 2020-01-31 14:23:16 +00:00
Martin McKeaveney
a8d19594be
Merge pull request #74 from shogunpurple/state-manage
State management
2020-01-31 10:30:32 +00:00
Martin McKeaveney
912a6e4f1b tidy up 2020-01-31 09:49:26 +00:00
Martin McKeaveney
cd1714b1a0 final touches for design 2020-01-31 09:45:02 +00:00
Martin McKeaveney
5325e0d0a9 styling updates 2020-01-30 21:00:19 +00:00
Martin McKeaveney
7baa9d443d draft handler 2020-01-30 20:01:18 +00:00
Martin McKeaveney
977a609230 state management like designs 2020-01-30 16:22:19 +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
Martin McKeaveney
eed1f1d30f started implementing state management designs 2020-01-29 22:59:10 +00:00
Martin McKeaveney
a88db662bf basic architecture complete 2020-01-29 21:04:48 +00:00
Conor Mack
d5b7536578 WIP: Beginnings of button and ClassBuilder 2020-01-29 10:10:25 +00:00
Martin McKeaveney
ea88880417 merge 2020-01-28 22:39:16 +00:00
pngwn
7e16e23803 48 builder frontend 2 (#70)
* Implement collapsing component hierarchy.

* Save screen when adding new components.

* Allow creation of nested child components.

* Fix level-based indentation of hierarchy.

* Rename updateComponentProps to setComponentProps

* Save layout information to the disk.

* Cleanup: switch to autosubscriptions to prevent memory leaks, remove unused imports.

* Remove unused css.

* Fix incorrect subscription.
2020-01-28 21:17:04 +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
Martin McKeaveney
bf5adaae84
Merge pull request #67 from shogunpurple/fix-bcrypt
fix bcrypt in build
2020-01-28 13:08:21 +00:00
Martin McKeaveney
598aa5f8fa fix bcrypt in build 2020-01-28 13:06:35 +00:00
Conor_Mack
a4a822a121 Aliasing config and additional test button component for test app (#66)
* Fix for field modal infinite render loop once closed from click away

* Added rollupgenerators to md to keep builder happy

* Beginning the button component and general setup

* Aliasing config and additional test button component for test app
2020-01-28 13:00:05 +00:00
Martin McKeaveney
621cfddd68
Merge pull request #65 from Budibase/builder-frontend
Builder frontend
2020-01-28 10:47:57 +00:00
Michael Shanks
ff06c727b9
md components - getting TestApp to work (#63) 2020-01-27 15:26:38 +00:00
Michael Shanks
08f921ad66 fixing broken build :( 2020-01-27 14:07:04 +00:00
Martin McKeaveney
17e22b4da7 merge 2020-01-27 12:16:03 +00:00
Michael Shanks
ee5a4e8c96
MD components library - empty proj (#61)
Added a shell Material Design components packages
2020-01-27 10:59:56 +00:00
pngwn
c2d99e173b Remove unused validateProps module and tests 2020-01-24 16:39:25 +00:00
Martin McKeaveney
231a1ab3e3 build process improvements and gitignore 2020-01-24 16:31:53 +00:00
Martin McKeaveney
4611970896 removing final package lock, gitignore on builder folder 2020-01-24 15:56:14 +00:00
pngwn
1a77b0ae00 Remove leftovers. 2020-01-24 15:34:44 +00:00
pngwn
a5d1b7a651 Ensure screen is correctly set when selecting a child component. 2020-01-24 15:34:02 +00:00
pngwn
1a4aa7ddf1 Modify component preview to match new component library loader API. 2020-01-24 15:20:20 +00:00
pngwn
86c42a44ab Remove validation, use references rather than clones where possible, prioritise side-panel working with components for now. 2020-01-24 14:51:29 +00:00
pngwn
2a4cfa278b Implement updating of individual component props 2020-01-24 14:51:29 +00:00
pngwn
cc155c121c Initial implementation of props editor. 2020-01-24 14:51:29 +00:00
pngwn
1007dfaeb1 Refactor inputs into components for simpler value bindings. 2020-01-24 14:51:29 +00:00
pngwn
b9c5522850 Tweak component pane icons. 2020-01-24 14:51:29 +00:00
pngwn
298788ea53 Implement layout UI. 2020-01-24 14:51:29 +00:00
pngwn
dba1bfce35 Tweaks to component snippet editor. 2020-01-24 14:51:29 +00:00
pngwn
18a436ffef Keep assets folder. 2020-01-24 14:51:29 +00:00
pngwn
705dd128d4 Restore lost utility files 2020-01-24 14:51:29 +00:00
pngwn
3f9d708541 Correct gitignore pattern 2020-01-24 14:51:28 +00:00
pngwn
cce542d0c9 Implement code editor panel. 2020-01-24 14:51:28 +00:00
pngwn
165a42a6f4 Update gitignored files. 2020-01-24 14:51:28 +00:00
pngwn
4fb3e6cfc5 Add builder to gitignore. 2020-01-24 14:51:28 +00:00
pngwn
d760fe59ea Begin implementation of components panel. 2020-01-24 14:51:28 +00:00
pngwn
240a5b74db Basic implementation of sidebar design. 2020-01-24 14:51:28 +00:00
pngwn
3bae85c503 Implement new pages dropdown design in sidebar 2020-01-24 14:51:28 +00:00
pngwn
8abe5b4df7 Implement basic layout for frontend view. 2020-01-24 14:51:28 +00:00
pngwn
e978e38ae9 Implement refreshed design for the top nav. 2020-01-24 14:51:28 +00:00
pngwn
fca1b58829 Ensure only props are passed to propControl 2020-01-24 14:51:28 +00:00
Martin McKeaveney
3bcb6db7f5 removing the package lock files 2020-01-24 14:10:19 +00:00
Martin McKeaveney
173df7191a Merge branch 'master' of github.com:Budibase/budibase 2020-01-24 13:57:19 +00:00
Michael Shanks
0861e11319 updated yarn lock files 2020-01-24 13:20:03 +00:00
Michael Shanks
b5922e0ff0 added DOM tests for client library 2020-01-24 13:18:31 +00:00
Martin McKeaveney
49ed9d0cd9 Merge branch 'master' of github.com:Budibase/budibase 2020-01-23 15:17:19 +00:00
Martin McKeaveney
46a9650f62 v0.0.16 2020-01-23 11:38:11 +00:00
Martin McKeaveney
9330f0a632 switching hashing arguments 2020-01-23 11:25:48 +00:00
Martin McKeaveney
7b2671e25b fix cli docs 2020-01-23 10:54:33 +00:00
Martin McKeaveney
a0fd94ac06 update readme 2020-01-23 10:52:51 +00:00
Martin McKeaveney
bbad931480 tidy up 2020-01-23 10:48:46 +00:00
Martin McKeaveney
2978887fa1 removing duplicated node crypto 2020-01-23 10:46:58 +00:00
Martin McKeaveney
4b76c73df7 updating test files to use common module 2020-01-23 10:39:51 +00:00
Martin McKeaveney
f15ffa59e3 remove argon and use bcryptjs 2020-01-23 10:32:27 +00:00
Michael Shanks
06abf050b6 introduced 'container' to component definition 2020-01-20 21:57:27 +00:00
Michael Shanks
9b684ed694 standard components exports broken 2020-01-20 11:03:25 +00:00
Michael Shanks
be6603b15a standard-components - uses _children 2020-01-18 09:00:18 +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
5dc506fa6f Merge branch 'master' of github.com:Budibase/budibase 2019-12-30 18:09:03 +00:00
Michael Shanks
6238650e69 rebuild of core & builder rollup fix 2019-12-30 18:08:50 +00:00
dependabot[bot]
5d8d59d456 Bump handlebars from 4.1.2 to 4.5.3 in /packages/server (#44)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2019-12-29 06:47:33 +00:00
Michael Shanks
d96860a073 Merge branch 'master' of github.com:Budibase/budibase into issue#9 2019-12-22 07:12:36 +00:00
Michael Shanks
8d438082e3 #9 All ids - replace with folder list items 2019-12-22 07:12:21 +00:00
Conor_Mack
54ddb9415a Fix for field modal infinite render loop once closed from click away (#42) 2019-12-04 22:13:06 +00:00
Michael Shanks
b7db2eb035 merge from master 2019-11-24 06:06:56 +00:00
Michael Shanks
494d93b46b yandom bugfix brought by svelte 3.15.0 - each index 2019-11-23 08:15:28 +00:00
Michael Shanks
84638a6d65 Getting started for contributors fixed - see readme 2019-11-23 07:28:24 +00:00
Michael Shanks
63b40b21a2 backup yo 2019-11-22 06:28:12 +00:00
Michael Shanks
57bec22461 v0.0.15 2019-11-12 07:15:59 +00:00
Michael Shanks
cb6d585f97 build - vew version 2019-11-12 07:15:48 +00:00