Page MenuHomePhabricator
Feed Advanced Search

Mar 28 2023

ashoat accepted D7139: [lib] Added method to call edit_message endpoint.
Mar 28 2023, 5:39 AM
ashoat added a comment to D7066: [native] Displaying 'Edit' labels next to edited messages.

Can you amend the Test Plan to include confirming that no warnings like this are presented: https://github.com/CommE2E/comm/blob/2901fdbf2fe11c8564c13fa3fe2513b8a05f5e29/native/chat/message.react.js#L118-L125

Mar 28 2023, 5:38 AM
ashoat accepted D7214: [native] introduce RustCallback.
Mar 28 2023, 5:36 AM
ashoat added inline comments to D7215: [native] make generateNonce callable from js.
Mar 28 2023, 5:26 AM

Mar 27 2023

ashoat requested review of D7212: [lib][web][native] Introduce commServicesAccessToken to Redux state.
Mar 27 2023, 8:28 PM
ashoat added 1 blocking reviewer(s) for D7211: [keyserver/lib/native] Store the number of pinned messages in ThreadInfo: atul.

Looks good generally, but would be great if @atul could review the redux-persist migration since it's all client DB stuff and is based on a migration he previously wrote

Mar 27 2023, 6:36 PM
ashoat closed D7163: [native] Introduce useNativeMessageListData and NativeChatMessageItem.
Mar 27 2023, 4:51 PM
ashoat committed rCOMMd155c17184f9: [native] Introduce useNativeMessageListData and NativeChatMessageItem (authored by ashoat).
[native] Introduce useNativeMessageListData and NativeChatMessageItem
Mar 27 2023, 4:51 PM
ashoat closed D7179: [keyserver] Convert user ID to VARCHAR in MariaDB.
Mar 27 2023, 4:49 PM
ashoat committed rCOMMb16cebb0a1b5: [keyserver] Convert user ID to VARCHAR in MariaDB (authored by ashoat).
[keyserver] Convert user ID to VARCHAR in MariaDB
Mar 27 2023, 4:49 PM
ashoat added inline comments to D7208: [web] render user avatars in typeahead tooltip.
Mar 27 2023, 4:44 PM
ashoat added inline comments to D7207: [web] render user avatars in thread memebers modal.
Mar 27 2023, 4:42 PM
ashoat added inline comments to D7205: [web] render user avatars in account relationship lists.
Mar 27 2023, 4:42 PM
ashoat added inline comments to D7206: [web] render user avatars in chat thread composer.
Mar 27 2023, 4:41 PM
ashoat added inline comments to D7195: [web] render user avatars in chat screen.
Mar 27 2023, 4:36 PM
ashoat added a comment to D7196: [web] render user avatars in message reactions modal.

Hmm it seems like we'll need to refactor this after getAvatarForUser gets converted to a hook (see my chat message)

Mar 27 2023, 4:36 PM
ashoat accepted D7195: [web] render user avatars in chat screen.
Mar 27 2023, 4:29 PM
ashoat accepted D7203: [keyserver] Update `fetchKnownUserInfos` to include `avatar` field in `UserInfo`s.
Mar 27 2023, 4:27 PM
ashoat added inline comments to D7192: [web] introduce avatar component.
Mar 27 2023, 4:26 PM
ashoat accepted D7199: [keyserver] Add pinned_count column to MariaDB threads table.
Mar 27 2023, 4:23 PM
ashoat added inline comments to D7141: [keyserver] Display edited message in the sidebar if the source message is edited.
Mar 27 2023, 4:20 PM
ashoat added inline comments to D7191: [web-db] implement clearing sensitive data.
Mar 27 2023, 4:15 PM
ashoat requested changes to D7190: [web-db] implement custom `redux-persist` storage.
Mar 27 2023, 4:14 PM
ashoat added inline comments to D7189: [web-db] add database module provider.
Mar 27 2023, 4:11 PM
ashoat requested changes to D7188: [web-db] support SQLite for staff and non-mobile browsers.
Mar 27 2023, 4:09 PM
ashoat added a comment to D7193: Save message instantly to redux for both foregrounded and backgrounded app.

This was easier than I realized!! Thanks for renaming everything. Will leave the diff on others' queues to get some other perspectives

Mar 27 2023, 4:01 PM
ashoat added a comment to D7185: [web-db] process redux-persist operations in SQLite.

It seems like this diff does some moving/refactoring and also introduces some new stuff, which makes it hard to review. More context: https://www.notion.so/commapp/Moving-code-around-bbb551c4350b4d5cb553c6751be44314?pvs=4

Mar 27 2023, 3:52 PM
ashoat accepted D7184: [web-db] add unit tests for redux-persist engine operations.
Mar 27 2023, 3:50 PM
ashoat accepted D7183: [web-db] add table and operations for redux-persist engine.
Mar 27 2023, 3:49 PM
ashoat accepted D7182: [web-db] implement setting/getting `currentUserID` on worker.
Mar 27 2023, 3:48 PM
ashoat accepted D7181: [web-db] add unit tests for metadata operations.
Mar 27 2023, 3:47 PM
ashoat accepted D7180: [web-db] add metadata table operations.
Mar 27 2023, 3:46 PM
ashoat added inline comments to D7197: [Web] Package opaque-ke-wasm files.
Mar 27 2023, 3:21 PM
ashoat added inline comments to D7201: [web][keyserver] Webpack config and client logic to access opaque-ke2 WASM bindings.
Mar 27 2023, 2:02 PM
ashoat added inline comments to D7179: [keyserver] Convert user ID to VARCHAR in MariaDB.
Mar 27 2023, 2:01 PM
ashoat requested review of D7201: [web][keyserver] Webpack config and client logic to access opaque-ke2 WASM bindings.
Mar 27 2023, 1:42 PM
ashoat accepted D7197: [Web] Package opaque-ke-wasm files.
Mar 27 2023, 1:18 PM
ashoat updated the diff for D7197: [Web] Package opaque-ke-wasm files.

Fixes after in work in the subsequent diff

Mar 27 2023, 1:10 PM
ashoat added inline comments to rCOMM734a1b6e6a29: [native] RustPromiseManager.
Mar 27 2023, 11:16 AM
ashoat added a comment to D7197: [Web] Package opaque-ke-wasm files.

After running yarn arcpatch D7197, I noticed that the commit before this one is D7155. Does this work depend on D7155? If so, can you specify the stack on Phabricator?

Mar 27 2023, 9:46 AM
ashoat resigned from D7155: [Native] Migrate native_rust_library to use identity client stubs.

Thanks for submitting!! I am clueless in Rust and this appears mostly Rust, so I will resign

Mar 27 2023, 9:41 AM
ashoat added inline comments to D7136: [native] render thread avatars in community drawer.
Mar 27 2023, 8:50 AM
ashoat closed D7174: [keyserver] Fix account deletion performance.
Mar 27 2023, 7:06 AM
ashoat committed rCOMM26c2d2f52e0b: [keyserver] Fix account deletion performance (authored by ashoat).
[keyserver] Fix account deletion performance
Mar 27 2023, 7:06 AM
ashoat updated the diff for D7174: [keyserver] Fix account deletion performance.

Clarify that it's in the timezone of the keyserver

Mar 27 2023, 7:06 AM
ashoat closed D7165: [lib] Introduce useENSAvatar hook.
Mar 27 2023, 7:01 AM
ashoat committed rCOMM0ce88c17f8a0: [lib] Introduce useENSAvatar hook (authored by ashoat).
[lib] Introduce useENSAvatar hook
Mar 27 2023, 7:01 AM
ashoat requested changes to D7077: [keyserver] Process new messages for search.

Requesting changes for inline comment, and for the discussion previously in D7076

Mar 27 2023, 6:59 AM
ashoat accepted D7076: [keyserver] Add search table to the db.
Mar 27 2023, 6:54 AM
ashoat accepted D7120: Use notifications permission request API on Android 13 while keeping old behavior on older Androids..

Looks great! Please wait for Android build to complete successfully before landing

Mar 27 2023, 6:50 AM

Mar 26 2023

ashoat requested review of D7179: [keyserver] Convert user ID to VARCHAR in MariaDB.
Mar 26 2023, 7:20 PM
ashoat accepted D7137: [native] render thread avatars for parent/child threads in thread settings.

Accepting to unblock but the pattern of copy-paste is concerning

Mar 26 2023, 6:03 AM
ashoat accepted D7136: [native] render thread avatars in community drawer.

Please make sure @inka creates the task I requested before you land this

Mar 26 2023, 6:00 AM
ashoat accepted D7134: [native] update message list header to new design.
Mar 26 2023, 5:57 AM
ashoat accepted D7132: [lib] introduce useGetAvatarForThread hook.
Mar 26 2023, 5:53 AM
ashoat accepted D7178: [lib] introduce getUserAvatarForThread function.
Mar 26 2023, 5:53 AM
ashoat accepted D7177: [keyserver/lib/native/web] introduce color-utils and move color functions from thread-utils to color-utils.

Looks like this is just a move diff so blindly accepting. Not familiar with that error myself, wondering what "initialization" means in this context (is it a circular dependency issue?)

Mar 26 2023, 5:43 AM

Mar 25 2023

ashoat accepted D7176: [keyserver] Don't gate `avatar` inclusion in `*LoggedInUserInfo` based on `codeVersion`.
Mar 25 2023, 4:13 PM
ashoat added a reviewer for D7175: [lib] Include an isPinned flag in ChatMessageInfoItem: kuba.

Also throwing in @kuba, since he has been looking at chat-selectors.js recently too

Mar 25 2023, 10:42 AM
ashoat added inline comments to D7123: [web-db] implement function get all drafts from SQLite.
Mar 25 2023, 10:40 AM
ashoat accepted D7148: [keyserver/lib] Introduce a new message type and spec for toggling pins.

Please apply the requested change before landing!

Mar 25 2023, 3:00 AM
ashoat added inline comments to D7168: [lib] Introduce encrypted media types.
Mar 25 2023, 2:56 AM
ashoat accepted D7167: [keyserver] Process and store encrypted media.
Mar 25 2023, 2:54 AM
ashoat accepted D7166: [lib][keyserver] Attach MIME and encryption key to uploads.
Mar 25 2023, 2:51 AM
ashoat accepted D7113: [native] RustPromiseManager.

Looks great, just minor nits! Great work on the synchronization, really for the distraction looking at threadsafe collections

Mar 25 2023, 2:40 AM
ashoat added inline comments to D7120: Use notifications permission request API on Android 13 while keeping old behavior on older Androids..
Mar 25 2023, 2:33 AM
ashoat added a comment to D7106: Native Java code to request notifications permissions from JS on Android 13.

Thanks @bartek, your explanation makes sense... I agree now that doing something on the Java side doesn't make any sense. I think we can move the discussion to D7120 for the JS side and safely land this diff as-is

Mar 25 2023, 2:29 AM
ashoat requested changes to D7120: Use notifications permission request API on Android 13 while keeping old behavior on older Androids..
Mar 25 2023, 2:26 AM

Mar 24 2023

ashoat accepted D7106: Native Java code to request notifications permissions from JS on Android 13.

After gathering the discussion above my statement on this is that:

  1. I would follow @bartek approach since as he stated it is a common practice he encountered in open source projects.
  2. If there is no acceptance to this approach I will make this method resolve not to two but to three values: false, true, null. The promise resolved to null will be interpreted in JS code that the request is already in progress and another promise will shortly resolve to some meaningful value we can react to (by querying for device token or setting it to null). It will probably be an early return in JS. Alternatively to resolving to ?boolean we can resolve to string constants such as GRANTED, DENIED and REQUEST_ALREADY_IN_PROGRESS.
Mar 24 2023, 6:48 PM
ashoat requested review of D7174: [keyserver] Fix account deletion performance.
Mar 24 2023, 5:31 PM
ashoat added inline comments to D7148: [keyserver/lib] Introduce a new message type and spec for toggling pins.
Mar 24 2023, 2:56 PM
ashoat accepted D7113: [native] RustPromiseManager.

Talked to @varun offline, plan is to handle thread safety in a later diff

Mar 24 2023, 2:50 PM
ashoat requested changes to D7113: [native] RustPromiseManager.

Collection should be threadsafe

Mar 24 2023, 2:04 PM
ashoat requested changes to D7114: [native][draft] Calling Rust get_42() function from JS async.

Is this still meant to be a dummy / example diff that doesn't get landed?

Mar 24 2023, 2:00 PM
ashoat closed D7164: [keyserver] Launch NSE for build 199 and above.
Mar 24 2023, 1:58 PM
ashoat committed rCOMM8e3ede03a4e4: [keyserver] Launch NSE for build 199 and above (authored by ashoat).
[keyserver] Launch NSE for build 199 and above
Mar 24 2023, 1:58 PM
ashoat closed D7173: Allow while(true) in the JS codebase.
Mar 24 2023, 1:58 PM
ashoat committed rCOMMe7b714f20e83: Allow while(true) in the JS codebase (authored by ashoat).
Allow while(true) in the JS codebase
Mar 24 2023, 1:58 PM
ashoat accepted D7120: Use notifications permission request API on Android 13 while keeping old behavior on older Androids..

Please make the requested changes before landing

Mar 24 2023, 1:57 PM
ashoat accepted D7162: [keyserver] Update `fetchUserInfos` to include `avatar`s in `GlobalUserInfo`s.
Mar 24 2023, 1:55 PM
ashoat added inline comments to D7162: [keyserver] Update `fetchUserInfos` to include `avatar`s in `GlobalUserInfo`s.
Mar 24 2023, 1:55 PM
ashoat added a comment to D7164: [keyserver] Launch NSE for build 199 and above.

No, I don't think so

Mar 24 2023, 1:52 PM
ashoat added inline comments to D6929: [keyserver] Add a function to toggle the pin status of a message.
Mar 24 2023, 1:52 PM
ashoat added inline comments to D6973: [web] Extract from drawer item code that can be reused in community items.
Mar 24 2023, 1:49 PM
ashoat accepted D7125: Use new notifications permission API to modify push notifs settings alerts on Android 13.
Mar 24 2023, 1:47 PM
ashoat requested changes to D7106: Native Java code to request notifications permissions from JS on Android 13.

I'm starting to wonder if it'd be better to revert my suggestion just to avoid all that fuss.

Mar 24 2023, 1:34 PM
ashoat accepted D7105: Build files set-up for Android 13.

Awesome!! Thanks for taking the time to revise this a bunch, I know it was more complicated than initially expected

Mar 24 2023, 12:28 PM
ashoat requested review of D7173: Allow while(true) in the JS codebase.
Mar 24 2023, 12:26 PM
ashoat added a comment to D7101: [web-db] add `sql.js` types.

Thanks for explaining!

Mar 24 2023, 12:25 PM
ashoat requested changes to D7148: [keyserver/lib] Introduce a new message type and spec for toggling pins.

Really close!

Mar 24 2023, 12:21 PM
ashoat requested changes to D7117: [keyserver] Add migration - process messages in our db for search.

Back to you

Mar 24 2023, 12:14 PM
ashoat added inline comments to D7117: [keyserver] Add migration - process messages in our db for search.
Mar 24 2023, 12:13 PM
ashoat requested changes to D7077: [keyserver] Process new messages for search.
Mar 24 2023, 12:03 PM
ashoat requested changes to D7076: [keyserver] Add search table to the db.

Ah but actually some of my other feedback hasn't been addressed yet

Mar 24 2023, 12:03 PM
ashoat accepted D7076: [keyserver] Add search table to the db.

In retrospect, D7077 is the right place for this discussion – @inka, would you mind responding to my questions in this diff there?

Mar 24 2023, 12:02 PM
ashoat added inline comments to D7076: [keyserver] Add search table to the db.
Mar 24 2023, 12:01 PM
ashoat requested changes to D7065: [native] Added displaying labels to InlineEngagement.

Will this affect the height of the item? Have you made the necessary changes to the height determination code (textMessageItemHeight)?

Mar 24 2023, 11:56 AM
ashoat accepted D7168: [lib] Introduce encrypted media types.

I think we should include localMediaSelection, but not sure if a future diff adds that

Mar 24 2023, 11:54 AM
ashoat accepted D7169: [lib] Shim encrypted multimedia.
Mar 24 2023, 11:53 AM
ashoat requested changes to D7167: [keyserver] Process and store encrypted media.
Mar 24 2023, 11:47 AM