Page MenuHomePhabricator
Feed Advanced Search

Jan 28 2024

emack requested changes to D15304: [Cashtab] Receive screen improvements.

Dimensions now look all ok across mobile and extension, however it has scanning issues as per video below specific to the version on https://cashtab-local-dev.netlify.app.

Jan 28 2024, 09:25
emack closed D15281: [Cashtab] Standardize wallet refresh interval.
Jan 28 2024, 08:52
emack committed rABCd23ecd73498a: [Cashtab] Standardize wallet refresh interval (authored by emack).
[Cashtab] Standardize wallet refresh interval
Jan 28 2024, 08:52
emack updated the diff for D15281: [Cashtab] Standardize wallet refresh interval.

rebase + version bump

Jan 28 2024, 08:50

Jan 27 2024

emack abandoned D15276: [Cashtab] Optimize notifications - SignVerifyMsg.

Following tg discussions, will be replacing each component notification callsites with pure calls to the antd component, as there is little value in retaining a dedicated Notifications.js component. This will be done in a series of diffs, one for each component.

Jan 27 2024, 02:01
emack updated the diff for D15281: [Cashtab] Standardize wallet refresh interval.

version bump

Jan 27 2024, 01:58
emack requested review of D15281: [Cashtab] Standardize wallet refresh interval.

please update the test plan to confirm the websocket is not re-initializing every 60s. If this is happening, need a diff to fix.

Jan 27 2024, 01:57
emack updated the test plan for D15281: [Cashtab] Standardize wallet refresh interval.
Jan 27 2024, 01:57
emack updated the test plan for D15281: [Cashtab] Standardize wallet refresh interval.
Jan 27 2024, 01:57
emack requested changes to D15304: [Cashtab] Receive screen improvements.

It's not autosizing on extension, resulting in extra swipes from the user to move the QR code into view. There's also not a great deal of room either with the header now fixed so the QR code should auto size on extension to render everything in the component.

Jan 27 2024, 01:18
emack accepted D15294: [Cashtab] Better fb logo in social.
Jan 27 2024, 01:04

Jan 26 2024

emack requested changes to D15294: [Cashtab] Better fb logo in social.

Icons and hover looks good - just needs vertical alignment between X and the fb/gh icons.

image.png (72×222 px, 3 KB)

Jan 26 2024, 14:39
emack updated the summary of D15281: [Cashtab] Standardize wallet refresh interval.
Jan 26 2024, 14:36
emack updated the diff for D15281: [Cashtab] Standardize wallet refresh interval.

Rebased to D15296 and version bump

Jan 26 2024, 14:35
emack updated the test plan for D15281: [Cashtab] Standardize wallet refresh interval.
Jan 26 2024, 14:30
emack closed D15296: [Cashtab] Remove websocketDisconnectedRefreshInterval.
Jan 26 2024, 14:25
emack committed rABC2fa51d222382: [Cashtab] Remove websocketDisconnectedRefreshInterval (authored by emack).
[Cashtab] Remove websocketDisconnectedRefreshInterval
Jan 26 2024, 14:25
emack updated the diff for D15296: [Cashtab] Remove websocketDisconnectedRefreshInterval.

Version bump

Jan 26 2024, 14:18
emack closed D15277: [Cashtab] Fixate header.
Jan 26 2024, 14:16
emack committed rABC8c05d635fa04: [Cashtab] Fixate header (authored by emack).
[Cashtab] Fixate header
Jan 26 2024, 14:16
emack updated the diff for D15296: [Cashtab] Remove websocketDisconnectedRefreshInterval.

version bump

Jan 26 2024, 14:13
emack updated the diff for D15277: [Cashtab] Fixate header.

Version bump and head/footer bg css merge

Jan 26 2024, 14:07
emack requested review of D15296: [Cashtab] Remove websocketDisconnectedRefreshInterval.
Jan 26 2024, 13:56
emack updated the diff for D15276: [Cashtab] Optimize notifications - SignVerifyMsg.
  • icon param is now required, and the callsite can supply a 'default' value if they want to use the default antd icons, otherwise can provide one from CustomIcons.js.
  • data-testid now removed as a param and hardcoded as 'cashtab-notification'
  • updated conditional rendering of hyperlink in the notification description via the new <NotificationLink> styled component. Can use false to indicate a non-hyperlinked notification.

The callsite is per below for a hyperlinked :

displayNotification(
	'success',
	title,
	msg,
	<NotificationLink link={'http://test.com'}/>,
	'default',
);

which generates the following

Jan 26 2024, 13:37
emack updated the diff for D15281: [Cashtab] Standardize wallet refresh interval.

Removed interval setting in activateWallet per feedback

Jan 26 2024, 02:21
emack updated the diff for D15277: [Cashtab] Fixate header.

Removed redundant css props

Jan 26 2024, 02:11
emack added inline comments to D15277: [Cashtab] Fixate header.
Jan 26 2024, 02:08

Jan 25 2024

emack requested review of D15281: [Cashtab] Standardize wallet refresh interval.
Jan 25 2024, 13:55
emack updated the diff for D15276: [Cashtab] Optimize notifications - SignVerifyMsg.

Refactored displayNotification for efficiency and flexibility, including unit tests reflecting the existing 12 notifications.

Jan 25 2024, 13:10
emack published D15277: [Cashtab] Fixate header for review.
Jan 25 2024, 07:42
emack updated the diff for D15276: [Cashtab] Optimize notifications - SignVerifyMsg.

Removed unused declarations

Jan 25 2024, 01:33
emack requested review of D15276: [Cashtab] Optimize notifications - SignVerifyMsg.
Jan 25 2024, 01:27

Jan 22 2024

emack accepted D15205: [Cashtab] Implement unified balance header.

Accepted with minor nit

Jan 22 2024, 12:07
emack added a comment to D15205: [Cashtab] Implement unified balance header.

For consistency, remove the settings label (via app.js) since none of the other components use it. It will also ensure it's always positioned the same vertically.

image.png (293×565 px, 35 KB)

Jan 22 2024, 07:19
emack requested changes to D15205: [Cashtab] Implement unified balance header.
Jan 22 2024, 07:04

Jan 21 2024

emack published D15188: [Cashtab] Tx History Pagination for review.
Jan 21 2024, 08:36

Jan 20 2024

emack accepted D15218: [Cashtab] Deprecate all duplicated legacy implementations of toXec and toSatoshis.
Jan 20 2024, 22:27
emack accepted D15215: [Cashtab] If timeFirstSeen is 0, use block timestamp in tx history.
Jan 20 2024, 22:22
emack accepted D15207: [Cashtab] Remove obsolete SendToken snapshot tests and replace with existing validation integration tests.
Jan 20 2024, 22:18
emack added inline comments to D15210: [chronik-client] Add block and blocks methods to in-node chronik-client.
Jan 20 2024, 22:06
emack accepted D15211: [chronik-client] Do not try next server if error is unrelated to server outage.
Jan 20 2024, 14:13
emack accepted D15212: [Cashtab] Have refreshes update version for PWA users on update.
Jan 20 2024, 14:12
emack accepted D15219: [Cashtab] Remove obsolete migration unit tests.
Jan 20 2024, 11:52
emack requested changes to D15218: [Cashtab] Deprecate all duplicated legacy implementations of toXec and toSatoshis.
Jan 20 2024, 11:49
emack accepted D15217: [Cashtab] Replace cashMethods toSatoshis with new wallet toSatoshis.
Jan 20 2024, 11:25
emack added a comment to D15215: [Cashtab] If timeFirstSeen is 0, use block timestamp in tx history.

Would it be handy for you to share the wallet (via tg) that contained this non-render so I can test against master vs this patch?

Jan 20 2024, 11:05
emack requested changes to D15211: [chronik-client] Do not try next server if error is unrelated to server outage.
Jan 20 2024, 10:48
emack accepted D15214: [chronik-client] Patch missed changelog update.
Jan 20 2024, 10:38
emack requested changes to D15207: [Cashtab] Remove obsolete SendToken snapshot tests and replace with existing validation integration tests.

I'm getting a cherry picking error - can you try rebasing?

image.png (488×771 px, 68 KB)

Jan 20 2024, 10:37
emack accepted D15213: [Cashtab] Bump extension version to publish with bip21 op_return_raw support.
Jan 20 2024, 10:34
emack requested changes to D15212: [Cashtab] Have refreshes update version for PWA users on update.

Refresh page in PWA, see udpate modal. On update, the form label has changed.

Jan 20 2024, 10:32

Jan 19 2024

emack accepted D15203: [Cashtab] Better testing for Home.js screen.
Jan 19 2024, 21:43
emack requested changes to D15203: [Cashtab] Better testing for Home.js screen.
Jan 19 2024, 13:16

Jan 18 2024

emack accepted D15139: [Cashtab] Refactor parseAddressForParams to support all address and bip21 validation.
Jan 18 2024, 11:57
emack added a comment to D15139: [Cashtab] Refactor parseAddressForParams to support all address and bip21 validation.

run npm ci if you are patching it

yup that was the issue

Jan 18 2024, 08:37
emack requested changes to D15139: [Cashtab] Refactor parseAddressForParams to support all address and bip21 validation.

npm test failing with:

Jan 18 2024, 00:50

Jan 17 2024

emack accepted D15189: [Cashtab] Better conditions for disabling amount in SendXec.
Jan 17 2024, 12:03
emack accepted D15185: [Cashtab] Do not disable amount field if null is passed.

Tested all ok - amount input customizable via pow and disabled via ecash land

Jan 17 2024, 02:37

Jan 16 2024

emack accepted D15174: [Cashtab] Add social links to Settings page.
Jan 16 2024, 22:25
emack requested changes to D15174: [Cashtab] Add social links to Settings page.

The simple hyperlink text seems a bit out of place with the rest of the UI. I believe the web app convention is to hyperlink an image for social links.

Jan 16 2024, 01:23
emack accepted D15155: [Cashtab] Improve isAliasFormat function and add unit tests.
Jan 16 2024, 00:53
emack accepted D15049: [Cashtab] Replace magic number with constant.
Jan 16 2024, 00:05

Jan 14 2024

emack added a comment to D15155: [Cashtab] Improve isAliasFormat function and add unit tests.

On a semi related note, not entering any address input, with a valid send amount, clicking send spits out this error msg that sounds like it's passed directly from a library, which could use a bit of a non-technical tailoring via a separate diff.

Jan 14 2024, 11:26
emack requested changes to D15155: [Cashtab] Improve isAliasFormat function and add unit tests.
Jan 14 2024, 11:07
emack accepted D15161: [Cashtab] Show timeFirstSeen in tx history.
Jan 14 2024, 04:56
emack accepted D15141: [Cashtab] Improve handling of URL populated txs.
Jan 14 2024, 04:55
emack requested changes to D15161: [Cashtab] Show timeFirstSeen in tx history.

Isn't it better to just render this on the default tx history element state? Are there any advantages to making the user click into it to see the time? There's plenty of space for it.

Jan 14 2024, 04:24
emack accepted D15151: [Cashtab] Sync utxo set on load.
Jan 14 2024, 04:16

Jan 12 2024

emack updated the diff for D15079: [Cashtab] Ignore function for tokens - pt 1 of 2.

Now that D15084 is landed, removing the now-redundant prefix conversions

Jan 12 2024, 00:38
emack updated the diff for D15079: [Cashtab] Ignore function for tokens - pt 1 of 2.

Rebased to legacy address mitigation in D15084, token component rejig in D15122 and myriad of other diffs landed this week

Jan 12 2024, 00:07

Jan 11 2024

emack closed D15084: [Cashtab] Additional mitigation for legacy wallet addresses.
Jan 11 2024, 23:45
emack committed rABCf57103ac9621: [Cashtab] Additional mitigation for legacy wallet addresses (authored by emack).
[Cashtab] Additional mitigation for legacy wallet addresses
Jan 11 2024, 23:45
emack updated the diff for D15084: [Cashtab] Additional mitigation for legacy wallet addresses.

Rebase to master

Jan 11 2024, 23:38
teamcity awarded D15084: [Cashtab] Additional mitigation for legacy wallet addresses a Haypence token.
Jan 11 2024, 14:28
emack accepted D15136: [herald] shorter identifier for anon-ish miner.
Jan 11 2024, 07:44
emack accepted D15135: [Cashtab] Stop using a function that isnt really used in SignVerify component.

Tested fine, but probably should have an alias specific validation in a separate diff to note aliases are not supported for signature verification

image.png (133×589 px, 14 KB)

Jan 11 2024, 07:42
emack updated the diff for D15084: [Cashtab] Additional mitigation for legacy wallet addresses.

Updated check condition for 'ecash:..' prefix

Jan 11 2024, 07:30
emack accepted D15132: [Cashtab] Add missing dep to dev deps.
Jan 11 2024, 00:57
emack accepted D15050: [Cashtab] Implement latest chronik-client.

Accepted with minor nit - from a BAU perspective, it would be useful to log "Connected to blah.chronik.cash" in the console logs. Just in case there are performance issues or anything unexpected with the instance even though it is responsive.

Jan 11 2024, 00:51
emack accepted D15121: [Cashtab] Clean up conditions for disabling Send button.
Jan 11 2024, 00:41
emack updated the diff for D15084: [Cashtab] Additional mitigation for legacy wallet addresses.

Updated checks to isLegacyMigrationRequired

Jan 11 2024, 00:37
emack updated the test plan for D15084: [Cashtab] Additional mitigation for legacy wallet addresses.
Jan 11 2024, 00:35

Jan 10 2024

emack accepted D15113: [herald] Patch bug in unidentified miner.
Jan 10 2024, 04:01
emack accepted D15114: [herald] Abbreviate some replayed memo msgs.

Ok for now but need to keep a note somewhere to revert this when/if we implement memo cash for XEC, at which point users should be able to mention BCH and have it show up on the herald.

Jan 10 2024, 03:56
emack requested changes to D15050: [Cashtab] Implement latest chronik-client.

When you malform all 3 chronik urls, it gives you a rather ungraceful uncaught exception per below, traced back to the update() function in useWallet.js

image.png (737×1 px, 194 KB)

However it does stop cycling after all urls have been exhausted and refreshing upon correction of urls fixes it as intended.

Jan 10 2024, 03:46
emack accepted D15116: [Cashtab] Improve Send screen handling of address input.
Jan 10 2024, 03:32
emack accepted D15117: [Cashtab] Remove references to legacy fork from Send component.
Jan 10 2024, 01:17
emack planned changes to D15108: [Cashtab] Add nav button labels.

Have there been complaints about this?

Jan 10 2024, 01:13
emack accepted D15119: [Cashtab] Sort tokens alphabetically by token ticker.
Jan 10 2024, 01:08
emack accepted D15120: [Cashtab] Sort saved wallets alphabetically.
Jan 10 2024, 01:02
emack requested changes to D15121: [Cashtab] Clean up conditions for disabling Send button.
Jan 10 2024, 00:56
emack accepted D15122: [Cashtab] Better component organization and routing for etokens.

Tested all ok. Gonna be a hellish rebase for D15079 though.

Jan 10 2024, 00:44
emack updated the diff for D15084: [Cashtab] Additional mitigation for legacy wallet addresses.

Moved address conversion logic to migrateLegacyWallet per feedback

Jan 10 2024, 00:33
emack updated the test plan for D15084: [Cashtab] Additional mitigation for legacy wallet addresses.
Jan 10 2024, 00:32

Jan 9 2024

teamcity awarded D15108: [Cashtab] Add nav button labels a Piece of Eight token.
Jan 9 2024, 08:44

Jan 8 2024

teamcity awarded D15108: [Cashtab] Add nav button labels a Haypence token.
Jan 8 2024, 10:16

Jan 6 2024

emack requested review of D15108: [Cashtab] Add nav button labels.
Jan 6 2024, 09:59
emack updated the diff for D15084: [Cashtab] Additional mitigation for legacy wallet addresses.

Updated isLegacyMigrationRequired to check 1899, 145 and 245 derivation path cashAddresses for non-eCash prefixes, along with unit test coverage.
I didn't do this for migrateLegacyWallet as per feedback because each path in that method already uses deriveAccount() which explictly encodes all addresses to the ecash prefix as below, so didn't see a need to double handle this once isLegacyMigrationRequired flags it for conversion:

const deriveAccount = async ({ masterHDNode, path }) => {
...
	const cashAddress = cashaddr.encode('ecash', 'P2PKH', node.identifier);
Jan 6 2024, 09:05
emack updated the summary of D15084: [Cashtab] Additional mitigation for legacy wallet addresses.
Jan 6 2024, 08:56
emack planned changes to D15079: [Cashtab] Ignore function for tokens - pt 1 of 2.

Pending D15084

Jan 6 2024, 00:50