Commit Graph

1114 Commits

Author SHA1 Message Date
Martin McKeaveney 1f000e2be1 fixing tests 2020-04-06 14:28:22 +01:00
Martin McKeaveney 5774f99fee tidy up 2020-04-06 14:16:21 +01:00
Martin McKeaveney 3519d0f210 restructuring server routers 2020-04-06 14:05:57 +01:00
kevmodrome c91cf10508 remove unused import 2020-04-06 11:23:32 +02:00
kevmodrome 2d004e9c0b remove unused imports 2020-04-06 11:04:36 +02:00
Martin McKeaveney 81d878bf4e config in context 2020-04-06 09:42:28 +01:00
Martin McKeaveney ec3f754a41 restructure server 2020-04-06 09:42:28 +01:00
Martin McKeaveney edbff576ee restructure server routes 2020-04-06 09:42:28 +01:00
kevmodrome 8c1fe29188 Merge branch 'master' of github.com:Budibase/budibase into feature/routify 2020-04-06 10:41:09 +02:00
Martin McKeaveney 300ec549a2 publish 2020-04-06 09:30:58 +01:00
Martin McKeaveney b1f4f90927 v0.0.32 2020-04-06 09:26:13 +01:00
kevmodrome 0bc485cf80 remove AccessLevelsRoot, moved to Route page component 2020-04-06 10:06:02 +02:00
kevmodrome 600c3e61b3 remove unused files in the src/root directory that have been converted to route pages 2020-04-06 10:02:54 +02:00
kevmodrome 9708e37ac9 style fix that was not merged correctly 2020-04-06 09:07:53 +02:00
kevmodrome 2245867bef move modal view to backend page layout 2020-04-06 08:15:29 +02:00
kevmodrome 2c37f524f9 Merge branch 'master' of github.com:Budibase/budibase into feature/routify 2020-04-06 07:47:35 +02:00
Joe 433f2afe43 Update PagesList.svelte 2020-04-03 14:26:07 +01:00
Martin McKeaveney ac592c64ab remove debug line 2020-04-03 12:58:28 +01:00
Martin McKeaveney 2fa34a00b3 fixing record saving bug 2020-04-03 12:56:17 +01:00
kevmodrome 675c106d8b wip: adds frontend view 2020-04-03 11:36:35 +02:00
kevmodrome b061c2a335 adds back no db selected view 2020-04-03 11:36:16 +02:00
kevmodrome a78056f6b5 fix autoselecting to sync with url 2020-04-03 11:27:35 +02:00
kevmodrome 13dba18215 use params to select DB rather than store 2020-04-03 11:21:11 +02:00
Michael Shanks 88ecb0d569 v0.0.31 2020-04-02 19:27:54 +01:00
Michael Shanks 1e2b009555 v0.0.30 2020-04-02 19:16:21 +01:00
kevmodrome d3a707956f removes unused code in NavItem component 2020-04-02 18:23:53 +02:00
kevmodrome 8ba86adbc9 update backendNav to use routify 2020-04-02 18:23:05 +02:00
kevmodrome 1b52077738 update routify index options 2020-04-02 18:18:31 +02:00
Joe b8788b187f Changes to page layout in navbar
Also changed 12px fonts to 13px fonts
2020-04-02 17:11:38 +01:00
kevmodrome b533377067 update routify 2020-04-02 18:10:08 +02:00
Michael Shanks 79f47da4ef Merge branch 'master' of github.com:Budibase/budibase 2020-04-02 16:37:40 +01:00
Michael Shanks a657076397 "Master Layout" > "Page Layout" .. and moved above screens 2020-04-02 16:37:22 +01:00
kevmodrome 1349082fc6 use local param instead of global params on application page 2020-04-02 17:01:19 +02:00
kevmodrome 1982c3f21f update loading state to empty div, might need a loading state 2020-04-02 16:40:14 +02:00
kevmodrome 451ea31fa6 wip: database and user access level pages to work with new routing 2020-04-02 16:29:09 +02:00
kevmodrome 3a1d556791 wip: changes initialise function to getPackage and runs once you select application instead of at run-time. 2020-04-02 16:27:19 +02:00
Joe 8a95124e74
Merge pull request #192 from Budibase/style-update-to-backend-primary-screen
Styling changes
2020-04-02 15:14:26 +01:00
Joe 203247f5d3 Styling changes
Font stlyes changed
Margin revised
Table fonts updated
Select component updated
2020-04-02 15:11:27 +01:00
kevmodrome f827e8d9aa wip: add back root routify index page 2020-04-02 15:16:46 +02:00
Conor_Mack 1100e33835 merge 2020-04-02 13:02:29 +01:00
Conor_Mack 9378510e5a MD Button, Icon and Font Changes 2020-04-02 12:56:21 +01:00
Joe df18745c6d Update to title spacing 2020-04-02 12:28:07 +01:00
Joe 3f8dfcde68 Update 2020-04-02 12:26:46 +01:00
Joe 5fd26398d5 database nav section updated
title change
spacing fixed
delete icon aligned right
2020-04-02 12:25:42 +01:00
Joe b5a6908194
Merge pull request #188 from Budibase/minor-styling-changes-to-schema-nav-bar
minor styling changes to schema nav bar
2020-04-02 12:11:54 +01:00
Joe 2ff2d962a2 minor styling changes to schema nav bar
background color changed to white
title font changed to reflect mockups
spacing updated
2020-04-02 11:41:21 +01:00
Michael Shanks 0619ab71db Renamed "User Level" > "User Acceee Level" 2020-04-02 11:13:26 +01:00
Kevin Åberg Kultalahti 232331766e
fixes builder path issue 2020-04-02 11:44:42 +02:00
Michael Shanks 6bf9275cfa
Merge pull request #100 from Budibase/dependabot/npm_and_yarn/packages/core/handlebars-4.7.3
Bump handlebars from 4.1.2 to 4.7.3 in /packages/core
2020-04-02 09:19:34 +01:00
Michael Shanks 005adf836e
Merge pull request #162 from Budibase/dependabot/npm_and_yarn/packages/server/acorn-5.7.4
Bump acorn from 5.7.3 to 5.7.4 in /packages/server
2020-04-02 09:18:29 +01:00
kevmodrome f0be216840 Merge remote-tracking branch 'upstream/master' into feature/builder-organization 2020-04-02 08:56:10 +02:00
Michael Shanks f771db5915 bugfix: records&indexs badly named in UI
(due to previous collectionName change)
2020-04-02 06:55:11 +01:00
Michael Shanks 5209c6443c datatable: terminology updated: index > view 2020-04-02 06:30:20 +01:00
Michael Shanks ecc649180f better naming of default child view 2020-04-02 06:29:31 +01:00
Michael Shanks 84d145026b bugfix: database upgrade broken when field added 2020-04-02 06:21:52 +01:00
kevmodrome 1d4a3c7179 fixed missing/broken imports 2020-04-01 12:55:21 +02:00
kevmodrome d29c865ccd Merge remote-tracking branch 'upstream/master' into feature/builder-organization 2020-04-01 12:47:36 +02:00
kevmodrome 31f5a1414b changes from node_modules to using rollup-plugin-alias, fixes tests 2020-04-01 12:38:07 +02:00
Martin McKeaveney 7cdae881dc choose first db if none selected 2020-04-01 10:17:03 +01:00
Martin McKeaveney 86b5a475d6
Merge pull request #186 from shogunpurple/delete-databases
Delete databases
2020-04-01 06:09:20 +01:00
Martin McKeaveney 77f707949c change icon 2020-03-31 18:11:12 +01:00
Martin McKeaveney fccd90d64d tidy up 2020-03-31 17:58:47 +01:00
Martin McKeaveney c0bd5f2fbb ability to delete databases 2020-03-31 17:53:34 +01:00
Michael Shanks 0648ec7dff v0.0.29 2020-03-31 16:33:40 +01:00
Michael Shanks 85dfaee3a0 temporary bugfix, links on homepage broken for 4001 2020-03-31 16:33:23 +01:00
Michael Shanks 80fec01c8f v0.0.28 2020-03-31 14:44:04 +01:00
kevmodrome 093ca7eecb updates imports and finishes moving all commonly used files to the node_modules folder 2020-03-31 13:16:03 +02:00
kevmodrome 751c703671 wip: re-configures top level components to import from correct place 2020-03-31 11:56:39 +02:00
kevmodrome 87cd19bd92 wip: move components to node_modules folder for easier importing 2020-03-31 11:50:13 +02:00
kevmodrome 29850039ac update gitignore file 2020-03-31 11:42:21 +02:00
Conor_Mack bc7fc1b824 removing debuggers 2020-03-31 10:27:29 +01:00
Conor_Mack 3087e4a162 Merge branch 'master' of https://github.com/Budibase/budibase into bugfix/md-reference-bb-apis 2020-03-31 10:23:07 +01:00
Conor_Mack 336925ea56 Bugfix: datepicker needed to pass _bb down to the textfiel 2020-03-31 10:22:23 +01:00
Martin McKeaveney 6e9ae788b5 remove import 2020-03-30 21:21:18 +01:00
Martin McKeaveney 52cd19a046 error recovery notification banner 2020-03-30 21:14:41 +01:00
Joe ff0fe2cba5
Merge pull request #176 from shogunpurple/ui-updates
improved backend drilldown paths
2020-03-30 13:41:48 +01:00
Conor_Mack c09544923d Tidyup 2020-03-30 13:09:36 +01:00
Martin McKeaveney 77ccccb8c8 improved backend drilldown paths 2020-03-30 11:57:22 +01:00
Conor_Mack 545ebd0cf2 Merge 2020-03-30 11:30:35 +01:00
Conor_Mack d157165e34 Updating material components to reference bb apis properly 2020-03-30 11:20:55 +01:00
Michael Shanks 6b355551d0 bugfix - weird field table layout bug when > 4 fields
...hence remove unecessary ActionsHeader
2020-03-29 07:43:14 +01:00
Michael Shanks 9c3ba00ea1 bugfix: ModelView field "Values" not always defined 2020-03-29 07:29:25 +01:00
Michael Shanks 90b3ca54e0 bugfix: datetime fields usable 2020-03-29 07:28:44 +01:00
Michael Shanks dfe797015b Merge branch 'new-backend' 2020-03-28 06:43:02 +00:00
Michael Shanks fbfca2370b bugfix: better logging on create user error 2020-03-28 06:40:01 +00:00
Michael Shanks 946c79df53 bugfix: clearing sessions on backend update 2020-03-28 06:39:22 +00:00
Martin McKeaveney ec0d8bd142 formatting 2020-03-27 16:58:32 +00:00
Martin McKeaveney 545694d3a8 merge conflicts 2020-03-27 16:58:01 +00:00
Michael Shanks 275e17a90d rebuild page code when templated component added 2020-03-27 15:28:33 +00:00
Michael Shanks b5473f29c6 upgrading accesslevels 2020-03-27 15:14:50 +00:00
Martin McKeaveney 00eb3ce13a write access levels 2020-03-27 14:49:51 +00:00
Martin McKeaveney 220f128d84 Merge branch 'new-backend' of github.com:Budibase/budibase into new-backend 2020-03-27 12:39:13 +00:00
Martin McKeaveney e1d1be1e1a showing correct front end elements for selected database 2020-03-27 12:38:27 +00:00
Michael Shanks 51caa55f4b create/edit record - supports field types 2020-03-27 11:28:30 +00:00
Martin McKeaveney 5c7e603a5e rename record 2020-03-27 10:32:37 +00:00
Martin McKeaveney ee4972a030 tidy up 2020-03-26 21:22:32 +00:00
Martin McKeaveney d48c311564 drilldown complete, deleting model fields 2020-03-26 17:39:42 +00:00
Michael Shanks 721569c2d4 bugfix: child key not constructed correctly 2020-03-26 14:52:44 +00:00
Conor_Mack d2b0e79a73 Tidyup and components json update 2020-03-26 14:47:49 +00:00
Michael Shanks 8e322e314b bugfix: upgradeData - not upgrading child records 2020-03-26 14:32:09 +00:00
Michael Shanks 3f1fcfa50c bugfix: child views not loading 2020-03-26 14:31:56 +00:00
Conor Mack a505a32792 Complete Material Slider 2020-03-26 12:11:22 +00:00
Michael Shanks faee6b15a4 Merge branch 'new-backend' of github.com:Budibase/budibase into new-backend 2020-03-26 11:19:40 +00:00
Michael Shanks 5c3f087ffa _builder routing servs index for non-file paths 2020-03-26 11:19:21 +00:00
Martin McKeaveney 993af0e2c8 Merge branch 'new-backend' of github.com:Budibase/budibase into new-backend 2020-03-26 10:10:37 +00:00
Martin McKeaveney 25759896cc allow creation of child views 2020-03-26 10:10:18 +00:00
Michael Shanks 3113e7ce91 bugfix: model renamed on record creation 2020-03-26 09:45:04 +00:00
Martin McKeaveney f0a584a20a make it easy for users to create children 2020-03-25 21:47:17 +00:00
Martin McKeaveney 33183ff1e9 child record drilldown 2020-03-25 17:01:53 +00:00
Martin McKeaveney 19c0bbc865 Merge branch 'new-backend' of github.com:Budibase/budibase into new-backend 2020-03-25 16:59:36 +00:00
Martin McKeaveney f46efd9e9e userslist 2020-03-25 16:59:32 +00:00
Michael Shanks 9ee636092a validation for delete index and records 2020-03-25 16:57:04 +00:00
Michael Shanks f3f8026e6f bugfix: user not getting created 2020-03-25 16:10:39 +00:00
Michael Shanks ca6c3d182a evict packages from cache on SaveBackend 2020-03-25 12:38:04 +00:00
Michael Shanks ecf5015c36 default index name - dont use collectionName
(collectionName is now a number)
2020-03-25 11:31:58 +00:00
Michael Shanks 87742d6e58 Merge branch 'new-backend' of github.com:Budibase/budibase into new-backend 2020-03-25 11:29:12 +00:00
Martin McKeaveney f8ba293171 bug fix for indexes 2020-03-25 11:28:45 +00:00
Michael Shanks ace301c9fc bugfix: dont put 'IsNew' into index 2020-03-25 11:18:13 +00:00
Michael Shanks 6cbf2ce02b Merge branch 'new-backend' of github.com:Budibase/budibase into new-backend 2020-03-25 11:14:04 +00:00
Michael Shanks c5ec3cfb13 canDelete methods for index and record 2020-03-25 11:11:28 +00:00
Martin McKeaveney 0d0685cd48 bug fixes= 2020-03-25 10:59:47 +00:00
Michael Shanks f44deca6af collection name uses nodeId by default, and field is removed 2020-03-25 10:45:11 +00:00
Michael Shanks 964ea55590 bugfix: nav items text background grey on windows 2020-03-25 08:56:34 +00:00
Michael Shanks e077d0fb80 Merge branch 'new-backend' of github.com:Budibase/budibase into new-backend 2020-03-25 08:49:35 +00:00
Martin McKeaveney 88db9bbc02 tidy up 2020-03-24 19:59:30 +00:00
Martin McKeaveney a91b89b7c2 user creation 2020-03-24 16:17:46 +00:00
Martin McKeaveney 30e33b7ee0 reactive model data table 2020-03-24 16:17:46 +00:00
Michael Shanks 823d8eea51 allow all conde snippets to be either blocks or expressions 2020-03-24 16:12:46 +00:00
Michael Shanks 914afc6059 bugfix... new apps had incorrect appDefinition.json 2020-03-24 15:33:31 +00:00
Joe 811445c7de frontend panel nav items highlights
Changes include
Font updates
Font spacing added
Font weights changed
2020-03-24 11:12:08 +00:00
Michael Shanks d236f4f145 upgrade data - hooked up to server & builder 2020-03-24 10:58:15 +00:00
Michael Shanks 3a2c961947 bugfix: views duplicated 2020-03-24 10:57:54 +00:00
Michael Shanks 36bb582ceb merge conflicts 2020-03-24 10:56:48 +00:00
Conor Mack 199cba6113 Completed MD Switch component 2020-03-23 15:49:06 +00:00
Michael Shanks 86834a9046 prettier auto fix 2020-03-23 14:26:38 +00:00
Martin McKeaveney 00d2b9d908 started drilldown 2020-03-23 14:15:09 +00:00
Conor Mack 15a8451c94 removing console log 2020-03-23 14:02:54 +00:00
Conor Mack 07cdcb2072 MD Dialog Complete and Margins for Typography 2020-03-23 13:58:40 +00:00
Martin McKeaveney 927be23545 solving initial table load issue 2020-03-23 10:43:34 +00:00
Martin McKeaveney 6f6d8f669c further tidy up 2020-03-22 14:14:38 +00:00
Martin McKeaveney f18653af33 modal styling 2020-03-22 14:05:13 +00:00
Martin McKeaveney e58546729d modal styling 2020-03-22 13:59:42 +00:00
Martin McKeaveney df100f503d more cleanup 2020-03-22 13:10:55 +00:00
Martin McKeaveney 23ebb529ad tidy up 2020-03-22 13:05:58 +00:00
Martin McKeaveney de9a7f9005 moving more backend stuff into other store actions file 2020-03-22 11:36:05 +00:00
Martin McKeaveney e29dba096c table enhancements 2020-03-22 09:21:18 +00:00
Martin McKeaveney 5adff4a6a3 enhanced modals 2020-03-21 20:39:37 +00:00
Martin McKeaveney 9c7fbdd3e6 adding, deleting and editing records working 2020-03-20 18:47:01 +00:00
dependabot[bot] e22f20a678
Bump acorn from 5.7.3 to 5.7.4 in /packages/server
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-03-20 14:58:16 +00:00
Conor_Mack 0220a6e6d4 Tidy up 2020-03-20 14:55:54 +00:00
Conor_Mack 8585e4f007 Merge branch 'master' of https://github.com/Budibase/budibase into feature/card 2020-03-20 14:53:11 +00:00
Conor_Mack 3a28374b75 Completed Material Card Component 2020-03-20 14:53:04 +00:00
Michael Shanks 106fa19a31 bugfix: Delete button cut off on windows 2020-03-20 14:01:10 +00:00
Michael Shanks 5d05d8d9d5 Merge branch 'master' of github.com:Budibase/budibase 2020-03-20 13:59:27 +00:00
Michael Shanks 5ca543f373 diff hierarchy bugfix 2020-03-20 13:58:05 +00:00
Michael Shanks 4d9949a429 #8 Diff Hierarchy & upgrade data 2020-03-20 13:39:38 +00:00
Conor_Mack 96352f835b Card with lay undefined issue 2020-03-20 09:57:49 +00:00
Joe 2630213776
Merge pull request #158 from Budibase/navigator-panel-touch-ups
navigator panel touch ups
2020-03-19 17:49:31 +00:00
Joe a166f3e510 primary button and new screen modal redesigned
Changes include:
Primary button redesigned
Cancel button added
Button positiioning changed
New screen modal redesigned
2020-03-19 12:31:23 +00:00
Joe 217906c7df navigator panel touch ups
the current navigator panel design contains the wrong colors, padding, etc. This resolves that.
2020-03-19 09:34:23 +00:00
Joe 7b2275b926
Merge pull request #156 from Budibase/component-nav-tidy-up
component nav tidy up
2020-03-18 11:04:21 +00:00
Joe 54317f3d53 color change 2020-03-17 11:16:49 +00:00
Joe 74caf8496f component nav tidy up 2020-03-17 09:57:18 +00:00
Martin McKeaveney 7ecba3b97c modal restructuring 2020-03-17 00:20:13 +00:00
Martin McKeaveney db6135e801 moving code from main store to backend file 2020-03-16 18:54:48 +00:00
Joe c469d765c5 global ui changes
Changes include:
Label font weights
Secondary color
Icon background colors
Positioning of icons
2020-03-16 18:18:42 +00:00
Martin McKeaveney 4678f2c168 UI structure 2020-03-12 14:23:49 +00:00
Martin McKeaveney 8c983192e6 iterate over package app instances 2020-03-12 14:23:49 +00:00
Martin McKeaveney 62176b6b14 databases list 2020-03-12 14:23:49 +00:00
Martin McKeaveney 2e77e6dc58 new backend beginnings 2020-03-12 14:23:49 +00:00
Conor_Mack db56165c97 Merge branch 'master' of https://github.com/Budibase/budibase into feature/md-datepicker-and-iconbutton 2020-03-12 14:07:45 +00:00
Conor_Mack 8076840fe1 Adding onChange functionality for typing date in field and tidy up 2020-03-12 14:07:20 +00:00
Michael Shanks c44f658ebf broken tests 2020-03-11 17:07:18 +00:00
Michael Shanks 1853921330 hierarchy diff tests 2020-03-11 16:42:53 +00:00
Michael Shanks a286385e57 bugfixes... incorrect routing from builder to instances 2020-03-11 16:42:19 +00:00
Conor_Mack 8f3c00bc81 Datepicker and icon bug fixes 2020-03-11 16:28:09 +00:00
Conor_Mack 338e65b30a Merge branch 'master' of https://github.com/Budibase/budibase into feature/md-datepicker-and-iconbutton 2020-03-11 14:14:43 +00:00
Conor_Mack 7c23e644e0 Datepicker and Icon Button 2020-03-11 14:04:47 +00:00
Michael Shanks 00336cecc9 diffHierarchy started 2020-03-10 22:50:34 +00:00
Michael Shanks 182ebe7f98 mistakenly added package 2020-03-10 11:27:20 +00:00
Michael Shanks 6c56fb79bd methods in builder for creating new instance & record structures 2020-03-10 11:25:25 +00:00
Michael Shanks 1fcecb5204 Merge branch 'master' of github.com:Budibase/budibase 2020-03-10 10:05:30 +00:00
Michael Shanks f8e71d0e96 exposing _master database operations to builder 2020-03-10 10:05:09 +00:00
Joe 652f640e39 Resized preview pane 2020-03-09 13:03:02 +00:00
Martin McKeaveney a48df5dc8b
Merge pull request #148 from shogunpurple/layout-enhancements
Layout enhancements
2020-03-09 12:33:40 +00:00
Martin McKeaveney 05385d611e better variable naming 2020-03-07 23:57:19 +00:00
Martin McKeaveney 7c55007c4e remove commented code 2020-03-07 23:52:47 +00:00
Martin McKeaveney 5c89ad807a better icons 2020-03-07 23:50:43 +00:00
Conor Mack 31eb063cf6 WIP: Poc for date picker 2020-03-07 16:33:44 +00:00
Joe c9c8cf40e1 update to margin 2020-03-07 13:04:23 +00:00
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
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
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
Michael Shanks b2fe946c23 'New Child Record' not woring on builder 2019-11-11 15:05:48 +00:00
Michael Shanks 49c2bcf2ed 'New Child Record' not woring on builder 2019-11-11 15:05:30 +00:00
Michael Shanks f4d9629fd2 v0.0.14 2019-11-09 08:14:41 +00:00
Michael Shanks a7ecea82ac fixes for getting started... 2019-11-09 08:14:10 +00:00