Page MenuHomePhabricator
Feed All Stories

Sat, Jan 18

bytesofman published D17559: [Cashtab] Rewards screen to typescript for review.
Sat, Jan 18, 01:30
bytesofman updated the test plan for D17558: [Cashtab] Improve wallet select behavior on wallets screen.
Sat, Jan 18, 00:44
bytesofman published D17558: [Cashtab] Improve wallet select behavior on wallets screen for review.
Sat, Jan 18, 00:41
bytesofman published D17557: [Cashtab] Convert wallet management screen to typescript for review.
Sat, Jan 18, 00:36

Fri, Jan 17

bytesofman closed D17552: [Cashtab] Lock UI and disable keyboard input while user switches wallets.
Fri, Jan 17, 21:38
bytesofman committed rABCed585d0ace20: [Cashtab] Lock UI and disable keyboard input while user switches wallets (authored by bytesofman).
[Cashtab] Lock UI and disable keyboard input while user switches wallets
Fri, Jan 17, 21:38
bytesofman closed D17551: [Cashtab] Do not double call updateCashtabState on wallet change.
Fri, Jan 17, 21:38
bytesofman committed rABC70d070d2a9c4: [Cashtab] Do not double call updateCashtabState on wallet change (authored by bytesofman).
[Cashtab] Do not double call updateCashtabState on wallet change
Fri, Jan 17, 21:38
bytesofman closed D17549: [Cashtab] Patch render logic for spinner.
Fri, Jan 17, 21:32
bytesofman committed rABC03869debbc95: [Cashtab] Patch render logic for spinner (authored by bytesofman).
[Cashtab] Patch render logic for spinner
Fri, Jan 17, 21:32
Fabien accepted D17549: [Cashtab] Patch render logic for spinner.
Fri, Jan 17, 21:29
Fabien accepted D17555: [electrum] trezor: implement support for Shamir recovery.
Fri, Jan 17, 20:53
bytesofman updated the summary of D17549: [Cashtab] Patch render logic for spinner.
Fri, Jan 17, 20:42
Fabien planned changes to D6571: [WIP] Test commit, don't review.
Fri, Jan 17, 20:21
Fabien updated the diff for D6571: [WIP] Test commit, don't review.

Rebase

Fri, Jan 17, 20:21
teamcity updated the summary of D17555: [electrum] trezor: implement support for Shamir recovery.
Fri, Jan 17, 14:44
PiRK requested review of D17555: [electrum] trezor: implement support for Shamir recovery.
Fri, Jan 17, 14:44
PiRK closed D17553: [electrum] trezor: implement "seedless" mode (option during initialization).
Fri, Jan 17, 11:39
PiRK committed rABC0377d768572f: [electrum] trezor: implement "seedless" mode (option during initialization) (authored by PiRK).
[electrum] trezor: implement "seedless" mode (option during initialization)
Fri, Jan 17, 11:39
Fabien closed D17554: [electrum] Better trezor homescreen support.
Fri, Jan 17, 10:56
Fabien committed rABC0039c265e056: [electrum] Better trezor homescreen support (authored by Fabien).
[electrum] Better trezor homescreen support
Fri, Jan 17, 10:56
PiRK accepted D17554: [electrum] Better trezor homescreen support.
Fri, Jan 17, 10:52
Fabien accepted D17553: [electrum] trezor: implement "seedless" mode (option during initialization).
Fri, Jan 17, 10:48
Fabien added a comment to D17549: [Cashtab] Patch render logic for spinner.

So before this patch it's broken and after this patch it's not, great.
May I ask how it's broken and how it's fixed ? Because I can't spot the change in behavior.

Yes, some history changed before I got this diff to have tests passing. When I first pushed it up, the only test that changed was the App test.

Before this diff

  • Cashtab intended behavior is for a spinner to lock the UI when loading is true. This happens on the App component, which renders the routes, so it will work on any given screen.
  • However the conditional rendering has a bug, such that even when loading is true, the Spinner may not render. This diff patches the bug.
  • For the test in App -- we show that this spinner is in the screen when the component loads, which is expected behavior.

However, there are a number of knock ons from this change. Cashtab has many tests that need to wait for stuff to load. Thish stuff takes longer depending on the screen. Some of the tests are configured to wait for inline spinners to go away, others are configured to wait for cashtab's bootup to complete. Now that the wallet update spinner is fixed, there is something else that some tests may need to wait for. So, this has caused some other tests to fail. Running the CI and locally revealed some tests to be flaky, i.e. it can be difficult to tell which loading component we must wait for, and I have not (yet) managed to come up with a "catch all" routine to just wait for everything to load in a way that is standard for all tests.

At the moment, I don't think I can confidently predict exactly how to fix all of the various tests and their loading conditions to wait for the right spinners to be present or not present. So we may see some test flakiness after this diff (we had test flakiness of the same kind before this diff, it's just that I iterated through it on those tests with this bug in the system; now that the bug is gone there may be some new loading conditions to handle in existing tests).

This bug was discovered while fixing the wallet changing behavior when I noticed that the spinnner was not appearing even when I manually setLoading(true) to wait for a wallet to load.

Fri, Jan 17, 10:37
PiRK retitled D17553: [electrum] trezor: implement "seedless" mode (option during initialization) from trezor: implement "seedless" mode (option during initialization) to [electrum] trezor: implement "seedless" mode (option during initialization).
Fri, Jan 17, 10:34
Fabien requested review of D17554: [electrum] Better trezor homescreen support.
Fri, Jan 17, 10:33
teamcity updated the summary of D17553: [electrum] trezor: implement "seedless" mode (option during initialization).
Fri, Jan 17, 10:32
PiRK requested review of D17553: [electrum] trezor: implement "seedless" mode (option during initialization).
Fri, Jan 17, 10:32
bytesofman closed D17550: [Cashtab] Convert WalletLabel to ts.
Fri, Jan 17, 08:56
bytesofman committed rABCf424953ba614: [Cashtab] Convert WalletLabel to ts (authored by bytesofman).
[Cashtab] Convert WalletLabel to ts
Fri, Jan 17, 08:56
bytesofman updated the test plan for D17549: [Cashtab] Patch render logic for spinner.
Fri, Jan 17, 08:42
bytesofman added a comment to D17549: [Cashtab] Patch render logic for spinner.

I assume the flakiness of the test you're referring to is when the int test is waiting for the spinner to disappear but it doesn't, and the await waitFor() call just hangs there holding up the entire test suite?

// Wait for Cashtab wallet info to load
await waitFor(() =>
    expect(screen.queryByTitle('Loading...')).not.toBeInTheDocument(),
);
Fri, Jan 17, 08:41
bytesofman requested review of D17549: [Cashtab] Patch render logic for spinner.

So before this patch it's broken and after this patch it's not, great.
May I ask how it's broken and how it's fixed ? Because I can't spot the change in behavior.

Fri, Jan 17, 08:37
Fabien requested changes to D17549: [Cashtab] Patch render logic for spinner.

So before this patch it's broken and after this patch it's not, great.
May I ask how it's broken and how it's fixed ? Because I can't spot the change in behavior.

Fri, Jan 17, 08:20
emack added a comment to D17549: [Cashtab] Patch render logic for spinner.

I assume the flakiness of the test you're referring to is when the int test is waiting for the spinner to disappear but it doesn't, and the await waitFor() call just hangs there holding up the entire test suite?

Fri, Jan 17, 08:20
Fabien committed rABC512087c6a1b2: [electrum] Bugfix: close the "Check your trezor" popup after entering a… (authored by Fabien).
[electrum] Bugfix: close the "Check your trezor" popup after entering a…
Fri, Jan 17, 08:18
Fabien closed D17547: [electrum] Bugfix: close the "Check your trezor" popup after entering a passphrase.
Fri, Jan 17, 08:18
emack accepted D17552: [Cashtab] Lock UI and disable keyboard input while user switches wallets.
Fri, Jan 17, 08:16
emack accepted D17551: [Cashtab] Do not double call updateCashtabState on wallet change.
Fri, Jan 17, 08:10
PiRK accepted D17547: [electrum] Bugfix: close the "Check your trezor" popup after entering a passphrase.

tested with a Trezor T

Fri, Jan 17, 08:10
PiRK closed D17541: Cache block index entry corresponding to assumeutxo snapshot base blockhash.
Fri, Jan 17, 08:08
PiRK committed rABCaf7dbeb97b63: Cache block index entry corresponding to assumeutxo snapshot base blockhash (authored by Suhas Daftuar <sdaftuar@chaincode.com>).
Cache block index entry corresponding to assumeutxo snapshot base blockhash
Fri, Jan 17, 08:08
PiRK closed D17537: Move CheckBlockIndex() from Chainstate to ChainstateManager.
Fri, Jan 17, 08:08
PiRK closed D17536: Documentation improvements for assumeutxo.
Fri, Jan 17, 08:08
PiRK closed D17535: Fix initialization of setBlockIndexCandidates when working with multiple chainstates.
Fri, Jan 17, 08:08
PiRK committed rABCa5d25d3b48f3: Move CheckBlockIndex() from Chainstate to ChainstateManager (authored by Suhas Daftuar <sdaftuar@chaincode.com>).
Move CheckBlockIndex() from Chainstate to ChainstateManager
Fri, Jan 17, 08:08
PiRK committed rABC781f67df62a8: Documentation improvements for assumeutxo (authored by Ryan Ofsky <ryan@ofsky.org>).
Documentation improvements for assumeutxo
Fri, Jan 17, 08:08
emack accepted D17550: [Cashtab] Convert WalletLabel to ts.
Fri, Jan 17, 08:07
PiRK committed rABCce02141a9db8: Fix initialization of setBlockIndexCandidates when working with multiple… (authored by Suhas Daftuar <sdaftuar@chaincode.com>).
Fix initialization of setBlockIndexCandidates when working with multiple…
Fri, Jan 17, 08:07
PiRK closed D17534: Tighten requirements for adding elements to setBlockIndexCandidates.
Fri, Jan 17, 08:07
PiRK committed rABCc3eb66ed6134: Tighten requirements for adding elements to setBlockIndexCandidates (authored by Suhas Daftuar <sdaftuar@chaincode.com>).
Tighten requirements for adding elements to setBlockIndexCandidates
Fri, Jan 17, 08:07
PiRK closed D17533: Move block-storage-related logic to ChainstateManager.
Fri, Jan 17, 08:07
PiRK committed rABC2edc904cea06: Move block-storage-related logic to ChainstateManager (authored by Suhas Daftuar <sdaftuar@chaincode.com>).
Move block-storage-related logic to ChainstateManager
Fri, Jan 17, 08:07
PiRK committed rABCe476633f2c51: Add wrapper for adding entries to a chainstate's block index candidates (authored by Suhas Daftuar <sdaftuar@chaincode.com>).
Add wrapper for adding entries to a chainstate's block index candidates
Fri, Jan 17, 08:07
PiRK closed D17532: Add wrapper for adding entries to a chainstate's block index candidates.
Fri, Jan 17, 08:07
PiRK closed D17440: Update CheckBlockIndex invariants for chains based on an assumeutxo snapshot.
Fri, Jan 17, 08:07
PiRK committed rABCca86cbd58f3e: Update CheckBlockIndex invariants for chains based on an assumeutxo snapshot (authored by Suhas Daftuar <sdaftuar@chaincode.com>).
Update CheckBlockIndex invariants for chains based on an assumeutxo snapshot
Fri, Jan 17, 08:07
PiRK closed D17433: Move block-arrival information / preciousblock counters to ChainstateManager.
Fri, Jan 17, 08:07
PiRK committed rABC5ad8a704fdcb: Move block-arrival information / preciousblock counters to ChainstateManager (authored by Suhas Daftuar <sdaftuar@chaincode.com>).
Move block-arrival information / preciousblock counters to ChainstateManager
Fri, Jan 17, 08:07
PiRK closed D17432: Explicitly track maximum block height stored in undo files.
Fri, Jan 17, 08:07
PiRK committed rABCcfc92ee56946: Explicitly track maximum block height stored in undo files (authored by Suhas Daftuar <sdaftuar@chaincode.com>).
Explicitly track maximum block height stored in undo files
Fri, Jan 17, 08:07
bytesofman published D17549: [Cashtab] Patch render logic for spinner for review.
Fri, Jan 17, 03:26
bytesofman updated the test plan for D17552: [Cashtab] Lock UI and disable keyboard input while user switches wallets.
Fri, Jan 17, 03:24
bytesofman published D17552: [Cashtab] Lock UI and disable keyboard input while user switches wallets for review.
Fri, Jan 17, 03:23
bytesofman published D17551: [Cashtab] Do not double call updateCashtabState on wallet change for review.
Fri, Jan 17, 03:23
bytesofman published D17550: [Cashtab] Convert WalletLabel to ts for review.
Fri, Jan 17, 02:54
bytesofman accepted D17547: [electrum] Bugfix: close the "Check your trezor" popup after entering a passphrase.
Fri, Jan 17, 02:39

Thu, Jan 16

Fabien requested review of D17547: [electrum] Bugfix: close the "Check your trezor" popup after entering a passphrase.
Thu, Jan 16, 22:01
roqqit closed D17538: [test] Make test_getpeerinfo more robust by using mocktime.
Thu, Jan 16, 21:07
roqqit committed rABCd2683db55d84: [test] Make test_getpeerinfo more robust by using mocktime (authored by roqqit).
[test] Make test_getpeerinfo more robust by using mocktime
Thu, Jan 16, 21:07
bytesofman closed D17544: [Cashtab] Prevent double notifications on send xec txs while preserving testing of component tx building.
Thu, Jan 16, 20:20
bytesofman committed rABC779edc7f5c42: [Cashtab] Prevent double notifications on send xec txs while preserving testing… (authored by bytesofman).
[Cashtab] Prevent double notifications on send xec txs while preserving testing…
Thu, Jan 16, 20:20
Fabien committed rABC2c1219ed56c6: [electrum] Fix the homescreen change with all devices (authored by Fabien).
[electrum] Fix the homescreen change with all devices
Thu, Jan 16, 20:02
Fabien closed D17546: [electrum] Fix the homescreen change with all devices.
Thu, Jan 16, 20:02
Fabien accepted D17544: [Cashtab] Prevent double notifications on send xec txs while preserving testing of component tx building.
Thu, Jan 16, 19:56
Fabien accepted D17533: Move block-storage-related logic to ChainstateManager.
Thu, Jan 16, 19:55
Fabien accepted D17538: [test] Make test_getpeerinfo more robust by using mocktime.
Thu, Jan 16, 19:50
roqqit updated the diff for D17538: [test] Make test_getpeerinfo more robust by using mocktime.

Remove errant newline

Thu, Jan 16, 18:02
roqqit updated the diff for D17538: [test] Make test_getpeerinfo more robust by using mocktime.

Use assert_equal

Thu, Jan 16, 18:00
PiRK accepted D17546: [electrum] Fix the homescreen change with all devices.
Thu, Jan 16, 17:08
Fabien updated the diff for D17546: [electrum] Fix the homescreen change with all devices.

Less code duplication

Thu, Jan 16, 15:41
Fabien requested review of D17546: [electrum] Fix the homescreen change with all devices.
Thu, Jan 16, 15:36
bytesofman published D17544: [Cashtab] Prevent double notifications on send xec txs while preserving testing of component tx building for review.
Thu, Jan 16, 15:06
bytesofman closed D17545: [Cashtab] Patch bug in building token change outputs.
Thu, Jan 16, 14:27
bytesofman committed rABC467afd4d59d5: [Cashtab] Patch bug in building token change outputs (authored by bytesofman).
[Cashtab] Patch bug in building token change outputs
Thu, Jan 16, 14:27
emack accepted D17545: [Cashtab] Patch bug in building token change outputs.
Thu, Jan 16, 14:27
bytesofman published D17545: [Cashtab] Patch bug in building token change outputs for review.
Thu, Jan 16, 14:21
bytesofman closed D17542: [mock-chronik-client] Improve path defs for typescript build.
Thu, Jan 16, 13:23
bytesofman committed rABC0ac291483c70: [mock-chronik-client] Improve path defs for typescript build (authored by bytesofman).
[mock-chronik-client] Improve path defs for typescript build
Thu, Jan 16, 13:23
bytesofman closed D17543: [mock-chronik-client] Clean up test mocks file.
Thu, Jan 16, 13:22
bytesofman committed rABC36524d889f0e: [mock-chronik-client] Clean up test mocks file (authored by bytesofman).
[mock-chronik-client] Clean up test mocks file
Thu, Jan 16, 13:22
PiRK updated the diff for D17533: Move block-storage-related logic to ChainstateManager.

feedback

Thu, Jan 16, 08:55
PiRK accepted D17543: [mock-chronik-client] Clean up test mocks file.
Thu, Jan 16, 07:37
PiRK accepted D17542: [mock-chronik-client] Improve path defs for typescript build.
Thu, Jan 16, 07:36
bytesofman closed D17540: [Cashtab] Show token qty and cumulative qty in any given agora offer in a tooltip.
Thu, Jan 16, 05:55
bytesofman committed rABCbb9172b62a96: [Cashtab] Show token qty and cumulative qty in any given agora offer in a… (authored by bytesofman).
[Cashtab] Show token qty and cumulative qty in any given agora offer in a…
Thu, Jan 16, 05:55
bytesofman added a comment to D17540: [Cashtab] Show token qty and cumulative qty in any given agora offer in a tooltip.

image.png (172×542 px, 17 KB)

Actually, I did an actual check on the bundle size, one meg over 227 megs is negligible in the grand scheme of things. Non-issue unless the whole bundle is getting to a point where it may start to affect performance?

Thu, Jan 16, 05:51
emack added a comment to D17540: [Cashtab] Show token qty and cumulative qty in any given agora offer in a tooltip.

image.png (172×542 px, 17 KB)

Actually, I did an actual check on the bundle size, one meg over 227 megs is negligible in the grand scheme of things. Non-issue unless the whole bundle is getting to a point where it may start to affect performance?

Thu, Jan 16, 05:35
emack accepted D17540: [Cashtab] Show token qty and cumulative qty in any given agora offer in a tooltip.

Minor nit but tested all ok. Can confirm the transparency is not an issue on mobile screenshots, so must be Brave specific.

Thu, Jan 16, 05:35
bytesofman published D17543: [mock-chronik-client] Clean up test mocks file for review.
Thu, Jan 16, 05:27