Skip to content

Commit 11e883c

Browse files
authored
Merge pull request #4517 from tloncorp/mp/better-groups
groups: implement preview response
2 parents c8b14d5 + 0900649 commit 11e883c

10 files changed

+336
-132
lines changed

desk/app/groups-ui.hoon

+17
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,23 @@
234234
profile
235235
==
236236
``ui-init-5+!>(init)
237+
::
238+
[%x %v6 %init ~]
239+
=+ .^([=groups-ui:v5:g =gangs:v6:g] (scry %gx %groups /v3/init/noun))
240+
=+ .^(=channel-0:u (scry %gx %channels /v3/init/noun))
241+
=+ .^(chat=chat-2:u (scry %gx %chat /v1/init/noun))
242+
=+ .^(=activity:a (scry %gx %activity /v4/activity/noun))
243+
=+ .^(profile=? (scry %gx %profile /bound/loob))
244+
=/ init=init-6:u
245+
:* groups-ui
246+
gangs
247+
channel-0
248+
activity
249+
pins
250+
chat
251+
profile
252+
==
253+
``ui-init-6+!>(init)
237254
==
238255
::
239256
++ poke

0 commit comments

Comments
 (0)