Page MenuHomePhabricator
Feed Advanced Search

Jun 27 2024

atul updated the diff for D12554: [lib] Remove `threadFrozenDueToBlock`, `threadOrParentThreadHasAdminRole` and `memberHadAdminPowers`.

amend

Jun 27 2024, 12:02 PM

Jun 26 2024

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

fix import

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

rebase outside of flow stack

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

rebase outside of flow stack

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

Jun 25 2024

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

Jun 21 2024

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

Jun 19 2024

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

Jun 18 2024

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

land

Jun 18 2024, 12:44 PM

Jun 17 2024

atul closed D12315: [lib] Introduce `MemberInfoSansPermissions`.
Jun 17 2024, 8:06 PM
atul committed rCOMM9cc32873ab68: [lib] Introduce `MemberInfoSansPermissions` (authored by atul).
[lib] Introduce `MemberInfoSansPermissions`
Jun 17 2024, 8:06 PM
atul updated the diff for D12315: [lib] Introduce `MemberInfoSansPermissions`.

use $Diff

Jun 17 2024, 5:44 PM
atul updated the diff for D12315: [lib] Introduce `MemberInfoSansPermissions`.

rebase before landing

Jun 17 2024, 5:43 PM
atul closed D12296: [lib] Rename `MemberInfo` to `MemberInfoWithPermissions`.
Jun 17 2024, 5:39 PM
atul committed rCOMMbcd2ea0419e5: [lib] Rename `MemberInfo` to `MemberInfoWithPermissions` (authored by atul).
[lib] Rename `MemberInfo` to `MemberInfoWithPermissions`
Jun 17 2024, 5:39 PM
atul updated the diff for D12296: [lib] Rename `MemberInfo` to `MemberInfoWithPermissions`.

land

Jun 17 2024, 5:38 PM
atul updated the diff for D12296: [lib] Rename `MemberInfo` to `MemberInfoWithPermissions`.

amend

Jun 17 2024, 4:33 PM
atul closed D12295: [lib] Pull `baseThreadIsWithBlockedUserOnly` out of `baseThreadIsWithBlockedUserOnly[WithoutAdminRoleCheck]`.
Jun 17 2024, 2:15 PM
atul committed rCOMM48530a39381e: [lib] Pull `baseThreadIsWithBlockedUserOnly` out of… (authored by atul).
[lib] Pull `baseThreadIsWithBlockedUserOnly` out of…
Jun 17 2024, 2:15 PM
atul updated the diff for D12295: [lib] Pull `baseThreadIsWithBlockedUserOnly` out of `baseThreadIsWithBlockedUserOnly[WithoutAdminRoleCheck]`.

land

Jun 17 2024, 2:14 PM
atul closed D12294: [lib] Remove `skipMemberAdminRoleCheck` option from `threadIsWithBlockedUserOnly`.
Jun 17 2024, 1:45 PM
atul committed rCOMM67a5bdca2dc0: [lib] Remove `skipMemberAdminRoleCheck` option from… (authored by atul).
[lib] Remove `skipMemberAdminRoleCheck` option from…
Jun 17 2024, 1:45 PM
atul updated the diff for D12294: [lib] Remove `skipMemberAdminRoleCheck` option from `threadIsWithBlockedUserOnly`.

land

Jun 17 2024, 11:51 AM

Jun 16 2024

atul closed D12293: [lib] Inline `innerThreadFrozenDueToBlock` in `threadFrozenDueToBlock`.
Jun 16 2024, 7:44 PM
atul committed rCOMM0050bc8a8abe: [lib] Inline `innerThreadFrozenDueToBlock` in `threadFrozenDueToBlock` (authored by atul).
[lib] Inline `innerThreadFrozenDueToBlock` in `threadFrozenDueToBlock`
Jun 16 2024, 7:44 PM
atul updated the diff for D12293: [lib] Inline `innerThreadFrozenDueToBlock` in `threadFrozenDueToBlock`.

land

Jun 16 2024, 7:43 PM
atul closed D12292: [lib] Narrow types in `memberHasAdminPowers` call stack to remove `invariant`.
Jun 16 2024, 5:50 PM
atul committed rCOMM509ef589a60d: [lib] Narrow types in `memberHasAdminPowers` call stack to remove `invariant` (authored by atul).
[lib] Narrow types in `memberHasAdminPowers` call stack to remove `invariant`
Jun 16 2024, 5:50 PM
atul updated the diff for D12292: [lib] Narrow types in `memberHasAdminPowers` call stack to remove `invariant`.

rebase and land

Jun 16 2024, 5:45 PM
atul updated the test plan for D12292: [lib] Narrow types in `memberHasAdminPowers` call stack to remove `invariant`.
Jun 16 2024, 5:43 PM
atul closed D12290: [lib] Replace `innerThreadFrozenDueToBlock` with `threadIsWithBlockedUserOnlyWithoutAdminRoleCheck` in `useThreadsWithPermission`.
Jun 16 2024, 5:35 PM
atul committed rCOMM940b2ff9147f: [lib] Replace `innerThreadFrozenDueToBlock` with… (authored by atul).
[lib] Replace `innerThreadFrozenDueToBlock` with…
Jun 16 2024, 5:35 PM
atul updated the diff for D12290: [lib] Replace `innerThreadFrozenDueToBlock` with `threadIsWithBlockedUserOnlyWithoutAdminRoleCheck` in `useThreadsWithPermission`.

rebase and land

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

rebase before landing

Jun 16 2024, 5:10 PM
atul closed D12288: [lib] Consume `useThreadFrozenDueToViewerBlock` in `web/ChatInputBar`.
Jun 16 2024, 5:06 PM
atul committed rCOMM8841136a2935: [lib] Consume `useThreadFrozenDueToViewerBlock` in `web/ChatInputBar` (authored by atul).
[lib] Consume `useThreadFrozenDueToViewerBlock` in `web/ChatInputBar`
Jun 16 2024, 5:06 PM
atul added inline comments to D12288: [lib] Consume `useThreadFrozenDueToViewerBlock` in `web/ChatInputBar`.
Jun 16 2024, 5:05 PM
atul updated the test plan for D12288: [lib] Consume `useThreadFrozenDueToViewerBlock` in `web/ChatInputBar`.
Jun 16 2024, 5:04 PM
atul updated the diff for D12288: [lib] Consume `useThreadFrozenDueToViewerBlock` in `web/ChatInputBar`.

remove communityThreadInfo and userInfos props

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

rebase before addressing feedback + landing

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

land

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

get rid of unneeded memoization

Jun 16 2024, 2:05 PM

Jun 15 2024

atul closed D12265: [lib] Remove `permissions` field from `ThreadInfo.members[memberID].permissions`.
Jun 15 2024, 6:17 PM
atul committed rCOMM56ba0de13be0: [lib] Remove `permissions` field from `ThreadInfo.members[memberID].permissions` (authored by atul).
[lib] Remove `permissions` field from `ThreadInfo.members[memberID].permissions`
Jun 15 2024, 6:17 PM
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, 4:24 PM
atul updated the diff for D12265: [lib] Remove `permissions` field from `ThreadInfo.members[memberID].permissions`.

remove relativeMemberInfoValidator export

Jun 15 2024, 3: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, 2: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, 3:25 PM
atul closed D12158: [lib] Remove `getCurrentUser`.
Jun 12 2024, 3:21 PM
atul committed rCOMM5922947499f8: [lib] Remove `getCurrentUser` (authored by atul).
[lib] Remove `getCurrentUser`
Jun 12 2024, 3:21 PM
atul updated the diff for D12158: [lib] Remove `getCurrentUser`.

rebase and land

Jun 12 2024, 2:15 PM

Jun 11 2024

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

resolve merge conflict

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

fix useCommunityRootMembersToRole logic

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

remove now extraneous communityThreadInfo and userInfos props in native/ChatInputBar

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

Add memoization to useThreadFrozenDueToViewerBlock

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

actualyl land

Jun 11 2024, 1: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, 1: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, 1: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` to [lib] Remove `permissions` field from `ThreadInfo.members[memberID].permissions`.
Jun 11 2024, 1:05 PM
atul updated the diff for D12259: [lib] Replace `threadMemberHasPermission` logic in `appendUserInfo`.

land

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

strip out comments before landing

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

Jun 5 2024

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

Jun 4 2024

atul published D12315: [lib] Introduce `MemberInfoSansPermissions` for review.
Jun 4 2024, 2: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, 2: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, 2:09 PM
atul updated the diff for D12296: [lib] Rename `MemberInfo` to `MemberInfoWithPermissions`.

cherry-pick

Jun 4 2024, 2: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, 1:03 PM

Jun 3 2024

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