Skip to content

remove edit icon for unsupported panes - #757

Merged
SharonStrats merged 3 commits into
stagingfrom
fix/remove-edit
Sep 5, 2026
Merged

remove edit icon for unsupported panes#757
SharonStrats merged 3 commits into
stagingfrom
fix/remove-edit

Conversation

@SharonStrats

Copy link
Copy Markdown
Contributor

No description provided.

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.

🟢 Approval recommended

The change is small, localized to rendering logic, and consistently gates the Edit UI on paneSupportsEditing without introducing functional risk.

Pull request overview

This PR updates the file explorer header controls to hide the Edit (pencil) action entirely when the currently selected pane does not support editing, aligning the UI with actual capabilities.

Changes:

  • Removes the “Not Supported” edit tooltip path and stops rendering the Edit button when paneSupportsEditing is false.
  • Simplifies the Edit button’s disabled state to depend only on access (canEdit) when editing is supported.
File summaries
File Description
src/components/file-explorer-header/FileExplorerHeaderControls.ts Conditionally renders the Edit button only for panes that support editing, instead of showing a disabled control.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

bourgeoa and others added 2 commits September 4, 2026 19:34
…@5.0.0-1 pane-registry@5.0.0-0 activitystreams-pane@2.0.0-0 chat-pane@4.0.0-0 contacts-pane@4.0.0-0 folder-pane@4.0.0-0 issue-pane@4.0.0-0 meeting-pane@4.0.0-0 profile-pane@4.0.0-0 source-pane@4.0.0-0) (latest: rdflib@2.4.0)
@SharonStrats
SharonStrats merged commit b40ef03 into staging Sep 5, 2026
8 checks passed
@github-project-automation github-project-automation Bot moved this from In review to Done in SolidOS NLNet UI Sep 5, 2026
@SharonStrats
SharonStrats deleted the fix/remove-edit branch September 5, 2026 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants