Page MenuHomePhorge
Feed Search

Oct 24 2023

atul accepted D9580: [web] introduce AppThemeWrapper.

Looks good, small question inline about defaulting to light

Oct 24 2023, 10:20 PM
atul updated the diff for D9549: [lib] Introduce basic `permissionsToBitmask` and `hasPermission`.

fixed flow issues (ran yarn flow-all twice to be sure)

Oct 24 2023, 10:15 PM
atul updated the diff for D9549: [lib] Introduce basic `permissionsToBitmask` and `hasPermission`.

reopen before fixing

Oct 24 2023, 10:07 PM
atul reopened D9549: [lib] Introduce basic `permissionsToBitmask` and `hasPermission`.

Apologies, landed this with flow issues that blocked CI for others (Eg @ginsu)

Oct 24 2023, 10:05 PM
atul added a reverting change for D9549: [lib] Introduce basic `permissionsToBitmask` and `hasPermission`: rCOMMab6b2a27f29b: Revert "[lib] Introduce basic `permissionsToBitmask` and `hasPermission`".
Oct 24 2023, 10:04 PM
atul added a reverting change for rCOMMc307122b3a40: [lib] Introduce basic `permissionsToBitmask` and `hasPermission`: rCOMMab6b2a27f29b: Revert "[lib] Introduce basic `permissionsToBitmask` and `hasPermission`".
Oct 24 2023, 10:04 PM
atul committed rCOMMab6b2a27f29b: Revert "[lib] Introduce basic `permissionsToBitmask` and `hasPermission`".
Oct 24 2023, 10:04 PM
atul closed D9569: [Buildkite] Add automatic retries to `CommTest` workflow.
Oct 24 2023, 9:52 PM
atul committed rCOMM7b83cf87f8e6: [Buildkite] Add automatic retries to `CommTest` workflow.
Oct 24 2023, 9:52 PM
atul updated the diff for D9569: [Buildkite] Add automatic retries to `CommTest` workflow.

rebase and land

Oct 24 2023, 9:52 PM
atul closed D9549: [lib] Introduce basic `permissionsToBitmask` and `hasPermission`.
Oct 24 2023, 8:59 PM
atul committed rCOMMc307122b3a40: [lib] Introduce basic `permissionsToBitmask` and `hasPermission`.
Oct 24 2023, 8:59 PM
atul updated the diff for D9549: [lib] Introduce basic `permissionsToBitmask` and `hasPermission`.

rebase and land

Oct 24 2023, 7:11 PM
atul updated the diff for D9549: [lib] Introduce basic `permissionsToBitmask` and `hasPermission`.

rip out membership permission

Oct 24 2023, 6:03 PM
atul added a comment to D9549: [lib] Introduce basic `permissionsToBitmask` and `hasPermission`.

You can remove it from threadPermissions as well

Oct 24 2023, 5:57 PM
atul requested review of D9549: [lib] Introduce basic `permissionsToBitmask` and `hasPermission`.
Oct 24 2023, 5:55 PM
atul added a comment to D9549: [lib] Introduce basic `permissionsToBitmask` and `hasPermission`.

Actually, running into the following when I remove that field

Oct 24 2023, 5:53 PM
atul added a comment to D9549: [lib] Introduce basic `permissionsToBitmask` and `hasPermission`.

Here's a Linear issue: https://linear.app/comm/issue/ENG-5431/revert-bigint-related-fixmes

Oct 24 2023, 5:48 PM
atul attached a referenced file: F835202: 1f63c7.png.
Oct 24 2023, 5:45 PM
atul added inline comments to D9549: [lib] Introduce basic `permissionsToBitmask` and `hasPermission`.
Oct 24 2023, 5:45 PM
atul added a comment to D9549: [lib] Introduce basic `permissionsToBitmask` and `hasPermission`.

Can you figure out which version of React Native brings in that version of Flow? If you need pointers on that let me know. We'll need a Linear task either way, but hopefully we can make it a follow-up for the current upgrade task

Oct 24 2023, 5:39 PM
atul added inline comments to D9549: [lib] Introduce basic `permissionsToBitmask` and `hasPermission`.
Oct 24 2023, 5:20 PM
atul added a comment to D9549: [lib] Introduce basic `permissionsToBitmask` and `hasPermission`.

So BigInt works on keyserver/web/native (there was a known issue with pow on native, but we're not using that), but flow support only shows up in 0.194.0.

Oct 24 2023, 5:19 PM
atul updated the diff for D9549: [lib] Introduce basic `permissionsToBitmask` and `hasPermission`.

Use BigInt instead of number.

Oct 24 2023, 5:15 PM
atul updated the diff for D9569: [Buildkite] Add automatic retries to `CommTest` workflow.

retry

Oct 24 2023, 4:14 PM
atul published D9569: [Buildkite] Add automatic retries to `CommTest` workflow for review.
Oct 24 2023, 3:22 PM

Oct 23 2023

atul accepted D9568: [nix] Fix glog Pod build on Nix with Xcode 15.
Oct 23 2023, 9:24 PM
atul added a comment to rCOMM5ddc92900713: Revert "[web] Create new chat button creates chat in GENESIS community only".

build was failing commtest

Oct 23 2023, 6:54 PM
atul accepted D9534: Extract shareable notifications session creation logic to lib.

Realize this is mostly a refactoring diff, but wonder if we should add some error handling or at least logging to useInitialNotificationsEncryptedMessage? Maybe as a follow-up or something

Oct 23 2023, 5:04 PM
atul accepted D9533: Enforce getSignedIdentityKeysBlob in socket selectors.
Oct 23 2023, 4:32 PM

Oct 22 2023

atul accepted D9564: [keyserver] Update existing cookie password hashes to sha256.
Oct 22 2023, 11:01 PM
atul accepted D9563: [keyserver] Add cookieHash to Viewer object.
Oct 22 2023, 11:00 PM

Oct 20 2023

atul accepted D9544: [web/native] Prevent text/multimedia from being pinned if they begin a sidebar.
Oct 20 2023, 7:10 PM
atul accepted D9543: [keyserver/lib] Restrict the derivedMessages parameter from being passed to rawMessageInfoFromServerDBRow.
Oct 20 2023, 7:07 PM
atul accepted D9526: [keyserver] add eth addresses to reserved usernames table.

What happens if the API request fails (eg endpoint is unreachable)? We may end up in a state where not all eth addresses make it to the reserved usernames table.

Oct 20 2023, 5:54 PM
atul accepted D9554: [web] update AppearanceChangeModal buttons to use redux state.
Oct 20 2023, 5:50 PM
atul abandoned D9557: [ignore] Trigger CommTest CI.
Oct 20 2023, 5:48 PM
atul accepted D9553: [lib/native] introduce useUpdateThemePreference.
Oct 20 2023, 5:47 PM
atul accepted D9552: [web] introduce redux persist migration for globalThemeInfo.
Oct 20 2023, 5:46 PM
atul accepted D9551: [lib/native] introduce useUpdateSystemTheme.

Seems like straightforward move from native to lib

Oct 20 2023, 5:45 PM
atul requested review of D9557: [ignore] Trigger CommTest CI.
Oct 20 2023, 5:45 PM
atul accepted D9550: [lib/native/web] lift globalThemeInfo redux state into lib.
Oct 20 2023, 4:03 PM

Oct 19 2023

atul published D9549: [lib] Introduce basic `permissionsToBitmask` and `hasPermission` for review.
Oct 19 2023, 9:28 PM
atul accepted D9542: [keyserver/lib] Introduce a parseDerivedMessages function in the message specs.

Good to land as is

Oct 19 2023, 6:44 PM
atul accepted D9538: [lib] Refactor fetchDerivedMessages to call isInvalidSidebarSource or isInvalidPinSource.
Oct 19 2023, 6:37 PM
atul accepted D9537: [keyserver/lib] Update rawMessageInfoForRowsAndRelatedMessages to check for canBeRenderedOnItsOwn.
Oct 19 2023, 6:35 PM
atul accepted D9536: [lib] Introduce a canBeRenderedOnItsOwn boolean to message specs.
Oct 19 2023, 6:29 PM
atul added a comment to D9536: [lib] Introduce a canBeRenderedOnItsOwn boolean to message specs.

Looks good, thanks for proactively including unit tests

Oct 19 2023, 6:28 PM
atul accepted D9503: [web/keyserver] Separate web and keyserver versions.

Seems reasonable

Oct 19 2023, 6:24 PM
atul accepted D9530: [lib/naitve] lift update theme info action type into lib.
Oct 19 2023, 6:23 PM
atul accepted D9529: [native] rename native themes-types to theme-utils.

Nice

Oct 19 2023, 6:23 PM
atul accepted D9528: [lib/native] lift theme types from native into lib.

Seems reasonable

Oct 19 2023, 6:17 PM
atul closed D9541: [GH Actions] Bump `macOS Build CI` workflow to `macos-13`.
Oct 19 2023, 4:17 PM
atul committed rCOMM2fa9df996192: [GH Actions] Bump `macOS Build CI` workflow to `macos-13`.
Oct 19 2023, 4:16 PM
atul published D9541: [GH Actions] Bump `macOS Build CI` workflow to `macos-13` for review.
Oct 19 2023, 3:12 PM
atul closed D9540: [GH Actions] Fix `base64` command options for macOS 13.
Oct 19 2023, 3:11 PM
atul committed rCOMM3fd0cc5ba25f: [GH Actions] Fix `base64` command options for macOS 13.
Oct 19 2023, 3:11 PM
atul published D9540: [GH Actions] Fix `base64` command options for macOS 13 for review.
Oct 19 2023, 3:07 PM
atul closed D9539: [GH Actions] Set `DEVELOPER_DIR` to Xcode 15.0.
Oct 19 2023, 3:00 PM
atul committed rCOMM1a83501ac69c: [GH Actions] Set `DEVELOPER_DIR` to Xcode 15.0.
Oct 19 2023, 3:00 PM
atul added inline comments to D9539: [GH Actions] Set `DEVELOPER_DIR` to Xcode 15.0.
Oct 19 2023, 2:59 PM
atul published D9539: [GH Actions] Set `DEVELOPER_DIR` to Xcode 15.0 for review.
Oct 19 2023, 2:57 PM
atul closed D9522: [native] Remove extraneous SQLite deletion alerts.
Oct 19 2023, 2:45 PM
atul committed rCOMMc657658277d7: [native] Remove extraneous SQLite deletion alerts.
Oct 19 2023, 2:45 PM
atul closed D9519: [lib] Remove `last_[navigated_to/pruned]` from `ClientDBThreadMessageInfo`.
Oct 19 2023, 2:45 PM
atul closed D9518: [native] Redux migration to remove `messageStore.threads[threadID].[lastPruned/lastNavigatedTo]`.
Oct 19 2023, 2:45 PM
atul committed rCOMM8f7e36e41ebe: [lib] Remove `last_[navigated_to/pruned]` from `ClientDBThreadMessageInfo`.
Oct 19 2023, 2:45 PM
atul closed D9517: [CommCoreModule] Remove `last[NavigatedTo/Pruned]` from `MessageStoreThread` and `message_store_threads` table.
Oct 19 2023, 2:45 PM
atul committed rCOMM4d076dd67152: [native] Redux migration to remove `messageStore.threads[threadID]..
Oct 19 2023, 2:45 PM
atul committed rCOMM48e72dc9548c: [CommCoreModule] Remove `last[NavigatedTo/Pruned]` from `MessageStoreThread`….
Oct 19 2023, 2:45 PM
atul closed D9475: [lib] Remove `lastNavigatedTo/lastPruned` from `MessageStore.threads`.
Oct 19 2023, 2:45 PM
atul closed D9469: [native] Update `nextMessagePruneTimeSelector` to use `threadActivityStore`.
Oct 19 2023, 2:45 PM
atul committed rCOMMf58d8c77991d: [lib] Remove `lastNavigatedTo/lastPruned` from `MessageStore.threads`.
Oct 19 2023, 2:45 PM
atul closed D9454: [native] Update `pruneThreadIDsSelector` to use `threadActivityStore`.
Oct 19 2023, 2:45 PM
atul committed rCOMMb2992800a353: [native] Update `nextMessagePruneTimeSelector` to use `threadActivityStore`.
Oct 19 2023, 2:45 PM
atul committed rCOMM6a3fd495294b: [native] Update `pruneThreadIDsSelector` to use `threadActivityStore`.
Oct 19 2023, 2:44 PM
atul closed D9453: [lib] Update `reduceThreadActivity` to handle `processUpdatesActionType` and others.
Oct 19 2023, 2:44 PM
atul committed rCOMM4d26804581dc: [lib] Update `reduceThreadActivity` to handle `processUpdatesActionType` and….
Oct 19 2023, 2:44 PM
atul attached a referenced file: F824423: 0a562f.png.
Oct 19 2023, 2:37 PM
atul added inline comments to D9475: [lib] Remove `lastNavigatedTo/lastPruned` from `MessageStore.threads`.
Oct 19 2023, 2:37 PM
atul added inline comments to D9475: [lib] Remove `lastNavigatedTo/lastPruned` from `MessageStore.threads`.
Oct 19 2023, 2:33 PM
atul added a comment to D9475: [lib] Remove `lastNavigatedTo/lastPruned` from `MessageStore.threads`.
In D9475#278685, @kamil wrote:

Looks good but also curious about answers to @ashoat's questions

In a meeting with @kamil today, he indicated that MessageStore.threads was in the process of being moved to SQLite.

It's already in SQLite, the only thing is that we have it in both SQLite and redux-persist to assert correctness. There is a task where we synced with @atul: ENG-3743.

Oct 19 2023, 2:33 PM
atul updated the diff for D9469: [native] Update `nextMessagePruneTimeSelector` to use `threadActivityStore`.

address @ashoat's feedback (use threadstore instead of messagestore)

Oct 19 2023, 2:30 PM
atul updated the diff for D9453: [lib] Update `reduceThreadActivity` to handle `processUpdatesActionType` and others.

second invariant arg

Oct 19 2023, 2:20 PM
atul added a comment to D9453: [lib] Update `reduceThreadActivity` to handle `processUpdatesActionType` and others.

@atul can you make a Linear task to track refactoring this to use the new update specs approach, and link the task here before landing?

Oct 19 2023, 2:17 PM
atul updated the diff for D9522: [native] Remove extraneous SQLite deletion alerts.

rebase and land

Oct 19 2023, 2:12 PM

Oct 18 2023

atul accepted D9524: [lib] Move EthersProvider type to separate file.
Oct 18 2023, 8:12 PM
atul accepted D9523: [lib] Drill allAtOnce from useChatMentionCandidatesObjAndUtils to useENSNames.
Oct 18 2023, 7:35 PM
atul published D9522: [native] Remove extraneous SQLite deletion alerts for review.
Oct 18 2023, 2:45 PM
atul accepted D9520: [CI] Add Buildkite steps for Commtest.
Oct 18 2023, 2:27 PM
atul published D9519: [lib] Remove `last_[navigated_to/pruned]` from `ClientDBThreadMessageInfo` for review.
Oct 18 2023, 2:15 AM
atul published D9518: [native] Redux migration to remove `messageStore.threads[threadID].[lastPruned/lastNavigatedTo]` for review.
Oct 18 2023, 2:14 AM

Oct 17 2023

atul accepted D9516: [web] fix width of user profile action button.

Thanks for addressing feedback

Oct 17 2023, 9:19 PM
atul accepted D9496: [web] factor out mediaModalItem from FullScreenModal.

Thanks for addressing feedback

Oct 17 2023, 9:19 PM
atul accepted D9515: [lib] Introduce allAtOnce param to useENSNames.

Nice

Oct 17 2023, 9:12 PM
atul updated the diff for D9517: [CommCoreModule] Remove `last[NavigatedTo/Pruned]` from `MessageStoreThread` and `message_store_threads` table.

include updated comm_query_executor.wasm

Oct 17 2023, 9:04 PM
atul updated the summary of D9517: [CommCoreModule] Remove `last[NavigatedTo/Pruned]` from `MessageStoreThread` and `message_store_threads` table.
Oct 17 2023, 9:00 PM
atul updated the test plan for D9517: [CommCoreModule] Remove `last[NavigatedTo/Pruned]` from `MessageStoreThread` and `message_store_threads` table.
Oct 17 2023, 9:00 PM
atul requested review of D9517: [CommCoreModule] Remove `last[NavigatedTo/Pruned]` from `MessageStoreThread` and `message_store_threads` table.
Oct 17 2023, 8:59 PM
atul updated the diff for D9469: [native] Update `nextMessagePruneTimeSelector` to use `threadActivityStore`.

fix optional chaining

Oct 17 2023, 6:40 PM