Merge pull request #2662 from urbit/la-app-hints

apps: added hints to the top of many networked apps
This commit is contained in:
ixv 2020-04-03 10:22:23 -07:00 committed by GitHub
commit 482e87f8fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 27 additions and 1 deletions

View File

@ -5,6 +5,7 @@
/- *permission-store, *chat-hook, *invite-store, *metadata-store, /- *permission-store, *chat-hook, *invite-store, *metadata-store,
*permission-hook, *group-store, *permission-group-hook ::TMP for upgrade *permission-hook, *group-store, *permission-group-hook ::TMP for upgrade
/+ *chat-json, *chat-eval, default-agent, verb, dbug /+ *chat-json, *chat-eval, default-agent, verb, dbug
~% %chat-hook-top ..is ~
|% |%
+$ card card:agent:gall +$ card card:agent:gall
:: ::
@ -39,10 +40,11 @@
=| state-1 =| state-1
=* state - =* state -
:: ::
%+ verb |
%- agent:dbug %- agent:dbug
%+ verb |
^- agent:gall ^- agent:gall
=< =<
~% %chat-hook-agent-core ..poke-json ~
|_ bol=bowl:gall |_ bol=bowl:gall
+* this . +* this .
chat-core +> chat-core +>
@ -222,6 +224,7 @@
-- --
:: ::
++ on-poke ++ on-poke
~/ %chat-hook-poke
|= [=mark =vase] |= [=mark =vase]
^- (quip card _this) ^- (quip card _this)
=^ cards state =^ cards state
@ -239,6 +242,7 @@
[cards this] [cards this]
:: ::
++ on-watch ++ on-watch
~/ %chat-hook-watch
|= =path |= =path
^- (quip card _this) ^- (quip card _this)
?+ path (on-watch:def path) ?+ path (on-watch:def path)
@ -248,6 +252,7 @@
== ==
:: ::
++ on-agent ++ on-agent
~/ %chat-hook-agent
|= [=wire =sign:agent:gall] |= [=wire =sign:agent:gall]
^- (quip card _this) ^- (quip card _this)
?+ -.sign (on-agent:def wire sign) ?+ -.sign (on-agent:def wire sign)
@ -287,6 +292,7 @@
-- --
:: ::
:: ::
~% %chat-hook-library ..card ~
|_ bol=bowl:gall |_ bol=bowl:gall
:: ::
++ poke-json ++ poke-json

View File

@ -1,6 +1,7 @@
:: chat-store: data store that holds linear sequences of chat messages :: chat-store: data store that holds linear sequences of chat messages
:: ::
/+ *chat-json, *chat-eval, default-agent, verb, dbug /+ *chat-json, *chat-eval, default-agent, verb, dbug
~% %chat-store-top ..is ~
|% |%
+$ card card:agent:gall +$ card card:agent:gall
+$ versioned-state +$ versioned-state
@ -25,6 +26,7 @@
%+ verb | %+ verb |
^- agent:gall ^- agent:gall
=< =<
~% %chat-store-agent-core ..peek-x-envelopes ~
|_ =bowl:gall |_ =bowl:gall
+* this . +* this .
chat-core +> chat-core +>
@ -42,6 +44,7 @@
[%pass /lo-chst %agent [our.bowl %chat-hook] %poke %noun !>(%store-load)]~ [%pass /lo-chst %agent [our.bowl %chat-hook] %poke %noun !>(%store-load)]~
:: ::
++ on-poke ++ on-poke
~/ %chat-store-poke
|= [=mark =vase] |= [=mark =vase]
^- (quip card _this) ^- (quip card _this)
?> (team:title our.bowl src.bowl) ?> (team:title our.bowl src.bowl)
@ -53,6 +56,7 @@
[cards this] [cards this]
:: ::
++ on-watch ++ on-watch
~/ %chat-store-watch
|= =path |= =path
^- (quip card _this) ^- (quip card _this)
|^ |^
@ -77,6 +81,7 @@
:: ::
++ on-leave on-leave:def ++ on-leave on-leave:def
++ on-peek ++ on-peek
~/ %chat-store-peek
|= =path |= =path
^- (unit (unit cage)) ^- (unit (unit cage))
?+ path (on-peek:def path) ?+ path (on-peek:def path)
@ -104,6 +109,7 @@
-- --
:: ::
:: ::
~% %chat-store-library ..card ~
|_ bol=bowl:gall |_ bol=bowl:gall
:: ::
++ peek-x-envelopes ++ peek-x-envelopes

View File

@ -42,6 +42,7 @@
/^ (map knot @) /^ (map knot @)
/: /===/app/chat/img /_ /png/ /: /===/app/chat/img /_ /png/
:: ::
~% %chat-view-top ..is ~
|% |%
+$ card card:agent:gall +$ card card:agent:gall
:: ::
@ -58,6 +59,7 @@
%- agent:dbug %- agent:dbug
^- agent:gall ^- agent:gall
=< =<
~% %chat-view-agent-core ..poke-handle-http-request ~
|_ bol=bowl:gall |_ bol=bowl:gall
+* this . +* this .
chat-core +> chat-core +>
@ -73,6 +75,7 @@
[%pass /chat-view %agent [our.bol %launch] %poke launcha] [%pass /chat-view %agent [our.bol %launch] %poke launcha]
== ==
++ on-poke ++ on-poke
~/ %chat-view-poke
|= [=mark =vase] |= [=mark =vase]
^- (quip card _this) ^- (quip card _this)
?> (team:title our.bol src.bol) ?> (team:title our.bol src.bol)
@ -94,6 +97,7 @@
== ==
:: ::
++ on-watch ++ on-watch
~/ %chat-view-watch
|= =path |= =path
^- (quip card _this) ^- (quip card _this)
?> (team:title our.bol src.bol) ?> (team:title our.bol src.bol)
@ -129,6 +133,7 @@
-- --
:: ::
++ on-agent ++ on-agent
~/ %chat-view-agent
|= [=wire =sign:agent:gall] |= [=wire =sign:agent:gall]
^- (quip card _this) ^- (quip card _this)
?+ -.sign (on-agent:def wire sign) ?+ -.sign (on-agent:def wire sign)
@ -145,6 +150,7 @@
== ==
:: ::
++ on-arvo ++ on-arvo
~/ %chat-view-arvo
|= [=wire =sign-arvo] |= [=wire =sign-arvo]
^- (quip card _this) ^- (quip card _this)
?. ?=(%bound +<.sign-arvo) ?. ?=(%bound +<.sign-arvo)
@ -159,6 +165,7 @@
-- --
:: ::
:: ::
~% %chat-view-library ..card ~
|_ bol=bowl:gall |_ bol=bowl:gall
:: ::
++ poke-handle-http-request ++ poke-handle-http-request

View File

@ -7,6 +7,7 @@
*metadata-hook, *metadata-hook,
*metadata-store *metadata-store
/+ *contact-json, default-agent, dbug /+ *contact-json, default-agent, dbug
~% %contact-hook-top ..is ~
|% |%
+$ card card:agent:gall +$ card card:agent:gall
:: ::

View File

@ -2,6 +2,7 @@
:: ::
/- *group-store, *group-hook /- *group-store, *group-hook
/+ default-agent, verb, dbug /+ default-agent, verb, dbug
~% %group-hook-top ..is ~
|% |%
+$ card card:agent:gall +$ card card:agent:gall
:: ::

View File

@ -18,6 +18,7 @@
/- link-listen-hook, *metadata-store, *link, group-store /- link-listen-hook, *metadata-store, *link, group-store
/+ mdl=metadata, default-agent, verb, dbug /+ mdl=metadata, default-agent, verb, dbug
:: ::
~% %link-listen-hook-top ..is ~
|% |%
+$ versioned-state +$ versioned-state
$% [%0 state-0] $% [%0 state-0]

View File

@ -21,6 +21,7 @@
:: ::
/- group-store, *metadata-store /- group-store, *metadata-store
/+ *link, metadata, default-agent, verb, dbug /+ *link, metadata, default-agent, verb, dbug
~% %link-proxy-hook-top ..is ~
|% |%
+$ state-0 +$ state-0
$: %0 $: %0

View File

@ -5,6 +5,7 @@
:: ::
/- *metadata-store, *metadata-hook /- *metadata-store, *metadata-hook
/+ default-agent, dbug /+ default-agent, dbug
~% %metadata-hook-top ..is ~
|% |%
+$ card card:agent:gall +$ card card:agent:gall
+$ versioned-state +$ versioned-state

View File

@ -7,6 +7,7 @@
/- *permission-hook /- *permission-hook
/+ *permission-json, default-agent, verb, dbug /+ *permission-json, default-agent, verb, dbug
:: ::
~% %permission-hook-top ..is ~
|% |%
+$ state +$ state
$% [%0 state-0] $% [%0 state-0]

View File

@ -39,6 +39,7 @@
/^ (map knot @) /^ (map knot @)
/: /===/app/publish/img /_ /png/ /: /===/app/publish/img /_ /png/
:: ::
~% %publish ..is ~
|% |%
+$ card card:agent:gall +$ card card:agent:gall
:: ::