Rebase to master and correcting expect() statement
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Jan 6 2024
See https://reviews.bitcoinabc.org/D15079#change-FQ7xkm8tTewN for new approach to testing localForage interactions for feedback
Jan 5 2024
Jan 4 2024
Dec 29 2023
In D15042#337747, @bytesofman wrote:Tested all ok in chrome however I feel like the usage of chrome APIs in this diff is the start of permanently locking the extension into the chrome ecosystem and any future plans to port this over to firefox, brave...etc will require significant refactor. Double checking here that this is the intention?
The use of extensionizer to run chrome APIs means we could (in theory) still extend to other browsers supported by extensionizer -- is the chrome param used directly anywhere?
There would still be more work to do + testing to make sure everything works in another browser, but we aren't really adding more chrome APIs here, really we are getting rid of one.
will check on the window killing situation.
A few extra refreshes seem to be happening which then confuses cashtab into momentarily thinking this is an empty wallet
Tested all ok in chrome however I feel like the usage of chrome APIs in this diff is the start of permanently locking the extension into the chrome ecosystem and any future plans to port this over to firefox, brave...etc will require significant refactor. Double checking here that this is the intention?
Dec 28 2023
Will land this once I coordinate the tweet release with the comms team.
Dec 24 2023
Removed snapshot in alignment with recent change in snapshot testing philosphy. Test plan reflects integration testing coverage.
Dec 22 2023
rebase
- rebased/merged to D14990 (landed earlier today) where the extension app.js is removed altogether and extension specific logic is conditionally executed based on env var
- dropped the lingering commit via interactive rebase that was causing the unit test error
- removed redundant previousWallet checks
Dec 21 2023
rebase to master
In D15000#336782, @bytesofman wrote:If the way wallet switching is done in Configure.js is not portable, mb this needs to be fixed first.
Removed withWalletPresent and will now redirect to the default wallet screen i.e. onboarding/wallet creation
In D15025#337181, @Fabien wrote:maybe you need to rebase ?
In D15025#337157, @teamcity wrote:Build Bitcoin ABC Diffs / Diff Testing (cashtab-tests) failed.Failed tests logs:
====== CashTab Unit Tests: Improved Cashtab transaction broadcasting function sendXec: Sending below dust threshold ====== Error: expect(received).rejects.toThrow(expected) Expected substring: "Transaction must send more than dust threshold of 546 satoshis" Received message: "Transaction output amount must be at least the dust threshold of 546 satoshis"
Dec 20 2023
Dec 16 2023
Dec 6 2023
As discussed on tg, quite the complexity in squeezing html markup into a state var and somehow make React render it in html and not a string.
Switched alias availability color from vomit green to eCash blue in order to align with the Cashtab's color scheme
Dec 5 2023
Moved the clearTimeout call to the end of useEffect() when the component unmounts
Dec 4 2023
Dec 2 2023
In D14885#334392, @bytesofman wrote:Still useful to know there are pending registrations though. The user still gets a popup msg / warning in this case on trying to register?
Dec 1 2023
Deprecating check alias in another diff
In D14885#334256, @emack wrote:In D14885#334242, @Fabien wrote:That's smart, but what is the point of the check button then ? Can it be removed ?
Yea the Check button can be removed as this is a more elegant solution. I'll update this diff to also render a UI message when the alias is available for consistency.
I'll deprecate the check button in a separate diff.
Adding the generated tag back into snapshot
In D14885#334242, @Fabien wrote:That's smart, but what is the point of the check button then ? Can it be removed ?
Nov 21 2023
In D14728#333005, @Fabien wrote:wait for a new block to be found and observe the "New block found, refreshing alias prices" message in console
I think this message has been removed ?
Updated for pricing array length 0 check, diff summary and test plan.
Nov 19 2023
Updated array length checks, error message and price element index.
Nov 17 2023
Per tg chat, disabling alias registration if the pricing array from API has more than one entry. I've kept the Alias component itself still accessible as the user should still be able to check their purchased aliases, which is separate from pricing matters.
Nov 9 2023
Reaching out to the ChangeNow team on this. Potentially because local dev cashtab is accessed via http and there may be policies mandating https sources.
Removed debug logs
Nov 8 2023
Updated nit
Removed aliasFee state far and updated component to access directly from the aliasPrices object
Added real time localized pricing displays per alias input, improved not null checks, added default value for aliasPAram in queryAliasServer args.
LocalString formatting applied to pricing since it's likely to eventually be a large number in prod.
Nov 7 2023
Backing out extension changes
Alias.js now pulls aliasPrices as a context variable and triggers a regresh if none exist.
Nov 5 2023
- parentAffiliatedId set to the official ABC account from Antony
- Reverted settleAddress back to undefined otherwise the Receiving Address field will not be displayed in the widget. Whoever is managing the ABC account can just execute monthly withdrawals from the official account to the IFP address.
Nov 4 2023
In D14728#331163, @Fabien wrote:Any block height related optimization will incur an API call to get the latest blockheight as a minimum.
Not with websockets ?


