Skip to content

Add option to remove saved autofill inputs for current page in AuthsList#516

Merged
capaj merged 1 commit intomainfrom
codex/add-button-to-remove-search-input
Apr 23, 2026
Merged

Add option to remove saved autofill inputs for current page in AuthsList#516
capaj merged 1 commit intomainfrom
codex/add-button-to-remove-search-input

Conversation

@capaj
Copy link
Copy Markdown
Collaborator

@capaj capaj commented Apr 23, 2026

Motivation

  • Provide a quick way in the AuthsList UI to remove saved autofill/web input entries associated with the currently viewed page or domain.
  • Keep the extension background device state in sync after removing entries so the UI reflects the change immediately.

Description

  • Import useRemoveWebInputMutation, device, and getWebInputsForUrl, and wire up const [removeWebInput] = useRemoveWebInputMutation() in AuthsList.
  • Compute matchingWebInputsForCurrentPage using getWebInputsForUrl(currentURL) and render a full-width outline Button when filterByTLD, currentURL, and matches exist.
  • Button click handler calls removeWebInput for each matching id via Promise.all, then filters out removed entries from device.state?.webInputs and updates the background with device.setWebInputs(remainingWebInputs).

Testing

  • No automated tests were run for this change.

Codex Task

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
🔵 In progress
View logs
authier-api 885a8ba Apr 23 2026, 08:48 AM

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Apr 23, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
authier-vault-web 885a8ba Commit Preview URL

Branch Preview URL
Apr 23 2026, 08:48 AM

@capaj capaj merged commit 8ff7111 into main Apr 23, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant