1
0
Fork 0
mirror of synced 2024-09-09 06:01:08 +12:00
Commit graph

906 commits

Author SHA1 Message Date
Martin McKeaveney
fe89a4fcd1 choose first db if none selected 2020-04-01 10:17:03 +01:00
Martin McKeaveney
869f227519 Merge pull request #186 from shogunpurple/delete-databases
Delete databases
2020-04-01 06:09:20 +01:00
Martin McKeaveney
8dce9789b1 change icon 2020-03-31 18:11:12 +01:00
Martin McKeaveney
125af724e5 tidy up 2020-03-31 17:58:47 +01:00
Martin McKeaveney
33a2dbd275 ability to delete databases 2020-03-31 17:53:34 +01:00
Michael Shanks
dcf4f4963c v0.0.29 2020-03-31 16:33:40 +01:00
Michael Shanks
8d10915dc3 temporary bugfix, links on homepage broken for 4001 2020-03-31 16:33:23 +01:00
Michael Shanks
ad496a7c3e v0.0.28 2020-03-31 14:44:04 +01:00
kevmodrome
c120eb934d updates imports and finishes moving all commonly used files to the node_modules folder 2020-03-31 13:16:03 +02:00
kevmodrome
3cdb598b34 wip: re-configures top level components to import from correct place 2020-03-31 11:56:39 +02:00
kevmodrome
319b86e012 wip: move components to node_modules folder for easier importing 2020-03-31 11:50:13 +02:00
kevmodrome
b8559119d2 update gitignore file 2020-03-31 11:42:21 +02:00
Conor_Mack
1787584847 removing debuggers 2020-03-31 10:27:29 +01:00
Conor_Mack
afc53fb4ba 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
64330999f0 Bugfix: datepicker needed to pass _bb down to the textfiel 2020-03-31 10:22:23 +01:00
Martin McKeaveney
81977bba7a remove import 2020-03-30 21:21:18 +01:00
Martin McKeaveney
5d45797f3b error recovery notification banner 2020-03-30 21:14:41 +01:00
Joe
ab123aa098 Merge pull request #176 from shogunpurple/ui-updates
improved backend drilldown paths
2020-03-30 13:41:48 +01:00
Conor_Mack
1b6d02be0d Tidyup 2020-03-30 13:09:36 +01:00
Martin McKeaveney
09c7824c8e improved backend drilldown paths 2020-03-30 11:57:22 +01:00
Conor_Mack
bc60d2dfc8 Merge 2020-03-30 11:30:35 +01:00
Conor_Mack
87c9cfd7ef Updating material components to reference bb apis properly 2020-03-30 11:20:55 +01:00
Michael Shanks
58d5451274 bugfix - weird field table layout bug when > 4 fields
...hence remove unecessary ActionsHeader
2020-03-29 07:43:14 +01:00
Michael Shanks
c3d81fbdbc bugfix: ModelView field "Values" not always defined 2020-03-29 07:29:25 +01:00
Michael Shanks
cb81e9c9d7 bugfix: datetime fields usable 2020-03-29 07:28:44 +01:00
Michael Shanks
d18fd05022 Merge branch 'new-backend' 2020-03-28 06:43:02 +00:00
Michael Shanks
71f1278bd4 bugfix: better logging on create user error 2020-03-28 06:40:01 +00:00
Michael Shanks
cb1fc286b1 bugfix: clearing sessions on backend update 2020-03-28 06:39:22 +00:00
Martin McKeaveney
f82a954666 formatting 2020-03-27 16:58:32 +00:00
Martin McKeaveney
ff73793b4c merge conflicts 2020-03-27 16:58:01 +00:00
Michael Shanks
20c624d3c9 rebuild page code when templated component added 2020-03-27 15:28:33 +00:00
Michael Shanks
ddf302f33a upgrading accesslevels 2020-03-27 15:14:50 +00:00
Martin McKeaveney
ca026e6017 write access levels 2020-03-27 14:49:51 +00:00
Martin McKeaveney
6cd08c32a5 Merge branch 'new-backend' of github.com:Budibase/budibase into new-backend 2020-03-27 12:39:13 +00:00
Martin McKeaveney
fcce792341 showing correct front end elements for selected database 2020-03-27 12:38:27 +00:00
Michael Shanks
c5ae667a2a create/edit record - supports field types 2020-03-27 11:28:30 +00:00
Martin McKeaveney
72ce6833c0 rename record 2020-03-27 10:32:37 +00:00
Martin McKeaveney
337d4019c1 tidy up 2020-03-26 21:22:32 +00:00
Martin McKeaveney
c543cb143a drilldown complete, deleting model fields 2020-03-26 17:39:42 +00:00
Michael Shanks
161e6271f3 bugfix: child key not constructed correctly 2020-03-26 14:52:44 +00:00
Conor_Mack
835bfa5999 Tidyup and components json update 2020-03-26 14:47:49 +00:00
Michael Shanks
aad6d30749 bugfix: upgradeData - not upgrading child records 2020-03-26 14:32:09 +00:00
Michael Shanks
1efc3cfd98 bugfix: child views not loading 2020-03-26 14:31:56 +00:00
Conor Mack
b8ea15b263 Complete Material Slider 2020-03-26 12:11:22 +00:00
Michael Shanks
b498d7809e Merge branch 'new-backend' of github.com:Budibase/budibase into new-backend 2020-03-26 11:19:40 +00:00
Michael Shanks
c538cee59c _builder routing servs index for non-file paths 2020-03-26 11:19:21 +00:00
Martin McKeaveney
52a7c5581b Merge branch 'new-backend' of github.com:Budibase/budibase into new-backend 2020-03-26 10:10:37 +00:00
Martin McKeaveney
ff0ecda010 allow creation of child views 2020-03-26 10:10:18 +00:00
Michael Shanks
b94632ed62 bugfix: model renamed on record creation 2020-03-26 09:45:04 +00:00
Martin McKeaveney
6ac63dfdf9 make it easy for users to create children 2020-03-25 21:47:17 +00:00
Martin McKeaveney
a721ab80dc child record drilldown 2020-03-25 17:01:53 +00:00
Martin McKeaveney
062776d94e Merge branch 'new-backend' of github.com:Budibase/budibase into new-backend 2020-03-25 16:59:36 +00:00
Martin McKeaveney
bdecbf1e82 userslist 2020-03-25 16:59:32 +00:00
Michael Shanks
3cc5773fde validation for delete index and records 2020-03-25 16:57:04 +00:00
Michael Shanks
0c9d6abbf0 bugfix: user not getting created 2020-03-25 16:10:39 +00:00
Michael Shanks
5af53922ed evict packages from cache on SaveBackend 2020-03-25 12:38:04 +00:00
Michael Shanks
f3a9d138d7 default index name - dont use collectionName
(collectionName is now a number)
2020-03-25 11:31:58 +00:00
Michael Shanks
4c5e5f9716 Merge branch 'new-backend' of github.com:Budibase/budibase into new-backend 2020-03-25 11:29:12 +00:00
Martin McKeaveney
ecf324453e bug fix for indexes 2020-03-25 11:28:45 +00:00
Michael Shanks
9e6e471a38 bugfix: dont put 'IsNew' into index 2020-03-25 11:18:13 +00:00
Michael Shanks
c2212840ce Merge branch 'new-backend' of github.com:Budibase/budibase into new-backend 2020-03-25 11:14:04 +00:00
Michael Shanks
7274d44fd9 canDelete methods for index and record 2020-03-25 11:11:28 +00:00
Martin McKeaveney
a099558d9e bug fixes= 2020-03-25 10:59:47 +00:00
Michael Shanks
bcd8b602b3 collection name uses nodeId by default, and field is removed 2020-03-25 10:45:11 +00:00
Michael Shanks
e20bb608dd bugfix: nav items text background grey on windows 2020-03-25 08:56:34 +00:00
Michael Shanks
1cc2991d18 Merge branch 'new-backend' of github.com:Budibase/budibase into new-backend 2020-03-25 08:49:35 +00:00
Martin McKeaveney
ad8617406f tidy up 2020-03-24 19:59:30 +00:00
Martin McKeaveney
57c3598d9f user creation 2020-03-24 16:17:46 +00:00
Martin McKeaveney
d85c04acbf reactive model data table 2020-03-24 16:17:46 +00:00
Michael Shanks
8afbf12021 allow all conde snippets to be either blocks or expressions 2020-03-24 16:12:46 +00:00
Michael Shanks
7462b55a9a bugfix... new apps had incorrect appDefinition.json 2020-03-24 15:33:31 +00:00
Joe
0d7cd5ec2e 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
3429311d5e upgrade data - hooked up to server & builder 2020-03-24 10:58:15 +00:00
Michael Shanks
9ee1132185 bugfix: views duplicated 2020-03-24 10:57:54 +00:00
Michael Shanks
6ab3003106 merge conflicts 2020-03-24 10:56:48 +00:00
Conor Mack
74f628d102 Completed MD Switch component 2020-03-23 15:49:06 +00:00
Michael Shanks
60013d3d3b prettier auto fix 2020-03-23 14:26:38 +00:00
Martin McKeaveney
b26a5ed6a4 started drilldown 2020-03-23 14:15:09 +00:00
Conor Mack
b67fffe7e6 removing console log 2020-03-23 14:02:54 +00:00
Conor Mack
202b4f0996 MD Dialog Complete and Margins for Typography 2020-03-23 13:58:40 +00:00
Martin McKeaveney
e073d30e44 solving initial table load issue 2020-03-23 10:43:34 +00:00
Martin McKeaveney
e772283914 further tidy up 2020-03-22 14:14:38 +00:00
Martin McKeaveney
1c329cac60 modal styling 2020-03-22 14:05:13 +00:00
Martin McKeaveney
19827a0fae modal styling 2020-03-22 13:59:42 +00:00
Martin McKeaveney
f32945958f more cleanup 2020-03-22 13:10:55 +00:00
Martin McKeaveney
a473858110 tidy up 2020-03-22 13:05:58 +00:00
Martin McKeaveney
266c36f079 moving more backend stuff into other store actions file 2020-03-22 11:36:05 +00:00
Martin McKeaveney
b474f8a600 table enhancements 2020-03-22 09:21:18 +00:00
Martin McKeaveney
9756574e6f enhanced modals 2020-03-21 20:39:37 +00:00
Martin McKeaveney
a8fec53ff3 adding, deleting and editing records working 2020-03-20 18:47:01 +00:00
dependabot[bot]
2c35585406 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
a1ab885a83 Tidy up 2020-03-20 14:55:54 +00:00
Conor_Mack
339927b4be Merge branch 'master' of https://github.com/Budibase/budibase into feature/card 2020-03-20 14:53:11 +00:00
Conor_Mack
bb781c3d20 Completed Material Card Component 2020-03-20 14:53:04 +00:00
Michael Shanks
0399eec4e6 bugfix: Delete button cut off on windows 2020-03-20 14:01:10 +00:00
Michael Shanks
5fbd276cd8 Merge branch 'master' of github.com:Budibase/budibase 2020-03-20 13:59:27 +00:00
Michael Shanks
479c284966 diff hierarchy bugfix 2020-03-20 13:58:05 +00:00
Michael Shanks
c5b1cc8a9f #8 Diff Hierarchy & upgrade data 2020-03-20 13:39:38 +00:00
Conor_Mack
bdd84d21b2 Card with lay undefined issue 2020-03-20 09:57:49 +00:00
Joe
12f31c71d4 Merge pull request #158 from Budibase/navigator-panel-touch-ups
navigator panel touch ups
2020-03-19 17:49:31 +00:00
Joe
f50dee0ea4 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
b47fd826d4 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
9888b7d055 Merge pull request #156 from Budibase/component-nav-tidy-up
component nav tidy up
2020-03-18 11:04:21 +00:00
Joe
9aa6b3fba5 color change 2020-03-17 11:16:49 +00:00
Joe
88a7098617 component nav tidy up 2020-03-17 09:57:18 +00:00
Martin McKeaveney
38d7623862 modal restructuring 2020-03-17 00:20:13 +00:00
Martin McKeaveney
fa95ba2d79 moving code from main store to backend file 2020-03-16 18:54:48 +00:00
Joe
150a919c6c 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
8cb49fb27e UI structure 2020-03-12 14:23:49 +00:00
Martin McKeaveney
d905677faf iterate over package app instances 2020-03-12 14:23:49 +00:00
Martin McKeaveney
5dffa5c7ce databases list 2020-03-12 14:23:49 +00:00
Martin McKeaveney
c777e2ff03 new backend beginnings 2020-03-12 14:23:49 +00:00
Conor_Mack
f490bbe04c 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
099eca4861 Adding onChange functionality for typing date in field and tidy up 2020-03-12 14:07:20 +00:00
Michael Shanks
ad62a9c7d8 broken tests 2020-03-11 17:07:18 +00:00
Michael Shanks
51794f78a8 hierarchy diff tests 2020-03-11 16:42:53 +00:00
Michael Shanks
64ca63926f bugfixes... incorrect routing from builder to instances 2020-03-11 16:42:19 +00:00
Conor_Mack
26b1604674 Datepicker and icon bug fixes 2020-03-11 16:28:09 +00:00
Conor_Mack
da8357d1e4 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
082997585b Datepicker and Icon Button 2020-03-11 14:04:47 +00:00
Michael Shanks
d9aac103ee diffHierarchy started 2020-03-10 22:50:34 +00:00
Michael Shanks
83c2533579 mistakenly added package 2020-03-10 11:27:20 +00:00
Michael Shanks
fa8e8a4ddb methods in builder for creating new instance & record structures 2020-03-10 11:25:25 +00:00
Michael Shanks
74de9e399b Merge branch 'master' of github.com:Budibase/budibase 2020-03-10 10:05:30 +00:00
Michael Shanks
8aaa322507 exposing _master database operations to builder 2020-03-10 10:05:09 +00:00
Joe
c0f4dd489f Resized preview pane 2020-03-09 13:03:02 +00:00
Martin McKeaveney
40e21f3870 Merge pull request #148 from shogunpurple/layout-enhancements
Layout enhancements
2020-03-09 12:33:40 +00:00
Martin McKeaveney
b5b526fab2 better variable naming 2020-03-07 23:57:19 +00:00
Martin McKeaveney
0a81d5b6df remove commented code 2020-03-07 23:52:47 +00:00
Martin McKeaveney
ec6a523fe1 better icons 2020-03-07 23:50:43 +00:00
Conor Mack
6e0518c646 WIP: Poc for date picker 2020-03-07 16:33:44 +00:00
Joe
19889f7e9d update to margin 2020-03-07 13:04:23 +00:00
Joe
21b2702285 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
7e4773837f Merge branch 'master' of github.com:Budibase/budibase 2020-03-06 21:28:48 +00:00
Martin McKeaveney
660872abc0 icons instead of text 2020-03-06 17:00:54 +00:00
Conor_Mack
358c868ec5 Adding new components to components json 2020-03-06 10:14:21 +00:00
Michael Shanks
3e5c64291f index table - bold column headers 2020-03-05 22:21:23 +00:00
Michael Shanks
2e5c0d26d6 Merge branch 'master' of github.com:Budibase/budibase 2020-03-05 16:14:54 +00:00
Michael Shanks
09178dbdb1 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
4aaf9788f8 Confirm dialog had mixup colours 2020-03-05 15:21:29 +00:00
Michael Shanks
c37a9ffc72 MD - moved select to evDependencies 2020-03-05 15:09:17 +00:00
Conor_Mack
bac20f3e76 Tidyup and bugfixes 2020-03-05 14:59:08 +00:00
Michael Shanks
812f60ec77 prettier 2020-03-05 14:55:34 +00:00
Michael Shanks
dd1d3643e4 lerna updated gitHead for me for some reason 2020-03-05 14:54:22 +00:00
Conor_Mack
c830c547a0 Checkboxgroup with builder specific logic 2020-03-05 11:56:23 +00:00
Michael Shanks
a54d978662 v0.0.27 2020-03-05 08:53:44 +00:00
Michael Shanks
128218a0fa v0.0.26 2020-03-05 08:48:04 +00:00
Michael Shanks
a510d18318 v0.0.25 2020-03-05 08:37:51 +00:00
Michael Shanks
8a318849c1 Merge branch 'master' of github.com:Budibase/budibase 2020-03-04 23:04:17 +00:00
Michael Shanks
6be190e5dd bugfix: MD Select - ensure value is selected via value prop 2020-03-04 23:03:51 +00:00
Michael Shanks
b43c6fb81d bugfix: MD Select throwin console err 2020-03-04 22:48:06 +00:00
Martin McKeaveney
f69c992e7a Merge pull request #137 from shogunpurple/logrocket
logrocket analytics
2020-03-04 16:52:49 +00:00
Michael Shanks
19eadf83a3 Merge branch 'master' of github.com:Budibase/budibase 2020-03-04 16:50:40 +00:00
Michael Shanks
c37938f4d4 bugfix: MD Select needs to call _bb apis 2020-03-04 16:50:35 +00:00
Martin McKeaveney
553cda96c8 move logrocket into the builder directory 2020-03-04 16:50:17 +00:00
Michael Shanks
3ebec70084 bugfix: MD test app boken - missing nodeKey 2020-03-04 16:49:40 +00:00
Michael Shanks
95f821a83f recordForm template uses MD select 2020-03-04 16:49:10 +00:00
Michael Shanks
924f7823e4 bugfix: importing scss with file extension 2020-03-04 16:48:51 +00:00
Michael Shanks
93b1db6858 MD components JSON - Select and ListItem 2020-03-04 16:48:31 +00:00
Martin McKeaveney
573f837c4f logrocket analytics 2020-03-04 16:47:47 +00:00
Conor_Mack
428a7f9d32 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
c605d49949 Radiobutton Group update to work with builder specific logic 2020-03-04 16:35:52 +00:00
Michael Shanks
910251e167 Merge branch 'master' of github.com:Budibase/budibase 2020-03-04 15:21:35 +00:00
Michael Shanks
052493e4fa bugfix: container should default to div 2020-03-04 15:20:53 +00:00
Michael Shanks
6ff54434ab bugfix: css not applied after template component added 2020-03-04 12:43:02 +00:00
Michael Shanks
8546fd6da9 bugfix: create screen > components not displayed 2020-03-04 12:13:50 +00:00
Conor Mack
cc2c6764ee Completed MD Select 2020-03-04 11:02:17 +00:00
Michael Shanks
34665b4b93 bugfix: all_contacts hardcoded index name 2020-03-04 10:45:34 +00:00
Conor Mack
6785198c62 Completed MD Select 2020-03-03 15:23:03 +00:00
Conor Mack
eb9e7c02fc Completed menu component 2020-03-02 14:43:06 +00:00
Conor_Mack
80a71ff671 merge 2020-03-02 11:43:02 +00:00
Conor_Mack
cb72266c81 Commit before pull 2020-03-02 11:40:16 +00:00
Conor_Mack
adfec3b85d Starting menu refactor 2020-03-02 11:17:04 +00:00
Michael Shanks
b90add5833 v0.0.24 2020-02-27 23:42:35 +00:00
Michael Shanks
a8f8cd1a8e bugfix: MD checkbox throwing 2020-02-27 23:41:36 +00:00
Michael Shanks
2548e0da2c v0.0.23 2020-02-27 22:08:29 +00:00
Michael Shanks
0b3c62d426 recordForm now produces selects 2020-02-27 22:06:53 +00:00
Michael Shanks
4c5654594e bugfix: MD build broken - shortid 2020-02-27 22:06:35 +00:00
Michael Shanks
2d67d031c3 bugfix: screen prop 'url' was changed to 'route' 2020-02-27 21:34:52 +00:00
Michael Shanks
39075b5032 _bb client api, relative url checks for root path,+ handles absolutes 2020-02-27 21:14:41 +00:00
Martin McKeaveney
1c3fd54929 Merge pull request #132 from shogunpurple/ui-bugs
Ui bugs
2020-02-27 18:08:07 +00:00
Martin McKeaveney
58ea78b8be lint failures 2020-02-27 16:45:24 +00:00
Martin McKeaveney
e07d430482 fix reactive declaration 2020-02-27 16:41:41 +00:00
Martin McKeaveney
71e88f4de5 select fix, select all on access levels, modal fixes 2020-02-27 16:41:41 +00:00
Conor Mack
d076513f27 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
613ab35099 Updated way of handling selected items by using writable store and context 2020-02-27 15:45:28 +00:00
Michael Shanks
7438e6f057 v0.0.22 2020-02-27 11:59:35 +00:00
Michael Shanks
ac8385be46 bugfix: compnent template fixes 2020-02-27 11:56:39 +00:00
Michael Shanks
d7ac067a3c bugfix: images only rendering hen running in dev mode 2020-02-27 11:55:00 +00:00
Conor Mack
47c34e2395 Testing list items by passing down a event handler through context for selecting items 2020-02-27 10:03:49 +00:00
Michael Shanks
ea9830e025 cli - init command not defaulting config correctly 2020-02-27 09:32:58 +00:00
Michael Shanks
f7c0e7a27c v0.0.21 2020-02-26 22:47:09 +00:00
Michael Shanks
6b7e071cb4 new budibase apps get the max v0.x 2020-02-26 22:46:35 +00:00
Michael Shanks
615688afa7 v0.0.20 2020-02-26 22:32:19 +00:00
Michael Shanks
c435737366 bump _master dep on MD components 2020-02-26 22:31:23 +00:00
Michael Shanks
e87e890306 v0.0.19 2020-02-26 22:26:19 +00:00
Michael Shanks
3bd17c14b9 moved MD deps into devDeps, as they get bundled 2020-02-26 22:25:36 +00:00
Michael Shanks
6c10a4a2cf v0.0.18 2020-02-26 22:18:45 +00:00
Michael Shanks
56d51014d4 prep for NPM publish 2020-02-26 22:18:14 +00:00
Michael Shanks
05d55de0d8 v0.0.17 2020-02-26 21:12:13 +00:00
Martin McKeaveney
97a72ed966 more UI tidy up 2020-02-26 18:16:31 +00:00
Michael Shanks
48240c5941 Merge remote-tracking branch 'origin/master' 2020-02-26 16:41:46 +00:00
Michael Shanks
15c44569f2 Merge pull request #131 from pngwn/details
Make page and screen props editable.
2020-02-26 16:41:16 +00:00
Michael Shanks
92c74bab0f Conflicts from PR #122 from @pngwyn 2020-02-26 16:36:30 +00:00
Michael Shanks
cb9b48c73b updated _master app UI 2020-02-26 15:59:27 +00:00
Michael Shanks
4245d429b9 server - listRecords routes should use a wildcard param 2020-02-26 15:58:55 +00:00
Michael Shanks
4f2f2b9015 dont try to attachChildren if theres not htmlElement supplied 2020-02-26 15:57:48 +00:00
Michael Shanks
8c1c3329be Merge branch 'master' of github.com:Budibase/budibase 2020-02-26 15:56:30 +00:00
pngwn
2d1dc5bdb3 Rename detailProp to metadataProp 2020-02-26 12:45:20 +00:00
Michael Shanks
29d651dcfb bugfix: _master package sent to incorrect directory 2020-02-26 11:39:19 +00:00
pngwn
862a32af9b Make page and screen props editable. 2020-02-26 10:26:19 +00:00
Martin McKeaveney
e862675956 ignore public folder in apps 2020-02-26 10:16:43 +00:00
Michael Shanks
1e4659db19 bugfix: route params not populated correctly 2020-02-25 22:27:02 +00:00
Martin McKeaveney
5c69539ab8 Update package.json 2020-02-25 18:13:46 +00:00
Martin McKeaveney
8c0cebaa2f fix tests 2020-02-25 18:02:18 +00:00
Martin McKeaveney
8d7b5cc078 Update index.js 2020-02-25 17:30:27 +00:00
Martin McKeaveney
7d17459eb1 Rename button.svelte to Button.svelte 2020-02-25 17:30:06 +00:00
Michael Shanks
c14c826d51 CI error: standard-comp Button import typo 2020-02-25 17:25:26 +00:00
Michael Shanks
4809105fc3 Merge branch 'master' of github.com:Budibase/budibase 2020-02-25 17:06:00 +00:00
Martin McKeaveney
36250cbbdb fix ci 2020-02-25 16:51:40 +00:00
Michael Shanks
754a9bce16 broken tests: buildCodeForScreens.spec 2020-02-25 16:27:52 +00:00
Martin McKeaveney
3fd7f376e3 all eslint errors fixed 2020-02-25 16:23:45 +00:00
Michael Shanks
7a21c149ba bugfix: indexDatatable typo in generated code 2020-02-25 16:15:30 +00:00
Michael Shanks
5e3af12984 bugfix: scrollable UI nav 2020-02-25 16:14:10 +00:00
Michael Shanks
36f318a847 custom code - added "route" param 2020-02-25 16:01:23 +00:00
Martin McKeaveney
1912150149 fix tests 2020-02-25 15:46:04 +00:00
Martin McKeaveney
7ae40de558 eslint tidy up 2020-02-25 15:46:04 +00:00
Conor_Mack
76a03571e6 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
38f3a3b2b7 Changing list to use Children for items 2020-02-25 14:55:44 +00:00
Michael Shanks
455803030d bugfix: could not add template components 2020-02-25 14:26:43 +00:00
Conor_Mack
cd055586d2 Merge pull request #128 from Conor-Mack/feature/menu
Completed MD Menu component
2020-02-25 10:10:47 +00:00
Conor_Mack
395bee750c Completed MD Menu component 2020-02-25 10:09:32 +00:00
Michael Shanks
e8a003f82e renamed NewComponent > NewScreen 2020-02-25 10:05:43 +00:00
Michael Shanks
f11853a790 renamed NewComponent > NewScreen 2020-02-25 10:03:40 +00:00
Michael Shanks
22560c475e bugfix: create new screen exception 2020-02-25 10:01:26 +00:00
Michael Shanks
f4eaf4d896 New Screen - Route Validation 2020-02-25 10:01:07 +00:00
Michael Shanks
1e27a2dabf buxfix: layout issue on NewComponent (screen) 2020-02-25 09:38:50 +00:00
Michael Shanks
0762ab1522 Merge branch 'master' of github.com:Budibase/budibase 2020-02-25 09:11:25 +00:00
Martin McKeaveney
a7998f0a6d switch prop on component selection 2020-02-24 23:23:33 +00:00
Michael Shanks
43522aad22 backend - child panes scrollable 2020-02-24 21:31:35 +00:00
Michael Shanks
dafef90c3d bugfix: select being cut off on windows 2020-02-24 20:49:50 +00:00
Michael Shanks
53c4e5b5e2 Merge branch 'master' of github.com:Budibase/budibase 2020-02-24 20:46:40 +00:00
Martin McKeaveney
94fb7d0663 Fix layout bug 2020-02-24 17:35:15 +00:00
Michael Shanks
55a22c12e1 Merge branch 'master' of github.com:Budibase/budibase 2020-02-24 17:06:30 +00:00
Martin McKeaveney
e88d3e821a Merge pull request #126 from shogunpurple/backend-design
Backend design
2020-02-24 17:06:02 +00:00
Michael Shanks
cb79302b1a added _bb.get/setContext to clientApi - for MD components 2020-02-24 16:41:03 +00:00
Martin McKeaveney
e518da0a62 global style abstraction, backend UI updates 2020-02-24 16:41:02 +00:00
Michael Shanks
d988922bda Merge pull request #125 from mjashanks/master
Bugfixing
2020-02-24 16:09:10 +00:00
Michael Shanks
829eea4189 bugfix: await event handlers 2020-02-24 16:04:13 +00:00
Michael Shanks
e9ccf25eb8 MD - Datatable - stopped using setContext 2020-02-24 15:59:54 +00:00
Martin McKeaveney
f5becf920b style abstraction 2020-02-24 15:00:52 +00:00
Michael Shanks
0cb9312e75 Datatable - swallow exceptions on desroy 2020-02-24 14:59:23 +00:00
Michael Shanks
d3f8dec449 some MD component changes 2020-02-24 14:57:56 +00:00
Michael Shanks
f68ac7577e router not properly matching parameterized route 2020-02-24 14:57:34 +00:00
Michael Shanks
35d5ae9ed8 random bug - client setState 2020-02-24 14:57:05 +00:00
Michael Shanks
be60091916 typo: UIFunctions attached to page not screen 2020-02-24 14:56:49 +00:00
Michael Shanks
d1a48ec3a6 bugfix: custom code not getting attached poperly 2020-02-24 14:56:11 +00:00
Conor_Mack
a886b0741b Also disabled radio and check inputs 2020-02-24 11:50:20 +00:00
Conor_Mack
e2038eb028 Support for disabling list items 2020-02-24 11:46:38 +00:00
Michael Shanks
1657beb8fc bugfix - client - approotPath not passed correctly 2020-02-24 11:15:08 +00:00
Michael Shanks
264eb6da5a bugfix - css not sent for all screens 2020-02-24 11:05:52 +00:00
Michael Shanks
bc51c7f603 buxfix - recordForm template maxlength incorrect 2020-02-24 11:05:31 +00:00
Michael Shanks
9c90a5f087 test fixes - store renamed state 2020-02-23 22:18:23 +00:00
Michael Shanks
9835e71a2e prettier - auto 2020-02-23 22:18:05 +00:00
Michael Shanks
4418132be0 Merge branch 'master' of github.com:Budibase/budibase 2020-02-23 22:17:38 +00:00
Michael Shanks
ccc55ae8b5 Merge pull request #121 from shogunpurple/state-management-v2
State management v2
2020-02-23 22:16:56 +00:00
Michael Shanks
2d2e14789b few broken tests (typos) 2020-02-23 21:59:27 +00:00
Michael Shanks
91aa46836f publishDev scripts create dirs, so we dont get annoying errors 2020-02-22 22:24:19 +00:00
Michael Shanks
bd8c1a43a5 MD button onclick hooked 2020-02-22 22:09:26 +00:00
Michael Shanks
bb4a7d1f4a component templates: store binding renamed to state 2020-02-21 23:02:01 +00:00
Michael Shanks
d7de2f1b0e pass in routeParams to uiFunctions 2020-02-21 23:01:41 +00:00
Michael Shanks
bd5adc45cb uiFunctions receive state and routeParams 2020-02-21 23:01:16 +00:00
Michael Shanks
c2b2fc3782 record Form template 2020-02-21 22:56:37 +00:00
Michael Shanks
38656f5ceb standalone templates 2020-02-21 22:56:18 +00:00
Michael Shanks
a57e0c9d10 Merge branch 'master' of github.com:Budibase/budibase 2020-02-21 21:28:00 +00:00
Michael Shanks
b66996b924 bindable MDTextfield 2020-02-21 21:27:55 +00:00
Michael Shanks
1398a00212 standalone templates (templates with no component) 2020-02-21 21:27:44 +00:00
Martin McKeaveney
cad498a9cd remove unnecessary file 2020-02-21 18:07:08 +00:00
Martin McKeaveney
91c2e187c6 lerna version 2020-02-21 18:06:23 +00:00
Martin McKeaveney
55d43fad80 finished state management ui for v2 2020-02-21 18:02:02 +00:00
Michael Shanks
ec7cc028c5 some more routing fixes - css now loaded at runtime 2020-02-21 16:52:29 +00:00
Martin McKeaveney
b7a5735a05 state management bindings 2020-02-21 15:44:48 +00:00
Michael Shanks
ab7eec0821 Merge pull request #120 from mjashanks/master
Bugfixes...
2020-02-21 15:40:40 +00:00
Michael Shanks
5b1bbad6c6 bugfix: binding broken in propertycascader 2020-02-21 15:39:56 +00:00
Michael Shanks
b4eb26b2f1 fix rooting to be able to handle appRootPath 2020-02-21 15:20:00 +00:00
Conor_Mack
88ed3830cc Component JSON options update and related changes 2020-02-21 15:00:42 +00:00
Michael Shanks
ab0db65048 bindings can now be just a string (store.someValue) 2020-02-21 14:44:48 +00:00
Conor_Mack
0e97a7a564 Adding List divider 2020-02-21 14:00:20 +00:00
Conor_Mack
127de12217 Completed List Component and related changes to Radio and Check Components 2020-02-21 13:39:18 +00:00
Michael Shanks
098a851cdb Merge pull request #116 from pngwn/icons-update
Use remix icons for consistency.
2020-02-21 11:45:38 +00:00
Michael Shanks
383a639aba Merge branch 'master' of github.com:Budibase/budibase 2020-02-21 11:43:41 +00:00
Michael Shanks
95dab52619 components changes 2020-02-21 11:43:21 +00:00
pngwn
f29de61dde Use remix icons for consistency. Styling tweaks. 2020-02-21 11:09:37 +00:00
Michael Shanks
548c8bb305 bugfix: generate css on screen change 2020-02-21 09:27:43 +00:00
Martin McKeaveney
f0ed967c87 Update store.js 2020-02-20 21:21:16 +00:00
Michael Shanks
1bb0a9a14b dodgy merge 2020-02-20 17:27:48 +00:00
Michael Shanks
42b3893c21 merge conflicts from peter/tweaks 2020-02-20 17:11:41 +00:00
Michael Shanks
187a9213ae reduced padding on comp hierarchy 2020-02-20 17:09:35 +00:00
Michael Shanks
6b4e6076c3 ensure component templates exist when presets do not 2020-02-20 17:09:14 +00:00
Michael Shanks
5f7511e3fd create props - ensure _styles always exist 2020-02-20 17:08:51 +00:00
Michael Shanks
21461645cc store method for save page or screen (context dependant) 2020-02-20 17:08:17 +00:00
Michael Shanks
1d2f079914 added height and width as positioning options 2020-02-20 17:07:25 +00:00
Michael Shanks
004d839966 new components 2020-02-20 17:06:50 +00:00
Michael Shanks
99c8814533 component templates 2020-02-19 21:38:21 +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
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
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
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
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
6abc45d971 Completed MD Components JSON and Tidyup 2020-02-17 14:00:37 +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
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
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
Martin McKeaveney
4fbdde2f5e better state bindings for defaults 2020-02-11 14:19:06 +00:00
Martin McKeaveney
936bce711e state binding v1 2020-02-11 14:19:06 +00:00
Michael Shanks
34b957f331 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
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
Conor_Mack
f59eedc21f MD Typography completed (#86) 2020-02-10 15:47:47 +00:00