diff --git a/pkg/arvo/lib/metadata-store.hoon b/pkg/arvo/lib/metadata-store.hoon index fd95b14e5..6834854d6 100644 --- a/pkg/arvo/lib/metadata-store.hoon +++ b/pkg/arvo/lib/metadata-store.hoon @@ -67,6 +67,7 @@ :: [%picture s+picture.met] [%preview b+preview.met] + [%hidden b+hidden.met] [%vip s+`@t`vip.met] == :: @@ -177,6 +178,7 @@ [%config config] [%picture so] [%preview bo] + [%hidden bo] [%vip vip] == :: diff --git a/pkg/arvo/mar/graph/validator/post.hoon b/pkg/arvo/mar/graph/validator/post.hoon index 9fc742c78..8608af9cd 100644 --- a/pkg/arvo/mar/graph/validator/post.hoon +++ b/pkg/arvo/mar/graph/validator/post.hoon @@ -24,7 +24,8 @@ [atom ~] ?: was-parent-modified ~|(%cannot-submit-parents-with-prepopulated-children !!) - `^index`(snoc `^index`(snip index) atom) + =/ ind=^index index + (snoc (snip ind) atom) -- ++ grab |% @@ -34,6 +35,7 @@ |= p=* =/ ip ;;(indexed-post p) ?> ?=(^ contents.p.ip) + ip -- :: ++ grad %noun diff --git a/pkg/arvo/sur/metadata-store.hoon b/pkg/arvo/sur/metadata-store.hoon index 157074ee7..b48f420d0 100644 --- a/pkg/arvo/sur/metadata-store.hoon +++ b/pkg/arvo/sur/metadata-store.hoon @@ -44,7 +44,7 @@ config=md-config picture=url preview=? - hidden=? + hidden=_| vip=vip-metadata == :: diff --git a/pkg/arvo/ted/graph/create-group-feed.hoon b/pkg/arvo/ted/graph/create-group-feed.hoon index 1fc3867a3..6213e5a75 100644 --- a/pkg/arvo/ted/graph/create-group-feed.hoon +++ b/pkg/arvo/ted/graph/create-group-feed.hoon @@ -23,18 +23,19 @@ %+ weld (trip name.group.action) %+ weld "-" (trip (scot %ud (mod eny.bowl 10.000))) -;< metadatum=(unit metadatum:met) bind:m - %+ scry:strandio (unit metadatum:met) +;< association=(unit association:met) bind:m + %+ scry:strandio (unit association:met) %- zing - :~ /gx/metadata-store/metadata/group + :~ /gx/metadata-store/metadata/groups (en-path:resource group.action) /noun == -?~ metadatum +?~ association ~|('No group exists, cannot make group feed.' !!) -?> ?=(%group -.config.u.metadatum) -?> ?| ?=(~ feed.config.u.metadatum) - ?=([~ ~] feed.config.u.metadatum) +=* metadatum metadatum.u.association +?> ?=(%group -.config.metadatum) +?> ?| ?=(~ feed.config.metadatum) + ?=([~ ~] feed.config.metadatum) == ;< ~ bind:m %+ poke-our %graph-store @@ -49,8 +50,8 @@ !> ^- action:met :^ %add group.action - group+group.action - u.metadatum(feed.config ``[%graph feed-rid]) + groups+group.action + metadatum(feed.config ``[%graph feed-rid]) ;< ~ bind:m %+ poke-our %metadata-push-hook :- %metadata-update