Page MenuHomePhorge
Feed Search

Nov 19 2023

ashoat retitled D9695: [Flow202][lib][skip-ci] [3/23] Fix Flow issues with types being underconstrained from [Flow202][lib] [3/23] Fix Flow issues with types being underconstrained
Nov 19 2023, 7:45 PM
ashoat retitled D9694: [Flow202][lib][skip-ci] [2/23] Fix Flow issues with useDispatch / useSelector being underconstrained from [Flow202][lib] [2/23] Fix Flow issues with useDispatch / useSelector being underconstrained
Nov 19 2023, 7:45 PM
ashoat retitled D9693: [Flow202][lib][skip-ci] [1/23] Fix Flow issues with React hooks being underconstrained from [Flow202][lib] [1/23] Fix Flow issues with React hooks being underconstrained
Nov 19 2023, 7:44 PM
ashoat retitled D9692: [Flow202][lib][skip-ci] [0/23] Fix Flow issues relating to unsealed objects from [Flow202][lib] [0/23] Fix Flow issues relating to unsealed objects
Nov 19 2023, 7:44 PM
ashoat retitled D9718: [Flow202][electron-update-server][skip-ci] [3/3] Fix Flow issues in electron-update-server from [Flow202][electron-update-server] [3/3] Fix Flow issues in electron-update-server
Nov 19 2023, 7:43 PM
ashoat retitled D9717: [Flow202][electron-update-server][skip-ci] [2/3] Use the same flow-typed libdef for express throughout our codebase from [Flow202][electron-update-server] [2/3] Use the same flow-typed libdef for express throughout our codebase
Nov 19 2023, 7:43 PM
ashoat retitled D9716: [Flow202][electron-update-server][skip-ci] [1/3] Make sure we don't run Prettier on flow-typed folders from [Flow202][electron-update-server] [1/3] Make sure we don't run Prettier on flow-typed folders
Nov 19 2023, 7:42 PM
ashoat retitled D9691: [RN72][skip-ci] Update Flow to 0.202.1 from [RN72] Update Flow to 0.202.1
Nov 19 2023, 7:41 PM
ashoat retitled D9690: [RN72][skip-ci] Update React Native and React package versions from [RN72] Update React Native and React package versions
Nov 19 2023, 7:41 PM
ashoat accepted D9927: [lib] Update all-but-one instance of `RelativeMemberInfo` with `RelativeMemberInfo|MinimallyEncodedRelativeMemberInfo`.
Nov 19 2023, 7:33 PM
ashoat requested changes to D9814: [native] VersionSupportedChecker component.

One last round here, this looks almost ready

Nov 19 2023, 7:31 PM
ashoat requested changes to D9924: [lib] Use configurableCommunityPermissions in getRolePermissionBlobsForCommunityRoot.
Nov 19 2023, 7:05 PM
ashoat accepted D9827: [keyserver/lib/native] Introduce VOICED_IN_ANNOUNCEMENT_CHANNELS thread permission.

Would be great if @atul could take a look as well. If we're not propagating VOICED_IN_ANNOUNCEMENT_CHANNELS I guess this is okay, but in that case I might need a reminder on how we're applying it in subchannels

Nov 19 2023, 6:49 PM
ashoat added inline comments to D9833: [keyserver] Change updateRoles to support Voiced role.
Nov 19 2023, 6:41 PM
ashoat requested changes to D9833: [keyserver] Change updateRoles to support Voiced role.

This is close, but one last round here

Nov 19 2023, 6:41 PM

Nov 17 2023

ashoat added inline comments to D9897: [lib] Introduce getUniversalCommunityRootPermissionsBlob.
Nov 17 2023, 10:34 PM
ashoat added a comment to D9897: [lib] Introduce getUniversalCommunityRootPermissionsBlob.
  1. The WHOLE point of this diff is to unify the existing role logic with your new logic. You need to make getRolePermissionBlobs work based off of:
    • A new, modified version of universalCommunityPermissions that differentiates based on ThreadType
    • configurableCommunityPermissions
  2. This diff needs to actually change the code in getRolePermissionBlobs. It is not enough to introduce some new utility. If you want to skip this diff into multiple, please do not request review until all of the diffs are ready.
  3. This diff should be a no-op. There should be no changes to the result of getRolePermissionBlobs. It should simply be updated to function based on your new logic.
Nov 17 2023, 8:59 PM
ashoat requested changes to D9897: [lib] Introduce getUniversalCommunityRootPermissionsBlob.

Please do NOT update this diff again until you schedule a 1:1 call with me

Nov 17 2023, 8:52 PM
ashoat added a comment to D9661: Decrypt encrypted web notifications in service worker.

To be frank I was confused before and I'm more confused now.

Nov 17 2023, 8:42 PM
ashoat requested changes to D9883: [lib] Define a function that detects when an ENS name is typed.

Worried that the RegExp is invalidating some legitimate ENS names. Please try to read the spec and figure out what counts as a legitimate ENS name. Would be good to introduce some test cases to cover those

Nov 17 2023, 8:27 PM

Nov 16 2023

ashoat accepted D9917: [web] Pull out `filterOut[Parent/Other]MembersWithENSNames` to remove branching.
Nov 16 2023, 9:20 PM
ashoat added a comment to D9883: [lib] Define a function that detects when an ENS name is typed.

The package doesn't export it and the API docs don't mention it, so I'm thinking we cannot access it.

Nov 16 2023, 9:18 PM
ashoat added a comment to D9883: [lib] Define a function that detects when an ENS name is typed.

Both of these use an unexposed method validateLabel to process the labels:

Nov 16 2023, 8:59 PM
ashoat added a comment to D9661: Decrypt encrypted web notifications in service worker.

I'm confused by the description above.

Nov 16 2023, 6:56 PM
ashoat added a comment to D9535: Initialize olm sessions for notifications on web and keyserver via socket requests.

This seems like a significant change. @marcin, should you consider re-requesting review?

Nov 16 2023, 6:21 PM
ashoat added a comment to D9661: Decrypt encrypted web notifications in service worker.

This seems like a significant change. @marcin, should you consider re-requesting review?

Nov 16 2023, 6:20 PM
ashoat accepted D9900: [keyserver] Validate community ID corresponds to a community root in role-creator.
Nov 16 2023, 6:01 PM
ashoat added a reviewer for D9912: [native] migrate users to SQLite: atul.

Adding @atul here because he has the most context on SQLite redux-persist migrations

Nov 16 2023, 5:57 PM
ashoat added a comment to D9882: [lib] Calculate currentAsOf for every keyserver in mergeNewMessages.

Thanks for explaining!

Nov 16 2023, 5:56 PM
ashoat added inline comments to D9915: [lib] Refactor baseReducer.
Nov 16 2023, 5:54 PM
ashoat added inline comments to D9909: [SQLite] add functions to convert user data and tests to user store methods.
Nov 16 2023, 5:52 PM
ashoat added a comment to D9882: [lib] Calculate currentAsOf for every keyserver in mergeNewMessages.

and as far as I understand for now we are just leaving all data related to a keyserver when we leave it. @ginsu is that right?

Nov 16 2023, 2:01 PM
ashoat added inline comments to D9815: [lib] Inline reduceConnectionInfo pt.2.
Nov 16 2023, 1:49 PM
ashoat added inline comments to D9816: [lib] Inline reduceDeviceToken.
Nov 16 2023, 1:48 PM
ashoat added a comment to D9905: [web] introduce keyserver pill component.

Can you share a screenshot of the UI that was changed? Not just the pill, but the pill in the context of where it's used

Nov 16 2023, 1:47 PM
ashoat accepted D9907: [flow] Update `useResolvedThreadInfo` and fix subsequent `flow` issues.

This was a massive diff. I really would've appreciated it if you had broken it down further like I requested yesterday. When you have a diff that is so huge, it's your responsibility as the diff author to make sure each line is basically identical and trivial. I would strongly prefer that next time, you break down ANYTHING that isn't "identical and trivial" into a separate, freestanding diff. Accepting this to unblock but please internalize this feedback – I will request changes next time

Nov 16 2023, 1:46 PM

Nov 15 2023

ashoat added a comment to D9897: [lib] Introduce getUniversalCommunityRootPermissionsBlob.

You say you're matching master, but it seems to me that you're changing the behavior of getRolePermissionBlobsForCommunity in this diff.

Nov 15 2023, 9:17 PM
ashoat added inline comments to D9900: [keyserver] Validate community ID corresponds to a community root in role-creator.
Nov 15 2023, 8:45 PM
ashoat accepted D9899: [keyserver] Use getUniversalCommunityRootPermissionsBlob in role-creator.
Nov 15 2023, 8:43 PM
ashoat accepted D9898: [keyserver] Use getUniversalCommunityRootPermissionsBlob in validate-role-permissions script.
Nov 15 2023, 8:42 PM
ashoat requested changes to D9897: [lib] Introduce getUniversalCommunityRootPermissionsBlob.

Am I missing something? Seems like a lot of issues here. I didn't get through the whole review (it's pretty time-consuming to trace each individual permission through these function calls) but it seems pretty clear that at least some of it is wrong. Hoping you can fix it up before I do a full review so I can save some time.

Nov 15 2023, 8:41 PM
ashoat accepted D9896: [lib] Introduce `MinimallyEncodedResolvedThreadInfo` and start refactoring.

I think there's a mistake here – see my inline comment. Please make sure to remove that change before landing (or if there's some good reason for it, can you re-request review)?

Nov 15 2023, 8:34 PM
ashoat accepted D9895: [native] Update misc parts of `native` to support `MinimallyEncodedThreadInfo`.
Nov 15 2023, 8:30 PM
ashoat added a comment to D9885: [lib] Detect a valid ENS name in search experiences.

Love the detailed test plan and all the videos!

Nov 15 2023, 8:29 PM
ashoat updated the diff for D9874: [Flow202][keyserver][skip-ci] [25/x] Fix type error in push notif fetchInfos.

Rebase

Nov 15 2023, 8:26 PM
ashoat updated the diff for D9863: [Flow202][keyserver][skip-ci] [14/x] Address type errors with report-responders.js.

Rebase after addressing users-state-sync-spec.js changes in earlier diffs in the stack (where it's relevant)

Nov 15 2023, 8:26 PM
ashoat updated the diff for D9706: [Flow202][lib][skip-ci] [14/23] Fix Flow issues with types of variables that get mutated.

Lint fixes for last rebase

Nov 15 2023, 8:25 PM
ashoat updated the diff for D9709: [Flow202][lib][skip-ci] [17/23] Fix Flow issues in lib/shared/state-sync.

Rebase

Nov 15 2023, 8:20 PM
ashoat updated the diff for D9706: [Flow202][lib][skip-ci] [14/23] Fix Flow issues with types of variables that get mutated.

Rebase

Nov 15 2023, 8:20 PM
ashoat added inline comments to D9863: [Flow202][keyserver][skip-ci] [14/x] Address type errors with report-responders.js.
Nov 15 2023, 8:18 PM
ashoat added inline comments to D9863: [Flow202][keyserver][skip-ci] [14/x] Address type errors with report-responders.js.
Nov 15 2023, 8:17 PM
ashoat accepted D9894: [web] Update misc parts of `web` to support `MinimallyEncodedThreadInfo`.
Nov 15 2023, 4:09 PM
ashoat requested changes to D9883: [lib] Define a function that detects when an ENS name is typed.

Have you checked the spec?

Nov 15 2023, 4:04 PM
ashoat added inline comments to D9863: [Flow202][keyserver][skip-ci] [14/x] Address type errors with report-responders.js.
Nov 15 2023, 2:54 PM
ashoat added inline comments to D9863: [Flow202][keyserver][skip-ci] [14/x] Address type errors with report-responders.js.
Nov 15 2023, 2:53 PM
ashoat updated the diff for D9874: [Flow202][keyserver][skip-ci] [25/x] Fix type error in push notif fetchInfos.

Rebase

Nov 15 2023, 2:50 PM
ashoat updated the diff for D9863: [Flow202][keyserver][skip-ci] [14/x] Address type errors with report-responders.js.

Rebase and address @kamil's feedback

Nov 15 2023, 2:49 PM
ashoat updated the diff for D9853: [Flow202][keyserver][skip-ci] [5/x] Address type errors in keyserver/src/push/utils.js.

Address @michal's feedback to avoid excessive runtime checks

Nov 15 2023, 2:48 PM
ashoat updated the diff for D9704: [Flow202][lib][skip-ci] [12/23] Fix Flow issues with search-utils.js.

Rebase

Nov 15 2023, 2:47 PM
ashoat updated the diff for D9697: [Flow202][lib][skip-ci] [5/23] Fix Flow issues with missing annotations on parameters in function declarations.

Rebase

Nov 15 2023, 2:47 PM
ashoat updated the diff for D9695: [Flow202][lib][skip-ci] [3/23] Fix Flow issues with types being underconstrained.

Rebase

Nov 15 2023, 2:47 PM
ashoat added inline comments to D9853: [Flow202][keyserver][skip-ci] [5/x] Address type errors in keyserver/src/push/utils.js.
Nov 15 2023, 2:43 PM
ashoat accepted D9890: [lib] Update misc parts of `lib` to support `MinimallyEncodedThreadInfo`.
Nov 15 2023, 12:54 PM
ashoat accepted D9893: [Flow] improve report related types.

Seems reasonable to me. I haven't audited all places on the client where reports are constructed – hoping you went through all of those cases carefully

Nov 15 2023, 12:49 PM
ashoat accepted D9889: [lib] Update `checkIfDefaultMembersAreVoiced` to handle `MinimallyEncodedThreadInfo`.
Nov 15 2023, 1:13 AM

Nov 14 2023

ashoat accepted D9886: [native] fix iOS build on x86_64.
Nov 14 2023, 11:44 PM
ashoat added inline comments to D9833: [keyserver] Change updateRoles to support Voiced role.
Nov 14 2023, 7:18 PM
ashoat updated the diff for D9874: [Flow202][keyserver][skip-ci] [25/x] Fix type error in push notif fetchInfos.

Rebase

Nov 14 2023, 6:20 PM
ashoat updated the diff for D9866: [Flow202][keyserver][skip-ci] [17/x] Fix type parameterization of accountUpdateInputValidator.

@michal's suggestion

Nov 14 2023, 6:20 PM
ashoat added a reviewer for D9857: [Flow202][keyserver][skip-ci] [8/x] Address type errors in createPersonalThreads calling createThread: kamil.
Nov 14 2023, 6:15 PM
ashoat added inline comments to D9833: [keyserver] Change updateRoles to support Voiced role.
Nov 14 2023, 6:01 PM
ashoat added inline comments to D9873: [Flow202][keyserver][skip-ci] [24/x] Address missing-local-annot type errors.
Nov 14 2023, 6:00 PM
ashoat added inline comments to D9833: [keyserver] Change updateRoles to support Voiced role.
Nov 14 2023, 5:53 PM
ashoat added a comment to D9882: [lib] Calculate currentAsOf for every keyserver in mergeNewMessages.

This may be the wrong diff to ask this question on, but I'm wondering – how will the MessageStore (and other stores such as ThreadStore) be affected when a keyserver is dropped from the KeyserverStore?

Nov 14 2023, 5:44 PM
ashoat added inline comments to D9827: [keyserver/lib/native] Introduce VOICED_IN_ANNOUNCEMENT_CHANNELS thread permission.
Nov 14 2023, 5:42 PM
ashoat updated the diff for D9874: [Flow202][keyserver][skip-ci] [25/x] Fix type error in push notif fetchInfos.

Rebase

Nov 14 2023, 3:03 PM
ashoat resigned from D9828: [native] introduce temp onPressDisconnectKeyserver callback.

Thanks @inka! In general I agree, but I think this copy won't be surfaced to users (right @ginsu?) so it's probably not that important. Correct me if I'm wrong though!

Nov 14 2023, 2:27 PM
ashoat updated the diff for D9858: [Flow202][keyserver][skip-ci] [9/x] Fix Flow issues with types of variables that get mutated.

Rebase

Nov 14 2023, 2:25 PM
ashoat accepted D9848: [lib] Update `threadUIName` to handle `MinimallyEncodedThreadInfo`.
Nov 14 2023, 2:24 PM
ashoat added a comment to D9848: [lib] Update `threadUIName` to handle `MinimallyEncodedThreadInfo`.

Please add types before landing

Nov 14 2023, 2:23 PM
ashoat updated the diff for D9874: [Flow202][keyserver][skip-ci] [25/x] Fix type error in push notif fetchInfos.

Rebase

Nov 14 2023, 2:20 PM
ashoat requested review of D9874: [Flow202][keyserver][skip-ci] [25/x] Fix type error in push notif fetchInfos.
Nov 14 2023, 2:20 PM
ashoat requested review of D9873: [Flow202][keyserver][skip-ci] [24/x] Address missing-local-annot type errors.
Nov 14 2023, 2:20 PM
ashoat requested review of D9872: [Flow202][keyserver][skip-ci] [23/x] Address type errors in addSessionChangeInfoToResult.
Nov 14 2023, 2:19 PM
ashoat requested review of D9871: [Flow202][keyserver][skip-ci] [22/x] Address type errors with getWNSToken.
Nov 14 2023, 2:19 PM
ashoat requested review of D9870: [Flow202][keyserver][skip-ci] [21/x] Make Date subtraction explicit.
Nov 14 2023, 2:19 PM
ashoat requested review of D9869: [Flow202][keyserver][skip-ci] [20/x] Add any-casts for invalid validator tests.
Nov 14 2023, 2:19 PM
ashoat requested review of D9868: [Flow202][keyserver][skip-ci] [19/x] Fix Flow issues with collection lookup that doesn't match type.
Nov 14 2023, 2:18 PM
ashoat requested review of D9867: [Flow202][keyserver][skip-ci] [18/x] Fix Flow issues with baseGetENSNames.bind.
Nov 14 2023, 2:18 PM
ashoat requested review of D9866: [Flow202][keyserver][skip-ci] [17/x] Fix type parameterization of accountUpdateInputValidator.
Nov 14 2023, 2:18 PM
ashoat requested review of D9865: [Flow202][keyserver][skip-ci] [16/x] Address type errors in message-fetchers.js.
Nov 14 2023, 2:18 PM
ashoat requested review of D9864: [Flow202][keyserver][skip-ci] [15/x] Fix Flow issues with types being underconstrained.
Nov 14 2023, 2:18 PM
ashoat requested review of D9863: [Flow202][keyserver][skip-ci] [14/x] Address type errors with report-responders.js.
Nov 14 2023, 2:17 PM
ashoat requested review of D9862: [Flow202][keyserver][skip-ci] [13/x] Address type errors with cookie-parser libdef.
Nov 14 2023, 2:17 PM
ashoat requested review of D9861: [Flow202][keyserver][skip-ci] [12/x] Address type errors with getInitialReduxStateResponder.
Nov 14 2023, 2:16 PM
ashoat requested review of D9860: [Flow202][keyserver][skip-ci] [11/x] Address type errors with memberOfContainingThread.
Nov 14 2023, 2:16 PM
ashoat requested review of D9859: [Flow202][keyserver][skip-ci] [10/x] Address type errors with promiseAll / Promise.all.
Nov 14 2023, 2:16 PM
ashoat requested review of D9858: [Flow202][keyserver][skip-ci] [9/x] Fix Flow issues with types of variables that get mutated.
Nov 14 2023, 2:16 PM
ashoat requested review of D9857: [Flow202][keyserver][skip-ci] [8/x] Address type errors in createPersonalThreads calling createThread.
Nov 14 2023, 2:15 PM
ashoat requested review of D9855: [Flow202][keyserver][skip-ci] [7/x] Address and hide type errors with state sync specs.
Nov 14 2023, 2:15 PM