Repository navigation
New storage layout without tables - #242
SharonStrats wants to merge 8 commits into
Conversation
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Nested-container rendering, resource refreshes, responsive layout, and asynchronous selection handling have unresolved defects.
Review effort: Balanced
Findings: 1
Open (9)
Use single quotes for the import · New Register the storage-container-pane custom element · New Handle collapse before loading · New Make expand control accessible and container-only · New Refresh resources after store and local updates · New Prevent stale selections from overwriting current content · New Allow the sidebar to shrink or stack on mobile · New Export ContainerContentView under its class name · New Export StoragePaneView under its class name · New
What changed in this PR
Replaces the legacy table-based folder pane with a component-based storage browser containing sidebar navigation and content views.
Changes:
- Adds resource-loading and content-rendering helpers.
- Introduces Lit storage sidebar, pane, and container components.
- Adds layout styling and Lucide icon support.
| File | Description |
|---|---|
src/types.ts |
Adds shared resource and renderer types. |
src/helpers.ts |
Adds container and content-rendering helpers. |
src/folderPane.ts |
Integrates the new storage pane. |
src/styles/folderPane.css |
Replaces table styles with flex layout. |
src/components/storage-sidebar/StorageSidebar.ts |
Implements resource-tree navigation. |
src/components/storage-sidebar/StorageSidebar.styles.css |
Styles sidebar rows and icons. |
src/components/storage-sidebar/index.ts |
Exports the sidebar. |
src/components/storage-pane-view/StoragePaneView.ts |
Coordinates sidebar selection and content. |
src/components/storage-pane-view/StoragePaneView.styles.css |
Adds pane section styles. |
src/components/storage-pane-view/index.ts |
Adds the pane-view barrel export. |
src/components/storage-content-view/StorageContentView.ts |
Adds the slotted content host. |
src/components/storage-content-view/StorageContentView.styles.css |
Adds a content-view style placeholder. |
src/components/storage-content-view/index.ts |
Exports the content view. |
src/components/container-content-view/ContainerContentView.ts |
Renders container resources. |
src/components/container-content-view/ContainerContentView.styles.css |
Adds a container style placeholder. |
src/components/container-content-view/index.ts |
Adds the container-view barrel export. |
package.json |
Adds icon data and side-effect metadata. |
package-lock.json |
Locks the icon dependency. |
declarations.d.ts |
Declares CSS and virtual icon modules. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
8fba9b7 to
f274e70
Compare
timea-solid
left a comment
There was a problem hiding this comment.
how is refresh handeled now?
and i see you also do not need GotoSubject ?
e405414 to
3fa8fe5
Compare
Prompt: Use the get relevant pane function from solid-ui Co-authored-by: GPT-5.6 Luna <gpt-5.6-luna@openai.com>
12a5ad9 to
6d5e990
Compare
e02a5dc to
374606b
Compare
|
p.s What is the search top right supposed to do? On your server, it does nothing. We could leave it off for now. |
d122fa9 to
188ca73
Compare
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved routing, write-destination, and asynchronous refresh defects affect core storage workflows.
10 open issues
Row keydown handler hijacks nested menu keyboard actions · New Refresh failure warning is cleared immediately · New Folder listing access-control action has no event handler · New Unknown member count displays as negative item count · New Retry fails to reload content when no resource is selected · New Add and Upload target the wrong folder for nested documents · New Successful upload disappears after fallback refresh · New Created resource overrides newer navigation selection · New Direct application opening renders files instead of its pane · New Explicit pane selection is ignored by container listing routes · New
9 resolved since last review
Use single quotes for the import Allow the sidebar to shrink or stack on mobile Prevent stale selections from overwriting current content Refresh resources after store and local updates Make expand control accessible and container-only Handle collapse before loading Register the storage-container-pane custom element Export StoragePaneView under its class name Export ContainerContentView under its class name
Review effort: Balanced
2ad99ca to
3ace63b
Compare
Prompt: Various prompts such as progressively load the data for the container view, implement recoverable loading and discovery, handle creation so that it does not add a sidebar list entry when it was not created. Co-authored-by: GPT-5.6 Luna <gpt-5.6-luna@openai.com>
18fe878 to
eb8dc32
Compare
…@5.0.2-2) (latest: rdflib@2.4.1)
| private isRootSpecialFolder (resource: Resource) { | ||
| if (!resource.isContainer) return false | ||
| const label = utils.label(resource.subject).toLowerCase() | ||
| return label === 'public' || label === 'trash' |




I had trouble making it simple and getting things to work and making it look presentable, so I decided to pull the basic stuff over from the prototype. There is no real new functionality. Nothing added to 3dot menu, no extra drag and drop features with the folders or content area...
I took on all the feedback from the prototype and also renaming things here and implemented it.
Some examples