Page MenuHomePhabricator
Feed Advanced Search

Aug 8 2024

tomek accepted D13014: [lib] Filter permission strings with member_ prefix for non-members.
Aug 8 2024, 3:01 AM
tomek accepted D13013: [lib] Introduce member_ prefix for permission strings.
Aug 8 2024, 2:59 AM

Aug 7 2024

tomek accepted D13007: [lib] fix processing DM ops by adding `MessageSourceMetadata` param.
Aug 7 2024, 2:51 AM
tomek accepted D13006: [lib] fix generating DM messages to peers.
Aug 7 2024, 2:38 AM
tomek accepted D13005: [lib] fix usage of `userID` in DMOp messages.
Aug 7 2024, 2:37 AM

Aug 6 2024

tomek closed D13001: [lib] Properly handle server call timeout when accepting an invite link.
Aug 6 2024, 8:12 AM
tomek committed rCOMM5d9dc180d029: [lib] Properly handle server call timeout when accepting an invite link (authored by tomek).
[lib] Properly handle server call timeout when accepting an invite link
Aug 6 2024, 8:12 AM
tomek closed D13000: [lib] Make sure we send only one join thread request at a time.
Aug 6 2024, 8:12 AM
tomek committed rCOMMbfdb7208f9dc: [lib] Make sure we send only one join thread request at a time (authored by tomek).
[lib] Make sure we send only one join thread request at a time
Aug 6 2024, 8:12 AM
tomek closed D12999: [lib] Increase join thread timeout.
Aug 6 2024, 8:12 AM
tomek committed rCOMM1ff5615ee82f: [lib] Increase join thread timeout (authored by tomek).
[lib] Increase join thread timeout
Aug 6 2024, 8:12 AM
tomek updated the summary of D13001: [lib] Properly handle server call timeout when accepting an invite link.
Aug 6 2024, 7:57 AM
tomek requested review of D13001: [lib] Properly handle server call timeout when accepting an invite link.
Aug 6 2024, 7:17 AM
tomek requested review of D13000: [lib] Make sure we send only one join thread request at a time.
Aug 6 2024, 7:06 AM
tomek requested review of D12999: [lib] Increase join thread timeout.
Aug 6 2024, 6:42 AM
tomek closed D12975: [lib] Rename createUpdateUnreadCountUpdate function.
Aug 6 2024, 3:35 AM
tomek closed D12969: [lib] Rename editor to joiner in join thread operation.
Aug 6 2024, 3:35 AM
tomek committed rCOMMe1d01618736d: [lib] Rename editor to joiner in join thread operation (authored by tomek).
[lib] Rename editor to joiner in join thread operation
Aug 6 2024, 3:35 AM
tomek committed rCOMM0709fbed4108: [lib] Rename createUpdateUnreadCountUpdate function (authored by tomek).
[lib] Rename createUpdateUnreadCountUpdate function
Aug 6 2024, 3:35 AM
tomek closed D12967: [lib] Remove community from thick threads.
Aug 6 2024, 3:35 AM
tomek committed rCOMMdf3698446e2f: [lib] Remove community from thick threads (authored by tomek).
[lib] Remove community from thick threads
Aug 6 2024, 3:35 AM
tomek added inline comments to D12987: [lib] Extract read status operations logic.
Aug 6 2024, 2:47 AM
tomek accepted D12986: [native] Move render and constructor.

Great work on this!! You made the diff stack really easy to review

Aug 6 2024, 2:40 AM
tomek accepted D12985: [native] Inline code in NUXTipsOverlay.
Aug 6 2024, 2:36 AM
tomek added inline comments to D12983: [native] Move tipContainerStyle.
Aug 6 2024, 2:35 AM
tomek accepted D12984: [native] Remove unused variables.
Aug 6 2024, 2:34 AM
tomek accepted D12983: [native] Move tipContainerStyle.
Aug 6 2024, 2:33 AM
tomek accepted D12982: [native] Move tipScale, tipHorizontal.
Aug 6 2024, 2:29 AM
tomek accepted D12981: [native] Move tipContainerOpacity, tipVerticalBelow, tipHeight, margin.
Aug 6 2024, 2:27 AM
tomek accepted D12980: [native] Move onTipContainerLayout.
Aug 6 2024, 2:25 AM
tomek accepted D12979: [native] Move buttonStyle.
Aug 6 2024, 2:20 AM
tomek accepted D12978: [native] Move opacityStyle.
Aug 6 2024, 2:18 AM
tomek accepted D12977: [native] Move position.
Aug 6 2024, 2:17 AM
tomek accepted D12976: [native] Move contentContainerStyle.
Aug 6 2024, 2:16 AM
tomek accepted D12964: [native] Register CommunityDrawerButton in nux context.
Aug 6 2024, 2:03 AM
tomek requested changes to D12963: [native] Add nux context.
Aug 6 2024, 1:54 AM
tomek accepted D12990: [lib] Increase timeout for leave_thread.
Aug 6 2024, 1:31 AM

Aug 5 2024

tomek requested review of D12987: [lib] Extract read status operations logic.
Aug 5 2024, 9:29 AM
tomek requested review of D12975: [lib] Rename createUpdateUnreadCountUpdate function.
Aug 5 2024, 7:44 AM
tomek updated the summary of D12967: [lib] Remove community from thick threads.
Aug 5 2024, 6:20 AM
tomek updated the summary of D12967: [lib] Remove community from thick threads.
Aug 5 2024, 6:20 AM
tomek accepted D12965: Fix capitalization.
Aug 5 2024, 6:07 AM
tomek accepted D12966: Fix .h file formatting.
Aug 5 2024, 5:56 AM
tomek requested review of D12967: [lib] Remove community from thick threads.
Aug 5 2024, 4:17 AM
tomek requested review of D12969: [lib] Rename editor to joiner in join thread operation.
Aug 5 2024, 4:17 AM
tomek added inline comments to D12870: [lib] DMOperationSpec for join thread operation.
Aug 5 2024, 3:55 AM
tomek added inline comments to D12870: [lib] DMOperationSpec for join thread operation.
Aug 5 2024, 3:50 AM
tomek accepted D12915: [web][desktop] refresh device token after receiving message from Tunnelbroker.
Aug 5 2024, 3:19 AM
tomek updated the test plan for D12914: [lib] Allow creating thick threads from existing threads.
Aug 5 2024, 1:48 AM
tomek added a comment to D12914: [lib] Allow creating thick threads from existing threads.

Ok, let's add it for consistency, but it is still confusing. @ashoat do you know why MutableThickRawThreadInfo includes community?

This was my mistake. Would it be easy to remove at this point? We might consider a follow-up task for this if not.

This comment wasn't responded to. It looks like this diff was landing with support for the community column, which isn't ideal, but probably won't be an issue if nobody calls it with community set.

Still, at the very least I'd like to see a follow-up task created for removing community from ThickRawThreadInfo (and any related types).

Aug 5 2024, 1:35 AM

Aug 2 2024

tomek closed D12957: [lib] Correctly handle generating ops from multiple updates.
Aug 2 2024, 8:38 AM
tomek closed D12954: [lib] Create an operation pruner.
Aug 2 2024, 8:38 AM
tomek closed D12956: [lib] Apply the queued updates.
Aug 2 2024, 8:38 AM
tomek committed rCOMM6d2a2647aeab: [lib] Create an operation pruner (authored by tomek).
[lib] Create an operation pruner
Aug 2 2024, 8:38 AM
tomek committed rCOMMff536cc87f89: [lib] Apply the queued updates (authored by tomek).
[lib] Apply the queued updates
Aug 2 2024, 8:38 AM
tomek committed rCOMMb1919741e731: [lib] Correctly handle generating ops from multiple updates (authored by tomek).
[lib] Correctly handle generating ops from multiple updates
Aug 2 2024, 8:38 AM
tomek closed D12949: [lib] Create a new action and a reducer that queue the operations.
Aug 2 2024, 8:38 AM
tomek closed D12948: [lib] Add a function to DM operations spec checking if an operation can be applied.
Aug 2 2024, 8:38 AM
tomek committed rCOMMb0d7a3804c22: [lib] Create a new action and a reducer that queue the operations (authored by tomek).
[lib] Create a new action and a reducer that queue the operations
Aug 2 2024, 8:38 AM
tomek closed D12921: [lib] Handle replies count.
Aug 2 2024, 8:38 AM
tomek closed D12936: [lib] Create a new redux field to store the operations.
Aug 2 2024, 8:38 AM
tomek committed rCOMM8237d225adce: [lib] Add a function to DM operations spec checking if an operation can be… (authored by tomek).
[lib] Add a function to DM operations spec checking if an operation can be…
Aug 2 2024, 8:38 AM
tomek committed rCOMM31c1f9c89d3f: [lib] Handle replies count (authored by tomek).
[lib] Handle replies count
Aug 2 2024, 8:38 AM
tomek committed rCOMMeaa112928365: [lib] Create a new redux field to store the operations (authored by tomek).
[lib] Create a new redux field to store the operations
Aug 2 2024, 8:38 AM
tomek closed D12881: [lib] DMOperationSpec for change thread settings operation.
Aug 2 2024, 8:38 AM
tomek closed D12871: [lib] DMOperationSpec for leave thread operation.
Aug 2 2024, 8:38 AM
tomek closed D12872: [lib] DMOperationSpec for remove members operation.
Aug 2 2024, 8:38 AM
tomek committed rCOMM7b01dce4fc6f: [lib] DMOperationSpec for change thread settings operation (authored by tomek).
[lib] DMOperationSpec for change thread settings operation
Aug 2 2024, 8:38 AM
tomek committed rCOMMfc12922a4b56: [lib] DMOperationSpec for remove members operation (authored by tomek).
[lib] DMOperationSpec for remove members operation
Aug 2 2024, 8:38 AM
tomek committed rCOMMfdf5495751d3: [lib] DMOperationSpec for leave thread operation (authored by tomek).
[lib] DMOperationSpec for leave thread operation
Aug 2 2024, 8:38 AM
tomek closed D12870: [lib] DMOperationSpec for join thread operation.
Aug 2 2024, 8:38 AM
tomek closed D12835: [lib] DMOperationSpec for add members operation.
Aug 2 2024, 8:38 AM
tomek committed rCOMM560297fae9d0: [lib] DMOperationSpec for join thread operation (authored by tomek).
[lib] DMOperationSpec for join thread operation
Aug 2 2024, 8:37 AM
tomek committed rCOMMb38f4098c4b9: [lib] DMOperationSpec for add members operation (authored by tomek).
[lib] DMOperationSpec for add members operation
Aug 2 2024, 8:37 AM
tomek closed D12914: [lib] Allow creating thick threads from existing threads.
Aug 2 2024, 8:37 AM
tomek committed rCOMMc31a6a9a0fd2: [lib] Allow creating thick threads from existing threads (authored by tomek).
[lib] Allow creating thick threads from existing threads
Aug 2 2024, 8:37 AM
tomek updated the diff for D12956: [lib] Apply the queued updates.

Run ops in parallel

Aug 2 2024, 8:10 AM
tomek updated the diff for D12956: [lib] Apply the queued updates.

Rename. Run ops in parallel.

Aug 2 2024, 7:45 AM
tomek updated the test plan for D12956: [lib] Apply the queued updates.
Aug 2 2024, 6:37 AM
tomek updated the test plan for D12956: [lib] Apply the queued updates.
Aug 2 2024, 6:37 AM
tomek updated the test plan for D12954: [lib] Create an operation pruner.
Aug 2 2024, 6:28 AM
tomek updated the diff for D12954: [lib] Create an operation pruner.

Set the timestamp

Aug 2 2024, 6:26 AM
tomek requested review of D12957: [lib] Correctly handle generating ops from multiple updates.
Aug 2 2024, 5:06 AM
tomek updated the test plan for D12948: [lib] Add a function to DM operations spec checking if an operation can be applied.
Aug 2 2024, 4:53 AM
tomek updated the test plan for D12949: [lib] Create a new action and a reducer that queue the operations.
Aug 2 2024, 4:51 AM
tomek updated the diff for D12949: [lib] Create a new action and a reducer that queue the operations.

Fix result check

Aug 2 2024, 4:50 AM
tomek updated the test plan for D12881: [lib] DMOperationSpec for change thread settings operation.
Aug 2 2024, 4:38 AM
tomek added inline comments to D12870: [lib] DMOperationSpec for join thread operation.
Aug 2 2024, 4:35 AM
tomek updated the diff for D12956: [lib] Apply the queued updates.

Rebase

Aug 2 2024, 2:51 AM
tomek updated the diff for D12954: [lib] Create an operation pruner.

Rename

Aug 2 2024, 2:49 AM
tomek updated the diff for D12954: [lib] Create an operation pruner.

Capitalize an acronym

Aug 2 2024, 2:39 AM
tomek updated the diff for D12948: [lib] Add a function to DM operations spec checking if an operation can be applied.

Revert readonly

Aug 2 2024, 2:35 AM
tomek added inline comments to D12948: [lib] Add a function to DM operations spec checking if an operation can be applied.
Aug 2 2024, 2:34 AM
tomek updated the diff for D12936: [lib] Create a new redux field to store the operations.

Bump the version

Aug 2 2024, 2:23 AM
tomek updated the diff for D12936: [lib] Create a new redux field to store the operations.

Bump the version

Aug 2 2024, 2:22 AM
tomek updated the diff for D12921: [lib] Handle replies count.

Rebase

Aug 2 2024, 2:08 AM
tomek added a comment to D12921: [lib] Handle replies count.

Discussed something similar for updating unread status here.

  1. Updating the replies count happens through an update. If we extract the logic from the specs, we would need to inspect returned updates and modify or create a new one with the replies count update.

This is true, but we could implement a utility that handles it. I don't think it would be that complicated.

  1. Messages can be returned both in rawMessageInfos and as a part of some updateInfos.

Perhaps mergeUpdatesWithMessageInfos could be helpful here?

Each of these could be complicated, and it seems they mostly move complexity from one place to another.

Ultimately my goal would be to unify the complexity in one place, so we can mitigate the risk of the programmer forgetting to handle it in a specific case, and so we could reduce code duplication.

Aug 2 2024, 2:08 AM
tomek added a comment to D12881: [lib] DMOperationSpec for change thread settings operation.
In D12881#366124, @inka wrote:

Should we set the unread status?

Yes, you're right!

I wonder if it would be better to handle this as a "side effect" of the main processDMOperation. We could take a similar approach to updating the replies count.

We would need to check all of the rawMessageInfos, as well as any messages in the updateInfos, to see if any new messages are introduced that aren't from the viewer. This could potentially be done in useProcessDMOperation. Potentially mergeUpdatesWithMessageInfos could be helpful for extracting the messages from the updates.

@tomek, what do you think? A unified approach would mitigate the risk of the programmer forgetting to handle it in a specific case, and it would reduce code duplication.

Aug 2 2024, 2:05 AM
tomek updated the diff for D12870: [lib] DMOperationSpec for join thread operation.

Delete unnecessary check

Aug 2 2024, 1:57 AM
tomek added a comment to D12835: [lib] DMOperationSpec for add members operation.

I wonder if the AddMembers spec should be split into two: one for adding the viewer, and one for adding somebody else

Then when somebody adds a member, they'll send the first type to all of the added users' devices, and the second type to all of the existing users' devices

What do you think?

Aug 2 2024, 1:52 AM