1
0
Fork 0
mirror of synced 2024-07-04 14:01:27 +12:00
Commit graph

6941 commits

Author SHA1 Message Date
Conor Mack 6e831b1469 Completed radiobutton, radiobutton group and checkbox group 2020-02-14 10:32:19 +00:00
Martin McKeaveney 488299ef06
Fix Layout issue on FF 2020-02-12 21:01:53 +00:00
dependabot[bot] 90a4a67ffd
Bump handlebars from 4.1.2 to 4.7.3 in /packages/core
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.7.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.7.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-02-12 15:51:21 +00:00
Martin McKeaveney cca039bdd0
Merge pull request #99 from shogunpurple/state-bindings
State bindings
2020-02-12 15:50:30 +00:00
Martin McKeaveney 1c7550e211 moving test from server 2020-02-12 15:47:35 +00:00
Martin McKeaveney fe142faf3a move state origin build from server to client 2020-02-12 15:10:31 +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
Conor_Mack 0af15bd7d8
Completed checkbox and form field. Changes to test app (#91)
* Completed checkbox and form field component with changes around how test app renders components

* Tidyup
2020-02-12 12:32:46 +00:00
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
Martin McKeaveney 0228a78d67
Merge pull request #81 from Conor-Mack/feature/md-button-ripple-icon-classbuilder
Functional MD Button and Icon with Ripple Effect and ClassBuilder Helper
2020-02-04 17:42:04 +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 66cbb574b7
Merge pull request #80 from shogunpurple/housekeeping
running prettier over codebase, removing merge files
2020-02-03 09:52:01 +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 ffa4ace7e3 Merge branch 'master' of github.com:Budibase/budibase 2020-01-31 23:12:20 +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 b64ac0dc87 Merge branch 'master' of github.com:Budibase/budibase 2020-01-31 22:18:08 +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 77fa60dae2
Merge pull request #78 from Budibase/ci
CI
2020-01-31 15:10:23 +00:00
Martin McKeaveney 20ad23c43f
Merge pull request #77 from shogunpurple/ci
CI
2020-01-31 15:07:05 +00:00
Martin McKeaveney 18bce8bf03 ci setup complete 2020-01-31 14:25:53 +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 ea18593c02 Merge branch 'master' of github.com:Budibase/budibase 2020-01-30 06:15:05 +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
Michael Shanks 0ef242a41d Merge branch 'master' of github.com:Budibase/budibase 2020-01-29 22:48:08 +00:00
Michael Shanks 7787f33918 client: providing access to component root elements 2020-01-29 22:47:58 +00:00