Skip to content

File explorer header - #730

Merged
SharonStrats merged 3 commits into
stagingfrom
file-explorer-header
Aug 5, 2026
Merged

File explorer header#730
SharonStrats merged 3 commits into
stagingfrom
file-explorer-header

Conversation

@SharonStrats

@SharonStrats SharonStrats commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Create the header in solid-panes so it can be used in file-explorer.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread src/outline/manager.js
Comment thread src/components/resource-actions-menu/ResourceActionsMenu.ts
Comment thread src/components/resource-actions-menu/ResourceActionsMenu.ts Outdated
Comment thread src/components/resource-actions-menu/ResourceActionsMenu.styles.css Outdated
Comment thread src/components/file-explorer-header/FileExplorerHeaderSummary.ts Outdated
Comment thread src/components/file-explorer-header/FileExplorerHeader.ts
Comment thread src/components/file-explorer-header/helper.ts
Comment thread src/components/file-explorer-header/FileExplorerProvider.ts
@SharonStrats
SharonStrats force-pushed the file-explorer-header branch from fc1b6a5 to 8935eee Compare August 5, 2026 08:02
…@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)
@SharonStrats SharonStrats moved this to Ready in SolidOS NLNet UI Aug 5, 2026
@SharonStrats SharonStrats linked an issue Aug 5, 2026 that may be closed by this pull request
@SharonStrats
SharonStrats merged commit d77ed3b into staging Aug 5, 2026
8 checks passed
@github-project-automation github-project-automation Bot moved this from Ready to Done in SolidOS NLNet UI Aug 5, 2026
@SharonStrats
SharonStrats deleted the file-explorer-header branch August 5, 2026 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Create the Heading component on top of all panes

2 participants