Page MenuHomePhabricator
Feed Advanced Search

May 12 2023

ashoat added a comment to D7789: [native] Introduced new types for Reanimated.

Can you link to where you got these types from? Eg. docs or TypeScript types?

May 12 2023, 2:16 AM
ashoat accepted D7790: [native] Added animation to the edit box when entering/leaving edit mode.
May 12 2023, 2:16 AM
ashoat accepted D7788: [lib] Move update type enum into a separate file.
May 12 2023, 2:14 AM
ashoat accepted D7785: [lib] Move socket errors to errors.js.
May 12 2023, 2:13 AM
ashoat accepted D7783: [lib] Split thread-types.

Accepting to save you rebasing

May 12 2023, 2:12 AM
ashoat accepted D7784: [keyserver] Add `COMMUNITY_[ANNOUNCEMENT_]ROOT` to `newThreadRequestInputValidator`.
May 12 2023, 2:10 AM
ashoat requested changes to D7781: [landing] animate mobile nav component.
May 12 2023, 1:59 AM

May 11 2023

ashoat accepted D7782: [native] Avoid transition delay during upload.

Thank you for figuring out this bug!

May 11 2023, 8:46 AM
ashoat accepted D7680: [native] Used predefined function for discard edit mode alert.
May 11 2023, 8:42 AM
ashoat accepted D7764: [web] Basic `CommunityCreationModal` layout/styling.
May 11 2023, 8:42 AM
ashoat added inline comments to D7779: [native] Implement thumbhash generation on iOS.
May 11 2023, 8:39 AM
ashoat added inline comments to D7780: [native] Implement thumbhash generation on Android.
May 11 2023, 8:37 AM
ashoat accepted D7778: [native] Create expo-module for Thumbhash generation.
May 11 2023, 8:30 AM
ashoat closed D7795: Update to @commapp/olm@0.0.9.
May 11 2023, 7:29 AM
ashoat committed rCOMM0bb04dbefad6: Update to @commapp/olm@0.0.9 (authored by ashoat).
Update to @commapp/olm@0.0.9
May 11 2023, 7:29 AM
ashoat requested review of D7795: Update to @commapp/olm@0.0.9.
May 11 2023, 7:19 AM
ashoat added a comment to D7775: [native] Use MessageSearchContent.

Probably not worth doing now, but I think it would be more clear to the reveiwer if you had put D7774 before D7773. Then you could squash this into D7773

May 11 2023, 4:01 AM
ashoat added inline comments to D7774: [native] Add MessageSearchContent.
May 11 2023, 3:59 AM
ashoat added inline comments to D7775: [native] Use MessageSearchContent.
May 11 2023, 3:57 AM
ashoat added inline comments to D7773: [native] Add message search screen.
May 11 2023, 3:57 AM
ashoat added inline comments to D7773: [native] Add message search screen.
May 11 2023, 3:57 AM
ashoat requested changes to D7740: [native] Add a header componnent with a search bar.
May 11 2023, 3:50 AM
ashoat added inline comments to D7772: [natvie] Add SearchFooter component.
May 11 2023, 3:49 AM
ashoat added inline comments to D7772: [natvie] Add SearchFooter component.
May 11 2023, 3:48 AM
ashoat requested changes to D7770: [native] Extract function for modyfing items to be displayed in MessageResult.
May 11 2023, 3:45 AM

May 10 2023

ashoat added a comment to D7766: [landing] memoize header and footer.

No, that's not it. The issue is that the children prop you're passing to <div className={css.innerContainer}> will get recreated anyways every time as <>{header}{activePage}{footer}{modals}</>. You're not successfully memoizing any prop passed to any component, so there is no benefit here. You would have to memoize the entirety of <>{header}{activePage}{footer}{modals}</> for it to have any effect.

May 10 2023, 5:31 AM
ashoat closed D7776: [native] Add copy for ConnectEthereum screen.
May 10 2023, 5:29 AM
ashoat committed rCOMM557c8113380f: [native] Add copy for ConnectEthereum screen (authored by ashoat).
[native] Add copy for ConnectEthereum screen
May 10 2023, 5:29 AM
ashoat updated the diff for D7776: [native] Add copy for ConnectEthereum screen.

on the app -> in the app

May 10 2023, 5:28 AM
ashoat requested review of D7776: [native] Add copy for ConnectEthereum screen.
May 10 2023, 4:15 AM
ashoat closed D7769: Update to @commapp/olm@0.0.8.
May 10 2023, 3:34 AM
ashoat committed rCOMMce6144bf33a9: Update to @commapp/olm@0.0.8 (authored by ashoat).
Update to @commapp/olm@0.0.8
May 10 2023, 3:34 AM
ashoat accepted D7767: [Nix] Add more support for localstack.

Makes sense to me, but would like @varun to take a look RE how this might affect an externally runnning staging environment

May 10 2023, 3:30 AM
ashoat requested review of D7769: Update to @commapp/olm@0.0.8.
May 10 2023, 3:22 AM

May 9 2023

ashoat requested changes to D7764: [web] Basic `CommunityCreationModal` layout/styling.
May 9 2023, 10:16 AM
ashoat requested changes to D7766: [landing] memoize header and footer.

This has literally no effect

May 9 2023, 10:01 AM
ashoat added a comment to D7758: [native] Add C++ function to decode base64.

Are we doing this so performance is better than it would be in a pure-JS implementation? Given you've already done it I guess we should keep it (assuming you avoided copy-paste), but in the future when we need performant low-level implementations of crypto functionality, I would if it would be easier to bridge to a Rust library than to implement "from scratch" in C++

May 9 2023, 9:53 AM
ashoat added a comment to D7753: [lib] introduce function to find deep difference between two objects.

Note that Map<K, T> defines the Map class in JS, and doesn't work for objects. If you absolutely must use an object, you should still be able to type it better, eg. { +[key: string]: mixed } or something

May 9 2023, 9:47 AM
ashoat added a comment to D7753: [lib] introduce function to find deep difference between two objects.

Flow doesn't like generic Map<K, T> while iterating over properties, so I used Object.

May 9 2023, 9:46 AM
ashoat requested changes to D7744: [native] Check install referrer on Android.
May 9 2023, 9:43 AM
ashoat added inline comments to D7751: [native] Introduce a hook that allows running an effect just once per installation.
May 9 2023, 9:41 AM
ashoat added inline comments to D7463: Add table to store olm notifications sessions.
May 9 2023, 9:39 AM
ashoat added inline comments to D7463: Add table to store olm notifications sessions.
May 9 2023, 7:17 AM
ashoat added inline comments to D7585: [keyserver] Add function for fetching messages matching search query.
May 9 2023, 7:13 AM
ashoat added inline comments to D7743: [native] Unsubscribe listener on unmount.
May 9 2023, 7:11 AM
ashoat added a comment to D7740: [native] Add a header componnent with a search bar.
  • Agree it would be good to see Android too, given that ReactNav can look different on iOS on Android
  • Hard to review this without knowing the test plan (later diffs are not here yet, but I guess they will be coming soon)
  • It looks like the border radius is too rounded, compared to the Figma designs
May 9 2023, 7:04 AM
ashoat accepted D7383: Refactor NotificationsCryptoModule. Add methods to initialize olm notifications session..
May 9 2023, 6:53 AM
ashoat accepted D7748: [native] Bump expo and expo-image.
May 9 2023, 6:21 AM
ashoat closed D7746: [lib][native][web] Fix bug where no messages are loaded if most recent 20 are reactions.
May 9 2023, 2:31 AM
ashoat committed rCOMMa3a4e1535562: [lib][native][web] Fix bug where no messages are loaded if most recent 20 are… (authored by ashoat).
[lib][native][web] Fix bug where no messages are loaded if most recent 20 are…
May 9 2023, 2:31 AM
ashoat updated the diff for D7746: [lib][native][web] Fix bug where no messages are loaded if most recent 20 are reactions.

Use a for loop instead to improve performance. Tested again on web to make sure it still works

May 9 2023, 2:30 AM

May 8 2023

ashoat added inline comments to D7746: [lib][native][web] Fix bug where no messages are loaded if most recent 20 are reactions.
May 8 2023, 12:42 PM
ashoat accepted D7747: [web] Always disable default authorName and always show avatars in message results modal.
May 8 2023, 12:41 PM
ashoat requested review of D7746: [lib][native][web] Fix bug where no messages are loaded if most recent 20 are reactions.
May 8 2023, 11:21 AM
ashoat added inline comments to D7607: [native] Create the toggle pin modal.
May 8 2023, 11:13 AM
ashoat added a comment to D7745: [lib] Fix circular dependency.

My high-level view is that it would be better to keep account-utils.js as a "leaf", and just extract the one function that is preventing account-utils.js from being a leaf, than to extract all of the other stuff into a new leaf

May 8 2023, 11:08 AM
ashoat added a comment to D7607: [native] Create the toggle pin modal.

Is panelBackgroundLabel actually the right color to use here per the designs?

May 8 2023, 10:05 AM
ashoat closed D7732: [native] Add Ethereum logo to ConnectEthereum screen.
May 8 2023, 9:36 AM
ashoat committed rCOMM8c0563ec2922: [native] Add Ethereum logo to ConnectEthereum screen (authored by ashoat).
[native] Add Ethereum logo to ConnectEthereum screen
May 8 2023, 9:36 AM
ashoat closed D7729: [native] Introduce ConnectEthereum screen.
May 8 2023, 9:36 AM
ashoat committed rCOMM83ad9301f4be: [native] Introduce ConnectEthereum screen (authored by ashoat).
[native] Introduce ConnectEthereum screen
May 8 2023, 9:36 AM
ashoat closed D7725: [native] Rename RegistrationButton state prop to variant.
May 8 2023, 9:36 AM
ashoat closed D7724: [native] Get rid of React.cloneElement stuff in RegistrationTile.
May 8 2023, 9:36 AM
ashoat committed rCOMM3b8f872b4a60: [native] Rename RegistrationButton state prop to variant (authored by ashoat).
[native] Rename RegistrationButton state prop to variant
May 8 2023, 9:36 AM
ashoat committed rCOMMb1de84fd1a44: [native] Get rid of React.cloneElement stuff in RegistrationTile (authored by ashoat).
[native] Get rid of React.cloneElement stuff in RegistrationTile
May 8 2023, 9:36 AM
ashoat closed D7723: [native] Introduce CoolOrNerdModeSelection screen.
May 8 2023, 9:36 AM
ashoat committed rCOMM2821f52d41a2: [native] Introduce CoolOrNerdModeSelection screen (authored by ashoat).
[native] Introduce CoolOrNerdModeSelection screen
May 8 2023, 9:36 AM
ashoat added inline comments to D7607: [native] Create the toggle pin modal.
May 8 2023, 9:33 AM
ashoat added a comment to D7689: [web] Add function to upload media to Blob service.

The de-duplication refactor will be performed in a separate diff.

May 8 2023, 9:25 AM
ashoat added a comment to D7649: [native] Add function to upload media to blob service.

The de-duplicate refactor will be done in a separate diff.

May 8 2023, 9:25 AM
ashoat added inline comments to D7383: Refactor NotificationsCryptoModule. Add methods to initialize olm notifications session..
May 8 2023, 8:39 AM
ashoat added inline comments to D7733: [native] Display a button and navigate to invite links if they are present.
May 8 2023, 6:48 AM
ashoat added inline comments to D7730: [native] Create a modal where invite links are displayed.
May 8 2023, 6:48 AM
ashoat accepted D7688: [web] Caclulate encrypted media sha256.
May 8 2023, 6:47 AM
ashoat added a comment to D7727: [lib] Allow calling endpoints with empty payload.

Thanks for making this fix. siweNonceResponder also doesn't have an input

May 8 2023, 6:44 AM
ashoat added inline comments to D7585: [keyserver] Add function for fetching messages matching search query.
May 8 2023, 6:41 AM
ashoat added inline comments to D7585: [keyserver] Add function for fetching messages matching search query.
May 8 2023, 6:38 AM
ashoat requested changes to D7383: Refactor NotificationsCryptoModule. Add methods to initialize olm notifications session..
May 8 2023, 6:36 AM
ashoat added a comment to D7673: [native] Display the pinned messages for the thread in the new screen.

Some nits that aren't super important

May 8 2023, 6:30 AM
ashoat resigned from D7737: [lib/native] add more icons to comm icon pack.

@atul should review this. I'm not familiar with comm-icon-config.json and its format

May 8 2023, 6:27 AM
ashoat accepted D7741: [lib] fix `callServerEndpoint` returning `undefined`.
May 8 2023, 5:55 AM

May 7 2023

ashoat accepted D7673: [native] Display the pinned messages for the thread in the new screen.

Accepting to unblock

May 7 2023, 8:06 PM
ashoat accepted D7736: [keyserver] Update fetchPinnedMessageInfos to retrieve related messages.

This looks clean!

May 7 2023, 8:14 AM

May 6 2023

ashoat accepted D7735: [native] Show message tooltip on press in the pinned messages screen.

Thanks @rohan!

May 6 2023, 9:08 AM
ashoat added a comment to D7735: [native] Show message tooltip on press in the pinned messages screen.

Let’s include the condition. Looking at Git history for MessageList, I seem to have added the condition in an unrelated Android diff in 2019 when it was still a personal project… so not much detail in the commit message, and it might reflect an outdated issue in React Native… but doesn’t hurt to check just in case, and for consistency

May 6 2023, 5:04 AM
ashoat accepted D7607: [native] Create the toggle pin modal.

I’m confused how the optional chaining works here – if ?.slice(-1) is called on an undefined value and returns undefined, won’t you still be indexing on undefined (undefined[0])? Also note that the concern I shared was about the array being empty, whereas you seem to explored the possibility of the array being null

May 6 2023, 5:01 AM
ashoat attached a referenced file: F524570: Screenshot 2023-05-06 at 10.53.51 AM.png.
May 6 2023, 4:49 AM
ashoat requested changes to D7735: [native] Show message tooltip on press in the pinned messages screen.

Concerned that we're not checking for height and pageY being set

May 6 2023, 2:07 AM
ashoat requested changes to D7673: [native] Display the pinned messages for the thread in the new screen.
May 6 2023, 1:57 AM
ashoat requested changes to D7607: [native] Create the toggle pin modal.

Thought a little bit more carefully about the ReactNav stuff and have just one more round of feedback (hopefully), all regarding the new useNavigateToPinModal hook. Sorry I didn't call this out earlier!

May 6 2023, 1:49 AM

May 5 2023

ashoat added inline comments to D7673: [native] Display the pinned messages for the thread in the new screen.
May 5 2023, 11:08 AM
ashoat requested review of D7732: [native] Add Ethereum logo to ConnectEthereum screen.
May 5 2023, 9:16 AM
ashoat requested review of D7729: [native] Introduce ConnectEthereum screen.
May 5 2023, 9:09 AM
ashoat accepted D7568: Implement fetcher and updater for olm accounts on the keyserver.

Looks perfect to me! Just need @tomek to accept now

May 5 2023, 9:05 AM
ashoat accepted D7586: Implement endpoint on the keyserver to get one time keys and prekey to initialize olmsession.
May 5 2023, 9:05 AM
ashoat updated the diff for D7724: [native] Get rid of React.cloneElement stuff in RegistrationTile.

Retrigger CI

May 5 2023, 6:18 AM
ashoat added a comment to D7710: [keyserver] Introduce report, message and thread responder validators.

I've talked with @ashoat about report ids, and in the future, we probably will send them to some centralized server, so we don't need to convert ids or payloads.

May 5 2023, 6:05 AM
ashoat accepted D7568: Implement fetcher and updater for olm accounts on the keyserver.

Great work on this, @marcin – your approach is different from what I proposed, but I agree it is a better approach. Thanks for thinking about this!

May 5 2023, 6:03 AM
ashoat requested changes to D7586: Implement endpoint on the keyserver to get one time keys and prekey to initialize olmsession.
May 5 2023, 5:55 AM

May 4 2023

ashoat requested review of D7725: [native] Rename RegistrationButton state prop to variant.
May 4 2023, 2:29 PM