GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — experiment: better web picker using @pierre/tree (#31208) · moonug/opencode@88f5b9a

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • bun.lock
  • package.json
  • packages
    • app
      • package.json
      • src
        • components
          • dialog-select-directory-v2.css
          • dialog-select-directory-v2.tsx
          • dialog-select-directory.tsx
          • dialog-select-file.tsx
          • directory-picker-domain.test.ts
          • directory-picker-domain.ts
          • directory-picker.tsx
          • pierre-tree.test.ts
          • prompt-input.tsx
          • prompt-input
            • attachments.ts
            • build-request-parts.test.ts
            • build-request-parts.ts
        • context
          • platform.tsx
          • prompt.tsx
        • i18n
          • ar.ts
          • br.ts
          • bs.ts
          • da.ts
          • de.ts
          • en.ts
          • es.ts
          • fr.ts
          • ja.ts
          • ko.ts
          • no.ts
          • pl.ts
          • ru.ts
          • th.ts
          • tr.ts
          • uk.ts
          • zh.ts
          • zht.ts
    • desktop/src
      • preload
        • index.ts
        • types.ts
      • renderer
        • index.tsx
  • patches
    • @pierre%[email protected]
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎bun.lock‎

Copy file name to clipboardExpand all lines: bun.lock
+8Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎package.json‎

Copy file name to clipboardExpand all lines: package.json
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@
150150
"[email protected]": "patches/[email protected]",
151151
"[email protected]": "patches/[email protected]",
152152
"@ai-sdk/[email protected]": "patches/@ai-sdk%[email protected]",
153+
"@pierre/[email protected]": "patches/@pierre%[email protected]",
153154
"@modelcontextprotocol/[email protected]": "patches/@modelcontextprotocol%[email protected]"
154155
}
155156
}
Collapse file

‎packages/app/package.json‎

Copy file name to clipboardExpand all lines: packages/app/package.json
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"@opencode-ai/core": "workspace:*",
4747
"@opencode-ai/sdk": "workspace:*",
4848
"@opencode-ai/ui": "workspace:*",
49+
"@pierre/trees": "1.0.0-beta.4",
4950
"@sentry/solid": "catalog:",
5051
"@shikijs/transformers": "3.9.2",
5152
"@solid-primitives/active-element": "2.1.3",
Collapse file

‎packages/app/src/components/dialog-select-directory-v2.css‎

Copy file name to clipboard
+107Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
.directory-picker-v2-body {
2+
display: flex;
3+
min-height: 0;
4+
flex: 1;
5+
flex-direction: column;
6+
gap: 12px;
7+
padding: 2px 16px 0;
8+
}
9+
10+
.directory-picker-v2-path {
11+
position: relative;
12+
z-index: 10;
13+
display: flex;
14+
gap: 8px;
15+
}
16+
17+
.directory-picker-v2-actions {
18+
display: flex;
19+
flex-shrink: 0;
20+
gap: 2px;
21+
}
22+
23+
.directory-picker-v2-suggestions {
24+
position: absolute;
25+
z-index: 20;
26+
top: 36px;
27+
right: 0;
28+
left: 0;
29+
display: flex;
30+
flex-direction: column;
31+
padding: 4px;
32+
border: 1px solid var(--v2-border-border-base);
33+
border-radius: 6px;
34+
background: var(--v2-background-bg-layer-02);
35+
box-shadow: var(--v2-elevation-overlay);
36+
}
37+
38+
.directory-picker-v2-suggestions button {
39+
overflow: hidden;
40+
padding: 6px 8px;
41+
border-radius: 4px;
42+
color: var(--v2-text-text-muted);
43+
font-size: 12px;
44+
text-align: left;
45+
text-overflow: ellipsis;
46+
white-space: nowrap;
47+
}
48+
49+
.directory-picker-v2-suggestions button:hover,
50+
.directory-picker-v2-suggestions button[data-active] {
51+
color: var(--v2-text-text-base);
52+
background: var(--v2-overlay-simple-overlay-hover);
53+
}
54+
55+
.directory-picker-v2-browser {
56+
position: relative;
57+
z-index: 0;
58+
isolation: isolate;
59+
min-height: 0;
60+
flex: 1;
61+
overflow: auto;
62+
border: 1px solid var(--v2-border-border-base);
63+
border-radius: 6px;
64+
background: transparent;
65+
}
66+
67+
.directory-picker-v2-tree {
68+
display: block;
69+
width: 100%;
70+
height: 100%;
71+
--trees-bg-override: transparent;
72+
--trees-fg-override: var(--v2-text-text-base);
73+
--trees-fg-muted-override: var(--v2-text-text-muted);
74+
--trees-bg-muted-override: transparent;
75+
--trees-selected-bg-override: transparent;
76+
--trees-selected-fg-override: var(--v2-text-text-base);
77+
--trees-selected-focused-border-color-override: transparent;
78+
--trees-focus-ring-color-override: transparent;
79+
--trees-focus-ring-width-override: 0px;
80+
--trees-focus-ring-offset-override: 0px;
81+
--trees-border-color-override: var(--v2-border-border-base);
82+
--trees-font-family-override: var(--font-family-sans);
83+
--trees-font-size-override: 12px;
84+
--trees-item-height: 24px;
85+
--trees-border-radius-override: 4px;
86+
}
87+
88+
.directory-picker-v2-state {
89+
position: absolute;
90+
z-index: 1;
91+
inset: 0;
92+
display: grid;
93+
place-items: center;
94+
color: var(--v2-text-text-muted);
95+
font-size: 12px;
96+
pointer-events: none;
97+
}
98+
99+
.directory-picker-v2-selection {
100+
overflow: hidden;
101+
flex-shrink: 0;
102+
color: var(--v2-text-text-muted);
103+
font-size: 12px;
104+
line-height: 16px;
105+
text-overflow: ellipsis;
106+
white-space: nowrap;
107+
}

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.