Page MenuHomePhorge
Feed Search

Aug 22 2023

ashoat added inline comments to D8834: [lib] Introduce chat mention match and parse utilities.
Aug 22 2023, 4:18 AM
ashoat added a comment to D8821: [web] Create a new 'secondary device' screen that will generate the QR code.

Is there a way we can try to make this actually match the style of the main "Sign in to Comm" modal? It frankly looks completely different, in terms of color scheme, navigation, organization, etc. I think we need to do some more work on the design here, but open to landing this diff to unblock Rohan for the time being

Aug 22 2023, 4:09 AM
ashoat added a comment to D8821: [web] Create a new 'secondary device' screen that will generate the QR code.
  1. Let's find a way to avoid having the "Open the Comm app" part take two lines
  2. I don't love how that line just "trails off" without a period or a colon or something
  3. If we're bolding navigational elements, we should make sure we bold the whole navigational element. "devices" in "Linked devices" appears to not be bolded
Aug 22 2023, 4:08 AM
ashoat added inline comments to D8887: [client-backup] call C++ function for secure generating random string.
Aug 22 2023, 4:02 AM
ashoat accepted D8884: [client-backup] add argon2 dependency.
Aug 22 2023, 4:01 AM

Aug 21 2023

ashoat requested changes to D8795: Implement synchronization mechanisms to address process, thread and class level concurrency..

It feels like this diff should be broken down into at least 3: changes to temporary file name, monitoring memory usage, and changes to support multiple contentHandlers. Can you break it down to make it easier to review? (Feel free to break it down into more than 3 if you prefer.)

Aug 21 2023, 9:25 PM
ashoat requested changes to D8752: [Keyserver] Upload new onetime keys to identity service when requested.
Aug 21 2023, 9:15 PM
ashoat added a comment to D8752: [Keyserver] Upload new onetime keys to identity service when requested.

One nit about deviceID vs deviceId, and one request to check message.type (agreeing with @marcin). My other two comments are responses to @marcin

Aug 21 2023, 9:14 PM
ashoat added a comment to D7691: [Keyserver] Open websocket connection with tunnelbroker.

You seem to have accidentally addressed my 2 comments from the previous review in D8752. Can you make sure you update this diff as well?

Aug 21 2023, 8:59 PM
ashoat added inline comments to D8849: [native] Add chat mention rule to text message rules.
Aug 21 2023, 8:44 PM
ashoat added a comment to D8871: [web][native] Refactor getDefaultTextMessageRules.

What's the point of this change? I'm not sure that this code is better than the original... it requires understanding _memoize, and the original code seemed clear enough.

Aug 21 2023, 5:26 PM
ashoat added inline comments to D8873: [native] Make chat mentions clickable.
Aug 21 2023, 5:23 PM
ashoat added inline comments to D8880: [keyserver] Convert urlInfo in website responders.
Aug 21 2023, 4:24 PM
ashoat added a comment to D8877: [web] Fix spoiler animation for links.

Thanks for taking the time to improve the codebase, even though it doesn't pertain to your work exactly :)

Aug 21 2023, 4:21 PM
ashoat added a comment to D8876: [web] Inherit colors on spoiler reveal animation.

Great find! Thanks for fixing this.

Aug 21 2023, 4:20 PM

Aug 18 2023

ashoat added a comment to D8870: [native] Add a temporary sign in via QR code button on native.

Confused how the second screenshot shows a Register (new) but NOT a Sign in (QR). Based on the code, shouldn't they show up in the exact same scenarios?

Aug 18 2023, 11:04 PM
ashoat accepted D8836: [native] Add dependency to generate QR codes on native.

Thanks for explaining!

Aug 18 2023, 11:00 PM
ashoat added a comment to D8859: [web] introduce useReactionTooltip hook.

Nit

Aug 18 2023, 10:49 PM
ashoat accepted D8856: [web] Introduce `ThreadEmojiAvatarSelectionModal`.

Not looking too closely

Aug 18 2023, 10:47 PM
ashoat accepted D8855: [web] Introduce `UserEmojiAvatarSelectionModal` component.

Not looking too closely, but it seems okay

Aug 18 2023, 10:46 PM
ashoat requested changes to D8816: [Native] Encode platform type in native_rust_library.
Aug 18 2023, 10:37 PM
ashoat added a comment to D8816: [Native] Encode platform type in native_rust_library.

We don't need native as an option here.

Aug 18 2023, 10:30 PM
ashoat added inline comments to D8823: [web] introduce ReactionTooltip component.
Aug 18 2023, 10:27 PM
ashoat accepted D8475: [Keyserver] Refactor identity utilities.
Aug 18 2023, 10:23 PM
ashoat requested changes to D7691: [Keyserver] Open websocket connection with tunnelbroker.

I got 15 lines into the file, and then gave up on the review due to frustration. You completely ignored a comment from my previous review.

Aug 18 2023, 10:19 PM
ashoat added a reviewer for D8829: [web] introduce useTooltip hook: rohan.

@ginsu please use git blame and arc cover in the future when determining reviewers – it seems clear that @rohan is your best bet here

Aug 18 2023, 10:06 PM
ashoat committed rCOMMf74bed6ac6f6: [native] codeVersion -> 254.
Aug 18 2023, 9:46 PM
ashoat committed rCOMM1cad18cfdec4: [web][keyserver] codeVersion -> 22.
Aug 18 2023, 9:39 PM
ashoat committed rCOMM1fbbc37e4389: [keyserver][lib] Replace NEXT_CODE_VERSION before releases.
Aug 18 2023, 9:38 PM
ashoat committed rCOMMb64ec4c8f659: [native] codeVersion -> 252.
Aug 18 2023, 8:22 PM
ashoat committed rCOMM64a0c3f1c218: [native] codeVersion -> 251.
Aug 18 2023, 8:18 PM
ashoat committed rCOMM8bb4bb891403: [web][keyserver] codeVersion -> 21.
Aug 18 2023, 6:35 PM
ashoat added inline comments to D8818: [lib/web] Route to a barebones QR code login page.
Aug 18 2023, 1:02 PM
ashoat accepted D8839: [native] fix RetrySend not visible when message fails.
Aug 18 2023, 3:46 AM

Aug 17 2023

ashoat accepted D8839: [native] fix RetrySend not visible when message fails.

Let's avoid forcing each of the TextMessage, RobotextMessage, and MultimediaMessage components from rerendering on every render of Message. We should memoize the style object we pass in

Aug 17 2023, 5:55 PM
ashoat requested changes to D8839: [native] fix RetrySend not visible when message fails.

Based on how viewProps appears to be forwarded, I think it would be possible to set viewStyle in Message, and pass it as a style prop to TextMessage, MultimediaMessage, and RobotextMessage. The former two would then forward it to ComposedMessage, and the style prop would end up being set in exactly the same places that it's being set in this diff today.

Aug 17 2023, 1:42 PM
ashoat accepted D8803: Implement isStaffRelease method in PlatformSpecificTools.
Aug 17 2023, 1:35 PM
ashoat added a comment to D8839: [native] fix RetrySend not visible when message fails.

Where did we factor in failedSendHeight in the code before your changes?

Aug 17 2023, 12:03 AM

Aug 16 2023

ashoat added inline comments to D8820: [Keyserver/rust] Used shared identity client.
Aug 16 2023, 9:10 PM
ashoat added inline comments to D8820: [Keyserver/rust] Used shared identity client.
Aug 16 2023, 8:06 PM
ashoat added a comment to D8821: [web] Create a new 'secondary device' screen that will generate the QR code.

The square box here doesn't look super on-brand for us... we usually have rounded corners, don't we?

Aug 16 2023, 8:04 PM
ashoat requested changes to D8836: [native] Add dependency to generate QR codes on native.

Passing back with question. Feel free to push back, I haven't compared these dependencies too closely

Aug 16 2023, 8:03 PM
ashoat requested changes to D8803: Implement isStaffRelease method in PlatformSpecificTools.

Requesting changes for .pbxproj. Adding @jon to confirm CMakeLists.txt updates are correct

Aug 16 2023, 8:03 PM
ashoat added a comment to D8803: Implement isStaffRelease method in PlatformSpecificTools.

Shouldn't there be some change to the .pbxproj file for iOS? Are the new iOS files showing up in Xcode?

Aug 16 2023, 8:01 PM
ashoat added a comment to D8836: [native] Add dependency to generate QR codes on native.

Have you considered https://github.com/rosskhanas/react-qr-code? I found it on reactnative.directory. It looks like it's not quite as popular as react-native-qrcode-sv, but it's almost as popular, plus it works on both React and React Native and seems to have been updated more recently.

Aug 16 2023, 7:58 PM
ashoat accepted D8638: Possible solution for broken iOS notifications.
Aug 16 2023, 7:31 PM
ashoat added a comment to D8828: [web] move getTooltipPositionStyle into tooltip-utils.

There are no reviewers specified – is this one a draft too?

Aug 16 2023, 7:18 PM
ashoat closed D8838: [keyserver] Improve SQL performance in deleteInaccessibleThreads.
Aug 16 2023, 7:16 PM
ashoat committed rCOMMfb4078c01612: [keyserver] Improve SQL performance in deleteInaccessibleThreads.
Aug 16 2023, 7:16 PM
ashoat closed D8837: [keyserver] Improve SQL performance in deleteThread.
Aug 16 2023, 7:16 PM
ashoat committed rCOMMa00f7ca2cc31: [keyserver] Improve SQL performance in deleteThread.
Aug 16 2023, 7:16 PM
ashoat requested review of D8838: [keyserver] Improve SQL performance in deleteInaccessibleThreads.
Aug 16 2023, 6:37 PM
ashoat requested review of D8837: [keyserver] Improve SQL performance in deleteThread.
Aug 16 2023, 6:35 PM

Aug 15 2023

ashoat committed rCOMM41605dcba9bc: [native] codeVersion -> 250.
Aug 15 2023, 10:04 PM
ashoat committed rCOMM36514dd4c5fd: [native] codeVersion -> 249.
Aug 15 2023, 9:59 PM
ashoat committed rCOMM8728dc1138e9: [web][keyserver] codeVersion -> 20.
Aug 15 2023, 8:34 PM
ashoat accepted D8822: [landing] decrease spacing between paragraphs in landing page info blocks.
Aug 15 2023, 8:21 PM
ashoat added a comment to D8811: [web] Add a temporary login via QR code button on the log-in form.

Can we go with qrCodeLoginButton like in my suggestion?

Aug 15 2023, 7:20 PM
ashoat added a comment to D8809: [docs] change ascii apostrophe to punctuation apostrophe.

Thanks for fixing this!

Aug 15 2023, 7:16 PM
ashoat added a comment to D8811: [web] Add a temporary login via QR code button on the log-in form.

Nit

Aug 15 2023, 6:59 PM
ashoat added inline comments to D8806: [native] Prevent simulators from attempting to open the barcode scanner.
Aug 15 2023, 6:56 PM
ashoat added a comment to D8642: Allow for devices to register as a keyserver.

We're now tracking the goal of making identity service aware of client codeVersion in ENG-4598

Aug 15 2023, 6:53 PM
ashoat added a comment to D8795: Implement synchronization mechanisms to address process, thread and class level concurrency..

@marcin also clarified that Telegram's codebase appears to have the same beliefs as Signal's codebase. It seems increasingly likely now that our issue is the result of assumptions around concurrency that are likely to be untrue.

Aug 15 2023, 4:12 PM
ashoat added 1 blocking reviewer(s) for D8795: Implement synchronization mechanisms to address process, thread and class level concurrency.: tomek.

I am sketched out by the lack of synchronization here. @marcin said that Signal's codebase has some code that indicates that they don't trust notifs in the NSE to be processed sequentially. If that is true, it might explain the issues we've been seeing. It also breaks some assumptions that this code is based on.

Aug 15 2023, 4:08 PM
ashoat accepted D8795: Implement synchronization mechanisms to address process, thread and class level concurrency..
Aug 15 2023, 3:51 PM
ashoat requested changes to D8638: Possible solution for broken iOS notifications.
Aug 15 2023, 3:47 PM
ashoat requested changes to D8803: Implement isStaffRelease method in PlatformSpecificTools.

Talked about this with @marcin – it should be possible to keep this flag in just one place that is accessible from iOS and Android

Aug 15 2023, 3:44 PM
ashoat requested changes to D8730: Implement displaying error message notification for cases that might cause empty notification on Android.

Context in ENG-4525, but basically after talking with @marcin we decided to try to fix the issue that this diff is trying to detect, rather than waiting for it to be detected.

Aug 15 2023, 3:42 PM
ashoat added a comment to D8803: Implement isStaffRelease method in PlatformSpecificTools.

Is it necessary to have two places that we need to change? Could the isStaffRelease function have been placed in a shared CPP file, so it only needs to be updated in one place for both iOS and Android?

Aug 15 2023, 1:55 PM
ashoat accepted D8799: [native] fix forcing the incorrect height for multimedia messages.

Make sure you address the inline comment before landing

Aug 15 2023, 1:31 PM
ashoat accepted D8798: [native] fix forcing the incorrect height for text messages.
Aug 15 2023, 1:31 PM
ashoat accepted D8797: [native] fix forcing the incorrect height for robotext messages.
Aug 15 2023, 1:31 PM
ashoat accepted D8782: [landing] change request access back to subscribe for updates.
Aug 15 2023, 1:24 PM

Aug 13 2023

ashoat added inline comments to D8577: [Docs] Document keyserver deployment.
Aug 13 2023, 3:52 PM

Aug 11 2023

ashoat added inline comments to D8782: [landing] change request access back to subscribe for updates.
Aug 11 2023, 8:30 PM
ashoat added inline comments to D8782: [landing] change request access back to subscribe for updates.
Aug 11 2023, 7:32 PM
ashoat added inline comments to D8577: [Docs] Document keyserver deployment.
Aug 11 2023, 3:33 PM
ashoat added inline comments to D8795: Implement synchronization mechanisms to address process, thread and class level concurrency..
Aug 11 2023, 3:17 PM
ashoat added a comment to D8795: Implement synchronization mechanisms to address process, thread and class level concurrency..

Is there a way we can land this to master? Today the "Temporary changes for staff release" commit only touches native/utils/staff-utils.js, but we could have it touch some CPP file so that both iOS / Android native code could know if the release is a staff release. We currently have a requirement where every person who is doing a release has to coordinate very closely with you to know exactly what commits need to go on keyserver, which ones need to go on native staff release, and which ones need to go on native public release. This is rather complex and it would be easier if you could land the diffs you put up to master

Aug 11 2023, 2:48 PM
ashoat accepted D8794: [landing] address matrix comparison touch ups.
Aug 11 2023, 12:34 PM
ashoat accepted D8793: [landing] address slack comparison touch ups.
Aug 11 2023, 12:33 PM
ashoat accepted D8792: [landing] address discord comparison touch ups.
Aug 11 2023, 12:33 PM
ashoat accepted D8788: [landing] address telegram comparison touch ups.
Aug 11 2023, 12:32 PM
ashoat accepted D8785: [landing] address keybase comparison touch ups.
Aug 11 2023, 12:31 PM
ashoat accepted D8784: [landing] address signal comparison copy touch ups.
Aug 11 2023, 12:30 PM
ashoat accepted D8783: [landing] address keyserver copy on the main page touchups.
Aug 11 2023, 12:30 PM
ashoat added inline comments to D8782: [landing] change request access back to subscribe for updates.
Aug 11 2023, 12:21 PM
ashoat accepted D8781: [landing] fix comm copyright text.
Aug 11 2023, 12:20 PM

Aug 10 2023

ashoat accepted D8577: [Docs] Document keyserver deployment.

A couple nits inline

Aug 10 2023, 5:53 PM
ashoat accepted D8776: [keyserver] Group entry and message infos by threadID instead of iterating over them for each JOIN_THREAD update.
Aug 10 2023, 5:07 PM
ashoat accepted D8775: [landing] address keyserver faq touchups.
Aug 10 2023, 2:41 AM

Aug 9 2023

ashoat accepted D8774: [lib] Consolidate `updateImageThreadAvatar` into `baseSetThreadAvatar`.
Aug 9 2023, 11:57 PM
ashoat accepted D8773: Remove `useUploadSelectedMedia` prop from `BaseEditThreadAvatarProvider`.
Aug 9 2023, 7:55 PM
ashoat accepted D8772: Move `native`-specific `uploadSelectedMedia` from `updateImageThreadAvatar` to `nativeUpdateImageThreadAvatar`.
Aug 9 2023, 7:55 PM
ashoat added inline comments to D8771: [native] Create Flow ExpoBarcodeScanner libdef.
Aug 9 2023, 7:54 PM
ashoat accepted D8770: [native] Add the ExpoBarcodeScanner package.

Does this package version work with the version of Expo that we're running? (Sometimes we have to use older versions)

Aug 9 2023, 5:20 PM
ashoat closed D8767: [web] Prevent users from creating accounts via web SIWE flow.
Aug 9 2023, 2:43 PM
ashoat committed rCOMMe01a2fa14fe7: [web] Prevent users from creating accounts via web SIWE flow.
Aug 9 2023, 2:43 PM

Aug 8 2023

ashoat requested review of D8767: [web] Prevent users from creating accounts via web SIWE flow.
Aug 8 2023, 10:12 PM
ashoat accepted D8763: [web] Add qrcode.react dependency.
Aug 8 2023, 6:48 PM