Page MenuHomePhabricator
Feed Advanced Search

Apr 17 2023

ashoat added a comment to D7454: [keyserver] Don't specify name for new PRIVATE threads.

In retrospect I should hold off on landing this until D7453 is shipped to clients first. It only affects user registration and we can assume they will be using newer client versions, but we should still wait until it actually ships before landing this, in order to avoid blocking keyserver deploy

Apr 17 2023, 4:45 PM
ashoat added a reverting change for D7454: [keyserver] Don't specify name for new PRIVATE threads: rCOMMd9b54c68548b: Revert "[keyserver] Don't specify name for new PRIVATE threads".
Apr 17 2023, 4:43 PM
ashoat added a reverting change for rCOMM1a0a8d941d78: [keyserver] Don't specify name for new PRIVATE threads: rCOMMd9b54c68548b: Revert "[keyserver] Don't specify name for new PRIVATE threads".
Apr 17 2023, 4:43 PM
ashoat committed rCOMMd9b54c68548b: Revert "[keyserver] Don't specify name for new PRIVATE threads" (authored by ashoat).
Revert "[keyserver] Don't specify name for new PRIVATE threads"
Apr 17 2023, 4:43 PM
ashoat reopened D7454: [keyserver] Don't specify name for new PRIVATE threads.
Apr 17 2023, 4:43 PM
ashoat closed D7454: [keyserver] Don't specify name for new PRIVATE threads.
Apr 17 2023, 4:41 PM
ashoat committed rCOMM1a0a8d941d78: [keyserver] Don't specify name for new PRIVATE threads (authored by ashoat).
[keyserver] Don't specify name for new PRIVATE threads
Apr 17 2023, 4:41 PM
ashoat closed D7453: [lib] Introduce new ifJustViewer field in ThreadEntity for PRIVATE threads.
Apr 17 2023, 4:41 PM
ashoat committed rCOMMa5ce04f66d57: [lib] Introduce new ifJustViewer field in ThreadEntity for PRIVATE threads (authored by ashoat).
[lib] Introduce new ifJustViewer field in ThreadEntity for PRIVATE threads
Apr 17 2023, 4:41 PM
ashoat updated the diff for D7453: [lib] Introduce new ifJustViewer field in ThreadEntity for PRIVATE threads.

Add code comment

Apr 17 2023, 4:40 PM
ashoat updated the diff for D7455: [keyserver] Migration to reset all PRIVATE thread names.
  1. Update to use updateThread utility so that updates are correctly created for all clients
  2. Only reset thread names to the empty string if they are for SIWE users. For other users it won't affect behavior on new clients, but will break old clients
Apr 17 2023, 4:37 PM
ashoat closed D7474: [native] Left-align pending thread header titles.
Apr 17 2023, 12:41 PM
ashoat committed rCOMM9ddc64a1c283: [native] Left-align pending thread header titles (authored by ashoat).
[native] Left-align pending thread header titles
Apr 17 2023, 12:41 PM
ashoat added a comment to D7462: [native] introduce use ens avatar option to edit avatar.

Talked with this offline with @ginsu and we concluded that EditAvatar is being overloaded and doing two things instead of one. We concluded we're going to split this component and EmojiAvatarCreation into two components

Apr 17 2023, 12:28 PM
ashoat requested review of D7474: [native] Left-align pending thread header titles.
Apr 17 2023, 12:10 PM
ashoat requested changes to D7463: Add table to store olm notifications sessions.
Apr 17 2023, 10:48 AM
ashoat requested changes to D7467: [keyserver/lib] Improve `tcomb` types.
Apr 17 2023, 10:26 AM
ashoat requested changes to D7381: Implement prekey lifecycle in `CryptoModule`..

Thanks for explaining @marcin! To your queue for folly::Optional<std::string>

Apr 17 2023, 10:22 AM
ashoat added a comment to D7458: [native] update comm icon pack.

Just added Ginsu to Dropbox

Apr 17 2023, 6:37 AM
ashoat accepted D7458: [native] update comm icon pack.

Not sure familiar with this stuff – would be great if @atul could take a look

Apr 17 2023, 5:19 AM
ashoat added inline comments to D7381: Implement prekey lifecycle in `CryptoModule`..
Apr 17 2023, 5:18 AM
ashoat requested changes to D7462: [native] introduce use ens avatar option to edit avatar.
Apr 17 2023, 5:11 AM
ashoat added inline comments to D7453: [lib] Introduce new ifJustViewer field in ThreadEntity for PRIVATE threads.
Apr 17 2023, 5:01 AM
ashoat accepted D7461: [lib] introduce getEthAddressForUserInfo helper function.

Please address inline comments before landing!

Apr 17 2023, 5:00 AM
ashoat accepted D7460: [native] update save avatar hooks to accept all types of avatars.
Apr 17 2023, 4:55 AM
ashoat accepted D7459: [native] have actionsheet pop up on press when editing avatar.
Apr 17 2023, 4:55 AM

Apr 16 2023

ashoat accepted D7456: [native] fix Android cancel action sheet crash.
Apr 16 2023, 2:02 PM
ashoat accepted D7457: [native] add safe area insets for android action sheet.
Apr 16 2023, 1:46 PM

Apr 15 2023

ashoat planned changes to D7455: [keyserver] Migration to reset all PRIVATE thread names.

I should either:

Apr 15 2023, 12:05 PM
ashoat published D7455: [keyserver] Migration to reset all PRIVATE thread names for review.
Apr 15 2023, 12:02 PM
ashoat requested review of D7454: [keyserver] Don't specify name for new PRIVATE threads.
Apr 15 2023, 11:43 AM
ashoat requested review of D7453: [lib] Introduce new ifJustViewer field in ThreadEntity for PRIVATE threads.
Apr 15 2023, 11:42 AM
ashoat added a comment to D7425: [Tunnelbroker] Create gRPC service for emitting messages to devices.

Having identity service be aware of the "websocket payload", also couples identity service to being aware of the websocket implementation. Which would mean that the client messages would need to reside in a shared location (not necessarily a bad thing, but it is an implication of making the messages opaque).

Apr 15 2023, 7:23 AM
ashoat added inline comments to D7446: [native] Discard alert when navigating in edit mode.
Apr 15 2023, 7:06 AM
ashoat added a comment to D7310: [web] Display the number of pinned messages in a banner across chat.

Sorry yeah I didn't actually check!! Looks like it's just the unit test failure

Apr 15 2023, 7:04 AM
ashoat added inline comments to D7421: [native] extract processing store operations to separate function.
Apr 15 2023, 7:03 AM

Apr 14 2023

ashoat closed D7429: [web] Make chatCreation state "sticky" between nav changes.
Apr 14 2023, 6:59 AM
ashoat committed rCOMMd8a5867f1726: [web] Make chatCreation state "sticky" between nav changes (authored by ashoat).
[web] Make chatCreation state "sticky" between nav changes
Apr 14 2023, 6:59 AM
ashoat accepted D7435: [keyserver] Fix `avatarUpdateQuery`.
Apr 14 2023, 6:44 AM
ashoat accepted D7439: [keyserver] Get rid of `versions` table and related endpoints.

Bye bye

Apr 14 2023, 6:44 AM
ashoat accepted D7438: [native] introduce EditAvatar component.

It's cool how the ThreadAvatar / ChildAvatar is a child of EditAvatar

Apr 14 2023, 6:42 AM
ashoat accepted D7428: [native] extend emoji avatar creation to handle thread avatars.
Apr 14 2023, 6:40 AM
ashoat accepted D7427: [native] introduce useSaveThreadAvatar hook.
Apr 14 2023, 6:39 AM
ashoat accepted D7426: [lib] introduce savedEmojiAvatarSelectorForThread selector.
Apr 14 2023, 6:38 AM
ashoat requested changes to D7425: [Tunnelbroker] Create gRPC service for emitting messages to devices.

Our messages got crossed when you re-requested review I think, passing back to you for my more recent message where I discuss tradeoffs

Apr 14 2023, 6:37 AM
ashoat added a comment to D7425: [Tunnelbroker] Create gRPC service for emitting messages to devices.

My proposal: single TunnelbrokerService with a single RPC that takes targetDeviceID and generic message (API will probably expand in the future though)

Apr 14 2023, 6:33 AM
ashoat requested changes to D7425: [Tunnelbroker] Create gRPC service for emitting messages to devices.

Can you explain a little bit more these two decisions:

Apr 14 2023, 5:58 AM
ashoat accepted D7450: [native][codegen] Generate CommUtilsModule C++ spec.
Apr 14 2023, 5:50 AM
ashoat added 1 blocking reviewer(s) for D7450: [native][codegen] Generate CommUtilsModule C++ spec: jon.
Apr 14 2023, 5:49 AM
ashoat accepted D7449: [native] Add CommUtilsModule spec.
Apr 14 2023, 5:47 AM
ashoat accepted D7443: [services][blob] Add dependencies for HTTP server.
Apr 14 2023, 5:35 AM
ashoat accepted D7434: [web] Gate encrypted media uploads on Comm staff community.
Apr 14 2023, 5:35 AM
ashoat accepted D7433: [lib] Set correct codeVersion for encrypted media shim.
Apr 14 2023, 5:34 AM

Apr 13 2023

ashoat accepted D7437: [keyserver] Fix `updateUserAvatar` query.
Apr 13 2023, 7:40 PM
ashoat accepted D7430: [keyserver] Update `updateThread` to handle image avatars.
Apr 13 2023, 12:00 PM
ashoat requested review of D7429: [web] Make chatCreation state "sticky" between nav changes.
Apr 13 2023, 10:40 AM
ashoat added a reviewer for D7396: [lib] add ops for message store threads: atul.

@atul is rather busy right now and probably won't be able to review anytime soon, but if I recall correctly I think he was the original architect of the message ops, so would be good for him to take a pass here

Apr 13 2023, 10:09 AM
ashoat accepted D7424: [native] introduce useSaveUserAvatar hook.

Didn't review too closely since it looks like just a "factor out" diff. Please wait for CI to pass before landing

Apr 13 2023, 10:02 AM
ashoat accepted D7423: [native] move emoji avatar creation from profile directory to components directory.

Does nothing actually use this component? Usually we'd have to update some import paths as well

Apr 13 2023, 9:01 AM
ashoat added inline comments to D7403: [native] use savedEmojiAvatarSelectorForCurrentUser in EmojiAvatarCreation.
Apr 13 2023, 9:00 AM
ashoat closed D7416: [web] Fix bug where image appears broken when creating thread with media message.
Apr 13 2023, 8:26 AM
ashoat committed rCOMMec51474a3231: [web] Fix bug where image appears broken when creating thread with media message (authored by ashoat).
[web] Fix bug where image appears broken when creating thread with media message
Apr 13 2023, 8:26 AM
ashoat requested review of D7416: [web] Fix bug where image appears broken when creating thread with media message.
Apr 13 2023, 7:09 AM
ashoat added inline comments to D7381: Implement prekey lifecycle in `CryptoModule`..
Apr 13 2023, 6:56 AM
ashoat added a comment to D7409: [services] Make AWS SDK versions consistent.

S3 now defaults to virtual bucket addressing, which is not supported by localstack

Apr 13 2023, 5:52 AM
ashoat closed D7408: [native][web] Trigger sendCallbacks on retries.
Apr 13 2023, 5:52 AM
ashoat committed rCOMMeb1b4bf0c1e6: [native][web] Trigger sendCallbacks on retries (authored by ashoat).
[native][web] Trigger sendCallbacks on retries
Apr 13 2023, 5:52 AM
ashoat closed D7407: [web] Trigger sendCallbacks on multimedia messages.
Apr 13 2023, 5:52 AM
ashoat committed rCOMM3a0cacc24d1d: [web] Trigger sendCallbacks on multimedia messages (authored by ashoat).
[web] Trigger sendCallbacks on multimedia messages
Apr 13 2023, 5:52 AM
ashoat closed D7388: [web] Fix chat composer when no active thread.
Apr 13 2023, 5:52 AM
ashoat committed rCOMMc85cece9d9c3: [web] Fix chat composer when no active thread (authored by ashoat).
[web] Fix chat composer when no active thread
Apr 13 2023, 5:52 AM
ashoat added inline comments to D7413: Send to the keyserver data necessary to initialize olm session for e2e notifications.
Apr 13 2023, 5:51 AM
ashoat added inline comments to D7381: Implement prekey lifecycle in `CryptoModule`..
Apr 13 2023, 5:45 AM
ashoat added a comment to D7382: [web] Allow interaction with inline engagement from the thread pinned messages modal.
In D7382#220558, @rohan wrote:

Also ESLint errors are concerning, we should get those resolved

Will do - ran yarn eslint:fix web/ for each of the diffs in this stack, so the ESLint errors should be resolved in the updates (I'll double check this once I put up the revisions)

Apr 13 2023, 5:42 AM
ashoat added a comment to D7310: [web] Display the number of pinned messages in a banner across chat.

Still seeing ESLint issues. Might be good to make sure you're able to confirm locally that all ESLint issues are resolved before updating the diff again

Apr 13 2023, 5:41 AM
ashoat added inline comments to D7403: [native] use savedEmojiAvatarSelectorForCurrentUser in EmojiAvatarCreation.
Apr 13 2023, 5:40 AM

Apr 12 2023

ashoat requested review of D7408: [native][web] Trigger sendCallbacks on retries.
Apr 12 2023, 6:44 PM
ashoat requested review of D7407: [web] Trigger sendCallbacks on multimedia messages.
Apr 12 2023, 6:39 PM
ashoat updated the diff for D7388: [web] Fix chat composer when no active thread.

The issues with threads started from images was more complicated than I realized.

Apr 12 2023, 6:19 PM
ashoat accepted D7406: [keyserver] Update `updateUserAvatar` to construct `ClientImageAvatar`.
Apr 12 2023, 6:01 PM
ashoat accepted D7405: [Keyserver/rust-node-addon] Remove tunnelbroker grpc client.
Apr 12 2023, 6:01 PM
ashoat accepted D7404: [keyserver] Update `updateUserAvatar` to handle image avatars.
Apr 12 2023, 6:00 PM
ashoat accepted D7359: [native] implement onPressSetAvatar function.
Apr 12 2023, 5:56 PM
ashoat accepted D7403: [native] use savedEmojiAvatarSelectorForCurrentUser in EmojiAvatarCreation.
Apr 12 2023, 5:56 PM
ashoat added inline comments to D7402: [lib] introduce savedEmojiAvatarSelectorForCurrentUser selector.
Apr 12 2023, 5:56 PM
ashoat accepted D7402: [lib] introduce savedEmojiAvatarSelectorForCurrentUser selector.
Apr 12 2023, 5:48 PM
ashoat accepted D7401: [lib] introduce getRandomDefaultEmojiAvatar function.

I would have included this in D7402. It's hard to understand the need for this function (vs. the existing hash function approach) without reading your comment here. In general I think small utility functions like this should be introduced alongside their callsite, to make it easier for the reviewer to understand why / how they're being introduced. A good rule of thumb (not a hard rule) is whether you have unit tests for it.

Apr 12 2023, 5:48 PM
ashoat accepted D7399: [keyserver] remove all calls to old Rust APIs.
Apr 12 2023, 11:24 AM
ashoat resigned from D7392: [Tunnelbroker] Create websocket server.

New dependency looks good!! 1.2k stars on GitHub, updated in the last month, and MIT-licensed

Apr 12 2023, 8:31 AM
ashoat added inline comments to D7395: Introduce methods in CommCoreModule to initialize olm session for notifications. Refactor method to get one time keys for primary olm account.
Apr 12 2023, 7:26 AM
ashoat added a comment to D7382: [web] Allow interaction with inline engagement from the thread pinned messages modal.

Also ESLint errors are concerning, we should get those resolved

Apr 12 2023, 6:49 AM
ashoat added inline comments to D7382: [web] Allow interaction with inline engagement from the thread pinned messages modal.
Apr 12 2023, 6:49 AM
ashoat added a comment to D7394: Introduce methods in CommCoreModule to get one time keys and prekey for notifications. Refactor method to get one time keys for primary olm account.

It's hard to know how to review this diff when we don't know how the types will be used. Is it possible to combine this diff with another one that uses the types?

Apr 12 2023, 6:47 AM
ashoat planned changes to D7388: [web] Fix chat composer when no active thread.
Apr 12 2023, 6:43 AM
ashoat added a comment to D7380: [web] Display the pinned messages for the thread when the banner is clicked.

On the prod it might be a lot slower - should we display a spinner or something? How would the UI look if messages are being fetched?

Apr 12 2023, 6:40 AM
ashoat added inline comments to D7395: Introduce methods in CommCoreModule to initialize olm session for notifications. Refactor method to get one time keys for primary olm account.
Apr 12 2023, 6:38 AM
ashoat accepted D7393: [keyserver] Update `thread-fetchers` to handle image avatars.
Apr 12 2023, 6:27 AM
ashoat closed D7389: [web] Make ChatThreadComposer search bar auto-focus.
Apr 12 2023, 6:10 AM
ashoat committed rCOMM9a6e52bc9f2c: [web] Make ChatThreadComposer search bar auto-focus (authored by ashoat).
[web] Make ChatThreadComposer search bar auto-focus
Apr 12 2023, 6:10 AM
ashoat closed D7370: [keyserver] Move update-geoip to an earlier step in Docker build.
Apr 12 2023, 6:10 AM