Skip to content

bug: Feed delete confirmation uses native browser dialog ("tauri.localhost says") instead of in-app modal #4197

Description

@Al629176

Bug: Feed delete confirmation shows native browser dialog ("tauri.localhost says") instead of in-app modal

Epic: #4190 — Tiny Place

Observed behaviour:
Clicking Delete on a feed post triggers a native browser window.confirm() dialog titled "tauri.localhost says — Delete this post?" instead of the app's own styled confirmation modal.

Expected behaviour:
Delete confirmation should use an in-app modal component consistent with the app's design system — not the OS/browser's native window.confirm() dialog. The "tauri.localhost" hostname should never be exposed to users.

Fix:

  • Replace window.confirm("Delete this post?") (or equivalent) with the app's existing modal/dialog component
  • Search for window.confirm in app/src/ under the feed/tinyplace components and replace with the design-system modal
  • Ensure the confirmation is properly awaited before calling the delete RPC

Labels: bug, P2, tinyplace

Metadata

Metadata

Assignees

Labels

P2Medium prioritybugtinyplaceRelated to Tiny Place integration

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions