Commit Graph

35776 Commits

Author SHA1 Message Date
Michael Shanks b2d71d070c Merge pull request #112 from mjashanks/master
A few builder bugfixes, discovered when trying to use another component lib (MD)
2020-02-19 14:14:33 +00:00
Michael Shanks 1559b08ce2 bad layout of component actions, on everything but firefox 2020-02-19 14:12:24 +00:00
Michael Shanks 5d0f9b788c bugfix: component libraries loaded incorrectly 2020-02-19 13:58:06 +00:00
Michael Shanks dbb151e86e template app - includes MD by default 2020-02-19 13:26:45 +00:00
Michael Shanks 901c49971b Merge pull request #111 from mjashanks/master
reording and duplication of components
2020-02-19 10:19:13 +00:00
Michael Shanks d9ceee49a1 reording and duplication of components 2020-02-19 10:17:31 +00:00
Michael Shanks e0c67a9ac5 bug in store - insertCodeMetadata import vanished 2020-02-18 21:22:43 +00:00
Martin McKeaveney b8bd724dbf Merge pull request #110 from shogunpurple/presets
Presets
2020-02-18 20:46:25 +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 57e7a3a768 Merge pull request #109 from pngwn/98-builtin-slot
98 builtin slot
2020-02-18 17:14:34 +00:00
Michael Shanks c033db0e2d Merge branch 'master' into 98-builtin-slot 2020-02-18 17:11:46 +00:00
pngwn 625ebdc36e Remove more logs 2020-02-18 17:05:08 +00:00
pngwn fe7a7c7010 Remove logs 2020-02-18 17:03:36 +00:00
pngwn a29dc4561e Ensure slot renders in current preview. 2020-02-18 17:00:56 +00:00
Michael Shanks 09cfb169d6 Merge pull request #108 from mjashanks/master
#94 Remove components from hierarchy
2020-02-18 16:52:55 +00:00
Michael Shanks 32b1f9cd89 #94 Remove component from hierarchy 2020-02-18 16:51:28 +00:00
pngwn 133339483e Ensure fallback is alway selected when no route matches. 2020-02-18 16:38:35 +00:00
pngwn 3c51f731ef Add screenslot to current preview. 2020-02-18 15:53:22 +00:00
Conor_Mack c5931ae3cb Merge pull request #107 from Conor-Mack/feature/md-datatable
Completed MD Datatable and General Tidyup
2020-02-18 15:08:27 +00:00
Conor_Mack 39ad8fdfdd Merge branch 'master' of https://github.com/Budibase/budibase into feature/md-datatable 2020-02-18 15:06:06 +00:00
Conor_Mack 79363ec6d1 Completed MD Datatable and General Tidyup 2020-02-18 15:05:09 +00:00
Michael Shanks a58a061df0 router swallows excpetions on pushState
(not supported in iframes, used by builder)
2020-02-18 13:10:57 +00:00
Michael Shanks 56c25fee90 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
pngwn 6db4394562 Add builtin slot to list 2020-02-18 10:32:00 +00:00
Conor-Mack c17f6bb2a5 WIP: Beginnings of Datatable component 2020-02-17 17:01:57 +00:00
Conor_Mack f3e0100fc9 Merge pull request #106 from Conor-Mack/feature/md-components-json
Completed MD Components JSON and Tidyup
2020-02-17 14:03:53 +00:00
Conor-Mack 6abc45d971 Completed MD Components JSON and Tidyup 2020-02-17 14:00:37 +00:00
Conor_Mack 266181dd0e Merge pull request #104 from Conor-Mack/textfield-tidyup
Textfield Tidyup
2020-02-14 15:41:05 +00:00
Conor Mack e04c3a977f Splitting charcounter and helper text into own component. general tidyup 2020-02-14 15:38:30 +00:00
Conor_Mack 4e65562197 Merge pull request #103 from Conor-Mack/bugfix/event-handling-button-textfield
Event handling for MD Buttons and Textfields
2020-02-14 14:03:13 +00:00
Conor Mack 1cc3b0f880 Merge branch 'master' of https://github.com/Budibase/budibase into bugfix/event-handling-button-textfield 2020-02-14 14:00:39 +00:00
Conor Mack 61b665b384 Proper even handling for buttons and textfields 2020-02-14 14:00:12 +00:00
Michael Shanks c9961feee5 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
Martin McKeaveney d33c6214ea Merge pull request #101 from Conor-Mack/feature/radiobutton-checkradiogroups-label
Completed radiobutton, radiobutton group and checkbox group
2020-02-14 11:12:42 +00:00
Conor Mack 0c20743907 Completed radiobutton, radiobutton group and checkbox group 2020-02-14 10:32:19 +00:00
Martin McKeaveney 411d31eccf Fix Layout issue on FF 2020-02-12 21:01:53 +00:00
dependabot[bot] 1bbe13150a 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 4f42a68a9e Merge pull request #99 from shogunpurple/state-bindings
State bindings
2020-02-12 15:50:30 +00:00
Martin McKeaveney 78b04ea58e moving test from server 2020-02-12 15:47:35 +00:00
Martin McKeaveney 695781c149 move state origin build from server to client 2020-02-12 15:10:31 +00:00
Michael Shanks 11c114a664 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 74bc97f3d4 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 5ab7162088 final tidy up 2020-02-12 10:12:54 +00:00
Martin McKeaveney 52d79236e8 close dropdown on component change 2020-02-12 10:12:54 +00:00
Martin McKeaveney f12c6452e4 unit tests 2020-02-12 10:12:54 +00:00
Martin McKeaveney 5795a78cd5 fix rotation on state arrow 2020-02-12 10:12:54 +00:00
Martin McKeaveney e410748bed merging with master 2020-02-12 10:12:54 +00:00
Martin McKeaveney c976a133c0 auto update state origins when attaching click handlers 2020-02-12 10:12:54 +00:00
Martin McKeaveney 7a39e16e32 state binding complete 2020-02-12 10:12:54 +00:00