From 66da0779fce8f607a500cd25e0c4d55d745acdc8 Mon Sep 17 00:00:00 2001 From: SuperCoolYun Date: Fri, 20 Sep 2024 10:30:37 -0400 Subject: [PATCH 1/6] bug on wrong renderer redirect to landscape fixed, redirect to tree instead --- pkg/arvo/app/neo.hoon | 2 + pkg/arvo/neo/cod/std/src/fil/wi-nd.js | 765 +++++++++++++------------ pkg/arvo/neo/cod/std/src/imp/mast.hoon | 22 + 3 files changed, 437 insertions(+), 352 deletions(-) diff --git a/pkg/arvo/app/neo.hoon b/pkg/arvo/app/neo.hoon index 8cf3866d74..e4abcce6d7 100644 --- a/pkg/arvo/app/neo.hoon +++ b/pkg/arvo/app/neo.hoon @@ -1570,6 +1570,8 @@ (emit (do-card #/[p/our.bowl]/srv/hawk %make %hawk-eyre ~ ~)) =. run (emit (do-card #/[p/our.bowl]/blue %make %blue ~ ~)) + =. run + (emit (do-card #/[p/our.bowl]/cod/std/src/imp %make %sig ~ ~)) =. run (emit (do-card #/[p/our.bowl]/mast %make %mast ~ ~)) =. run diff --git a/pkg/arvo/neo/cod/std/src/fil/wi-nd.js b/pkg/arvo/neo/cod/std/src/fil/wi-nd.js index 42cf284aef..0ee2a94723 100644 --- a/pkg/arvo/neo/cod/std/src/fil/wi-nd.js +++ b/pkg/arvo/neo/cod/std/src/fil/wi-nd.js @@ -1,25 +1,26 @@ -customElements.define('wi-nd', -class extends HTMLElement { - static get observedAttributes() { - // - return [ - "wid", - "here", - "searching", // boolean. true is user is using the search bar in the header - "strategies", // space-separated list of iframe prefixes - "renderer", // current iframe strategy - "menu", - "dragging", - "tab-title", - "favicon", - ]; - } - constructor() { - // - super(); - const shadow = this.attachShadow({ mode: 'open' }); - shadow.adoptedStyleSheets = [sharedStyles]; - this.shadowRoot.innerHTML = ` +customElements.define( + 'wi-nd', + class extends HTMLElement { + static get observedAttributes() { + // + return [ + 'wid', + 'here', + 'searching', // boolean. true is user is using the search bar in the header + 'strategies', // space-separated list of iframe prefixes + 'renderer', // current iframe strategy + 'menu', + 'dragging', + 'tab-title', + 'favicon' + ] + } + constructor() { + // + super() + const shadow = this.attachShadow({ mode: 'open' }) + shadow.adoptedStyleSheets = [sharedStyles] + this.shadowRoot.innerHTML = `