Skip to content

orchestrator, bitwindow: wallet overview activity fixes - #3067

Merged
octobocto merged 4 commits into
masterfrom
qa/w2-activity-confirmations
Nov 28, 2026
Merged

octobocto merged 4 commits into
masterfrom
qa/w2-activity-confirmations

Conversation

@octobocto

Copy link
Copy Markdown
Collaborator

The wallet overview now agrees with the chain for Electrum wallets in the first block after a payment, and the last activity age moves on its own.

Bugs:

  • An Electrum transaction mined in a block past the cached tip (up to 30 s after each block) read 0 confirmations: "Unconfirmed", a "Bump fee" button and "Last activity: Unconfirmed", while the bar showed it as confirmed (caused by e39c5ed). Repro: Electrum wallet on regtest, receive a payment, mine a block, open Wallet > Overview at once.
  • The "Last activity" age only changed on a rebuild: "1 second ago" stayed for a minute, a window resize made it "1 minute ago" (caused by e56bab0). Repro: open Wallet > Overview, wait with no new transaction.
  • An Electrum payment to the wallet's own receive address had a payment of 0 sats, so a search for its amount found nothing; Core lists the amount (caused by 0c4ec6c). Repro: Electrum wallet, send 0.1 BTC to a new own address, search "0.1".
Before After
before after
before after
before after
Search found no row (Go test TestWalletRowsForTxSelfPaymentNamesTheAmount) after

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-28T20:19:42.540799Z e994e36 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ac24199c27

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@octobocto
octobocto force-pushed the qa/w2-activity-confirmations branch 2 times, most recently from 854cb7e to bab0b6e Compare November 28, 2026 18:47

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bab0b6e48b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +453 to +458
child: SailDialogActionButton(
action: SailDialogAction(
label: confirmText,
onPressed: onConfirm,
variant: confirmButtonVariant ?? ButtonVariant.primary,
loadingLabel: loadingLabel,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Preserve confirmDisabled in the v2 alert dialog

On desktop with the BitWindow v2 theme, this branch ignores confirmDisabled, so the confirmation button remains actionable when callers explicitly disable it. In bitwindow/lib/widgets/edit_wallet_flow.dart, _confirmDeleteWallet sets this flag when the balance read fails, preventing deletion without first showing the wallet's funds. The new branch lets the user confirm anyway and reach deleteWallet(wallet.id), potentially deleting a funded wallet without the balance warning. Propagate the disabled state through SailDialogActionButton to its button.

Useful? React with 👍 / 👎.

@octobocto
octobocto force-pushed the qa/w2-activity-confirmations branch from bab0b6e to b3c9fdc Compare November 28, 2026 19:08
@octobocto
octobocto force-pushed the qa/w2-activity-confirmations branch from b3c9fdc to 616af4c Compare November 28, 2026 20:17
@octobocto
octobocto merged commit 5e9a2ed into master Nov 28, 2026
@octobocto
octobocto deleted the qa/w2-activity-confirmations branch November 28, 2026 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant