Page MenuHomePhorge
Feed Search

Jul 31 2023

atul accepted D8677: [web] clean up InlineEngagement component.

Didn't review too carefully, looks like a straightforward rename diff.

Jul 31 2023, 6:49 PM
atul resigned from D8593: [web] Create a community roles modal to display all roles and member counts.
Jul 31 2023, 6:48 PM

Jul 28 2023

atul abandoned D8297: [native] Bump `react-native-ffmpeg` to `5.2.0`.
Jul 28 2023, 9:54 PM
atul closed D8364: [web] Move `exifRotate` from `input-state-container` to `media-utils`.
Jul 28 2023, 9:53 PM
atul committed rCOMM3ddb5a9571be: [web] Move `exifRotate` from `input-state-container` to `media-utils`.
Jul 28 2023, 9:53 PM
atul updated the diff for D8364: [web] Move `exifRotate` from `input-state-container` to `media-utils`.

rebase and land

Jul 28 2023, 9:53 PM
atul closed D8363: [lib] Consolidate `baseUpdateImageUserAvatar` into `baseSetUserAvatar`.
Jul 28 2023, 9:47 PM
atul committed rCOMM3285a759aed9: [lib] Consolidate `baseUpdateImageUserAvatar` into `baseSetUserAvatar`.
Jul 28 2023, 9:47 PM
atul updated the diff for D8363: [lib] Consolidate `baseUpdateImageUserAvatar` into `baseSetUserAvatar`.

resolve merge conflicts and land

Jul 28 2023, 9:45 PM
atul closed D8360: [lib] Rename `updateImageUserAvatar` to `baseUpdateImageUserAvatar` in `EditUserAvatarProvider`.
Jul 28 2023, 9:39 PM
atul committed rCOMMfaab4fd75ad1: [lib] Rename `updateImageUserAvatar` to `baseUpdateImageUserAvatar` in….
Jul 28 2023, 9:39 PM
atul updated the diff for D8360: [lib] Rename `updateImageUserAvatar` to `baseUpdateImageUserAvatar` in `EditUserAvatarProvider`.

rebase and land

Jul 28 2023, 9:22 PM
atul closed D8348: Rename `BaseEditUserAvatarProvider` to `EditUserAvatarProvider`.
Jul 28 2023, 9:20 PM
atul committed rCOMM875404b0f104: Rename `BaseEditUserAvatarProvider` to `EditUserAvatarProvider`.
Jul 28 2023, 9:20 PM
atul updated the diff for D8348: Rename `BaseEditUserAvatarProvider` to `EditUserAvatarProvider`.

rebase and land

Jul 28 2023, 9:18 PM
atul updated the diff for D8348: Rename `BaseEditUserAvatarProvider` to `EditUserAvatarProvider`.

address merge conflicts

Jul 28 2023, 9:18 PM
atul closed D8347: Consolidate `[Web/Native/Base]EditUserAvatarProvider` into `BaseEditUserAvatarProvider`.
Jul 28 2023, 9:13 PM
atul committed rCOMM31b86cdab53a: Consolidate `[Web/Native/Base]EditUserAvatarProvider` into….
Jul 28 2023, 9:13 PM
atul updated the diff for D8347: Consolidate `[Web/Native/Base]EditUserAvatarProvider` into `BaseEditUserAvatarProvider`.

rebase and land

Jul 28 2023, 9:09 PM
atul updated the diff for D8347: Consolidate `[Web/Native/Base]EditUserAvatarProvider` into `BaseEditUserAvatarProvider`.

address merge conflicts and land

Jul 28 2023, 9:09 PM
atul added inline comments to D8347: Consolidate `[Web/Native/Base]EditUserAvatarProvider` into `BaseEditUserAvatarProvider`.
Jul 28 2023, 9:06 PM
atul closed D8346: Move `native`-specific `uploadSelectedMedia` from `updateImageUserAvatar` to `nativeUpdateUserImageAvatar`.
Jul 28 2023, 9:04 PM
atul committed rCOMMa10f45e06bc0: Move `native`-specific `uploadSelectedMedia` from `updateImageUserAvatar` to….
Jul 28 2023, 9:04 PM
atul updated the diff for D8346: Move `native`-specific `uploadSelectedMedia` from `updateImageUserAvatar` to `nativeUpdateUserImageAvatar`.

rebase before landing

Jul 28 2023, 9:02 PM
atul closed D8345: Move registrationMode-related logic from `updateImageUserAvatar` to `nativeUpdateUserImageAvatar`.
Jul 28 2023, 8:55 PM
atul committed rCOMMf78ae44c3ece: Move registrationMode-related logic from `updateImageUserAvatar` to….
Jul 28 2023, 8:55 PM
atul updated the diff for D8345: Move registrationMode-related logic from `updateImageUserAvatar` to `nativeUpdateUserImageAvatar`.

rebase before landing

Jul 28 2023, 8:53 PM
atul closed D8344: [lib] Rename `setUserAvatar` to `baseSetUserAvatar` in `*EditUserAvatarProvider`.
Jul 28 2023, 8:47 PM
atul committed rCOMMdb1e95229675: [lib] Rename `setUserAvatar` to `baseSetUserAvatar` in `*EditUserAvatarProvider`.
Jul 28 2023, 8:47 PM
atul updated the diff for D8344: [lib] Rename `setUserAvatar` to `baseSetUserAvatar` in `*EditUserAvatarProvider`.

rebase and land

Jul 28 2023, 8:44 PM
atul attached a referenced file: F663176: ce082a.png.
Jul 28 2023, 8:29 PM
atul attached a referenced file: F663177: Screenshot 2023-07-28 at 1.22.31 PM.png.
Jul 28 2023, 8:29 PM
atul attached a referenced file: F663190: d7a3e3.png.
Jul 28 2023, 8:29 PM
atul added inline comments to D8478: [lib] Add unit tests for user-facing permissions to verify the result.
Jul 28 2023, 8:29 PM
atul closed D8343: Move registrationMode-related logic from `setUserAvatar` to `nativeSetUserAvatar`.
Jul 28 2023, 8:19 PM
atul committed rCOMM24e5fa169ea0: Move registrationMode-related logic from `setUserAvatar` to….
Jul 28 2023, 8:19 PM
atul updated the diff for D8343: Move registrationMode-related logic from `setUserAvatar` to `nativeSetUserAvatar`.

rebase and land

Jul 28 2023, 8:17 PM
atul updated the diff for D8343: Move registrationMode-related logic from `setUserAvatar` to `nativeSetUserAvatar`.

resolve merge conflicts before landing

Jul 28 2023, 8:09 PM
atul closed D8342: [lib][native] Remove `displayFailureAlert` prop from `*EditUserAvatarProvider`.
Jul 28 2023, 7:59 PM
atul committed rCOMM42871bb1c4bb: [lib][native] Remove `displayFailureAlert` prop from `*EditUserAvatarProvider`.
Jul 28 2023, 7:59 PM
atul updated the diff for D8342: [lib][native] Remove `displayFailureAlert` prop from `*EditUserAvatarProvider`.

rebase and land

Jul 28 2023, 7:56 PM
atul closed D8341: [native] Introduce `useNativeSetUserAvatar` and use throughout `native`.
Jul 28 2023, 7:52 PM
atul committed rCOMM1dae32383fd5: [native] Introduce `useNativeSetUserAvatar` and use throughout `native`.
Jul 28 2023, 7:52 PM
atul updated the diff for D8341: [native] Introduce `useNativeSetUserAvatar` and use throughout `native`.

address feedback + land

Jul 28 2023, 7:49 PM
atul added inline comments to D8341: [native] Introduce `useNativeSetUserAvatar` and use throughout `native`.
Jul 28 2023, 7:43 PM
atul closed D8340: [native] Consume `useNativeUpdateUserImageAvatar` in `useSelectFromGalleryAndUpdateUserAvatar`.
Jul 28 2023, 7:40 PM
atul committed rCOMM13c5d23b5537: [native] Consume `useNativeUpdateUserImageAvatar` in….
Jul 28 2023, 7:40 PM
atul updated the diff for D8340: [native] Consume `useNativeUpdateUserImageAvatar` in `useSelectFromGalleryAndUpdateUserAvatar`.

rebase before landing

Jul 28 2023, 7:37 PM
atul closed D8339: [native] Introduce `useNativeUpdateUserImageAvatar()` to `avatar-hooks.react`.
Jul 28 2023, 7:32 PM
atul committed rCOMM3e3e93ca20a8: [native] Introduce `useNativeUpdateUserImageAvatar()` to `avatar-hooks.react`.
Jul 28 2023, 7:32 PM
atul updated the diff for D8339: [native] Introduce `useNativeUpdateUserImageAvatar()` to `avatar-hooks.react`.

rebase and land

Jul 28 2023, 7:26 PM
atul accepted D8625: [web] Create the modals that will allow the user to confirm role deletion.

Thanks for going through and addressing feedback!

Jul 28 2023, 7:03 PM
atul accepted D8640: [native] Introduce client-side logic for deleting roles on native.

Looks good, thanks for addressing feedback!

Jul 28 2023, 7:01 PM
atul accepted D8623: [web] Add an option to edit and delete select roles.

Thanks for going through and addressing feedback!

Jul 28 2023, 6:57 PM
atul added a comment to D8623: [web] Add an option to edit and delete select roles.

Open to either though, it’s just a question of whether we want to prioritize landing first or updating the designs

Jul 28 2023, 6:52 PM
atul accepted D8594: [web] Create a 'create role' modal to allow users to make custom roles.

Thanks for going through and addressing all the feedback!

Jul 28 2023, 6:49 PM

Jul 26 2023

atul updated the diff for D8339: [native] Introduce `useNativeUpdateUserImageAvatar()` to `avatar-hooks.react`.

rebase before landing

Jul 26 2023, 10:51 PM
atul requested changes to D8593: [web] Create a community roles modal to display all roles and member counts.

Much cleaner!

Jul 26 2023, 10:44 PM
atul requested changes to D8640: [native] Introduce client-side logic for deleting roles on native.

Let's move logic for construction of message to lib so it can be used across web and native.

Jul 26 2023, 10:40 PM
atul requested changes to D8625: [web] Create the modals that will allow the user to confirm role deletion.

Only thing blocking this diff is awaiting the call to callDeleteCommunityRole(...) before calling popModal(...).

Jul 26 2023, 10:30 PM
atul requested changes to D8623: [web] Add an option to edit and delete select roles.

Left a couple comments inline. The two that should be addressed before this diff can be accepted:

  1. Move isDeletableRole and isEditableRole logic to role-utils.
  2. Merge items and roleMenuItems into a single React.useMemo.
Jul 26 2023, 10:12 PM
atul requested changes to D8594: [web] Create a 'create role' modal to allow users to make custom roles.

Let's see if we can

  1. Use a $ReadOnlySet instead of $ReadOnlyArray for pendingRolePermissions.
  2. Break apart modifyUserSurfacedPermissionOptions(...) into separate functions with clear and descriptive names.
Jul 26 2023, 9:19 PM
atul attached a referenced file: F657068: ae611c.png.
Jul 26 2023, 9:19 PM
atul accepted D8595: [web] Add save functionality to the create role modal.
Jul 26 2023, 7:25 PM
atul resigned from D8638: Possible solution for broken iOS notifications.

(Resigning since encrypted notifications are a blindspot for me, feel free to re-add if there's something specific I can be useful for)

Jul 26 2023, 7:05 PM
atul requested changes to D8595: [web] Add save functionality to the create role modal.

Passing back to remove setTimeout

Jul 26 2023, 7:01 PM
atul added inline comments to D8639: [keyserver/lib] Introduce the thread actions, endpoints, and responders for deleting a custom role.
Jul 26 2023, 7:00 PM
atul accepted D8639: [keyserver/lib] Introduce the thread actions, endpoints, and responders for deleting a custom role.

Didn't look at implementation of deleteRole(...), but this looks correct assuming that deleteRole(...) is.

Jul 26 2023, 6:58 PM
atul requested changes to D8593: [web] Create a community roles modal to display all roles and member counts.

Something to note about the reduxThreadInfo line of code is that it's used so after creating a role, then returning back to this modal, we want to pull in the latest ThreadInfo from the redux store so the modal can show the newly created role in the list of roles. Without this (as was a similar case in native), the new role will only show once the modal is closed and re-opened, since the props have not changed.

Jul 26 2023, 6:45 PM
atul attached a referenced file: F656633: 3d28ef.png.
Jul 26 2023, 6:40 PM
atul attached a referenced file: F656631: 8d8fe5.png.
Jul 26 2023, 6:40 PM
atul requested changes to D8595: [web] Add save functionality to the create role modal.

We should make sure that the request is complete before dismissing the modal.

Jul 26 2023, 6:40 PM
atul accepted D8624: [web] Push the create role modal with prepopulated fields when Edit Role is clicked.
Jul 26 2023, 6:40 PM
atul accepted D8596: [web] Handle unsaved changes with the UnsavedChangesModal.

Sweet, thanks for updating so quickly

Jul 26 2023, 6:40 PM
atul requested changes to D8596: [web] Handle unsaved changes with the UnsavedChangesModal.

Can we go with O(n) approach instead of O(n^2)?

Jul 26 2023, 6:40 PM
atul resigned from D8445: [native] Prevent duplicate role names in one community on the client.
Jul 26 2023, 6:40 PM
atul edited reviewers for D8502: [keyserver/lib] Update the change_role message spec to include a role name field in the DB, added: ashoat; removed: atul.
Jul 26 2023, 6:40 PM
atul abandoned D8633: [IGNORE] Trigger `Emscripten`.
Jul 26 2023, 4:30 PM
atul accepted D8597: [web] Introduce client-side error handling to prevent duplicate role names.
Jul 26 2023, 7:19 AM
atul resigned from D8564: [native] Support the edit_role action on the keyserver.
Jul 26 2023, 7:10 AM
atul resigned from D8574: [keyserver/lib] Enable the option to delete custom roles.
Jul 26 2023, 7:09 AM
atul accepted D8622: [lib] refactor Message Store Operations to use generic type.
Jul 26 2023, 7:08 AM
atul accepted D8621: [lib] refactor Report Store Operations to use generic type.
Jul 26 2023, 7:07 AM
atul accepted D8619: [lib] refactor Thread Store Operations to use generic type.

Consolidating ops-related code in lib/ops is a much cleaner way of organizing things

Jul 26 2023, 7:04 AM
atul accepted D8617: [lib] extract MessageStore ops types to a separate file.
Jul 26 2023, 7:00 AM
atul accepted D8616: [lib] extract ThreadStore ops types to a separate file.

Makes sense to decouple types this way

Jul 26 2023, 6:53 AM
atul accepted D8618: [lib] introduce generic StoreOperation type.

Cleanup by fitting up existing logic into this interface
Make a "contract" for needed utils for future Data Stores
I think it's better to use a method from descriptive object rather than calling random util functions

Jul 26 2023, 6:49 AM
atul accepted D8592: [web] Display a Roles option in the community menu.

Re-requesting review because I don't think I need it if I'm landing the entire stack at once

Jul 26 2023, 6:44 AM
atul resigned from D8634: [native] correctly measure multimedia messages that have an inline engagement.
Jul 26 2023, 6:40 AM
atul resigned from D8632: [native] update heightMeasurerKey function to consider inline engagement for text messages.
Jul 26 2023, 6:34 AM
atul accepted D8629: [lib/native/web] update getMessageLabel parameters.
Jul 26 2023, 6:33 AM
atul resigned from D8630: [native] update dummyNodeForTextMessageHeightMeasurement to use dummy inline engagement component.
Jul 26 2023, 6:32 AM
atul resigned from D8628: [lib/native] update heightMeasurerKey function to consider inline engagement for robotext messages.
Jul 26 2023, 6:32 AM
atul resigned from D8610: [native] introduce DummyInlineEngagementNode.
Jul 26 2023, 6:31 AM
atul requested review of D8633: [IGNORE] Trigger `Emscripten`.
Jul 26 2023, 5:49 AM

Jul 25 2023

atul requested changes to D8592: [web] Display a Roles option in the community menu.

Shouldn't we add some sort of isDev check so we don't roll out this dummy button to users when a keyserver release is made?

Jul 25 2023, 6:21 AM
atul added reviewers for D8610: [native] introduce DummyInlineEngagementNode: tomek, ashoat.

Adding @tomek and @ashoat as reviewers since I haven't worked with any of the height measurement stuff

Jul 25 2023, 6:20 AM
atul accepted D8609: [lib/native/web] convert useInlineEngagementText to getInlineEngagmentSidebarText.

Looks straightforward

Jul 25 2023, 6:11 AM
atul accepted D8604: [CommCoreModule] implement C++ DraftStore.

Would be good to get signoff from @tomek or @marcin before landing

Jul 25 2023, 6:10 AM
atul accepted D8603: [CommCoreModule] introduce BaseDataStore template class.

This looks correct to me. However, my C++ is rusty—particularly w/ templates—so it'd be good to get someone else to sign off before landing (@marcin or @tomek?)

Jul 25 2023, 6:08 AM