From b60487ada0802cdfa6a6604513b2c8da5967bb7f Mon Sep 17 00:00:00 2001 From: Matilde Park Date: Thu, 10 Dec 2020 12:56:16 -0500 Subject: [PATCH 1/9] shipsearch: return patp without sigs --- pkg/interface/src/views/components/ShipSearch.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/interface/src/views/components/ShipSearch.tsx b/pkg/interface/src/views/components/ShipSearch.tsx index 17242fc46..42efda447 100644 --- a/pkg/interface/src/views/components/ShipSearch.tsx +++ b/pkg/interface/src/views/components/ShipSearch.tsx @@ -76,7 +76,7 @@ export function ShipSearch(props: InviteSearchProps) { if(ob.isValidPatp(ship)) { checkInput(true, ship); } else { - checkInput(ship.length !== 1, undefined) + checkInput(ship.length !== 1, undefined) } }, [checkInput] @@ -90,7 +90,7 @@ export function ShipSearch(props: InviteSearchProps) { (s: string) => { setTouched(true); checkInput(true, undefined); - s = `~${deSig(s)}`; + s = `${deSig(s)}`; setSelected(v => _.uniq([...v, s])) }, [setTouched, checkInput, setSelected] From 2b41cd72772b3fcee81056f128a217e8c60597b9 Mon Sep 17 00:00:00 2001 From: Matilde Park Date: Thu, 10 Dec 2020 12:56:49 -0500 Subject: [PATCH 2/9] landscape: fix newchannel 'back' in dark mode --- pkg/interface/src/views/landscape/components/NewChannel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/interface/src/views/landscape/components/NewChannel.tsx b/pkg/interface/src/views/landscape/components/NewChannel.tsx index 04ddc215d..ff726cdac 100644 --- a/pkg/interface/src/views/landscape/components/NewChannel.tsx +++ b/pkg/interface/src/views/landscape/components/NewChannel.tsx @@ -127,7 +127,7 @@ export function NewChannel(props: NewChannelProps & RouteComponentProps) { }; return ( - history.push(props.baseUrl)}> + history.push(props.baseUrl)}> {'<- Back'} From e6148bb582d06aadd9098f9220828e566a6e71e0 Mon Sep 17 00:00:00 2001 From: Matilde Park Date: Thu, 10 Dec 2020 12:59:00 -0500 Subject: [PATCH 3/9] hark: contain snippet gradient --- pkg/interface/src/views/apps/notifications/graph.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/interface/src/views/apps/notifications/graph.tsx b/pkg/interface/src/views/apps/notifications/graph.tsx index 02351e645..b7b664fb1 100644 --- a/pkg/interface/src/views/apps/notifications/graph.tsx +++ b/pkg/interface/src/views/apps/notifications/graph.tsx @@ -94,7 +94,7 @@ const GraphNodeContent = ({ contents, contacts, mod, description, index, remoteC {header} - + {snippet} Date: Thu, 10 Dec 2020 13:20:13 -0600 Subject: [PATCH 4/9] observe-hook: spider wasn't always issuing thread-results, so we got %watch-not-unique. we now make unique wires, but spider's issue remains --- pkg/arvo/app/observe-hook.hoon | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/arvo/app/observe-hook.hoon b/pkg/arvo/app/observe-hook.hoon index 211d84fce..ec209a853 100644 --- a/pkg/arvo/app/observe-hook.hoon +++ b/pkg/arvo/app/observe-hook.hoon @@ -135,7 +135,7 @@ |^ ?+ wire (on-agent:def wire sign) [%observer @ ~] on-observer - [%thread-result @ ~] on-thread-result + [%thread-result @ @ ~] on-thread-result [%thread-start @ @ ~] on-thread-start == :: @@ -167,7 +167,7 @@ =/ tid (scot %uv (sham eny.bowl)) :_ this :~ :* %pass - [%thread-result i.t.wire ~] + [%thread-result i.t.wire tid ~] %agent [our.bowl %spider] %watch @@ -184,7 +184,7 @@ == :: ++ on-thread-result - ?> ?=([%thread-result @ ~] wire) + ?> ?=([%thread-result @ @ ~] wire) ?+ -.sign (on-agent:def wire sign) %kick [~ this] %watch-ack [~ this] From f3e5ee88ccd19d8c78ff8f6a99e9a3fdf9c76200 Mon Sep 17 00:00:00 2001 From: Logan Allen Date: Thu, 10 Dec 2020 13:27:40 -0600 Subject: [PATCH 5/9] observe-hook: add spacing --- pkg/arvo/app/observe-hook.hoon | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/arvo/app/observe-hook.hoon b/pkg/arvo/app/observe-hook.hoon index ec209a853..0d69d4760 100644 --- a/pkg/arvo/app/observe-hook.hoon +++ b/pkg/arvo/app/observe-hook.hoon @@ -134,9 +134,9 @@ ^- (quip card _this) |^ ?+ wire (on-agent:def wire sign) - [%observer @ ~] on-observer + [%observer @ ~] on-observer [%thread-result @ @ ~] on-thread-result - [%thread-start @ @ ~] on-thread-start + [%thread-start @ @ ~] on-thread-start == :: ++ on-observer From fbfe5f46f0ff2011d3a2d96cc1882824584f7b3c Mon Sep 17 00:00:00 2001 From: Logan Allen Date: Thu, 10 Dec 2020 13:46:42 -0600 Subject: [PATCH 6/9] spider: verbose --- pkg/arvo/app/spider.hoon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/arvo/app/spider.hoon b/pkg/arvo/app/spider.hoon index 4da3089c1..6b58e1967 100644 --- a/pkg/arvo/app/spider.hoon +++ b/pkg/arvo/app/spider.hoon @@ -486,7 +486,7 @@ ++ thread-fail |= [=yarn =term =tang] ^- (quip card ^state) - :: %- (slog leaf+"strand {} failed" leaf+ tang) + %- (slog leaf+"strand {} failed" leaf+ tang) =/ =tid (yarn-to-tid yarn) =/ fail-cards (thread-say-fail tid term tang) =^ cards state (thread-clean yarn) From b281b9c91fb0d4379425407c5dad535c7c72893a Mon Sep 17 00:00:00 2001 From: Logan Allen Date: Thu, 10 Dec 2020 13:49:51 -0600 Subject: [PATCH 7/9] group-on-leave: soften de-path --- pkg/arvo/ted/group/on-leave.hoon | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkg/arvo/ted/group/on-leave.hoon b/pkg/arvo/ted/group/on-leave.hoon index 6bd00c4c6..b3e02ef35 100644 --- a/pkg/arvo/ted/group/on-leave.hoon +++ b/pkg/arvo/ted/group/on-leave.hoon @@ -80,15 +80,18 @@ [%remove g.i.entries m.i.entries] :: archive graph associated with group :: +=/ app-resource (de-path-soft:res app-path.m.i.entries) +?~ app-resource + loop(entries t.entries) ;< ~ bind:m %+ raw-poke [our.bowl %graph-store] :- %graph-update !> ^- update:gra - [%0 now.bowl [%archive-graph (de-path:res app-path.m.i.entries)]] + [%0 now.bowl [%archive-graph u.app-resource]] ;< ~ bind:m %+ raw-poke [our.bowl %graph-pull-hook] :- %pull-hook-action - !>([%remove (de-path:res app-path.m.i.entries)]) + !>([%remove u.app-resource]) loop(entries t.entries) From fe728fea35f56474e20eff1346d936053d72fe91 Mon Sep 17 00:00:00 2001 From: Logan Allen Date: Thu, 10 Dec 2020 13:55:14 -0600 Subject: [PATCH 8/9] observe-hook: add %group-on-leave back to observers --- pkg/arvo/app/observe-hook.hoon | 3 +++ pkg/arvo/app/spider.hoon | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/arvo/app/observe-hook.hoon b/pkg/arvo/app/observe-hook.hoon index 0d69d4760..b1d8b47ba 100644 --- a/pkg/arvo/app/observe-hook.hoon +++ b/pkg/arvo/app/observe-hook.hoon @@ -64,6 +64,9 @@ =| cards=(list card) |- ?: ?=(%2 -.old-state) + =. cards + :_ cards + (act [%watch %group-store /groups %group-on-leave]) [cards this(state old-state)] ?: ?=(%1 -.old-state) =. cards diff --git a/pkg/arvo/app/spider.hoon b/pkg/arvo/app/spider.hoon index 6b58e1967..72aad4355 100644 --- a/pkg/arvo/app/spider.hoon +++ b/pkg/arvo/app/spider.hoon @@ -486,7 +486,7 @@ ++ thread-fail |= [=yarn =term =tang] ^- (quip card ^state) - %- (slog leaf+"strand {} failed" leaf+ tang) + ::%- (slog leaf+"strand {} failed" leaf+ tang) =/ =tid (yarn-to-tid yarn) =/ fail-cards (thread-say-fail tid term tang) =^ cards state (thread-clean yarn) From bc25a223179528240c7ffb8d871ff12e872a4cf7 Mon Sep 17 00:00:00 2001 From: Jared Tobin Date: Thu, 10 Dec 2020 19:27:03 -0330 Subject: [PATCH 9/9] landscape: case sensitivity training Leaving the 'c' uncapitalised here causes Landscape builds to fail on Linux. --- pkg/interface/src/views/apps/links/LinkResource.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/interface/src/views/apps/links/LinkResource.tsx b/pkg/interface/src/views/apps/links/LinkResource.tsx index e01e14eef..7c2f71a9a 100644 --- a/pkg/interface/src/views/apps/links/LinkResource.tsx +++ b/pkg/interface/src/views/apps/links/LinkResource.tsx @@ -11,7 +11,7 @@ import { RouteComponentProps } from "react-router-dom"; import { LinkItem } from "./components/LinkItem"; import { LinkSubmit } from "./components/link-submit"; import { LinkPreview } from "./components/link-preview"; -import { Comments } from "~/views/components/comments"; +import { Comments } from "~/views/components/Comments"; import "./css/custom.css";