Page MenuHomePhabricator
Feed Advanced Search

Apr 21 2023

ashoat accepted D7534: [identity] register user finish.
Apr 21 2023, 6:14 AM
ashoat accepted D7555: [native] remove async in saveENSUserAvatar callback.
Apr 21 2023, 6:14 AM
ashoat accepted D7554: [native] introduce useUploadSelectedMedia hook.
Apr 21 2023, 6:13 AM
ashoat added inline comments to D7553: [identity] update user password.
Apr 21 2023, 6:06 AM
ashoat closed D7552: Remove reference to pod-patch in .dockerignore.
Apr 21 2023, 6:05 AM
ashoat committed rCOMM4cbd35b1c650: Remove reference to pod-patch in .dockerignore (authored by ashoat).
Remove reference to pod-patch in .dockerignore
Apr 21 2023, 6:05 AM
ashoat requested changes to D7551: [DRAFT][native] Introduce `persistMigrationForThreadAvatarPermission` to update thread permissions.

Requesting changes for a migration that takes no params and just recalculates all thread permissions from "first principles" based on role-creator.js that is extracted to lib

Apr 21 2023, 6:04 AM
ashoat added a comment to D7551: [DRAFT][native] Introduce `persistMigrationForThreadAvatarPermission` to update thread permissions.

(Talked through that offline with @atul and we agreed the "dangling" stuff would be fine)

Apr 21 2023, 6:04 AM
ashoat added inline comments to D7544: [identity] delete user RPC.
Apr 21 2023, 6:03 AM
ashoat resigned from D7540: [identity] wallet login.

proto comment change looks fine; no context on the Rust

Apr 21 2023, 6:01 AM
ashoat requested changes to D7516: [keyserver, lib] Set target_message for new sidebar_source messages.
Apr 21 2023, 5:59 AM

Apr 20 2023

ashoat added a comment to D7518: [native][fix] Fixed message height warnings on Android.

High-level feedback here is that all numbers that contribute to the height of the component should be hard-coded as constants, and then the functions for determining the height of the component should simply sum those very same constants. This includes margin, padding, etc.

Apr 20 2023, 12:28 PM
ashoat requested changes to D7517: [keyserver] Add migration to populate `target_message` for sidebar_source.
Apr 20 2023, 11:40 AM
ashoat added inline comments to D7518: [native][fix] Fixed message height warnings on Android.
Apr 20 2023, 11:37 AM
ashoat requested changes to D7518: [native][fix] Fixed message height warnings on Android.
Apr 20 2023, 11:35 AM
ashoat requested changes to D7549: [native] introduce naive user avatar camera modal.
Apr 20 2023, 9:58 AM
ashoat requested changes to D7550: [native] introduce naive thread avatar camera modal.
Apr 20 2023, 9:56 AM
ashoat requested review of D7552: Remove reference to pod-patch in .dockerignore.
Apr 20 2023, 6:45 AM

Apr 19 2023

ashoat accepted D7548: [native] change type for useProcessSelectedMedia from MediaLibrarySelection to NativeMediaSelection.
Apr 19 2023, 6:57 PM
ashoat closed D7501: [native] Introduce RegistrationContainer.
Apr 19 2023, 6:39 PM
ashoat committed rCOMM22ef9dfc868b: [native] Introduce RegistrationContainer (authored by ashoat).
[native] Introduce RegistrationContainer
Apr 19 2023, 6:39 PM
ashoat closed D7500: [native] Style RegistrationNavigator header.
Apr 19 2023, 6:39 PM
ashoat committed rCOMM61d1812e0178: [native] Style RegistrationNavigator header (authored by ashoat).
[native] Style RegistrationNavigator header
Apr 19 2023, 6:39 PM
ashoat closed D7496: [native] Add empty RegistrationNavigator & KeyserverSelection.
Apr 19 2023, 6:39 PM
ashoat committed rCOMM5e5a4813fad8: [native] Add empty RegistrationNavigator & KeyserverSelection (authored by ashoat).
[native] Add empty RegistrationNavigator & KeyserverSelection
Apr 19 2023, 6:39 PM
ashoat closed D7495: [native] Add second register button only visible to devs.
Apr 19 2023, 6:39 PM
ashoat committed rCOMM94fac674b4fe: [native] Add second register button only visible to devs (authored by ashoat).
[native] Add second register button only visible to devs
Apr 19 2023, 6:39 PM
ashoat closed D7494: [native] Add horizontal margin to buttons in LoggedOutModal.
Apr 19 2023, 6:39 PM
ashoat committed rCOMM86f57e2cc31e: [native] Add horizontal margin to buttons in LoggedOutModal (authored by ashoat).
[native] Add horizontal margin to buttons in LoggedOutModal
Apr 19 2023, 6:39 PM
ashoat updated the diff for D7494: [native] Add horizontal margin to buttons in LoggedOutModal.

Keep LoggedOutStaffInfo margins the same as before

Apr 19 2023, 6:31 PM
ashoat accepted D7546: [native] introduce use ENS avatar to edit user avatar.
Apr 19 2023, 6:15 PM
ashoat accepted D7547: [native] Match changes made to `EditUserAvatar` for `EditThreadAvatar`.
Apr 19 2023, 6:12 PM
ashoat accepted D7514: [native] introduce ChatCameraModal component.
Apr 19 2023, 6:02 PM
ashoat updated the diff for D7514: [native] introduce ChatCameraModal component.

Fix types

Apr 19 2023, 5:55 PM
ashoat added inline comments to D7514: [native] introduce ChatCameraModal component.
Apr 19 2023, 5:39 PM
ashoat requested changes to D7514: [native] introduce ChatCameraModal component.
Apr 19 2023, 4:55 PM
ashoat resigned from D7532: [identity] get reserved usernames from JSON.

Can you add genesis to the reserved list? Context here

Apr 19 2023, 4:47 PM
ashoat added a comment to D7543: [native] Alert user when `UPDATE_USER_AVATAR` call fails.

The Android build was consistently failing here… any cause for concern?

Apr 19 2023, 4:32 PM
ashoat accepted D7530: [native] Replace logging with `Alert`s in `selectFromGalleryAndUpdateUserAvatar`.

Can we replace the ALERT_TITLES with "Alert title", to make them more human-readable?

Apr 19 2023, 12:20 PM
ashoat accepted D7529: [native] Show `ActivityIndicator` in `EditUserAvatar` during update.
Apr 19 2023, 11:59 AM
ashoat added inline comments to D7514: [native] introduce ChatCameraModal component.
Apr 19 2023, 11:58 AM
ashoat accepted D7528: [native] Update `useRemoveUserAvatar` to return `isLoading`.
Apr 19 2023, 11:48 AM
ashoat accepted D7527: [native] Update `useSelectFromGalleryAndUpdateUserAvatar` to return `isLoading`.

Okay, good points – that makes sense

Apr 19 2023, 11:26 AM
ashoat added a comment to D7527: [native] Update `useSelectFromGalleryAndUpdateUserAvatar` to return `isLoading`.

Wouldn't it be more simple / readable to handle this at the callsite for selectFromGalleryAndUpdateUserAvatar? Eg. like this:

Apr 19 2023, 11:09 AM
ashoat accepted D7504: [native] factor out shared code between Emoji[User/Thread]AvatarCreation into EmojiAvatarCreation.
Apr 19 2023, 11:05 AM
ashoat added a comment to D7309: [web] Pop up a pin/unpin modal when the tooltip icon is clicked.

@rohan, can you provide some clarification as to why you've been iterating on this stack for so long without resolving the unit test issue? Is it particularly challenging?

Apr 19 2023, 7:17 AM
ashoat added inline comments to D7519: [keyserver] Create a table for invite links.
Apr 19 2023, 7:14 AM
ashoat requested changes to D7517: [keyserver] Add migration to populate `target_message` for sidebar_source.
Apr 19 2023, 7:11 AM
ashoat added inline comments to D7516: [keyserver, lib] Set target_message for new sidebar_source messages.
Apr 19 2023, 6:41 AM
ashoat closed D7523: [native] Put Calendar tab after Inbox.
Apr 19 2023, 6:30 AM
ashoat committed rCOMM5e6d644ffd3e: [native] Put Calendar tab after Inbox (authored by ashoat).
[native] Put Calendar tab after Inbox
Apr 19 2023, 6:30 AM
ashoat requested changes to D7514: [native] introduce ChatCameraModal component.

Just one serious issue

Apr 19 2023, 6:29 AM
ashoat accepted D7513: [native] Introduce `useRemoveThreadAvatar` hook.
Apr 19 2023, 6:20 AM
ashoat accepted D7512: [native] Introduce `useRemoveUserAvatar` hook.
Apr 19 2023, 6:20 AM
ashoat accepted D7511: [native] Introduce naive `useSelectFromGalleryAndUpdateThreadAvatar` hook.

Thanks for the explanation in the diff description

Apr 19 2023, 6:19 AM
ashoat accepted D7510: [native] Introduce naive `useSelectFromGalleryAndUpdateUserAvatar` hook.
Apr 19 2023, 6:09 AM
ashoat accepted D7509: [native] Move `ThreadAvatar` "inside" `EditThreadAvatar`.
Apr 19 2023, 6:04 AM
ashoat accepted D7508: [native] Move `UserAvatar` "inside" `EditUserAvatar`.
Apr 19 2023, 6:03 AM
ashoat accepted D7507: [native] Move complexity of `actionSheetConfig` to `useShowAvatarActionSheet`.

Please address inline comments before landing! If you're unable to switch back to $ReadOnlyArray, please re-request review and I'll take a look

Apr 19 2023, 6:03 AM
ashoat accepted D7506: [native] Pull `useShowAvatarActionSheet` out of `Edit*Avatar`.

Looks like a clean "factor out", so not reviewing super closely

Apr 19 2023, 5:51 AM
ashoat requested changes to D7504: [native] factor out shared code between Emoji[User/Thread]AvatarCreation into EmojiAvatarCreation.

This looks good, but I want to make sure the types are okay before you land, so requesting changes so I can have a final pass-through before you land

Apr 19 2023, 5:50 AM
ashoat requested review of D7523: [native] Put Calendar tab after Inbox.
Apr 19 2023, 5:49 AM
ashoat accepted D7503: [native] naively split EmojiAvatarCreation into EmojiUserAvatarCreation and EmojiThreadAvatarCreation.

Please address inline comment before landing

Apr 19 2023, 5:47 AM
ashoat requested changes to D7518: [native][fix] Fixed message height warnings on Android.

We should source this height from the same place that we source it for message height calculations. Eg. see how timestampHeight is used. Please replace this with a variable that is also used somehow in messageItemHeight

Apr 19 2023, 4:58 AM

Apr 18 2023

ashoat requested review of D7501: [native] Introduce RegistrationContainer.
Apr 18 2023, 1:23 PM
ashoat accepted D7502: [native] Pull `EditAvatarBadge` into its own component.
Apr 18 2023, 1:15 PM
ashoat accepted D7499: [native] Use `outline` variant of `emote-smile` in `Edit*Avatar` for consistency.
Apr 18 2023, 1:14 PM
ashoat accepted D7498: [native] Pull `useSelectAndUploadFromGallery` out of `Edit[User/Thread]Avatar`.

Assuming this is a clean refactor so only skimmed it

Apr 18 2023, 1:14 PM
ashoat requested review of D7500: [native] Style RegistrationNavigator header.
Apr 18 2023, 1:12 PM
ashoat accepted D7493: [native] Pull `useUploadProcessedMedia` out of `Edit[User/Thread]Avatar`.
Apr 18 2023, 1:11 PM
ashoat accepted D7497: [native] Pull `useProcessSelectedMedia` out of `Edit[User/Thread]Avatar`.
Apr 18 2023, 1:09 PM
ashoat added inline comments to D7496: [native] Add empty RegistrationNavigator & KeyserverSelection.
Apr 18 2023, 1:06 PM
ashoat updated the test plan for D7496: [native] Add empty RegistrationNavigator & KeyserverSelection.
Apr 18 2023, 12:53 PM
ashoat updated the diff for D7496: [native] Add empty RegistrationNavigator & KeyserverSelection.

Clean up, fix styles, remove KeyboardAvoidingView.

Apr 18 2023, 12:52 PM
ashoat retitled D7496: [native] Add empty RegistrationNavigator & KeyserverSelection from [native] Add empty RegistrationModal to [native] Add empty RegistrationNavigator & KeyserverSelection.
Apr 18 2023, 12:18 PM
ashoat updated the diff for D7496: [native] Add empty RegistrationNavigator & KeyserverSelection.

Realized we need a separate StackNavigator for registration

Apr 18 2023, 12:16 PM
ashoat requested review of D7496: [native] Add empty RegistrationNavigator & KeyserverSelection.
Apr 18 2023, 12:03 PM
ashoat updated the diff for D7495: [native] Add second register button only visible to devs.

Add React keys

Apr 18 2023, 11:41 AM
ashoat requested review of D7495: [native] Add second register button only visible to devs.
Apr 18 2023, 11:41 AM
ashoat requested review of D7494: [native] Add horizontal margin to buttons in LoggedOutModal.
Apr 18 2023, 11:22 AM
ashoat added inline comments to D7488: [keyserver] Introduce convertObject function.
Apr 18 2023, 9:33 AM
ashoat added inline comments to D7487: [keyserver] Add password sanitization tests.
Apr 18 2023, 9:29 AM
ashoat accepted D7489: [native] Fix construction of `MediaLibrarySelection`.
Apr 18 2023, 9:28 AM
ashoat added inline comments to D7487: [keyserver] Add password sanitization tests.
Apr 18 2023, 9:22 AM
ashoat resigned from D7480: [Tunnelbroker] Create session creation and key messages.

New libraries look good!! Resigning so that somebody else on the team looks at the Rust code

Apr 18 2023, 9:20 AM
ashoat added inline comments to D7476: [native] Introduce `openPhotoGallery` in `EditAvatar` component.
Apr 18 2023, 9:17 AM
ashoat accepted D7425: [Tunnelbroker] Create gRPC service for emitting messages to devices.
Apr 18 2023, 9:15 AM
ashoat added inline comments to D7446: [native] Discard alert when navigating in edit mode.
Apr 18 2023, 9:13 AM
ashoat updated the diff for D7455: [keyserver] Migration to reset all PRIVATE thread names.

Use INNER JOIN instead of LEFT JOIN. I tested the query again to make sure it still works

Apr 18 2023, 6:03 AM
ashoat added inline comments to D7455: [keyserver] Migration to reset all PRIVATE thread names.
Apr 18 2023, 5:58 AM
ashoat added inline comments to D7470: [native] enable performing message store threads ops.
Apr 18 2023, 5:56 AM
ashoat added inline comments to D7446: [native] Discard alert when navigating in edit mode.
Apr 18 2023, 5:54 AM
ashoat accepted D7481: [native] Process and upload image for image avatar in `EditAvatar`.
  1. You forgot to annotate the parent of this diff. This has come up before... please always try to annotate your diff dependencies. It would probably be easier for you if you keep a 1-to-1 correspondence between branches and diff stacks, but if you want to do things differently, it's fine as long as you are able to remember to annotate your diff dependencies going forward.
  2. Accepting due to the state of this work, but normally I would request changes here. Please read through all of the comments carefully and address them before landing
    • If you disagree with the comment about returning a Promise and awaiting it, please re-request review
Apr 18 2023, 5:49 AM
ashoat accepted D7479: [Protos] Remove tunnelbroker.proto.
Apr 18 2023, 5:31 AM
ashoat added a comment to D7431: [Tunnelbroker] Use new services protobuf.

Is this ready for review given it's failing CI?

Apr 18 2023, 5:30 AM
ashoat accepted D7425: [Tunnelbroker] Create gRPC service for emitting messages to devices.

Looks good, just have some concerns about naming and comments

Apr 18 2023, 5:30 AM
ashoat accepted D7478: [native] Make `onTranscodingProgress` field of `MediaProcessConfig` optional.
Apr 18 2023, 5:24 AM
ashoat accepted D7477: [native] Get rid of `mediaProcessConfig` and pass `processMedia` config directly.
Apr 18 2023, 5:22 AM
ashoat accepted D7476: [native] Introduce `openPhotoGallery` in `EditAvatar` component.

I really, really do not like that this function is getting introduced without a callsite.

Apr 18 2023, 5:16 AM
ashoat added inline comments to D7455: [keyserver] Migration to reset all PRIVATE thread names.
Apr 18 2023, 4:36 AM