File explorer header - #730
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR introduces a new “file explorer” header/provider web component and rewires the outline manager to render panes through that provider, enabling a more modern header UI with pane actions (share/edit/delete) and metadata display.
Changes:
- Replace the old expanded header + pane icon tray rendering in the outline manager with a
<file-explorer-provider>that hosts both header and pane content. - Add a file-explorer header component set (summary + controls) that displays resource label, modified/public metadata, and pane/action controls.
- Add a resource actions menu (with delete confirmation dialog) and supporting styles/icons.
Reviewed changes
Copilot reviewed 17 out of 18 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
| src/outline/sourcePaneIcon.ts | Adds a Lit template SVG icon for the source pane. |
| src/outline/manager.js | Integrates file-explorer-provider, refactors pane rendering flow, and updates object value icon styling hooks. |
| src/outline/manager.css | Updates outline styling to support provider/pane div layout and object value icon classes. |
| src/components/resource-actions-menu/ResourceActionsMenu.ts | Adds resource actions menu with delete flow + confirmation dialog. |
| src/components/resource-actions-menu/ResourceActionsMenu.styles.css | Adds menu sizing styles (and a TODO comment). |
| src/components/resource-actions-menu/DeleteResourceDialog.ts | Adds a delete confirmation dialog component. |
| src/components/file-explorer-header/types.ts | Introduces PaneIcon union type (supports async icons). |
| src/components/file-explorer-header/helper.ts | Adds helper to fetch content + derive metadata (WAC-Allow/public/edit flags). |
| src/components/file-explorer-header/FileExplorerProvider.ts | Adds provider component to supply context, render header, and host pane content. |
| src/components/file-explorer-header/FileExplorerProvider.styles.css | Provider layout styles (flex column, scrollable pane slot). |
| src/components/file-explorer-header/FileExplorerHeaderSummary.ts | Header summary UI: back button, pane icon, label, modified/public badge. |
| src/components/file-explorer-header/FileExplorerHeaderSummary.styles.css | Header summary styling. |
| src/components/file-explorer-header/FileExplorerHeaderControls.ts | Header controls UI: share/edit buttons + actions menu. |
| src/components/file-explorer-header/FileExplorerHeaderControls.styles.css | Header controls styling and dirty indicator styling. |
| src/components/file-explorer-header/FileExplorerHeader.ts | Composes summary + controls and loads response metadata for display. |
| src/components/file-explorer-header/FileExplorerHeader.styles.css | Top-level header layout styles. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
SharonStrats
force-pushed
the
file-explorer-header
branch
from
August 5, 2026 08:02
fc1b6a5 to
8935eee
Compare
…@3.1.3-15 pane-registry@3.1.2-2 activitystreams-pane@1.0.3-4 chat-pane@3.0.4-3 contacts-pane@3.2.1-5 folder-pane@3.1.1-3 issue-pane@3.0.3-1 meeting-pane@3.0.3-1 profile-pane@3.2.3-4 source-pane@3.1.1-5) (latest: rdflib@2.4.0)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Create the header in solid-panes so it can be used in file-explorer.