Page MenuHomePhabricator
Feed Advanced Search

Aug 28 2024

tomek accepted D13181: [lib] update `creatorID` -> `unread` in `CreateThickRawThreadInfoInput`.
Aug 28 2024, 5:40 AM
tomek requested changes to D13187: [lib] add editing DM messages.
Aug 28 2024, 5:39 AM
tomek accepted D13186: [lib][native] update `useEditMessage` return type.
Aug 28 2024, 5:35 AM
tomek accepted D13185: [web] implement leaving DM thread.
Aug 28 2024, 5:33 AM
tomek accepted D13184: [native] implement leaving DM thread.
Aug 28 2024, 5:32 AM
tomek accepted D13191: [web] Fix modal styles.
Aug 28 2024, 5:19 AM
tomek accepted D13180: [native] Create intro tip.
Aug 28 2024, 4:08 AM
tomek accepted D13179: [native] Make possible to render tip not pointing to anything.
Aug 28 2024, 4:06 AM
tomek accepted D13178: [native] Move ChatTabBarButton.
Aug 28 2024, 3:59 AM
tomek accepted D13177: [native] Create home tab tip.
Aug 28 2024, 3:56 AM
tomek accepted D13174: [web][native] update `useSendReaction` to send DMs reactions.
Aug 28 2024, 3:48 AM
tomek accepted D13173: [web][native] update `useSendReaction` to `ThreadInfo` instead of `threadID` only.
Aug 28 2024, 3:47 AM

Aug 27 2024

tomek accepted D13121: Implement method to go from DMOperation -> [MessageData] for each dm op spec.
Aug 27 2024, 8:40 AM
tomek closed D13142: [web] Expose messages fetching function through the worker and sqlite-api.
Aug 27 2024, 8:02 AM
tomek closed D13162: [lib] Fetch thick thread messages.
Aug 27 2024, 8:02 AM
tomek closed D13147: [web][native] Extract common fetching logic.
Aug 27 2024, 8:02 AM
tomek committed rCOMMde6af8e12178: [lib] Fetch thick thread messages (authored by tomek).
[lib] Fetch thick thread messages
Aug 27 2024, 8:02 AM
tomek committed rCOMM21327693b3cc: [web][native] Extract common fetching logic (authored by tomek).
[web][native] Extract common fetching logic
Aug 27 2024, 8:02 AM
tomek committed rCOMMe8389432b37e: [web] Expose messages fetching function through the worker and sqlite-api (authored by tomek).
[web] Expose messages fetching function through the worker and sqlite-api
Aug 27 2024, 8:02 AM
tomek closed D13138: [web] Extract a function that creates web messages.
Aug 27 2024, 8:02 AM
tomek closed D13140: [web] Create a function that fetches messages in batches.
Aug 27 2024, 8:02 AM
tomek closed D13141: [native] Expose messages fetching function through JSI.
Aug 27 2024, 8:02 AM
tomek committed rCOMM3a23e30a4fc0: [native] Expose messages fetching function through JSI (authored by tomek).
[native] Expose messages fetching function through JSI
Aug 27 2024, 8:02 AM
tomek committed rCOMM695c02284c8f: [web] Extract a function that creates web messages (authored by tomek).
[web] Extract a function that creates web messages
Aug 27 2024, 8:02 AM
tomek committed rCOMM1cee5c5f3b22: [web] Create a function that fetches messages in batches (authored by tomek).
[web] Create a function that fetches messages in batches
Aug 27 2024, 8:02 AM
tomek closed D13137: [native] Fetch only a subset of messages from thick threads.
Aug 27 2024, 8:02 AM
tomek closed D13133: [native] Rename `getAllMessages` method.
Aug 27 2024, 8:02 AM
tomek committed rCOMMe714086dc9de: [native] Fetch only a subset of messages from thick threads (authored by tomek).
[native] Fetch only a subset of messages from thick threads
Aug 27 2024, 8:02 AM
tomek committed rCOMM45cdd7740bc6: [native] Rename `getAllMessages` method (authored by tomek).
[native] Rename `getAllMessages` method
Aug 27 2024, 8:02 AM
tomek closed D13106: [lib] Don't prune messages from thick threads.
Aug 27 2024, 8:01 AM
tomek committed rCOMM4cdc2ad83d55: [lib] Don't prune messages from thick threads (authored by tomek).
[lib] Don't prune messages from thick threads
Aug 27 2024, 8:01 AM
tomek accepted D12882: Implement sending E2EE notification from the client.
Aug 27 2024, 7:56 AM
tomek accepted D13084: [native] Create muted tab tip.
Aug 27 2024, 7:38 AM
tomek accepted D13175: [native] Add renderTabBarItem to MaterialTopTabBarProps.
Aug 27 2024, 7:31 AM
tomek accepted D13176: [native] Fix light mode highlighting.

Thanks!

Aug 27 2024, 7:13 AM
tomek accepted D13082: [native] Create custom top tabs component.
Aug 27 2024, 7:10 AM
tomek updated the diff for D13162: [lib] Fetch thick thread messages.

Merge imports

Aug 27 2024, 6:57 AM
tomek updated the diff for D13162: [lib] Fetch thick thread messages.

Simplify the logic and add a comment

Aug 27 2024, 6:56 AM
tomek updated the diff for D13147: [web][native] Extract common fetching logic.

Move the function

Aug 27 2024, 4:54 AM
tomek updated the test plan for D13142: [web] Expose messages fetching function through the worker and sqlite-api.
Aug 27 2024, 4:49 AM
tomek updated the test plan for D13141: [native] Expose messages fetching function through JSI.
Aug 27 2024, 4:48 AM
tomek updated the diff for D13140: [web] Create a function that fetches messages in batches.

Extract a constant

Aug 27 2024, 4:40 AM
tomek updated the diff for D13138: [web] Extract a function that creates web messages.

Remove the method from DatabaseQueryExecutor

Aug 27 2024, 4:36 AM
tomek updated the diff for D13138: [web] Extract a function that creates web messages.

Make the method private

Aug 27 2024, 3:27 AM
tomek updated the diff for D13137: [native] Fetch only a subset of messages from thick threads.

Format

Aug 27 2024, 3:22 AM
tomek updated the diff for D13133: [native] Rename `getAllMessages` method.

Update names

Aug 27 2024, 2:25 AM
tomek updated the test plan for D13162: [lib] Fetch thick thread messages.
Aug 27 2024, 2:09 AM
tomek updated the test plan for D13162: [lib] Fetch thick thread messages.
Aug 27 2024, 1:53 AM
tomek updated the diff for D13162: [lib] Fetch thick thread messages.

Fix fetching the last message

Aug 27 2024, 1:52 AM
tomek updated the test plan for D13162: [lib] Fetch thick thread messages.
Aug 27 2024, 1:46 AM
tomek added a comment to D13162: [lib] Fetch thick thread messages.

We don't stop after fetching the first batch. Instead, we're fetching all the batches one by one immediately.

This is caused by the fact that fetching from the DB is too fast. We probably have an existing bug, that wasn't caught, because fetching from keyservers is a lot slower.

Aug 27 2024, 1:31 AM
tomek accepted D13163: Implement DMOperation and relevant spec for thread status change.
Aug 27 2024, 12:57 AM
tomek requested changes to D13121: Implement method to go from DMOperation -> [MessageData] for each dm op spec.

Overall it looks ok, but there are a couple of things that should be fixed, so I'm requesting changes.

Aug 27 2024, 12:41 AM
tomek accepted D13050: Extract logic of pushInfo -> usersToCollapsableNotifInfo to lib and use for client-based notifs.
Aug 27 2024, 12:19 AM

Aug 26 2024

tomek accepted D13169: [lib] add `supportsAutoRetry` to `DMOperationSpec`.
Aug 26 2024, 7:51 AM
tomek requested changes to D12882: Implement sending E2EE notification from the client.

It is a really good idea to split this diff because it does a couple of unrelated things. Especially, the part about sending notifs requires some discussion and changes, while all the other parts could be accepted.

Aug 26 2024, 5:46 AM
tomek accepted D13131: Fix sound issue for peer-based notifications.
Aug 26 2024, 5:19 AM
tomek accepted D13156: [lib] implement sending DM messages with tracking of success/failures.
Aug 26 2024, 5:14 AM
tomek accepted D13157: [lib] add passing DM operation ID when dispatching action.
Aug 26 2024, 5:13 AM
tomek accepted D13161: [lib] implement retrying DM text messages.
Aug 26 2024, 4:42 AM
tomek accepted D13160: [lib] implement sending DM text messages.
Aug 26 2024, 4:38 AM
tomek accepted D13159: [web][native] implement DM messages status visible in UI.
Aug 26 2024, 4:32 AM
tomek accepted D13158: [lib][web][native] implement detecting DM messages as failed.
Aug 26 2024, 4:31 AM
tomek accepted D13155: [lib] implement action for sending DM messages.
Aug 26 2024, 4:17 AM
tomek accepted D13154: [lib] start tracking progress of DM messages on `processDMOpsActionType` action.
Aug 26 2024, 4:05 AM
tomek accepted D13153: [lib] add `outboundP2PMessageIDs` to `LocalMessageInfo` to track progress.
Aug 26 2024, 3:56 AM
tomek accepted D13152: [lib] introduce `DispatchMetadata` for Inbound and Outbound actions.
Aug 26 2024, 3:35 AM
tomek accepted D13151: [lib] deprecate `sendDMOperation` and implement method to create sending promise.
Aug 26 2024, 3:30 AM
tomek accepted D13150: [lib] update `processOutboundP2PMessages` to return IDs of messages queued on Tunnelbroker.
Aug 26 2024, 3:22 AM
tomek accepted D13149: [lib] move generating P2P messages to `useProcessDMOperation`.
Aug 26 2024, 3:10 AM
tomek accepted D13148: [lib] update `processDMOpsActionType` to handle `outboundP2PMessages`.
Aug 26 2024, 1:56 AM
tomek accepted D13146: [lib] update `useProcessDMOperation` to use `DMOperationSpecification`.
Aug 26 2024, 1:49 AM
tomek accepted D13145: [lib] distinguish between Inbound and Outbound `DMOperationSpecification`.
Aug 26 2024, 1:44 AM
tomek closed D13122: [lib] Check the store when searching for message edits.
Aug 26 2024, 1:26 AM
tomek committed rCOMM508f32db66ae: [lib] Check the store when searching for message edits (authored by tomek).
[lib] Check the store when searching for message edits
Aug 26 2024, 1:26 AM

Aug 23 2024

tomek requested review of D13162: [lib] Fetch thick thread messages.
Aug 23 2024, 11:09 AM
tomek updated the diff for D13122: [lib] Check the store when searching for message edits.

Make comments consistent

Aug 23 2024, 10:59 AM
tomek updated the diff for D13140: [web] Create a function that fetches messages in batches.

Rebase

Aug 23 2024, 9:26 AM
tomek updated the diff for D13138: [web] Extract a function that creates web messages.

Rebase

Aug 23 2024, 9:23 AM
tomek updated the diff for D13137: [native] Fetch only a subset of messages from thick threads.

Extract thick thread types

Aug 23 2024, 9:20 AM
tomek added inline comments to D13137: [native] Fetch only a subset of messages from thick threads.
Aug 23 2024, 9:09 AM
tomek updated the diff for D13140: [web] Create a function that fetches messages in batches.

Extract thick thread types

Aug 23 2024, 9:09 AM
tomek requested review of D13147: [web][native] Extract common fetching logic.
Aug 23 2024, 5:20 AM
tomek accepted D13136: [native] Fix blinking overlay background.
Aug 23 2024, 5:17 AM
tomek accepted D13085: [native] Add nux handler.
Aug 23 2024, 5:12 AM
tomek requested review of D13142: [web] Expose messages fetching function through the worker and sqlite-api.
Aug 23 2024, 4:11 AM
tomek requested review of D13141: [native] Expose messages fetching function through JSI.
Aug 23 2024, 4:11 AM
tomek added a comment to D13085: [native] Add nux handler.

I don't love that we have two separate mechanisms for this. alertStore's purpose is to record when we show various alerts, and help us control how often we show them based on when they're been shown before. That's basically this use case as well. If there are some differences, I would think it would be better to extend alertStore to do what we want here (eg. use useOnFirstLaunchEffect or persist in a similar fashion) rather than building a separate mechanism.

I'm going to resign as I'm heading to vacation starting tomorrow and it doesn't appear that we have the time to do things right here.

Aug 23 2024, 3:38 AM

Aug 22 2024

tomek requested review of D13140: [web] Create a function that fetches messages in batches.
Aug 22 2024, 10:37 AM
tomek requested review of D13138: [web] Extract a function that creates web messages.
Aug 22 2024, 9:54 AM
tomek updated the diff for D13137: [native] Fetch only a subset of messages from thick threads.

Rename

Aug 22 2024, 9:36 AM
tomek requested review of D13137: [native] Fetch only a subset of messages from thick threads.
Aug 22 2024, 4:58 AM

Aug 21 2024

tomek requested review of D13133: [native] Rename `getAllMessages` method.
Aug 21 2024, 10:40 AM
tomek accepted D13127: [native] Update styling.
Aug 21 2024, 2:56 AM
tomek added a comment to D13057: [lib] Add function allowing extracting ThreadInfo from updates.
In D13057#370009, @inka wrote:

One thing we could do here is add a separate update type for unread status. This way the logic from D13059 that needs getUpdatedThreadInfo would not be needed, and so getUpdatedThreadInfo would not be needed. But this might be too much work.

Yeah, I'm still not sure if it is a good idea. This change would greatly simplify this logic, but has some downsides: introducing a whole new update type would require implementing its spec, which contains e.g. keyserver db layer - and we don't need that, but skipping it would also be weird. If we introduce this new update type, we will need to answer a question as to why we don't introduce similar updates for other props of the thread info... and it seems like we should do that - introduce a new update info that allows updating any property of thread info in isolation. But that might take some time. I don't think it is worth doing now.

I'm confused about this discussion... don't we already have updateTypes.UPDATE_THREAD_READ_STATUS?

Aug 21 2024, 2:40 AM
tomek added a comment to D13064: [native] Modify overlay context to handle reanimated 2 components.

Ah – the answer to my question is "Because we're using layout animations, rather than animations driven by a SharedValue." While this approach likely works for the NUX project, I suspect it won't work for the more complicated cases we need to support as part of ENG-8149. It's unfortunate that the approach you've chosen means that your work won't be generalizable.

Aug 21 2024, 2:36 AM
tomek added a comment to D13085: [native] Add nux handler.

Requesting changes because it seems like alertStore can be used here, and I'd rather avoid reimplementing logic when we can share it instead

Aug 21 2024, 2:33 AM

Aug 20 2024

tomek closed D13059: [lib] Update the replies count.
Aug 20 2024, 9:34 AM
tomek committed rCOMM765101b84d5c: [lib] Update the replies count (authored by tomek).
[lib] Update the replies count
Aug 20 2024, 9:34 AM
tomek closed D13057: [lib] Add function allowing extracting ThreadInfo from updates.
Aug 20 2024, 9:34 AM