Commit Graph

52 Commits

Author SHA1 Message Date
Michael Shanks dafef90c3d bugfix: select being cut off on windows 2020-02-24 20:49:50 +00:00
Martin McKeaveney e518da0a62 global style abstraction, backend UI updates 2020-02-24 16:41:02 +00:00
Martin McKeaveney f5becf920b style abstraction 2020-02-24 15:00:52 +00:00
Martin McKeaveney 55d43fad80 finished state management ui for v2 2020-02-21 18:02:02 +00:00
Michael Shanks 5b1bbad6c6 bugfix: binding broken in propertycascader 2020-02-21 15:39:56 +00:00
Michael Shanks ab0db65048 bindings can now be just a string (store.someValue) 2020-02-21 14:44:48 +00:00
pngwn f29de61dde Use remix icons for consistency. Styling tweaks. 2020-02-21 11:09:37 +00:00
Michael Shanks 42b3893c21 merge conflicts from peter/tweaks 2020-02-20 17:11:41 +00:00
Michael Shanks 99c8814533 component templates 2020-02-19 21:38:21 +00:00
Michael Shanks d9ceee49a1 reording and duplication of components 2020-02-19 10:17:31 +00:00
Martin McKeaveney 1390fba035 tidy up 2020-02-18 20:35:43 +00:00
Martin McKeaveney 3a406bc0da removed generators, added simple presets to standard components 2020-02-18 20:35:43 +00:00
Michael Shanks 32b1f9cd89 #94 Remove component from hierarchy 2020-02-18 16:51:28 +00:00
Michael Shanks 8a80d8801a 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 927502eb38 include svelte files in prettier 2020-02-03 09:50:30 +00:00
Martin McKeaveney 0808178dfa running prettier over codebase, removing merge files 2020-02-03 09:24:25 +00:00
Michael Shanks 7ae29a6030 #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 5aa44a88a4 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 8d656596c7 final touches for design 2020-01-31 09:45:02 +00:00
Martin McKeaveney 96c61a5a7d styling updates 2020-01-30 21:00:19 +00:00
Martin McKeaveney a724247f08 draft handler 2020-01-30 20:01:18 +00:00
Martin McKeaveney 61cc39fc96 state management like designs 2020-01-30 16:22:19 +00:00
Martin McKeaveney c064f08d55 started implementing state management designs 2020-01-29 22:59:10 +00:00
Martin McKeaveney f0e07cdfca basic architecture complete 2020-01-29 21:04:48 +00:00
Martin McKeaveney e54fd6a0d9 merge 2020-01-28 22:39:16 +00:00
pngwn 6aa6c4d433 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
pngwn d78f8013b5 Implement updating of individual component props 2020-01-24 14:51:29 +00:00
pngwn 3594f07346 Refactor inputs into components for simpler value bindings. 2020-01-24 14:51:29 +00:00
pngwn 4e6e6e2c98 Tweak component pane icons. 2020-01-24 14:51:29 +00:00
pngwn 55b6d01dbf Implement code editor panel. 2020-01-24 14:51:28 +00:00
Conor_Mack 0e0369052c Fix for field modal infinite render loop once closed from click away (#42) 2019-12-04 22:13:06 +00:00
Michael Shanks 01180d7718 Builder: Modal - code simplification 2019-11-03 10:24:48 +00:00
Michael Shanks 92dcf4b2b8 backup before an f-up 2019-10-18 17:32:03 +01:00
Michael Shanks 0e9a885aa1 generators seem to be working... 2019-10-10 06:18:02 +01:00
Michael Shanks 2f028b1f1e generators.. 2019-10-07 06:03:41 +01:00
Michael Shanks cb6fe94584 Event bindings with context, array binding, Table component... 2019-09-27 17:03:31 +01:00
Budibase 984f600767 UI Navbar [right] styling
Font styling, and spacing, and alignment changed to reflext recent UI changes.
2019-09-25 20:53:52 +01:00
Michael Shanks 1a8a9cd490 More event handlers & bug fix 2019-09-24 06:11:02 +01:00
Michael Shanks 9953989de6 state binding working 2019-09-22 05:02:33 +01:00
Michael Shanks 90b7cf84b7 Merge branch 'master' of github.com:Budibase/budibase 2019-09-20 08:01:42 +01:00
Michael Shanks be2fe07395 Events and state binding 2019-09-20 08:01:35 +01:00
Budibase 528dd6ba28 UI changes to actions/triggers/userAccess 2019-09-19 19:47:18 +01:00
Budibase a06fa47e8a UI changes
UI changes including:
- button restyling
- new font
- nackend nav bar colour changed
- font resizing
- spacing adjusted
2019-09-18 19:16:11 +01:00
Michael Shanks 22bed49a09 packages changes and bugfix 2019-09-10 10:25:13 +01:00
michael shanks bf7afe369d builder layout redesign 2019-08-30 08:25:00 +01:00
michael shanks 0d7d9f471e Edit component pane improvements 2019-08-16 15:48:45 +01:00
michael shanks fb9f4f6158 backup 2019-08-14 22:11:59 +01:00
michael shanks 21224b119b builder ui changes - UI builder in progress 2019-08-07 09:03:49 +01:00
michael shanks d27ec9e0a5 working components nav - not styled properly 2019-08-02 14:54:10 +01:00
michael shanks 6cd61a4a63 builder importing core directly! 2019-07-30 09:08:40 +01:00