Skip to content

delete it was not working in new design, also use new dialog - #799

Merged
SharonStrats merged 3 commits into
stagingfrom
fix/internal-delete
Nov 7, 2026
Merged

SharonStrats merged 3 commits into
stagingfrom
fix/internal-delete

Conversation

@SharonStrats

@SharonStrats SharonStrats commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

The new design was not responding to delete. it appeared as if it wasn't deleted. Took the opportunity to use the recursive delete function from solid-logic and freshen up the messaging to use the new dialog.

Even though we might not keep the pane.

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.

🟡 Changes recommended

The deletion handler lacks behavioral test coverage, and the enabled delete button allows overlapping requests that can produce conflicting success and failure dialogs.

2 open issues
What changed in this PR

This PR updates resource deletion in the internal pane, replaces native prompts with a reusable dialog, and fixes display-only RDF statements leaking into the live store.

Changes:

  • Delegate deletion to shared resource logic and emit a deletion event on success.
  • Add confirmation and informational dialogs with keyboard focus handling.
  • Copy statements before adding display metadata, with regression tests for store integrity and dialog behavior.
File Description
test/​unit/​internalPane.test.ts Tests store integrity and document unloading after rendering.
test/​unit/​components/​resourceActionDialog.test.ts Tests dialog cancellation, focus restoration, and keyboard navigation.
src/​internal/​internalPane.ts Updates deletion and messaging; isolates display-only statements.
src/​components/​resource-action-dialog/​ResourceActionDialog.ts Adds a reusable confirmation and informational dialog.
src/​components/​resource-action-dialog/​ResourceActionDialog.styles.css Styles dialog layout, text wrapping, and focus indicators.

Review effort: Balanced

Comment thread src/internal/internalPane.ts Resolved
Comment thread src/internal/internalPane.ts Resolved
@SharonStrats SharonStrats moved this to In review in SolidOS NLNet UI Nov 7, 2026
Prompt: Use deleteRecursive from solid-logic, create a resource action dialog and
use the solid-ui-dialog, use this in internal pane for confirmation and for messaging.

Co-authored-by: GPT-5.6 Luna <gpt-5.6-luna@openai.com>
…@5.0.2-8 pane-registry@5.0.2-3 folder-pane@4.0.1-2 profile-pane@4.1.0-0 source-pane@4.0.1-0) (latest: rdflib@2.4.1 activitystreams-pane@2.0.0 chat-pane@4.0.0 contacts-pane@4.0.0 issue-pane@4.0.0 meeting-pane@4.0.0)
@SharonStrats SharonStrats changed the title Fix delete it was not working, also use new dialog Fix delete it was not working in new design, also use new dialog Nov 7, 2026
@SharonStrats SharonStrats changed the title Fix delete it was not working in new design, also use new dialog delete it was not working in new design, also use new dialog Nov 7, 2026
@SharonStrats
SharonStrats merged commit 73d4ab7 into staging Nov 7, 2026
8 checks passed
@github-project-automation github-project-automation Bot moved this from In review to Done in SolidOS NLNet UI Nov 7, 2026
@SharonStrats
SharonStrats deleted the fix/internal-delete branch November 7, 2026 12:07
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.

Internal Pane: Freshen it up Internals pane broken - URI field won't open

2 participants