# fix\(web\): confirm profile removal and keep the table honest · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/aa929a520f8fbb2910323cb4298be90074c47aae)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: aa929a520f8fbb2910323cb4298be90074c47aae

Requested commit: aa929a520f8fbb2910323cb4298be90074c47aae

Commit: aa929a520f8fbb2910323cb4298be90074c47aae

Tree: a64f5057616f40d983fe8d082c37195bff932b76

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
fix(web): confirm profile removal and keep the table honest

Removing a profile deleted it and wiped its cookies and cache from a single
icon-menu click, while every comparable destructive action in Settings confirms
first. It now routes through the same AlertDialog.

The Default badge resolved against the unfiltered profile list while the table
renders only non-incognito rows, so a stored default of "incognito" left the
section with no default marked at all. It now resolves against the rows that
render.

Reopening the import menu kept the previous source list on screen while the
refresh was in flight, leaving a source that had since become unavailable
selectable; the list is cleared first so the menu shows its loading state.

A cookie sidecar that exists but cannot be copied is no longer ignored
alongside the missing-file case. SQLite would open the snapshot without the
write-ahead log and return a cookie set silently missing its newest
transactions.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

```

## Parents

- [5a96f50b38ab7c98898f081e8f1ba693ae16c7bb](https://git.cafe/pingdotgg/t3code/commit/5a96f50b38ab7c98898f081e8f1ba693ae16c7bb?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/aa929a520f8fbb2910323cb4298be90074c47aae?format=markdown)
