Page MenuHomePhorge
Feed Search

Sep 17 2023

atul committed rCOMM71cba72c91a3: [native] Bump `react-native` to `0.70.9`.
Sep 17 2023, 10:28 PM
atul updated the diff for D9213: [native] Memoize `ThreadAncestorsLabel`.

rebase and land

Sep 17 2023, 10:28 PM
atul requested changes to D9203: [web] introduce AppearanceChangeModal.
Sep 17 2023, 10:04 PM
atul updated the diff for D9219: [native] Bump `react-native` to `0.70.9`.

rebase and land

Sep 17 2023, 10:03 PM

Sep 15 2023

atul published D9219: [native] Bump `react-native` to `0.70.9` for review.
Sep 15 2023, 9:54 PM
atul updated subscribers of D9215: [native] Remove `boundChatListData` from `useThreadListSearch` dep list.
In D9215#271132, @rohan wrote:

Accepting since it seems reasonable to me, but not super familiar with why we introduced it here in the first place so letting others take a look

Sep 15 2023, 9:53 PM
atul added a comment to D9214: [native] Memoize `ConnectedRemoteImage`.
In D9214#271139, @rohan wrote:

If the performance isn't impacted much one way or the other, is the memory usage of memoizing this not noticeable as well?

Sep 15 2023, 9:48 PM
atul requested review of D9215: [native] Remove `boundChatListData` from `useThreadListSearch` dep list.
Sep 15 2023, 4:57 AM
atul published D9214: [native] Memoize `ConnectedRemoteImage` for review.
Sep 15 2023, 2:44 AM
atul published D9213: [native] Memoize `ThreadAncestorsLabel` for review.
Sep 15 2023, 2:44 AM
atul added inline comments to D9205: [native] Introduce naive `ChatThreadListSearch` component.
Sep 15 2023, 2:12 AM

Sep 14 2023

atul requested review of D9212: [native] Consume `useThreadListSearch` in `ChatThreadList`.
Sep 14 2023, 11:09 PM
atul published D9211: [native] Memoize `flatList` in `ChatThreadList` for review.
Sep 14 2023, 9:23 PM
atul published D9210: [native] Add some basic memoization to `ChatThreadListSearch` for review.
Sep 14 2023, 9:16 PM
atul published D9209: [native] Forward `searchInputRef` from `ChatThreadList` to `ChatThreadListSearch` for review.
Sep 14 2023, 9:06 PM
atul updated the diff for D9208: [native] Remove `renderSearch` in `ChatThreadList` and inline `ChatThreadListSearch` directly.

some memoization

Sep 14 2023, 8:43 PM
atul published D9208: [native] Remove `renderSearch` in `ChatThreadList` and inline `ChatThreadListSearch` directly for review.
Sep 14 2023, 8:41 PM
atul published D9207: [native] Move Reanimated code from `ChatThreadList` to `ChatThreadListSearch` for review.
Sep 14 2023, 8:40 PM
atul published D9206: [native] Move rest of Search views to `ChatThreadListSearch` for review.
Sep 14 2023, 8:25 PM
atul added inline comments to D9205: [native] Introduce naive `ChatThreadListSearch` component.
Sep 14 2023, 8:20 PM
atul requested review of D9205: [native] Introduce naive `ChatThreadListSearch` component.
Sep 14 2023, 7:57 PM
atul accepted D9148: [web/keyserver] Handle different thread ids in url.
Sep 14 2023, 4:46 PM
atul requested changes to D9095: [native] Block editing messages on search and pinned messages screens, and of the first message in a thread.

Requesting changes for feedback above

Sep 14 2023, 4:19 PM
atul accepted D9147: [lib/web/native] Improve conversion utils.

Fact that we have unit test coverage here makes this super easy to accept

Sep 14 2023, 4:18 PM
atul accepted D9109: [web] Enable db for all users.

Generally looks good, would be good for @kamil to take a final pass. Only thing that I'd change before landing is early returning in handleSensitiveData.

Sep 14 2023, 4:14 PM
atul accepted D9146: [keyserver] Remove unused params in validation functions.

Thanks for cleaning this up

Sep 14 2023, 4:08 PM
atul accepted D9154: [lib] Add uuid dependency.

Seems reasonable. In the future it might be helpful to provide link to corresponding GitHub repo in description.

Sep 14 2023, 4:07 PM

Sep 13 2023

atul closed D9191: [native] Remove `ChatThreadList` class component.
Sep 13 2023, 9:56 PM
atul committed rCOMMabee4be80946: [native] Remove `ChatThreadList` class component.
Sep 13 2023, 9:56 PM
atul closed D9190: [native] Replace `componentDidUpdate` with `useEffect`s in `ConnectedChatThreadList`.
Sep 13 2023, 9:56 PM
atul closed D9189: [native] Lift `component[DidMount/WillUnmount]` lifecycle methods to `useEffect` in `ConnectedChatThreadList`.
Sep 13 2023, 9:56 PM
atul committed rCOMM069f7d738f1d: [native] Replace `componentDidUpdate` with `useEffect`s in….
Sep 13 2023, 9:56 PM
atul committed rCOMMfc4af3014583: [native] Lift `component[DidMount/WillUnmount]` lifecycle methods to….
Sep 13 2023, 9:56 PM
atul closed D9188: [native] Lift `onTabPress` to `ConnectedChatThreadList`.
Sep 13 2023, 9:56 PM
atul committed rCOMM0603be647052: [native] Lift `onTabPress` to `ConnectedChatThreadList`.
Sep 13 2023, 9:56 PM
atul closed D9184: [native] Lift `FlatList` to `ConnectedChatThreadList`.
Sep 13 2023, 9:56 PM
atul closed D9183: [native] Lift `floatingAction` to `ConnectedChatThreadList`.
Sep 13 2023, 9:56 PM
atul committed rCOMM423a7e9a095a: [native] Lift `floatingAction` to `ConnectedChatThreadList`.
Sep 13 2023, 9:56 PM
atul committed rCOMM5edb5901e5de: [native] Lift `FlatList` to `ConnectedChatThreadList`.
Sep 13 2023, 9:56 PM
atul closed D9174: [native] Replace `listDataSelector` with `useMemo` in `ChatThreadList`.
Sep 13 2023, 9:56 PM
atul committed rCOMM716319a400ea: [native] Replace `listDataSelector` with `useMemo` in `ChatThreadList`.
Sep 13 2023, 9:56 PM
atul updated the diff for D9190: [native] Replace `componentDidUpdate` with `useEffect`s in `ConnectedChatThreadList`.

address @ashoat's feedback

Sep 13 2023, 9:55 PM
atul added inline comments to D9184: [native] Lift `FlatList` to `ConnectedChatThreadList`.
Sep 13 2023, 9:52 PM
atul updated the diff for D9183: [native] Lift `floatingAction` to `ConnectedChatThreadList`.

address @ginsu's feedback

Sep 13 2023, 9:51 PM
atul accepted D9196: [native] Clean up after each Android Rust build in CI.

Awesome

Sep 13 2023, 9:34 PM
atul published D9191: [native] Remove `ChatThreadList` class component for review.
Sep 13 2023, 6:47 PM
atul updated the diff for D9189: [native] Lift `component[DidMount/WillUnmount]` lifecycle methods to `useEffect` in `ConnectedChatThreadList`.

address @ashoat's feedback: split into three separate useEffects

Sep 13 2023, 6:34 PM
atul closed D9173: [native] Lift `renderItem` to `ConnectedChatThreadList`.
Sep 13 2023, 6:30 PM
atul committed rCOMMae6086fcf3f9: [native] Lift `renderItem` to `ConnectedChatThreadList`.
Sep 13 2023, 6:30 PM
atul closed D9171: [native] Lift `onPressItem` and `onPressSeeMoreSidebars` to `ConnectedChatThreadList`.
Sep 13 2023, 6:30 PM
atul closed D9172: [native] Lift `hardwareBack` to `ConnectedChatThreadList`.
Sep 13 2023, 6:30 PM
atul committed rCOMMd6827690bc41: [native] Lift `onPressItem` and `onPressSeeMoreSidebars` to….
Sep 13 2023, 6:30 PM
atul committed rCOMMbc069c45e99f: [native] Lift `hardwareBack` to `ConnectedChatThreadList`.
Sep 13 2023, 6:30 PM
atul closed D9166: [native] Lift `renderSearch` to `ConnectedChatThreadList`.
Sep 13 2023, 6:30 PM
atul committed rCOMM2d33aa44aaf5: [native] Lift `renderSearch` to `ConnectedChatThreadList`.
Sep 13 2023, 6:30 PM
atul updated the diff for D9173: [native] Lift `renderItem` to `ConnectedChatThreadList`.

rebase and land

Sep 13 2023, 6:27 PM
atul added inline comments to D9189: [native] Lift `component[DidMount/WillUnmount]` lifecycle methods to `useEffect` in `ConnectedChatThreadList`.
Sep 13 2023, 6:11 PM
atul attached a referenced file: F757801: ca06f1.png.
Sep 13 2023, 6:07 PM
atul attached a referenced file: F757807: f28e55.png.
Sep 13 2023, 6:07 PM
atul attached a referenced file: F757809: fa1071.png.
Sep 13 2023, 6:07 PM
atul published D9190: [native] Replace `componentDidUpdate` with `useEffect`s in `ConnectedChatThreadList` for review.
Sep 13 2023, 6:07 PM
atul retitled D9189: [native] Lift `component[DidMount/WillUnmount]` lifecycle methods to `useEffect` in `ConnectedChatThreadList` from [native] Lift `component[DidMount/WillUnmount]` lifestyle methods to `useEffect` in `ConnectedChatThreadList`
Sep 13 2023, 5:52 PM
atul added a comment to D9187: [docs] Use 127.0.0.1 in db_config.json instead of localhost.

Is this config auto generated by nix somehow? Should mariadb-up-mac.nix be updated as well?

Sep 13 2023, 5:33 PM
atul accepted D9187: [docs] Use 127.0.0.1 in db_config.json instead of localhost.
Sep 13 2023, 5:32 PM
atul published D9189: [native] Lift `component[DidMount/WillUnmount]` lifecycle methods to `useEffect` in `ConnectedChatThreadList` for review.
Sep 13 2023, 5:31 PM
atul published D9188: [native] Lift `onTabPress` to `ConnectedChatThreadList` for review.
Sep 13 2023, 5:09 PM
atul updated the diff for D9184: [native] Lift `FlatList` to `ConnectedChatThreadList`.

resolve merge conflicts

Sep 13 2023, 5:00 PM
atul updated the diff for D9183: [native] Lift `floatingAction` to `ConnectedChatThreadList`.

resolve merge conflicts and rebase

Sep 13 2023, 4:59 PM
atul published D9184: [native] Lift `FlatList` to `ConnectedChatThreadList` for review.
Sep 13 2023, 4:58 PM
atul added inline comments to D9174: [native] Replace `listDataSelector` with `useMemo` in `ChatThreadList`.
Sep 13 2023, 4:57 PM
atul updated the diff for D9174: [native] Replace `listDataSelector` with `useMemo` in `ChatThreadList`.

address @ginsu's feedback

Sep 13 2023, 4:56 PM
atul added inline comments to D9174: [native] Replace `listDataSelector` with `useMemo` in `ChatThreadList`.
Sep 13 2023, 4:50 PM
atul published D9183: [native] Lift `floatingAction` to `ConnectedChatThreadList` for review.
Sep 13 2023, 4:38 PM
atul closed D9164: [native] Lift `onSwipeableWillOpen` and `composeThread` to `ConnectedChatThreadList`.
Sep 13 2023, 3:23 PM
atul closed D9161: [native] Lift `onScroll` to `ConnectedChatThreadList`.
Sep 13 2023, 3:23 PM
atul committed rCOMM5facba63469a: [native] Lift `onSwipeableWillOpen` and `composeThread` to….
Sep 13 2023, 3:23 PM
atul closed D9136: [native] Replace `scrollPos` instance variable w/ ref.
Sep 13 2023, 3:23 PM
atul committed rCOMM3a4e9c686ee5: [native] Lift `onScroll` to `ConnectedChatThreadList`.
Sep 13 2023, 3:23 PM
atul committed rCOMM22479ac32638: [native] Replace `scrollPos` instance variable w/ ref.
Sep 13 2023, 3:23 PM
atul closed D9134: [native] Lift `searchUsers` and `onChangeSearchText` to `ConnectedChatThreadList`.
Sep 13 2023, 3:23 PM
atul closed D9135: [native] Pull static fns out of `ChatThreadList` to `ChatThreadListUtils`.
Sep 13 2023, 3:23 PM
atul committed rCOMM2ce8245fa6e2: [native] Pull static fns out of `ChatThreadList` to `ChatThreadListUtils`.
Sep 13 2023, 3:23 PM
atul committed rCOMMcdad23dbed9c: [native] Lift `searchUsers` and `onChangeSearchText` to….
Sep 13 2023, 3:23 PM
atul closed D9133: [native] Lift `searchCancelButton*` `Value`/`Node`s to `ConnectedChatThreadList`.
Sep 13 2023, 3:23 PM
atul committed rCOMMd8217f680e65: [native] Lift `searchCancelButton*` `Value`/`Node`s to….
Sep 13 2023, 3:23 PM
atul updated the diff for D9164: [native] Lift `onSwipeableWillOpen` and `composeThread` to `ConnectedChatThreadList`.

rebase and land

Sep 13 2023, 3:16 PM
atul updated the summary of D9174: [native] Replace `listDataSelector` with `useMemo` in `ChatThreadList`.
Sep 13 2023, 3:03 PM
atul added a comment to D9166: [native] Lift `renderSearch` to `ConnectedChatThreadList`.

Another example w/ doubleTapUpdate:
https://chat.openai.com/share/285de214-0e3f-4753-96b5-d7870e7c0c11

Sep 13 2023, 2:46 PM
atul requested review of D9166: [native] Lift `renderSearch` to `ConnectedChatThreadList`.
Sep 13 2023, 2:43 PM
atul added a comment to D9166: [native] Lift `renderSearch` to `ConnectedChatThreadList`.

EG

Sep 13 2023, 2:42 PM
atul added a comment to D9166: [native] Lift `renderSearch` to `ConnectedChatThreadList`.

I agree that it would be good to migrate away from the Reanimated 1 API... given it's deprecated in Reanimated 3, we'll eventually need to migrate there anyways. Looking at animateTowards though, it seems fairly complicated... I don't think it makes sense to block @atul's work here on transforming that to the new Reanimated API. We'll probably need to have the Reanimated conversion be a monthly goal for someone...

Sep 13 2023, 2:38 PM
atul added inline comments to D9164: [native] Lift `onSwipeableWillOpen` and `composeThread` to `ConnectedChatThreadList`.
Sep 13 2023, 2:37 PM
atul added inline comments to D9161: [native] Lift `onScroll` to `ConnectedChatThreadList`.
Sep 13 2023, 2:36 PM
atul added inline comments to D9134: [native] Lift `searchUsers` and `onChangeSearchText` to `ConnectedChatThreadList`.
Sep 13 2023, 2:36 PM
atul published D9174: [native] Replace `listDataSelector` with `useMemo` in `ChatThreadList` for review.
Sep 13 2023, 12:11 AM
atul published D9173: [native] Lift `renderItem` to `ConnectedChatThreadList` for review.
Sep 13 2023, 12:10 AM

Sep 12 2023

atul published D9172: [native] Lift `hardwareBack` to `ConnectedChatThreadList` for review.
Sep 12 2023, 11:57 PM
atul updated the diff for D9171: [native] Lift `onPressItem` and `onPressSeeMoreSidebars` to `ConnectedChatThreadList`.

stage all

Sep 12 2023, 11:03 PM
atul published D9171: [native] Lift `onPressItem` and `onPressSeeMoreSidebars` to `ConnectedChatThreadList` for review.
Sep 12 2023, 10:59 PM
atul closed D9132: [native] Lift `openedSwipeableID`/`numItemsToDisplay` state to `ConnectedChatThreadList`.
Sep 12 2023, 10:43 PM