contact-view: remove tile

This commit is contained in:
Isaac Visintainer 2020-03-27 14:18:03 -07:00
parent 1c45d4c46c
commit 6443424012

View File

@ -8,7 +8,8 @@
*metadata-store, *metadata-store,
*metadata-hook, *metadata-hook,
*permission-group-hook, *permission-group-hook,
*permission-hook *permission-hook,
launch
/+ *server, *contact-json, default-agent, dbug /+ *server, *contact-json, default-agent, dbug
/= index /= index
/^ octs /^ octs
@ -44,7 +45,13 @@
:: ::
|% |%
+$ card card:agent:gall +$ card card:agent:gall
+$ state-zero [%0 ~]
+$ versioned-state
$% state-zero
==
-- --
=| state-zero
=* state -
:: ::
%- agent:dbug %- agent:dbug
^- agent:gall ^- agent:gall
@ -66,9 +73,19 @@
(group-poke:cc [%add [our.bowl ~ ~] /~/default]) (group-poke:cc [%add [our.bowl ~ ~] /~/default])
== ==
:: ::
++ on-save on-save:def ++ on-save !>(state)
++ on-load on-load:def ++ on-load
:: (launch-poke:cc [%remove %contact-view /primary '/~groups/js/tile.js']) |= old=vase
=/ pre-versioned=(each ~ tang)
(mule |.(!<(~ old)))
?: ?=(%.y -.pre-versioned)
:_ this(state [%0 ~])
[(launch-poke:cc [%remove %contact-view /primary])]~
=/ versioned=versioned-state
!<(versioned-state old)
?- -.versioned
%0 [~ this]
==
++ on-poke ++ on-poke
|= [=mark =vase] |= [=mark =vase]
^- (quip card _this) ^- (quip card _this)
@ -218,9 +235,9 @@
[%pass / %agent [ship %contact-hook] %poke %contact-action !>(act)] [%pass / %agent [ship %contact-hook] %poke %contact-action !>(act)]
:: ::
++ launch-poke ++ launch-poke
|= act=[@tas path @t] |= act=action:launch
^- card ^- card
[%pass / %agent [our.bol %launch] %poke %launch-action !>(act)] [%pass / %agent [our.bol %launch] %poke %launch-action !>(act)]
:: ::
++ group-poke ++ group-poke
|= act=group-action |= act=group-action