Page MenuHomePhabricator
Feed Advanced Search

Apr 16 2024

ashoat accepted D11629: [native][lib] Replace usages of FIDProvider with Synced Metadata Store.

Great!!

Apr 16 2024, 12:20 PM
ashoat requested review of D11668: [web] Rename GET_/SET_CURRENT_USER_ID in shared worker.
Apr 16 2024, 12:05 PM
ashoat closed D11667: [lib] Fix legacy register and SIWE.
Apr 16 2024, 11:39 AM
ashoat committed rCOMM1dab1be1d2d4: [lib] Fix legacy register and SIWE (authored by ashoat).
[lib] Fix legacy register and SIWE
Apr 16 2024, 11:39 AM
ashoat published D11667: [lib] Fix legacy register and SIWE for review.
Apr 16 2024, 11:30 AM
ashoat added a comment to D11632: [lib][web][native] Pass preRequestUserState into invalidSessionRecovery.

This diff led to ENG-7706 because preRequestUserState was not correctly stripped from calls to keyserver

Apr 16 2024, 11:14 AM
ashoat added inline comments to D11534: [web][native] Extract the common logic determining when to clear the data.
Apr 16 2024, 10:06 AM
ashoat added a comment to D11666: [native] Rename get/setCurrentUserID in CommCoreModule.

I should probably also rename workerRequestMessageTypes.GET_CURRENT_USER_ID, workerRequestMessageTypes.SET_CURRENT_USER_ID, and any other related stuff

Apr 16 2024, 10:02 AM
ashoat requested changes to D11638: Persist SIWE backup secrets to SQLite after succesfull registration process.

Are we able to cache it, such that if the user goes back to before this screen, and then advances to this screen again, the SIWE flow does not need to be re-entered?

Thanks for pointing this out. I haven't thought about this earlier. Could you share some additional info about expected user experience in such case? For instance - if the user creates backup message, goes back to change the avatar should we then just skip create backup message screen or potentially display different UI?

Apr 16 2024, 7:08 AM
ashoat added inline comments to D11636: Implement screen to create backup mesage and its signature.
Apr 16 2024, 7:05 AM
ashoat requested review of D11666: [native] Rename get/setCurrentUserID in CommCoreModule.
Apr 16 2024, 7:02 AM
ashoat added inline comments to D11636: Implement screen to create backup mesage and its signature.
Apr 16 2024, 5:46 AM
ashoat accepted D11636: Implement screen to create backup mesage and its signature.

Can you share an updated screenshot?

Apr 16 2024, 5:43 AM
ashoat requested changes to D11636: Implement screen to create backup mesage and its signature.

Hmm, you seem to have used a different icon than the one I requested. Can you update it to use the one I mentioned here?

Apr 16 2024, 4:50 AM
ashoat added a comment to D11645: Force already logged in ETH users to create and sign backup message.

It looks like this info is irrelevant, but just in case I wanted to share it: note that because of the nonce verification logic during login on the identity service, a signed ETH message for login is only valid for 120 seconds after the nonce was first delivered.

Apr 16 2024, 4:48 AM
ashoat accepted D11643: [web] Show a popup when client_version_unsupported.
Apr 16 2024, 4:45 AM
ashoat requested changes to D11629: [native][lib] Replace usages of FIDProvider with Synced Metadata Store.

One more round, sorry for the churn

Apr 16 2024, 4:05 AM

Apr 15 2024

ashoat added inline comments to D11662: [native] introduce barebones TagFarcasterChannelNavigator + TagFarcasterChannel screen.
Apr 15 2024, 6:37 PM
ashoat requested changes to D11638: Persist SIWE backup secrets to SQLite after succesfull registration process.
Apr 15 2024, 10:10 AM
ashoat requested changes to D11636: Implement screen to create backup mesage and its signature.
Apr 15 2024, 9:55 AM
ashoat added a comment to D11636: Implement screen to create backup mesage and its signature.

Screen with backup secrets generation screen before clicking Secure with Ethereum Wallet

Apr 15 2024, 9:55 AM
ashoat added a comment to D11643: [web] Show a popup when client_version_unsupported.
In D11643#335050, @inka wrote:

Requesting review because now:

  1. We can still see this modal more than once - for other keyservers. Is this that we want??
  2. For the auth keyserver, the user is logged out. If they dismiss the modal, but ignore it and log in, they will be logged out and will NOT see the modal again. Is this ok or should I make logging in reset this state?
Apr 15 2024, 9:50 AM
ashoat closed D11663: [native] Stop using ReanimatedJSIModulePackage on Android.
Apr 15 2024, 9:43 AM
ashoat committed rCOMM13b3ce70a796: [native] Stop using ReanimatedJSIModulePackage on Android (authored by ashoat).
[native] Stop using ReanimatedJSIModulePackage on Android
Apr 15 2024, 9:43 AM
ashoat closed D11656: [lib] Use useDerivedObject to reduce renders due to preRequestUserState.
Apr 15 2024, 9:40 AM
ashoat committed rCOMM7afb2d14a6a8: [lib] Use useDerivedObject to reduce renders due to preRequestUserState (authored by ashoat).
[lib] Use useDerivedObject to reduce renders due to preRequestUserState
Apr 15 2024, 9:40 AM
ashoat closed D11654: [lib] Don't clear authoritative keyserver cookie during identity auth.
Apr 15 2024, 9:40 AM
ashoat closed D11655: [lib] Introduce usePreRequestUserState.
Apr 15 2024, 9:40 AM
ashoat committed rCOMMfaa663cd9927: [lib] Introduce usePreRequestUserState (authored by ashoat).
[lib] Introduce usePreRequestUserState
Apr 15 2024, 9:40 AM
ashoat committed rCOMM7fe96ea72b76: [lib] Don't clear authoritative keyserver cookie during identity auth (authored by ashoat).
[lib] Don't clear authoritative keyserver cookie during identity auth
Apr 15 2024, 9:40 AM
ashoat added a comment to D11395: [lib][native] Only reduce CSAT on setAccessTokenActionType.

Discussed this in a meeting with @inka and @tomek. We identified the following next steps, now that @tomek's work has been landed:

Apr 15 2024, 8:27 AM
ashoat accepted D11643: [web] Show a popup when client_version_unsupported.

Accepting, but I have some change requests inline. If anything is unclear, please re-request review :)

Apr 15 2024, 7:02 AM
ashoat added inline comments to D11636: Implement screen to create backup mesage and its signature.
Apr 15 2024, 6:57 AM
ashoat closed D11664: [native] Remove socialProof from outbound keyserver keys blobs.
Apr 15 2024, 6:45 AM
ashoat committed rCOMM02d8d4de3f42: [native] Remove socialProof from outbound keyserver keys blobs (authored by ashoat).
[native] Remove socialProof from outbound keyserver keys blobs
Apr 15 2024, 6:45 AM
ashoat requested review of D11664: [native] Remove socialProof from outbound keyserver keys blobs.
Apr 15 2024, 6:28 AM
ashoat added a comment to D11141: [IGNORE] Client hacks for testing multiple keyservers.

Ping for the above comments!

Apr 15 2024, 6:14 AM
ashoat updated the diff for D11654: [lib] Don't clear authoritative keyserver cookie during identity auth.

Always clear the cookie if it's a user cookie

Apr 15 2024, 5:37 AM
ashoat added a comment to D11654: [lib] Don't clear authoritative keyserver cookie during identity auth.

It is also weird to me that we try to auth with the keyserver before identity login success.

Apr 15 2024, 5:22 AM
ashoat requested review of D11663: [native] Stop using ReanimatedJSIModulePackage on Android.
Apr 15 2024, 5:21 AM
ashoat added a comment to D11661: Handle key permanently invalidated error to fix Android app crash.

Note that testing here was flawed and this definitely did not address ENG-7696. That said, I don't think it was a bad idea to land this.

Apr 15 2024, 5:14 AM
ashoat closed D11660: [native] Recreate CommMMKV keys if they can't be loaded.
Apr 15 2024, 5:12 AM
ashoat committed rCOMM4cb7c1c15b0c: [native] Recreate CommMMKV keys if they can't be loaded (authored by ashoat).
[native] Recreate CommMMKV keys if they can't be loaded
Apr 15 2024, 5:12 AM
ashoat closed D11659: [native][android] Move database and MMKV initialization to CommCoreJSIModulePackage.
Apr 15 2024, 5:12 AM
ashoat committed rCOMMc7ea09fab8ba: [native][android] Move database and MMKV initialization to… (authored by ashoat).
[native][android] Move database and MMKV initialization to…
Apr 15 2024, 5:12 AM
ashoat updated the diff for D11660: [native] Recreate CommMMKV keys if they can't be loaded.

Add a log

Apr 15 2024, 4:40 AM
ashoat retitled D11659: [native][android] Move database and MMKV initialization to CommCoreJSIModulePackage from [native][android] Move database and MMKV initialization to CommHybrid to [native][android] Move database and MMKV initialization to CommCoreJSIModulePackage.
Apr 15 2024, 4:40 AM
ashoat updated the diff for D11659: [native][android] Move database and MMKV initialization to CommCoreJSIModulePackage.

Move to CommCoreJSIModulePackage

Apr 15 2024, 4:39 AM
ashoat added a comment to D11659: [native][android] Move database and MMKV initialization to CommCoreJSIModulePackage.

Maybe we can call it from getJSIModules? We're calling CommSecureStore.getInstance().initialize(secureStoreModuleSupplier); there and it is somehow connected.

Apr 15 2024, 4:24 AM
ashoat added a comment to D11659: [native][android] Move database and MMKV initialization to CommCoreJSIModulePackage.

Why moving this code to CommHybrid fixes the issue?

Apr 15 2024, 3:14 AM
ashoat updated the test plan for D11659: [native][android] Move database and MMKV initialization to CommCoreJSIModulePackage.
Apr 15 2024, 3:13 AM

Apr 14 2024

ashoat accepted D11661: Handle key permanently invalidated error to fix Android app crash.
Apr 14 2024, 10:54 AM

Apr 13 2024

ashoat requested review of D11660: [native] Recreate CommMMKV keys if they can't be loaded.
Apr 13 2024, 5:14 PM
ashoat requested review of D11659: [native][android] Move database and MMKV initialization to CommCoreJSIModulePackage.
Apr 13 2024, 5:13 PM

Apr 12 2024

ashoat requested review of D11656: [lib] Use useDerivedObject to reduce renders due to preRequestUserState.
Apr 12 2024, 2:33 PM
ashoat requested review of D11654: [lib] Don't clear authoritative keyserver cookie during identity auth.
Apr 12 2024, 2:30 PM
ashoat requested review of D11655: [lib] Introduce usePreRequestUserState.
Apr 12 2024, 2:30 PM
ashoat added inline comments to D11644: Extract shareable logic from CreateSIWEBackupMessage component.
Apr 12 2024, 8:53 AM
ashoat added a comment to D11645: Force already logged in ETH users to create and sign backup message.

Can you share a screenshot of what this looks like?

Apr 12 2024, 8:52 AM
ashoat requested changes to D11638: Persist SIWE backup secrets to SQLite after succesfull registration process.

Just a question

Apr 12 2024, 8:50 AM
ashoat added inline comments to D11551: [protos] Replace challengeResponse with nonce and signature pair.
Apr 12 2024, 8:42 AM
ashoat requested changes to D11643: [web] Show a popup when client_version_unsupported.
Apr 12 2024, 8:21 AM
ashoat added inline comments to D11636: Implement screen to create backup mesage and its signature.
Apr 12 2024, 8:14 AM
ashoat added a comment to D11635: Handle backup message type with different user texts in siwe.reac.js.

Would be good to include screenshots of what the various screens look like from mobile. (You can omit the original screen if it's unchanged.)

Apr 12 2024, 8:13 AM
ashoat added a comment to D11634: Introduce user texts for siwe backup message creation.

Seeing now that @marcin added me for approval:

Apr 12 2024, 8:05 AM
ashoat added inline comments to D11634: Introduce user texts for siwe backup message creation.
Apr 12 2024, 8:02 AM
ashoat accepted D11631: [lib] Stop attempting recovery when client version unsupported.

I can review this one, since I wrote the original code that dispatches setActiveSessionRecoveryActionType

Apr 12 2024, 7:56 AM
ashoat added inline comments to D11583: [web] update `WorkerCryptoStore` to handle session version.
Apr 12 2024, 6:36 AM

Apr 11 2024

ashoat accepted D11630: [lib/native] Delete FIDProvider.
Apr 11 2024, 1:02 PM
ashoat requested changes to D11629: [native][lib] Replace usages of FIDProvider with Synced Metadata Store.

Would also be good for somebody with more familiarity with the rest of the stack to review the dispatch logic, but it generally looks good to me. Just a request to get rid of a createSelector

Apr 11 2024, 1:02 PM
ashoat added inline comments to D11613: [lib/native] introduce connect farcaster alert handler.
Apr 11 2024, 12:49 PM
ashoat added a comment to D11622: [lib] Make `lastPruned` and `lastNavigatedTo` type optional for thread activity entry.

It's not possible for ThreadActivityStoreEntry to be an empty object?

Apr 11 2024, 12:44 PM
ashoat accepted D11625: [native] call setCommServicesAuthMetadata on wallet registration.
Apr 11 2024, 9:24 AM
ashoat accepted D11626: [lib] have landing send `fid` as a string and not a number.
Apr 11 2024, 4:10 AM

Apr 10 2024

ashoat added inline comments to D11141: [IGNORE] Client hacks for testing multiple keyservers.
Apr 10 2024, 11:48 AM
ashoat accepted D11623: [native] remove unnecessary include.
Apr 10 2024, 11:41 AM
ashoat added inline comments to D11598: [native] handle successful connection from connect farcaster bottom sheet.
Apr 10 2024, 10:17 AM
ashoat added inline comments to D11597: [native] flip farcaster prompt based on fid prop instead of context.
Apr 10 2024, 9:59 AM
ashoat added inline comments to D11606: [lib] Update `FarcasterDataHandler` to construct `FarcasterRelationshipRequest` with `userIDsToFID`.
Apr 10 2024, 8:47 AM
ashoat added a comment to D11577: [SQLite] add version column to session table & rename to `target_device`.

We should implement it for notifs while working on DMs - now there is no need to I guess.

Apr 10 2024, 8:40 AM
ashoat added a comment to D11141: [IGNORE] Client hacks for testing multiple keyservers.

Love to see more hacks getting removed here!

Apr 10 2024, 8:37 AM
ashoat added inline comments to D11613: [lib/native] introduce connect farcaster alert handler.
Apr 10 2024, 8:34 AM
ashoat added inline comments to D11598: [native] handle successful connection from connect farcaster bottom sheet.
Apr 10 2024, 8:32 AM
ashoat added a comment to D11484: [native] update FarcasterPrompt based on if the fid is set or not.

This diff actually did end up affecting the registration flow. It introduced a very slight regression due to @ginsu's removal of the question mark. @ginsu, can you reply here either with a diff that fixes it, or a task?

Apr 10 2024, 8:31 AM
ashoat added inline comments to D11597: [native] flip farcaster prompt based on fid prop instead of context.
Apr 10 2024, 8:27 AM
ashoat accepted D11573: [native] Clear auth metadata on logout.

For some reason setCommServicesAuthMetadata creates a job that is run on GlobalDBSingleton::instance

Apr 10 2024, 8:05 AM
ashoat added inline comments to D11595: [web/native] make `overwrite` param for inbound session mandatory and unify web & native.
Apr 10 2024, 7:53 AM
ashoat added inline comments to D11594: [lib] errors utils to distinguish between session creation issues.
Apr 10 2024, 7:53 AM
ashoat added inline comments to D11594: [lib] errors utils to distinguish between session creation issues.
Apr 10 2024, 7:51 AM
ashoat added a comment to D11620: [GH Actions] Fix mobile release actions.

Appears to have worked

Apr 10 2024, 6:16 AM
ashoat added a reverting change for rCOMMc457af90dabe: [native] Temporary changes for staff release: rCOMMb236cf146d48: Revert "[native] Temporary changes for staff release".
Apr 10 2024, 5:59 AM
ashoat committed rCOMMb236cf146d48: Revert "[native] Temporary changes for staff release" (authored by ashoat).
Revert "[native] Temporary changes for staff release"
Apr 10 2024, 5:59 AM
ashoat committed rCOMMc457af90dabe: [native] Temporary changes for staff release (authored by ashoat).
[native] Temporary changes for staff release
Apr 10 2024, 5:59 AM
ashoat committed rCOMM4323632d58c5: [native] codeVersion -> 334 (authored by ashoat).
[native] codeVersion -> 334
Apr 10 2024, 5:59 AM
ashoat committed rCOMMe950c8f67ebf: [native] codeVersion -> 333 (authored by ashoat).
[native] codeVersion -> 333
Apr 10 2024, 5:59 AM
ashoat closed D11620: [GH Actions] Fix mobile release actions.
Apr 10 2024, 5:59 AM
ashoat committed rCOMM9dd104d332c4: [GH Actions] Fix mobile release actions (authored by ashoat).
[GH Actions] Fix mobile release actions
Apr 10 2024, 5:59 AM
ashoat added a reverting change for rCOMM223d2b478cec: [native] Temporary changes for staff release: rCOMMffe31cb77bf2: Revert "[native] Temporary changes for staff release".
Apr 10 2024, 5:42 AM
ashoat committed rCOMMffe31cb77bf2: Revert "[native] Temporary changes for staff release" (authored by ashoat).
Revert "[native] Temporary changes for staff release"
Apr 10 2024, 5:42 AM
ashoat committed rCOMM37294f51eb28: [native] codeVersion -> 332 (authored by ashoat).
[native] codeVersion -> 332
Apr 10 2024, 5:42 AM