1
0
Fork 0
mirror of synced 2024-07-07 07:15:43 +12:00
Commit graph

624 commits

Author SHA1 Message Date
Joe 856db29f9f top nav bar ui redesign
To add contract to the builder, I've darkened the top navbar (primary color). I've also added preview and a settings icon, as well as removing borders from nav items.
2020-03-07 13:02:54 +00:00
Michael Shanks 14ad487d92 Merge branch 'master' of github.com:Budibase/budibase 2020-03-06 21:28:48 +00:00
Martin McKeaveney e6fbdc2646 icons instead of text 2020-03-06 17:00:54 +00:00
Conor_Mack ebd69600ed Adding new components to components json 2020-03-06 10:14:21 +00:00
Michael Shanks 84951d22ee index table - bold column headers 2020-03-05 22:21:23 +00:00
Michael Shanks 8226484514 Merge branch 'master' of github.com:Budibase/budibase 2020-03-05 16:14:54 +00:00
Michael Shanks 3a319fbc7c bugfix: modal getting stuck on open (but hidden)
Recreate: Add Datatable component (from) index... try adding new screen... screen dialog does not show
2020-03-05 16:14:36 +00:00
Michael Shanks 3015512ae0 Confirm dialog had mixup colours 2020-03-05 15:21:29 +00:00
Michael Shanks 6c71137ebe MD - moved select to evDependencies 2020-03-05 15:09:17 +00:00
Conor_Mack d6425b09f2 Tidyup and bugfixes 2020-03-05 14:59:08 +00:00
Michael Shanks e653efefe5 prettier 2020-03-05 14:55:34 +00:00
Michael Shanks 44a989d7bc lerna updated gitHead for me for some reason 2020-03-05 14:54:22 +00:00
Conor_Mack 0676151c6d Checkboxgroup with builder specific logic 2020-03-05 11:56:23 +00:00
Michael Shanks 72a77a035e v0.0.27 2020-03-05 08:53:44 +00:00
Michael Shanks 3e57732380 v0.0.26 2020-03-05 08:48:04 +00:00
Michael Shanks fcd2e6253c v0.0.25 2020-03-05 08:37:51 +00:00
Michael Shanks 5aa4cc3dea Merge branch 'master' of github.com:Budibase/budibase 2020-03-04 23:04:17 +00:00
Michael Shanks a906725ef2 bugfix: MD Select - ensure value is selected via value prop 2020-03-04 23:03:51 +00:00
Michael Shanks 8c1ec0594f bugfix: MD Select throwin console err 2020-03-04 22:48:06 +00:00
Martin McKeaveney 314db8aaf5
Merge pull request #137 from shogunpurple/logrocket
logrocket analytics
2020-03-04 16:52:49 +00:00
Michael Shanks 740677716d Merge branch 'master' of github.com:Budibase/budibase 2020-03-04 16:50:40 +00:00
Michael Shanks 7cd42ee0ec bugfix: MD Select needs to call _bb apis 2020-03-04 16:50:35 +00:00
Martin McKeaveney 88d24ffecc move logrocket into the builder directory 2020-03-04 16:50:17 +00:00
Michael Shanks 61712ae3d6 bugfix: MD test app boken - missing nodeKey 2020-03-04 16:49:40 +00:00
Michael Shanks 53ab810ab9 recordForm template uses MD select 2020-03-04 16:49:10 +00:00
Michael Shanks e42243b17a bugfix: importing scss with file extension 2020-03-04 16:48:51 +00:00
Michael Shanks b65dde7893 MD components JSON - Select and ListItem 2020-03-04 16:48:31 +00:00
Martin McKeaveney 236679dc56 logrocket analytics 2020-03-04 16:47:47 +00:00
Conor_Mack a6dae08e35
Merge pull request #136 from Conor-Mack/feature/radio-group-refactor
Radiobutton Group update to work with builder specific logic
2020-03-04 16:41:24 +00:00
Conor_Mack de9f436b56 Radiobutton Group update to work with builder specific logic 2020-03-04 16:35:52 +00:00
Michael Shanks c775ce9d89 Merge branch 'master' of github.com:Budibase/budibase 2020-03-04 15:21:35 +00:00
Michael Shanks 314a18e0fd bugfix: container should default to div 2020-03-04 15:20:53 +00:00
Michael Shanks fad9337af9 bugfix: css not applied after template component added 2020-03-04 12:43:02 +00:00
Michael Shanks 34f74d5d20 bugfix: create screen > components not displayed 2020-03-04 12:13:50 +00:00
Conor Mack b811ed0e51 Completed MD Select 2020-03-04 11:02:17 +00:00
Michael Shanks 9fdbeb7538 bugfix: all_contacts hardcoded index name 2020-03-04 10:45:34 +00:00
Conor Mack 57a3e23d6d Completed MD Select 2020-03-03 15:23:03 +00:00
Conor Mack 711eeb3196 Completed menu component 2020-03-02 14:43:06 +00:00
Conor_Mack 99f294b8b4 merge 2020-03-02 11:43:02 +00:00
Conor_Mack 07861a4a80 Commit before pull 2020-03-02 11:40:16 +00:00
Conor_Mack f8fa85b940 Starting menu refactor 2020-03-02 11:17:04 +00:00
Michael Shanks 2bec1d06ad v0.0.24 2020-02-27 23:42:35 +00:00
Michael Shanks 2fd5b93c8a bugfix: MD checkbox throwing 2020-02-27 23:41:36 +00:00
Michael Shanks b6f175161d v0.0.23 2020-02-27 22:08:29 +00:00
Michael Shanks 367bf820b5 recordForm now produces selects 2020-02-27 22:06:53 +00:00
Michael Shanks 5eaf7dbe00 bugfix: MD build broken - shortid 2020-02-27 22:06:35 +00:00
Michael Shanks 7caf336240 bugfix: screen prop 'url' was changed to 'route' 2020-02-27 21:34:52 +00:00
Michael Shanks b7a5bab47c _bb client api, relative url checks for root path,+ handles absolutes 2020-02-27 21:14:41 +00:00
Martin McKeaveney 2d909fae30
Merge pull request #132 from shogunpurple/ui-bugs
Ui bugs
2020-02-27 18:08:07 +00:00
Martin McKeaveney f746a0416c lint failures 2020-02-27 16:45:24 +00:00
Martin McKeaveney 86504a44d6 fix reactive declaration 2020-02-27 16:41:41 +00:00
Martin McKeaveney 013e2f773b select fix, select all on access levels, modal fixes 2020-02-27 16:41:41 +00:00
Conor Mack 1603cb1eb8 Merge branch 'master' of https://github.com/Budibase/budibase into feature/list-selectitems-store-context 2020-02-27 15:45:44 +00:00
Conor Mack fa199bdacf Updated way of handling selected items by using writable store and context 2020-02-27 15:45:28 +00:00
Michael Shanks 1dc19d24a5 v0.0.22 2020-02-27 11:59:35 +00:00
Michael Shanks 762e73c052 bugfix: compnent template fixes 2020-02-27 11:56:39 +00:00
Michael Shanks f54f2fa4c3 bugfix: images only rendering hen running in dev mode 2020-02-27 11:55:00 +00:00
Conor Mack d88d377f5f Testing list items by passing down a event handler through context for selecting items 2020-02-27 10:03:49 +00:00
Michael Shanks 22ca4cfa5b cli - init command not defaulting config correctly 2020-02-27 09:32:58 +00:00
Michael Shanks 7830a71ba3 v0.0.21 2020-02-26 22:47:09 +00:00
Michael Shanks 8b896df617 new budibase apps get the max v0.x 2020-02-26 22:46:35 +00:00
Michael Shanks 8e60e8f635 v0.0.20 2020-02-26 22:32:19 +00:00
Michael Shanks 87841527ff bump _master dep on MD components 2020-02-26 22:31:23 +00:00
Michael Shanks 6d55922a63 v0.0.19 2020-02-26 22:26:19 +00:00
Michael Shanks ba4c8a55af moved MD deps into devDeps, as they get bundled 2020-02-26 22:25:36 +00:00
Michael Shanks 5ce66c2481 v0.0.18 2020-02-26 22:18:45 +00:00
Michael Shanks fc5413abb3 prep for NPM publish 2020-02-26 22:18:14 +00:00
Michael Shanks f3dd412e74 v0.0.17 2020-02-26 21:12:13 +00:00
Martin McKeaveney bf365abaa8 more UI tidy up 2020-02-26 18:16:31 +00:00
Michael Shanks b0e0a7df6f Merge remote-tracking branch 'origin/master' 2020-02-26 16:41:46 +00:00
Michael Shanks 727b449363
Merge pull request #131 from pngwn/details
Make page and screen props editable.
2020-02-26 16:41:16 +00:00
Michael Shanks c9b203bcbe Conflicts from PR #122 from @pngwyn 2020-02-26 16:36:30 +00:00
Michael Shanks a43ffdf2f2 updated _master app UI 2020-02-26 15:59:27 +00:00
Michael Shanks 55e8a51ab7 server - listRecords routes should use a wildcard param 2020-02-26 15:58:55 +00:00
Michael Shanks 5763d264b8 dont try to attachChildren if theres not htmlElement supplied 2020-02-26 15:57:48 +00:00
Michael Shanks 3c504bd1cd Merge branch 'master' of github.com:Budibase/budibase 2020-02-26 15:56:30 +00:00
pngwn 8ab75549a2 Rename detailProp to metadataProp 2020-02-26 12:45:20 +00:00
Michael Shanks 4c1d3c4e88 bugfix: _master package sent to incorrect directory 2020-02-26 11:39:19 +00:00
pngwn b0efaac0f6 Make page and screen props editable. 2020-02-26 10:26:19 +00:00
Martin McKeaveney 62e562c1f1 ignore public folder in apps 2020-02-26 10:16:43 +00:00
Michael Shanks 8ab04fa944 bugfix: route params not populated correctly 2020-02-25 22:27:02 +00:00
Martin McKeaveney 7f62f76924
Update package.json 2020-02-25 18:13:46 +00:00
Martin McKeaveney 7c5675a95f
fix tests 2020-02-25 18:02:18 +00:00
Martin McKeaveney 292d7b4286
Update index.js 2020-02-25 17:30:27 +00:00
Martin McKeaveney a6499c0dc8
Rename button.svelte to Button.svelte 2020-02-25 17:30:06 +00:00
Michael Shanks 3f1a783102 CI error: standard-comp Button import typo 2020-02-25 17:25:26 +00:00
Michael Shanks df472e8ca1 Merge branch 'master' of github.com:Budibase/budibase 2020-02-25 17:06:00 +00:00
Martin McKeaveney d9d8e51d86 fix ci 2020-02-25 16:51:40 +00:00
Michael Shanks da6e812a00 broken tests: buildCodeForScreens.spec 2020-02-25 16:27:52 +00:00
Martin McKeaveney bcb66e7759 all eslint errors fixed 2020-02-25 16:23:45 +00:00
Michael Shanks edd47cd894 bugfix: indexDatatable typo in generated code 2020-02-25 16:15:30 +00:00
Michael Shanks e6ca4cefae bugfix: scrollable UI nav 2020-02-25 16:14:10 +00:00
Michael Shanks 071c0ebb40 custom code - added "route" param 2020-02-25 16:01:23 +00:00
Martin McKeaveney 3d7ba759fa fix tests 2020-02-25 15:46:04 +00:00
Martin McKeaveney 0d0f635db4 eslint tidy up 2020-02-25 15:46:04 +00:00
Conor_Mack 2a06c70900
Merge pull request #129 from Conor-Mack/feature/md-list-children
Changing list to use Children for items
2020-02-25 14:57:42 +00:00
Conor Mack 11407c619f Changing list to use Children for items 2020-02-25 14:55:44 +00:00
Michael Shanks d8ce468228 bugfix: could not add template components 2020-02-25 14:26:43 +00:00
Conor_Mack f8aae4883c
Merge pull request #128 from Conor-Mack/feature/menu
Completed MD Menu component
2020-02-25 10:10:47 +00:00
Conor_Mack 4412dbc371 Completed MD Menu component 2020-02-25 10:09:32 +00:00
Michael Shanks e870576d67 renamed NewComponent > NewScreen 2020-02-25 10:05:43 +00:00
Michael Shanks 5ac25bce6a renamed NewComponent > NewScreen 2020-02-25 10:03:40 +00:00
Michael Shanks 3a98e23ffb bugfix: create new screen exception 2020-02-25 10:01:26 +00:00
Michael Shanks b28f28a167 New Screen - Route Validation 2020-02-25 10:01:07 +00:00
Michael Shanks 4750309fed buxfix: layout issue on NewComponent (screen) 2020-02-25 09:38:50 +00:00
Michael Shanks 3becfc72af Merge branch 'master' of github.com:Budibase/budibase 2020-02-25 09:11:25 +00:00
Martin McKeaveney a8311cc3a3 switch prop on component selection 2020-02-24 23:23:33 +00:00
Michael Shanks 3c8f3f522a backend - child panes scrollable 2020-02-24 21:31:35 +00:00
Michael Shanks d26abe8aad bugfix: select being cut off on windows 2020-02-24 20:49:50 +00:00
Michael Shanks 537bf71375 Merge branch 'master' of github.com:Budibase/budibase 2020-02-24 20:46:40 +00:00
Martin McKeaveney 2f45702513
Fix layout bug 2020-02-24 17:35:15 +00:00
Michael Shanks 626b40e1d0 Merge branch 'master' of github.com:Budibase/budibase 2020-02-24 17:06:30 +00:00
Martin McKeaveney cba018d530
Merge pull request #126 from shogunpurple/backend-design
Backend design
2020-02-24 17:06:02 +00:00
Michael Shanks f0dbfa15bf added _bb.get/setContext to clientApi - for MD components 2020-02-24 16:41:03 +00:00
Martin McKeaveney 41d0497055 global style abstraction, backend UI updates 2020-02-24 16:41:02 +00:00
Michael Shanks 3d21e4b862
Merge pull request #125 from mjashanks/master
Bugfixing
2020-02-24 16:09:10 +00:00
Michael Shanks dce21f7fbe bugfix: await event handlers 2020-02-24 16:04:13 +00:00
Michael Shanks 9fadf11d61 MD - Datatable - stopped using setContext 2020-02-24 15:59:54 +00:00
Martin McKeaveney 5793413126 style abstraction 2020-02-24 15:00:52 +00:00
Michael Shanks d2cf587b9e Datatable - swallow exceptions on desroy 2020-02-24 14:59:23 +00:00
Michael Shanks e25de45c4c some MD component changes 2020-02-24 14:57:56 +00:00
Michael Shanks 6233c01f4f router not properly matching parameterized route 2020-02-24 14:57:34 +00:00
Michael Shanks cbd33daae8 random bug - client setState 2020-02-24 14:57:05 +00:00
Michael Shanks 9bab862b4d typo: UIFunctions attached to page not screen 2020-02-24 14:56:49 +00:00
Michael Shanks 6f234706af bugfix: custom code not getting attached poperly 2020-02-24 14:56:11 +00:00
Conor_Mack 681b1edc7a Also disabled radio and check inputs 2020-02-24 11:50:20 +00:00
Conor_Mack 80d46987eb Support for disabling list items 2020-02-24 11:46:38 +00:00
Michael Shanks fe57000acd bugfix - client - approotPath not passed correctly 2020-02-24 11:15:08 +00:00
Michael Shanks 503816bc7e bugfix - css not sent for all screens 2020-02-24 11:05:52 +00:00
Michael Shanks 547858ea9b buxfix - recordForm template maxlength incorrect 2020-02-24 11:05:31 +00:00
Michael Shanks e09a79fc87 test fixes - store renamed state 2020-02-23 22:18:23 +00:00
Michael Shanks fd810c9910 prettier - auto 2020-02-23 22:18:05 +00:00
Michael Shanks c3cb67cc3a Merge branch 'master' of github.com:Budibase/budibase 2020-02-23 22:17:38 +00:00
Michael Shanks 1a1a9e81e0
Merge pull request #121 from shogunpurple/state-management-v2
State management v2
2020-02-23 22:16:56 +00:00
Michael Shanks 4fb30835cd few broken tests (typos) 2020-02-23 21:59:27 +00:00
Michael Shanks ca63862604 publishDev scripts create dirs, so we dont get annoying errors 2020-02-22 22:24:19 +00:00
Michael Shanks d99cd4522d MD button onclick hooked 2020-02-22 22:09:26 +00:00
Michael Shanks eed864b770 component templates: store binding renamed to state 2020-02-21 23:02:01 +00:00
Michael Shanks d0f3eeca1b pass in routeParams to uiFunctions 2020-02-21 23:01:41 +00:00
Michael Shanks 0902febc00 uiFunctions receive state and routeParams 2020-02-21 23:01:16 +00:00
Michael Shanks e24bdec1f9 record Form template 2020-02-21 22:56:37 +00:00
Michael Shanks b2c045c0ca standalone templates 2020-02-21 22:56:18 +00:00
Michael Shanks 5ce9bf5040 Merge branch 'master' of github.com:Budibase/budibase 2020-02-21 21:28:00 +00:00
Michael Shanks ed46afe74e bindable MDTextfield 2020-02-21 21:27:55 +00:00
Michael Shanks 20ae671eef standalone templates (templates with no component) 2020-02-21 21:27:44 +00:00
Martin McKeaveney a41d25f83e remove unnecessary file 2020-02-21 18:07:08 +00:00
Martin McKeaveney defb31910e lerna version 2020-02-21 18:06:23 +00:00
Martin McKeaveney 395dcd1cc2 finished state management ui for v2 2020-02-21 18:02:02 +00:00
Michael Shanks d271ed6a50 some more routing fixes - css now loaded at runtime 2020-02-21 16:52:29 +00:00
Martin McKeaveney 412aa6739f state management bindings 2020-02-21 15:44:48 +00:00
Michael Shanks 416a888ccc
Merge pull request #120 from mjashanks/master
Bugfixes...
2020-02-21 15:40:40 +00:00
Michael Shanks c0097f766e bugfix: binding broken in propertycascader 2020-02-21 15:39:56 +00:00
Michael Shanks 56f00f4e1d fix rooting to be able to handle appRootPath 2020-02-21 15:20:00 +00:00
Conor_Mack 43355bf2d3 Component JSON options update and related changes 2020-02-21 15:00:42 +00:00
Michael Shanks 4b807d8f09 bindings can now be just a string (store.someValue) 2020-02-21 14:44:48 +00:00
Conor_Mack 705ffacd33 Adding List divider 2020-02-21 14:00:20 +00:00
Conor_Mack 4e4470f240 Completed List Component and related changes to Radio and Check Components 2020-02-21 13:39:18 +00:00
Michael Shanks 7f557c98c1
Merge pull request #116 from pngwn/icons-update
Use remix icons for consistency.
2020-02-21 11:45:38 +00:00
Michael Shanks 8777f7e9f8 Merge branch 'master' of github.com:Budibase/budibase 2020-02-21 11:43:41 +00:00
Michael Shanks acd24f7389 components changes 2020-02-21 11:43:21 +00:00
pngwn fd4f0beb14 Use remix icons for consistency. Styling tweaks. 2020-02-21 11:09:37 +00:00
Michael Shanks 546dd05718 bugfix: generate css on screen change 2020-02-21 09:27:43 +00:00
Martin McKeaveney b46d33ad59
Update store.js 2020-02-20 21:21:16 +00:00
Michael Shanks 7940d12c62 dodgy merge 2020-02-20 17:27:48 +00:00
Michael Shanks f2e6ac0145 merge conflicts from peter/tweaks 2020-02-20 17:11:41 +00:00
Michael Shanks f9f2abac33 reduced padding on comp hierarchy 2020-02-20 17:09:35 +00:00
Michael Shanks 9285b5281c ensure component templates exist when presets do not 2020-02-20 17:09:14 +00:00
Michael Shanks 1df16e880c create props - ensure _styles always exist 2020-02-20 17:08:51 +00:00
Michael Shanks c9191f408f store method for save page or screen (context dependant) 2020-02-20 17:08:17 +00:00
Michael Shanks d31d8c8e7e added height and width as positioning options 2020-02-20 17:07:25 +00:00
Michael Shanks 30415af21e new components 2020-02-20 17:06:50 +00:00
Michael Shanks cd829182f9 component templates 2020-02-19 21:38:21 +00:00
Michael Shanks cf719a6d32 bad layout of component actions, on everything but firefox 2020-02-19 14:12:24 +00:00
Michael Shanks d072c356ef bugfix: component libraries loaded incorrectly 2020-02-19 13:58:06 +00:00
Michael Shanks 2d0e027582 template app - includes MD by default 2020-02-19 13:26:45 +00:00
Michael Shanks c9143a801f reording and duplication of components 2020-02-19 10:17:31 +00:00
Michael Shanks 6ee72d7301 bug in store - insertCodeMetadata import vanished 2020-02-18 21:22:43 +00:00
Martin McKeaveney e1eada45b8 tidy up 2020-02-18 20:35:43 +00:00
Martin McKeaveney 8b64c64bab removed generators, added simple presets to standard components 2020-02-18 20:35:43 +00:00
Michael Shanks 83953922d7
Merge branch 'master' into 98-builtin-slot 2020-02-18 17:11:46 +00:00
pngwn 2396702c08 Remove more logs 2020-02-18 17:05:08 +00:00
pngwn d3f6074e61 Remove logs 2020-02-18 17:03:36 +00:00
pngwn 315c11d668 Ensure slot renders in current preview. 2020-02-18 17:00:56 +00:00
Michael Shanks 30f05eeed6
Merge pull request #108 from mjashanks/master
#94 Remove components from hierarchy
2020-02-18 16:52:55 +00:00
Michael Shanks 7d9d15c783 #94 Remove component from hierarchy 2020-02-18 16:51:28 +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
Conor_Mack d1a0ba5a55 Merge branch 'master' of https://github.com/Budibase/budibase into feature/md-datatable 2020-02-18 15:06:06 +00:00
Conor_Mack 038601684f Completed MD Datatable and General Tidyup 2020-02-18 15:05:09 +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
pngwn 4a62525949 Add builtin slot to list 2020-02-18 10:32:00 +00:00
Conor-Mack ed26cb5dfe WIP: Beginnings of Datatable component 2020-02-17 17:01:57 +00:00
Conor-Mack 0f5703034b Completed MD Components JSON and Tidyup 2020-02-17 14:00:37 +00:00
Conor Mack ca9ef3fa5f Splitting charcounter and helper text into own component. general tidyup 2020-02-14 15:38:30 +00:00
Conor Mack 5529be8abf 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 43fd866a10 Proper even handling for buttons and textfields 2020-02-14 14:00:12 +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
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