Page MenuHomePhabricator
Feed All Stories

Mar 26 2023

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
ginsu added inline comments to D7137: [native] render thread avatars for parent/child threads in thread settings.
Mar 26 2023, 12:18 AM
ginsu updated the diff for D7137: [native] render thread avatars for parent/child threads in thread settings.

address feedback

Mar 26 2023, 12:13 AM
ginsu attached a referenced file: F445626: Screenshot 2023-03-24 at 3.04.22 PM.png.
Mar 26 2023, 12:12 AM
ginsu attached a referenced file: F445627: Screenshot 2023-03-26 at 3.11.51 AM.png.
Mar 26 2023, 12:12 AM
ginsu updated the test plan for D7136: [native] render thread avatars in community drawer.
Mar 26 2023, 12:12 AM
ginsu added a reviewer for D7136: [native] render thread avatars in community drawer: inka.
Mar 26 2023, 12:09 AM
ginsu updated the diff for D7136: [native] render thread avatars in community drawer.

address feedback

Mar 26 2023, 12:09 AM
ginsu updated the diff for D7135: [native] render thread avatar in CHANNEL AVATAR thread settings section.

address feedback

Mar 26 2023, 12:05 AM
ginsu attached a referenced file: F445550: Screenshot 2023-03-25 at 11.08.46 PM.png.
Mar 26 2023, 12:02 AM
ginsu attached a referenced file: F445551: Screenshot 2023-03-25 at 10.39.40 PM.png.
Mar 26 2023, 12:02 AM
ginsu attached a referenced file: F445552: Screenshot 2023-03-25 at 11.09.09 PM.png.
Mar 26 2023, 12:02 AM
ginsu attached a referenced file: F445554: Screenshot 2023-03-25 at 10.55.13 PM.png.
Mar 26 2023, 12:02 AM
ginsu attached a referenced file: F445555: Screenshot 2023-03-25 at 11.10.05 PM.png.
Mar 26 2023, 12:02 AM
ginsu attached a referenced file: F445556: Screenshot 2023-03-25 at 10.53.19 PM.png.
Mar 26 2023, 12:02 AM
ginsu attached a referenced file: F445558: Screenshot 2023-03-26 at 2.56.38 AM.png.
Mar 26 2023, 12:02 AM
ginsu attached a referenced file: F445562: Screenshot 2023-03-26 at 3.01.08 AM.png.
Mar 26 2023, 12:02 AM
ginsu retitled D7134: [native] update message list header to new design from [native] render thread avatar in message list header title to [native] update message list header to new design.
Mar 26 2023, 12:02 AM

Mar 25 2023

ginsu updated the diff for D7134: [native] update message list header to new design.

update message list header to new desgin

Mar 25 2023, 11:44 PM
ginsu abandoned D7133: [lib] introduce getAvatarForThreadEntity function.

No longer necessary with D7178

Mar 25 2023, 11:41 PM
ginsu added a comment to D7132: [lib] introduce useGetAvatarForThread hook.

Mostly questions

Mar 25 2023, 11:41 PM
ginsu updated the diff for D7132: [lib] introduce useGetAvatarForThread hook.

remove stray ?

Mar 25 2023, 11:37 PM
ginsu updated the summary of D7178: [lib] introduce getUserAvatarForThread function.
Mar 25 2023, 11:35 PM
ginsu attached a referenced file: F445490: Screenshot 2023-03-24 at 3.04.22 PM.png.
Mar 25 2023, 11:34 PM
ginsu attached a referenced file: F445489: Screenshot 2023-03-24 at 3.04.13 PM.png.
Mar 25 2023, 11:34 PM
ginsu updated the summary of D7132: [lib] introduce useGetAvatarForThread hook.
Mar 25 2023, 11:34 PM
ginsu updated the diff for D7132: [lib] introduce useGetAvatarForThread hook.

change order

Mar 25 2023, 11:24 PM
ginsu updated the diff for D7132: [lib] introduce useGetAvatarForThread hook.

new version of useGetAvatarForThread

Mar 25 2023, 11:20 PM
ginsu added inline comments to D7178: [lib] introduce getUserAvatarForThread function.
Mar 25 2023, 11:17 PM
ginsu attached a referenced file: F445426: Screenshot 2023-03-26 at 2.03.53 AM.png.
Mar 25 2023, 11:16 PM
ginsu attached a referenced file: F445425: Screenshot 2023-03-26 at 2.03.55 AM.png.
Mar 25 2023, 11:16 PM
ginsu attached a referenced file: F445424: Screenshot 2023-03-26 at 2.05.59 AM.png.
Mar 25 2023, 11:16 PM
ginsu attached a referenced file: F445423: Screenshot 2023-03-26 at 2.05.44 AM.png.
Mar 25 2023, 11:16 PM
ginsu updated the summary of D7178: [lib] introduce getUserAvatarForThread function.
Mar 25 2023, 11:16 PM
ginsu requested review of D7178: [lib] introduce getUserAvatarForThread function.
Mar 25 2023, 11:04 PM
ginsu requested review of D7177: [keyserver/lib/native/web] introduce color-utils and move color functions from thread-utils to color-utils.
Mar 25 2023, 10:59 PM
ashoat accepted D7176: [keyserver] Don't gate `avatar` inclusion in `*LoggedInUserInfo` based on `codeVersion`.
Mar 25 2023, 4:13 PM
atul requested review of D7176: [keyserver] Don't gate `avatar` inclusion in `*LoggedInUserInfo` based on `codeVersion`.
Mar 25 2023, 2:33 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
rohan attached a referenced file: F444849: Screenshot 2023-03-25 at 10.14.10 AM.png.
Mar 25 2023, 7:14 AM
rohan added inline comments to D7175: [lib] Include an isPinned flag in ChatMessageInfoItem.
Mar 25 2023, 7:14 AM
rohan requested review of D7175: [lib] Include an isPinned flag in ChatMessageInfoItem.
Mar 25 2023, 6:59 AM
kamil closed D7119: [web-db] add unit tests to function for parsing SQLite query.
Mar 25 2023, 5:52 AM
kamil committed rCOMM1abf9fd998af: [web-db] add unit tests to function for parsing SQLite query (authored by kamil).
[web-db] add unit tests to function for parsing SQLite query
Mar 25 2023, 5:52 AM
kamil closed D7118: [web-db] add function for parsing SQLite query.
Mar 25 2023, 5:52 AM
kamil committed rCOMMbd523b2a5403: [web-db] add function for parsing SQLite query (authored by kamil).
[web-db] add function for parsing SQLite query
Mar 25 2023, 5:52 AM
kamil added inline comments to D7123: [web-db] implement function get all drafts from SQLite.
Mar 25 2023, 5:46 AM
kamil updated the diff for D7119: [web-db] add unit tests to function for parsing SQLite query.

rebase

Mar 25 2023, 5:35 AM
kamil updated the diff for D7118: [web-db] add function for parsing SQLite query.

address review

Mar 25 2023, 5:33 AM
bartek published D7170: [lib] Store encrypted messages in Client DB for review.
Mar 25 2023, 5:03 AM
kamil closed D7104: [web-db] add unit tests for worker crypto utils.
Mar 25 2023, 5:01 AM
kamil committed rCOMM83b3550cd01b: [web-db] add unit tests for worker crypto utils (authored by kamil).
[web-db] add unit tests for worker crypto utils
Mar 25 2023, 5:01 AM
kamil closed D6996: [web-db] generate `CryptoKey` and persist.
Mar 25 2023, 5:01 AM
kamil committed rCOMMc6ea9a5a2f99: [web-db] generate `CryptoKey` and persist (authored by kamil).
[web-db] generate `CryptoKey` and persist
Mar 25 2023, 5:01 AM
kamil closed D6995: [web-db] implement crypto functions.
Mar 25 2023, 5:01 AM
kamil committed rCOMM7096eb583d29: [web-db] implement crypto functions (authored by kamil).
[web-db] implement crypto functions
Mar 25 2023, 5:01 AM
rohan updated the diff for D7148: [keyserver/lib] Introduce a new message type and spec for toggling pins.

Incorporate requested feedback + test to make sure message pinning still works

Mar 25 2023, 4:52 AM
kamil added a comment to D7104: [web-db] add unit tests for worker crypto utils.

FYI By mistake, two diffs had different order in the stack than in my branch on git - that's why I needed to fix parent/child revisions because arcanist didn't allow me to arc diff but this has no influence on the code itself

Mar 25 2023, 4:51 AM
kamil updated the diff for D7104: [web-db] add unit tests for worker crypto utils.

rebase before landing

Mar 25 2023, 4:44 AM
kamil updated the diff for D6996: [web-db] generate `CryptoKey` and persist.

rebase before landing

Mar 25 2023, 4:41 AM
kamil updated the diff for D6995: [web-db] implement crypto functions.

rebase before landing

Mar 25 2023, 4:10 AM
kamil closed D7102: [web-db] implement function to get database version.
Mar 25 2023, 4:02 AM
kamil closed D7103: [web-db] add unit tests for `sql.js`.
Mar 25 2023, 4:02 AM
kamil committed rCOMM9943cf1dd98c: [web-db] implement function to get database version (authored by kamil).
[web-db] implement function to get database version
Mar 25 2023, 4:02 AM
kamil committed rCOMMb191d4bc8962: [web-db] add unit tests for `sql.js` (authored by kamil).
[web-db] add unit tests for `sql.js`
Mar 25 2023, 4:02 AM
kamil closed D7101: [web-db] add `sql.js` types.
Mar 25 2023, 4:02 AM
kamil committed rCOMM3f1a02bb68b0: [web-db] add `sql.js` types (authored by kamil).
[web-db] add `sql.js` types
Mar 25 2023, 4:02 AM
kamil updated the diff for D7103: [web-db] add unit tests for `sql.js`.

rebase before landing

Mar 25 2023, 3:37 AM
kamil updated the diff for D7102: [web-db] implement function to get database version.

rebase before landing

Mar 25 2023, 3:36 AM
kamil updated the diff for D7101: [web-db] add `sql.js` types.

reabse before landing

Mar 25 2023, 3:34 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

bartek updated the diff for D7168: [lib] Introduce encrypted media types.

Added a short description for the holder field

Mar 24 2023, 11:21 PM
bartek updated the diff for D7167: [keyserver] Process and store encrypted media.
  • Updated validateAndConvert to accept a single object argument
  • Used serverCanHandleTypes to validate MIME type
Mar 24 2023, 11:12 PM
bartek updated the diff for D7166: [lib][keyserver] Attach MIME and encryption key to uploads.

Fix encryption_key -> encryptionKey

Mar 24 2023, 10:51 PM
bartek added inline comments to D7168: [lib] Introduce encrypted media types.
Mar 24 2023, 10:46 PM
bartek added inline comments to D7167: [keyserver] Process and store encrypted media.
Mar 24 2023, 10:42 PM
bartek added inline comments to D7166: [lib][keyserver] Attach MIME and encryption key to uploads.
Mar 24 2023, 10:41 PM
bartek added a comment to D7106: Native Java code to request notifications permissions from JS on Android 13.

First of all, I'm sorry that my previous message sounds personal to you, I didn't mean it in any case.

Mar 24 2023, 10:38 PM
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
rohan updated the diff for D7148: [keyserver/lib] Introduce a new message type and spec for toggling pins.

Use Promise.all([...]) for checkThreadPermission and fetchMessageInfoByID to reduce the number of awaits (instead of await checkThreadPermission and await fetchMessageInfoByID)

Mar 24 2023, 6:31 PM
ashoat requested review of D7174: [keyserver] Fix account deletion performance.
Mar 24 2023, 5:31 PM
rohan updated the diff for D6930: [keyserver/lib] Set up responders, endpoints, and related functions to toggle a message pin.

Remove threadID from toggleMessagePinRequestInputValidator

Mar 24 2023, 3:48 PM
rohan updated the diff for D6929: [keyserver] Add a function to toggle the pin status of a message.

Fetch the threadID via the messageID, remove threadID from ToggleMessagePinRequest and consolidate the two togglePinQuery queries into one concrete query (all addressing feedback)

Mar 24 2023, 3:48 PM
varun added 1 blocking reviewer(s) for D7113: [native] RustPromiseManager: ashoat.
Mar 24 2023, 3:29 PM
varun requested review of D7113: [native] RustPromiseManager.

sorry, requesting review again because i decided to just add the thread safety changes to this diff....

Mar 24 2023, 3:29 PM
varun updated the diff for D7113: [native] RustPromiseManager.

return early when we can

Mar 24 2023, 3:29 PM
varun planned changes to D7113: [native] RustPromiseManager.

sorry addressing feedback now

Mar 24 2023, 3:22 PM