Page MenuHomePhorge
Feed Search

Jun 27 2024

atul retitled D12554: [lib] Remove `threadFrozenDueToBlock`, `threadOrParentThreadHasAdminRole` and `memberHadAdminPowers` from [lib] Remove `threadFrozenDueToBlock`
Jun 27 2024, 7:03 PM
atul updated the diff for D12554: [lib] Remove `threadFrozenDueToBlock`, `threadOrParentThreadHasAdminRole` and `memberHadAdminPowers`.

amend

Jun 27 2024, 7:02 PM

Jun 26 2024

atul updated the test plan for D12543: [keyserver] Use `threadIsWithBlockedUserOnlyWithoutAdminRoleCheck` instead of `threadFrozenDueToBlock` in `checkThreadsFrozen`.
Jun 26 2024, 8:47 PM
atul updated the diff for D12543: [keyserver] Use `threadIsWithBlockedUserOnlyWithoutAdminRoleCheck` instead of `threadFrozenDueToBlock` in `checkThreadsFrozen`.

fix import

Jun 26 2024, 8:44 PM
atul updated the diff for D12554: [lib] Remove `threadFrozenDueToBlock`, `threadOrParentThreadHasAdminRole` and `memberHadAdminPowers`.

rebase outside of flow stack

Jun 26 2024, 8:40 PM
atul updated the diff for D12543: [keyserver] Use `threadIsWithBlockedUserOnlyWithoutAdminRoleCheck` instead of `threadFrozenDueToBlock` in `checkThreadsFrozen`.

rebase outside of flow stack

Jun 26 2024, 8:39 PM
atul requested review of D12580: [lib] Deprecate `updateRolesAndPermissions` migration utility.
Jun 26 2024, 4:37 PM
atul requested review of D12573: [lib] Change `decodeMinimallyEncodedRawThreadInfo` argument type to `RawThreadInfoWithMemberPermissions`.
Jun 26 2024, 4:36 PM

Jun 25 2024

atul published D12574: [native] Add `$FlowIgnore` annotation to migration 61 for review.
Jun 25 2024, 5:20 PM
atul requested review of D12557: [lib] Change return type of `minimallyEncodeRawThreadInfo` to `RawThreadInfoWithMemberPermissions`.
Jun 25 2024, 4:41 PM
atul requested review of D12556: [lib] Remove `threadOrParentThreadHasAdminRole` and `memberHadAdminPowers`.
Jun 25 2024, 4:41 PM
atul requested review of D12554: [lib] Remove `threadFrozenDueToBlock`, `threadOrParentThreadHasAdminRole` and `memberHadAdminPowers`.
Jun 25 2024, 4:41 PM
atul requested review of D12502: [lib] Resolve `flow` issues in `getRelativeMemberInfos`.
Jun 25 2024, 4:41 PM

Jun 21 2024

atul published D12543: [keyserver] Use `threadIsWithBlockedUserOnlyWithoutAdminRoleCheck` instead of `threadFrozenDueToBlock` in `checkThreadsFrozen` for review.
Jun 21 2024, 9:39 PM

Jun 19 2024

atul requested review of D12472: [lib] Fix construction of `RawThreadInfo` in `createPendingThread`.
Jun 19 2024, 8:42 PM

Jun 18 2024

atul requested review of D12470: [lib] Remove `member.permissions` from `RawThreadInfo` test data.
Jun 18 2024, 11:04 PM
atul requested review of D12469: [lib] Change type of `RawThreadInfo.members` from `MemberInfoWithPermissions` to `MemberInfoSansPermissions`.
Jun 18 2024, 8:42 PM
atul closed D12321: [lib] Add `MemberInfoSansPermissions` support to `threadOtherMembers`.
Jun 18 2024, 7:46 PM
atul committed rCOMMb6356f154af9: [lib] Add `MemberInfoSansPermissions` support to `threadOtherMembers`.
Jun 18 2024, 7:46 PM
atul updated the diff for D12321: [lib] Add `MemberInfoSansPermissions` support to `threadOtherMembers`.

land

Jun 18 2024, 7:44 PM
atul closed D12315: [lib] Introduce `MemberInfoSansPermissions`.
Jun 18 2024, 3:06 AM
atul committed rCOMM9cc32873ab68: [lib] Introduce `MemberInfoSansPermissions`.
Jun 18 2024, 3:06 AM
atul updated the diff for D12315: [lib] Introduce `MemberInfoSansPermissions`.

use $Diff

Jun 18 2024, 12:44 AM
atul updated the diff for D12315: [lib] Introduce `MemberInfoSansPermissions`.

rebase before landing

Jun 18 2024, 12:43 AM
atul closed D12296: [lib] Rename `MemberInfo` to `MemberInfoWithPermissions`.
Jun 18 2024, 12:39 AM
atul committed rCOMMbcd2ea0419e5: [lib] Rename `MemberInfo` to `MemberInfoWithPermissions`.
Jun 18 2024, 12:39 AM
atul updated the diff for D12296: [lib] Rename `MemberInfo` to `MemberInfoWithPermissions`.

land

Jun 18 2024, 12:38 AM

Jun 17 2024

atul updated the diff for D12296: [lib] Rename `MemberInfo` to `MemberInfoWithPermissions`.

amend

Jun 17 2024, 11:33 PM
atul closed D12295: [lib] Pull `baseThreadIsWithBlockedUserOnly` out of `baseThreadIsWithBlockedUserOnly[WithoutAdminRoleCheck]`.
Jun 17 2024, 9:15 PM
atul committed rCOMM48530a39381e: [lib] Pull `baseThreadIsWithBlockedUserOnly` out of….
Jun 17 2024, 9:15 PM
atul updated the diff for D12295: [lib] Pull `baseThreadIsWithBlockedUserOnly` out of `baseThreadIsWithBlockedUserOnly[WithoutAdminRoleCheck]`.

land

Jun 17 2024, 9:14 PM
atul closed D12294: [lib] Remove `skipMemberAdminRoleCheck` option from `threadIsWithBlockedUserOnly`.
Jun 17 2024, 8:45 PM
atul committed rCOMM67a5bdca2dc0: [lib] Remove `skipMemberAdminRoleCheck` option from….
Jun 17 2024, 8:45 PM
atul updated the diff for D12294: [lib] Remove `skipMemberAdminRoleCheck` option from `threadIsWithBlockedUserOnly`.

land

Jun 17 2024, 6:51 PM
atul closed D12293: [lib] Inline `innerThreadFrozenDueToBlock` in `threadFrozenDueToBlock`.
Jun 17 2024, 2:44 AM
atul committed rCOMM0050bc8a8abe: [lib] Inline `innerThreadFrozenDueToBlock` in `threadFrozenDueToBlock`.
Jun 17 2024, 2:44 AM
atul updated the diff for D12293: [lib] Inline `innerThreadFrozenDueToBlock` in `threadFrozenDueToBlock`.

land

Jun 17 2024, 2:43 AM
atul closed D12292: [lib] Narrow types in `memberHasAdminPowers` call stack to remove `invariant`.
Jun 17 2024, 12:50 AM
atul committed rCOMM509ef589a60d: [lib] Narrow types in `memberHasAdminPowers` call stack to remove `invariant`.
Jun 17 2024, 12:50 AM
atul updated the diff for D12292: [lib] Narrow types in `memberHasAdminPowers` call stack to remove `invariant`.

rebase and land

Jun 17 2024, 12:45 AM
atul updated the test plan for D12292: [lib] Narrow types in `memberHasAdminPowers` call stack to remove `invariant`.
Jun 17 2024, 12:43 AM
atul closed D12290: [lib] Replace `innerThreadFrozenDueToBlock` with `threadIsWithBlockedUserOnlyWithoutAdminRoleCheck` in `useThreadsWithPermission`.
Jun 17 2024, 12:35 AM
atul committed rCOMM940b2ff9147f: [lib] Replace `innerThreadFrozenDueToBlock` with….
Jun 17 2024, 12:35 AM
atul updated the diff for D12290: [lib] Replace `innerThreadFrozenDueToBlock` with `threadIsWithBlockedUserOnlyWithoutAdminRoleCheck` in `useThreadsWithPermission`.

rebase and land

Jun 17 2024, 12:24 AM
atul updated the test plan for D12290: [lib] Replace `innerThreadFrozenDueToBlock` with `threadIsWithBlockedUserOnlyWithoutAdminRoleCheck` in `useThreadsWithPermission`.
Jun 17 2024, 12:24 AM
atul added inline comments to D12290: [lib] Replace `innerThreadFrozenDueToBlock` with `threadIsWithBlockedUserOnlyWithoutAdminRoleCheck` in `useThreadsWithPermission`.
Jun 17 2024, 12:21 AM
atul closed D12289: [lib] Introduce `threadIsWithBlockedUserOnlyWithoutAdminRoleCheck`.
Jun 17 2024, 12:20 AM
atul committed rCOMM727b3b565aa0: [lib] Introduce `threadIsWithBlockedUserOnlyWithoutAdminRoleCheck`.
Jun 17 2024, 12:20 AM
atul updated the test plan for D12289: [lib] Introduce `threadIsWithBlockedUserOnlyWithoutAdminRoleCheck`.
Jun 17 2024, 12:12 AM
atul updated the diff for D12289: [lib] Introduce `threadIsWithBlockedUserOnlyWithoutAdminRoleCheck`.

rebase before landing

Jun 17 2024, 12:10 AM
atul closed D12288: [lib] Consume `useThreadFrozenDueToViewerBlock` in `web/ChatInputBar`.
Jun 17 2024, 12:06 AM
atul committed rCOMM8841136a2935: [lib] Consume `useThreadFrozenDueToViewerBlock` in `web/ChatInputBar`.
Jun 17 2024, 12:06 AM
atul added inline comments to D12288: [lib] Consume `useThreadFrozenDueToViewerBlock` in `web/ChatInputBar`.
Jun 17 2024, 12:05 AM
atul updated the test plan for D12288: [lib] Consume `useThreadFrozenDueToViewerBlock` in `web/ChatInputBar`.
Jun 17 2024, 12:04 AM

Jun 16 2024

atul updated the diff for D12288: [lib] Consume `useThreadFrozenDueToViewerBlock` in `web/ChatInputBar`.

remove communityThreadInfo and userInfos props

Jun 16 2024, 11:54 PM
atul updated the diff for D12288: [lib] Consume `useThreadFrozenDueToViewerBlock` in `web/ChatInputBar`.

rebase before addressing feedback + landing

Jun 16 2024, 11:36 PM
atul closed D12287: [lib] Introduce `useThreadFrozenDueToViewersBlock`.
Jun 16 2024, 11:30 PM
atul committed rCOMMd6fa6b7fc944: [lib] Introduce `useThreadFrozenDueToViewersBlock`.
Jun 16 2024, 11:30 PM
atul updated the test plan for D12287: [lib] Introduce `useThreadFrozenDueToViewersBlock`.
Jun 16 2024, 11:21 PM
atul updated the diff for D12287: [lib] Introduce `useThreadFrozenDueToViewersBlock`.

land

Jun 16 2024, 11:20 PM
atul added inline comments to D12287: [lib] Introduce `useThreadFrozenDueToViewersBlock`.
Jun 16 2024, 9:59 PM
atul updated the diff for D12287: [lib] Introduce `useThreadFrozenDueToViewersBlock`.

get rid of unneeded memoization

Jun 16 2024, 9:05 PM
atul closed D12265: [lib] Remove `permissions` field from `ThreadInfo.members[memberID].permissions`.
Jun 16 2024, 1:17 AM
atul committed rCOMM56ba0de13be0: [lib] Remove `permissions` field from `ThreadInfo.members[memberID].permissions`.
Jun 16 2024, 1:17 AM

Jun 15 2024

atul added a comment to D12265: [lib] Remove `permissions` field from `ThreadInfo.members[memberID].permissions`.

NOTE TO SELF: Make sure that changes to validators in this stack (or higher level validators which consume them) do not break anything for older clients, etc.

Jun 15 2024, 11:24 PM
atul updated the diff for D12265: [lib] Remove `permissions` field from `ThreadInfo.members[memberID].permissions`.

remove relativeMemberInfoValidator export

Jun 15 2024, 10:13 PM
atul updated the diff for D12265: [lib] Remove `permissions` field from `ThreadInfo.members[memberID].permissions`.

address feedback (remove $ReadOnly wrapper)

Jun 15 2024, 9:26 PM

Jun 12 2024

atul updated the diff for D12265: [lib] Remove `permissions` field from `ThreadInfo.members[memberID].permissions`.

rebase BEFORE addressing feedback and landing

Jun 12 2024, 10:25 PM
atul closed D12158: [lib] Remove `getCurrentUser`.
Jun 12 2024, 10:21 PM
atul committed rCOMM5922947499f8: [lib] Remove `getCurrentUser`.
Jun 12 2024, 10:21 PM
atul updated the diff for D12158: [lib] Remove `getCurrentUser`.

rebase and land

Jun 12 2024, 9:15 PM

Jun 11 2024

atul updated the diff for D12289: [lib] Introduce `threadIsWithBlockedUserOnlyWithoutAdminRoleCheck`.

resolve merge conflict

Jun 11 2024, 9:11 PM
atul added inline comments to D12287: [lib] Introduce `useThreadFrozenDueToViewersBlock`.
Jun 11 2024, 8:58 PM
atul updated the diff for D12287: [lib] Introduce `useThreadFrozenDueToViewersBlock`.

fix useCommunityRootMembersToRole logic

Jun 11 2024, 8:56 PM
atul updated the diff for D12287: [lib] Introduce `useThreadFrozenDueToViewersBlock`.

remove now extraneous communityThreadInfo and userInfos props in native/ChatInputBar

Jun 11 2024, 8:44 PM
atul added inline comments to D12287: [lib] Introduce `useThreadFrozenDueToViewersBlock`.
Jun 11 2024, 8:43 PM
atul updated the diff for D12287: [lib] Introduce `useThreadFrozenDueToViewersBlock`.

Add memoization to useThreadFrozenDueToViewerBlock

Jun 11 2024, 8:39 PM
atul closed D12259: [lib] Replace `threadMemberHasPermission` logic in `appendUserInfo`.
Jun 11 2024, 8:22 PM
atul committed rCOMM92a8efadedbf: [lib] Replace `threadMemberHasPermission` logic in `appendUserInfo`.
Jun 11 2024, 8:22 PM
atul updated the diff for D12259: [lib] Replace `threadMemberHasPermission` logic in `appendUserInfo`.

actualyl land

Jun 11 2024, 8:19 PM
atul requested review of D12158: [lib] Remove `getCurrentUser`.
  1. Can you share where you're tracking all permissions checks on the client (ideally on Linear), so I can confirm that they're all updated to use hooks that check block status?
Jun 11 2024, 8:17 PM
atul requested review of D12265: [lib] Remove `permissions` field from `ThreadInfo.members[memberID].permissions`.

Agree we can do better than the invariant.

Jun 11 2024, 8:05 PM
atul retitled D12265: [lib] Remove `permissions` field from `ThreadInfo.members[memberID].permissions` from [DRAFT][lib] Remove `permissions` field from `ThreadInfo.members[memberID].permissions`
Jun 11 2024, 8:05 PM
atul updated the diff for D12259: [lib] Replace `threadMemberHasPermission` logic in `appendUserInfo`.

land

Jun 11 2024, 8:03 PM
atul updated the diff for D12259: [lib] Replace `threadMemberHasPermission` logic in `appendUserInfo`.

strip out comments before landing

Jun 11 2024, 8:03 PM
atul attached a referenced file: F1993792: a1d55b.png.
Jun 11 2024, 8:01 PM
atul attached a referenced file: F1993795: 965b58.png.
Jun 11 2024, 8:01 PM
atul added inline comments to D12259: [lib] Replace `threadMemberHasPermission` logic in `appendUserInfo`.
Jun 11 2024, 8:01 PM

Jun 5 2024

atul published D12321: [lib] Add `MemberInfoSansPermissions` support to `threadOtherMembers` for review.
Jun 5 2024, 9:50 PM

Jun 4 2024

atul published D12315: [lib] Introduce `MemberInfoSansPermissions` for review.
Jun 4 2024, 9:31 PM
atul added a comment to D12296: [lib] Rename `MemberInfo` to `MemberInfoWithPermissions`.
In D12296#350101, @atul wrote:

Safe to land in isolation since it's a simple rename.

Jun 4 2024, 9:12 PM
atul added a comment to D12296: [lib] Rename `MemberInfo` to `MemberInfoWithPermissions`.

Safe to land in isolation since it's a simple rename.

Jun 4 2024, 9:09 PM
atul updated the diff for D12296: [lib] Rename `MemberInfo` to `MemberInfoWithPermissions`.

cherry-pick

Jun 4 2024, 9:08 PM
atul planned changes to D12287: [lib] Introduce `useThreadFrozenDueToViewersBlock`.

Local commit includes memoization/pruning of props. Will do a rebase and update this diff.

Jun 4 2024, 8:03 PM

Jun 3 2024

atul published D12296: [lib] Rename `MemberInfo` to `MemberInfoWithPermissions` for review.
Jun 3 2024, 9:49 PM
atul added inline comments to D12287: [lib] Introduce `useThreadFrozenDueToViewersBlock`.
Jun 3 2024, 9:33 PM
atul added inline comments to D12265: [lib] Remove `permissions` field from `ThreadInfo.members[memberID].permissions`.
Jun 3 2024, 9:24 PM
atul published D12295: [lib] Pull `baseThreadIsWithBlockedUserOnly` out of `baseThreadIsWithBlockedUserOnly[WithoutAdminRoleCheck]` for review.
Jun 3 2024, 9:10 PM
atul published D12294: [lib] Remove `skipMemberAdminRoleCheck` option from `threadIsWithBlockedUserOnly` for review.
Jun 3 2024, 9:04 PM
atul published D12293: [lib] Inline `innerThreadFrozenDueToBlock` in `threadFrozenDueToBlock` for review.
Jun 3 2024, 8:54 PM