Page MenuHomePhorge
Feed Search

Oct 5 2023

atul accepted D9361: [native] rename instances of ImageModal to FullScreenViewModal in FullScreenViewModal component.

Looks like a straightforward find+replace. Thanks for laying out the outline of the stack in the summary, made it easier to make sense of each diff

Oct 5 2023, 12:10 AM
atul accepted D9363: [native] introduce contentDimensions prop to full screen view modal.

Seems reasonable

Oct 5 2023, 12:09 AM
atul accepted D9364: [native] update avatar size variants to use t-shirt sizes.
Oct 5 2023, 12:08 AM
atul accepted D9365: [lib/native] lift AvatarSize type into lib.
Oct 5 2023, 12:07 AM
atul accepted D9366: [lib/native] introduce XXL size to AvatarSize.

Double Extra Large??

Oct 5 2023, 12:06 AM

Oct 4 2023

atul accepted D9360: [native] introduce FullScreenViewModal.

We need to factor those parts out, so I created FullScreenViewModal which will be a generic component that can be used in both cases for image multimedia messages and user avatars.

Oct 4 2023, 11:35 PM
atul added a comment to D9358: [native] introduce user profile constants.
In D9358#275095, @ginsu wrote:

Don't love the indirection, but seems like a reasonable approach

Wdym by indirection here? Happy to make any updates to make it less indirect

cc @atul

Oct 4 2023, 11:32 PM
atul accepted D9359: [native] introduce children prop to FullScreenViewModal.

Looks good, let's memoize ImageModal before landing

Oct 4 2023, 11:31 PM
atul accepted D9358: [native] introduce user profile constants.

Don't love the indirection, but seems like a reasonable approach

Oct 4 2023, 11:28 PM
atul closed D9357: [keyserver] `endpoint_profiling` -> `endpoint-profiling`.
Oct 4 2023, 6:29 PM
atul committed rCOMM6a1c53d86b3b: [keyserver] `endpoint_profiling` -> `endpoint-profiling`.
Oct 4 2023, 6:29 PM
atul requested review of D9357: [keyserver] `endpoint_profiling` -> `endpoint-profiling`.
Oct 4 2023, 2:33 PM

Oct 2 2023

atul closed D9227: [patch] Patch `expo-modules-core` to unblock iOS build on macOS Sonoma.
Oct 2 2023, 8:07 PM
atul committed rCOMMd8d12a5c4ff8: [patch] Patch `expo-modules-core` to unblock iOS build on macOS Sonoma.
Oct 2 2023, 8:07 PM
atul added a comment to D9227: [patch] Patch `expo-modules-core` to unblock iOS build on macOS Sonoma.

https://linear.app/comm/issue/ENG-5157/investigate-xcode-15-foundation-import-issue

Oct 2 2023, 8:05 PM
atul added a comment to D9227: [patch] Patch `expo-modules-core` to unblock iOS build on macOS Sonoma.

Expo has high expectations for issue reports... basically they want a minimally viable reproducible example for each report.

Oct 2 2023, 7:59 PM

Sep 30 2023

atul accepted D9343: [keyserver] Test impact of ThreadStore reductions on Atul's ThreadStore.

Whether or not this stack gets landed, was super helpful to understand how each solution alone/in combination with others would affect size of ThreadStore

Sep 30 2023, 2:39 AM
atul accepted D9342: [keyserver] Test results of ThreadStore reductions post-compression.
Sep 30 2023, 2:36 AM
atul accepted D9341: [keyserver] Test combinations of approaches to reducing Ashoat's ThreadStore.
Sep 30 2023, 2:36 AM
atul accepted D9340: [keyserver] Factor out logic for measuring / printing ThreadStore reduction results.
Sep 30 2023, 2:36 AM
atul accepted D9339: [keyserver] Test impact of introducing ThreadRolePermissionsStore on Ashoat's ThreadStore.
Sep 30 2023, 2:35 AM
atul accepted D9338: [keyserver] Test impact of introduction of isAdminRole on Ashoat's ThreadStore.
Sep 30 2023, 2:35 AM
atul accepted D9337: [keyserver] Test impact of improving encoding on Ashoat's ThreadStore.
Sep 30 2023, 2:34 AM
atul accepted D9336: [keyserver] Test impact of skipping old sidebars in Ashoat's ThreadStore.
Sep 30 2023, 2:33 AM
atul accepted D9335: [keyserver] Introduce script to test ThreadStore reductions.
Sep 30 2023, 1:07 AM

Sep 29 2023

atul accepted D9331: [lib] Move test messages outside of the describe scope to reuse them.

might make further sense to pull out to separate test data file?

Sep 29 2023, 8:12 PM
atul accepted D9333: [native] Remove threadMembersWithoutAddedAshoat check for ThreadInfo.
Sep 29 2023, 8:12 PM
atul accepted D9332: [lib] Simplify threadIsGroupChat check.
Sep 29 2023, 7:18 PM
atul accepted D9321: [native] Remove react-native-background-upload.
Sep 29 2023, 12:31 AM
atul accepted D9252: [lib/native] introduce UserProfileMessageButton.

Thanks for addressing feedback!

Sep 29 2023, 12:30 AM

Sep 27 2023

atul accepted D9309: [native] introduce relationship button.
Sep 27 2023, 11:28 PM
atul accepted D9285: [native] simplify RelationshipListItem jsx.
Sep 27 2023, 11:26 PM
atul closed D9308: [keyserver] Introduce `logEndpointMetrics` and `yarn dev-log-metrics`.
Sep 27 2023, 11:23 PM
atul committed rCOMM91b40f4fe0bc: [keyserver] Introduce `logEndpointMetrics` and `yarn dev-log-metrics`.
Sep 27 2023, 11:23 PM
atul updated the diff for D9308: [keyserver] Introduce `logEndpointMetrics` and `yarn dev-log-metrics`.

rebase and land

Sep 27 2023, 11:23 PM
atul accepted D9305: [keyserver] Compress HTTP responses.
Sep 27 2023, 9:48 PM
atul updated the diff for D9308: [keyserver] Introduce `logEndpointMetrics` and `yarn dev-log-metrics`.

resolve flow issues, no easy way to use performance.now() without typing it myself, so using Date.now() for timebeing which is probably more than accurate enough

Sep 27 2023, 8:10 PM
atul closed D9307: [keyserver] Pass `--performance-schema` to MariaDB in `docker-compose`.
Sep 27 2023, 7:55 PM
atul committed rCOMM1e3a06e929d6: [keyserver] Pass `--performance-schema` to MariaDB in `docker-compose`.
Sep 27 2023, 7:55 PM
atul closed D9304: [nix] Enable `performance_schema` by default on Nix.
Sep 27 2023, 7:55 PM
atul committed rCOMMad467672c5c6: [nix] Enable `performance_schema` by default on Nix.
Sep 27 2023, 7:55 PM
atul updated the summary of D9308: [keyserver] Introduce `logEndpointMetrics` and `yarn dev-log-metrics`.
Sep 27 2023, 7:46 PM
atul published D9308: [keyserver] Introduce `logEndpointMetrics` and `yarn dev-log-metrics` for review.
Sep 27 2023, 7:45 PM
atul added a comment to D9307: [keyserver] Pass `--performance-schema` to MariaDB in `docker-compose`.

Does monitoring perf have any negative perf impacts?

Sep 27 2023, 7:43 PM
atul published D9307: [keyserver] Pass `--performance-schema` to MariaDB in `docker-compose` for review.
Sep 27 2023, 7:01 PM
atul updated the diff for D9304: [nix] Enable `performance_schema` by default on Nix.

looks like it can be even simpler...

Sep 27 2023, 6:56 PM
atul attached a referenced file: F777030: 7d57d5.png.
Sep 27 2023, 6:36 PM
atul updated the diff for D9304: [nix] Enable `performance_schema` by default on Nix.

different approach that doesn't override $HOME/.my.cnf, continues to work:

Sep 27 2023, 6:34 PM
atul published D9304: [nix] Enable `performance_schema` by default on Nix for review.
Sep 27 2023, 6:01 PM
atul closed D9303: [keyserver] Introduce `yarn clear-profile-logs` to `keyserver`.
Sep 27 2023, 5:24 PM
atul committed rCOMMcc70264697e3: [keyserver] Introduce `yarn clear-profile-logs` to `keyserver`.
Sep 27 2023, 5:24 PM
atul closed D9302: [keyserver] Introduce `yarn profile-prod` to `keyserver`.
Sep 27 2023, 5:04 PM
atul committed rCOMM35ad12958bf9: [keyserver] Introduce `yarn profile-prod` to `keyserver`.
Sep 27 2023, 5:04 PM
atul closed D9301: [keyserver] Add `$KEYSERVER_PROFILING_ENABLED` to toggle `node:cluster`.
Sep 27 2023, 5:04 PM
atul committed rCOMM851d1f97c684: [keyserver] Add `$KEYSERVER_PROFILING_ENABLED` to toggle `node:cluster`.
Sep 27 2023, 5:04 PM
atul closed D9300: [keyserver] Introduce `0x` dependency for `keyserver` profiling.
Sep 27 2023, 5:04 PM
atul committed rCOMMd039d228e72b: [keyserver] Introduce `0x` dependency for `keyserver` profiling.
Sep 27 2023, 5:04 PM
atul updated the diff for D9301: [keyserver] Add `$KEYSERVER_PROFILING_ENABLED` to toggle `node:cluster`.

remove extraneous condition

Sep 27 2023, 4:59 PM
atul published D9303: [keyserver] Introduce `yarn clear-profile-logs` to `keyserver` for review.
Sep 27 2023, 4:55 PM
atul added inline comments to D9301: [keyserver] Add `$KEYSERVER_PROFILING_ENABLED` to toggle `node:cluster`.
Sep 27 2023, 4:45 PM
atul updated the test plan for D9302: [keyserver] Introduce `yarn profile-prod` to `keyserver`.
Sep 27 2023, 4:38 PM
atul updated the diff for D9302: [keyserver] Introduce `yarn profile-prod` to `keyserver`.

fix

Sep 27 2023, 4:36 PM
atul published D9302: [keyserver] Introduce `yarn profile-prod` to `keyserver` for review.
Sep 27 2023, 4:28 PM
atul published D9301: [keyserver] Add `$KEYSERVER_PROFILING_ENABLED` to toggle `node:cluster` for review.
Sep 27 2023, 4:20 PM
atul updated the diff for D9300: [keyserver] Introduce `0x` dependency for `keyserver` profiling.

Similar to .*/node_modules/resolve/test/resolver/malformed_package_json/package\.json$ which is in the RN .flowconfig this package.json isn't actually a package.json, but rather an intentionally malformed json file used as part of some internal tests. We can just ignore it for now to appease flow.

Sep 27 2023, 4:04 PM
atul updated the test plan for D9300: [keyserver] Introduce `0x` dependency for `keyserver` profiling.
Sep 27 2023, 3:31 PM
atul published D9300: [keyserver] Introduce `0x` dependency for `keyserver` profiling for review.
Sep 27 2023, 3:22 PM

Sep 26 2023

atul accepted D9289: [native] make user profile accessible from message author avatar.

Looks good!

Sep 26 2023, 9:12 PM
atul requested changes to D9285: [native] simplify RelationshipListItem jsx.

Let's memoize that style object (array)

Sep 26 2023, 9:07 PM
atul accepted D9095: [native] Block editing messages on search and pinned messages screens, and of the first message in a thread.
Sep 26 2023, 9:06 PM
atul accepted D9274: [native] make bottomsheet snap point dynamic.
Sep 26 2023, 9:06 PM
atul resigned from D9291: [keyserver] Stop accepting http cookies.

Deferring to @ashoat/@tomek since I'm not familiar w/ this area of the codebase and it seems important to get right.

Sep 26 2023, 9:02 PM
atul accepted D9299: [keyserver] Fix threadFetchMediaResponder output validation.
Sep 26 2023, 9:01 PM
atul accepted D9292: [lib] Only consider children of GENESIS when proposing existing chats.

Thanks for thoroughly explaining reasoning in comment

Sep 26 2023, 8:46 PM
atul accepted D9273: [native] factor out UserProfileRelationshipButton condtionals.

Personally would prefer to inline these conditions but it doesn't matter a ton

Sep 26 2023, 8:44 PM
atul accepted D9272: [native] introduce BottomSheetProvider.

Seems reasonable

Sep 26 2023, 8:36 PM
atul accepted D9298: [keyserver] Use async version of brotliCompress.

Glad it wasn't too much overhead to use the async versions of the brotli functions

Sep 26 2023, 8:32 PM
atul accepted D9271: [native] improve organization of user profiles work.

Just skimmed through, trusting CI here

Sep 26 2023, 8:28 PM
atul accepted D9293: Add brotli.js library.
Sep 26 2023, 8:27 PM
atul added a comment to D9293: Add brotli.js library.

This can be abandoned now?

Sep 26 2023, 8:26 PM
atul accepted D9294: Introduce Brotli compression for keyserver -> client socket messages.

Looks good, thanks for addressing feedback

Sep 26 2023, 8:25 PM
atul attached a referenced file: F774975: 684a67.png.
Sep 26 2023, 7:54 PM
atul attached a referenced file: F774976: 1181e5.png.
Sep 26 2023, 7:54 PM
atul accepted D9286: [native] make user profiles accessible from RelationshipListItem.
Sep 26 2023, 7:54 PM
atul accepted D9260: [native] improve BottomSheet component close function.

Nice, much easier to understand at a glance

Sep 26 2023, 7:23 PM
atul attached a referenced file: F774855: 58465c.png.
Sep 26 2023, 7:16 PM
atul accepted D9258: [native] introduce UserProfileRelationshipButton.

Looks good, only thing I'd change before landing is trying to avoid the one-off spacer.

Sep 26 2023, 7:16 PM
atul attached a referenced file: F774781: 1075ef.png.
Sep 26 2023, 6:45 PM
atul requested changes to D9252: [lib/native] introduce UserProfileMessageButton.

Let's use existing relationshipBlockedInEitherDirection

Sep 26 2023, 6:45 PM
atul accepted D9247: [lib] introduce useUserProfileThreadInfo hook.
Sep 26 2023, 6:33 PM
atul accepted D9297: [lib] Fix memoization of useSearchSidebars.
Sep 26 2023, 6:24 PM
atul added a comment to D9294: Introduce Brotli compression for keyserver -> client socket messages.
In D9294#273227, @atul wrote:
  1. Further, instead of "rolling our own" compressMessage, could we use the WebSocket per message-deflate extension? (https://datatracker.ietf.org/doc/html/rfc7692). Seems like it can seamlessly be integrated w/ ws: https://github.com/websockets/ws#websocket-compression. This leverages the Node/zlib library mentioned above out of the box.
Sep 26 2023, 5:17 PM
atul requested changes to D9293: Add brotli.js library.

Can we leverage Brotli compression/decompression functionality that's built into Node/Zlib instead of introducing a new dependency?

Sep 26 2023, 5:10 PM
atul added a comment to D9294: Introduce Brotli compression for keyserver -> client socket messages.

Example of using built-in Node functionality

Sep 26 2023, 5:06 PM
atul added inline comments to D9294: Introduce Brotli compression for keyserver -> client socket messages.
Sep 26 2023, 5:06 PM
atul accepted D9294: Introduce Brotli compression for keyserver -> client socket messages.

Accepting to unblock, however, would be good to get thoughts on the following:

Sep 26 2023, 4:55 PM

Sep 25 2023

atul closed D9262: [lib] Add `ThreadActivityStore` to Redux.
Sep 25 2023, 8:10 PM
atul committed rCOMM246557e54623: [lib] Add `ThreadActivityStore` to Redux.
Sep 25 2023, 8:10 PM
atul updated the diff for D9262: [lib] Add `ThreadActivityStore` to Redux.

rebase and land

Sep 25 2023, 7:55 PM
atul accepted D9284: Rename React Native patchfile to reflect upgrade.

So I actually tried to include this in D9227: https://phab.comm.dev/D9227?vs=on&id=31269#toc, but there was some additional stuff that got included when I ran patch package (figured that was safer than just renaming file)

Sep 25 2023, 6:27 PM