Page MenuHomePhorge
Feed All Stories

Mar 24 2023

tomek added inline comments to D6929: [keyserver] Add a function to toggle the pin status of a message.
Mar 24 2023, 6:31 PM
atul closed D7156: [lib] Update `CurrentUserInfo` on `updateUserAvatarActionTypes.success`.
Mar 24 2023, 6:28 PM
atul committed rCOMM7927b6a593cb: [lib] Update `CurrentUserInfo` on `updateUserAvatarActionTypes.success`.
Mar 24 2023, 6:28 PM
tomek accepted D6976: [web] Use new handlers in communnity drawer.
Mar 24 2023, 6:27 PM
tomek accepted D6974: [web] Add handlers for drawer community items.
Mar 24 2023, 6:22 PM
tomek added inline comments to D6973: [web] Extract from drawer item code that can be reused in community items.
Mar 24 2023, 6:03 PM
tomek added inline comments to D6930: [keyserver/lib] Set up responders, endpoints, and related functions to toggle a message pin.
Mar 24 2023, 6:00 PM
ashoat added inline comments to D7166: [lib][keyserver] Attach MIME and encryption key to uploads.
Mar 24 2023, 6:00 PM
atul updated the diff for D7156: [lib] Update `CurrentUserInfo` on `updateUserAvatarActionTypes.success`.

rebase and land

Mar 24 2023, 5:58 PM
ashoat requested changes to D7129: [lib] Added new 'sendEditMessage' action.
Mar 24 2023, 5:57 PM
atul resigned from D6930: [keyserver/lib] Set up responders, endpoints, and related functions to toggle a message pin.
Mar 24 2023, 5:55 PM
ashoat requested changes to D7143: [lib] Function to dispatch edit message action.
Mar 24 2023, 5:54 PM
ashoat added inline comments to D7143: [lib] Function to dispatch edit message action.
Mar 24 2023, 5:54 PM
atul resigned from D6929: [keyserver] Add a function to toggle the pin status of a message.
Mar 24 2023, 5:54 PM
ashoat added inline comments to D7140: [lib] Displaying edited content in a pending thread.
Mar 24 2023, 5:52 PM
rohan added inline comments to D6929: [keyserver] Add a function to toggle the pin status of a message.
Mar 24 2023, 5:40 PM
marcin updated the diff for D7125: Use new notifications permission API to modify push notifs settings alerts on Android 13.

Refactor code to make more readable check for ability to request notifications permission

Mar 24 2023, 5:35 PM
marcin updated the diff for D7120: Use notifications permission request API on Android 13 while keeping old behavior on older Androids..

More robust check as to whether issue notifications permission request.

Mar 24 2023, 5:33 PM
marcin updated the diff for D7106: Native Java code to request notifications permissions from JS on Android 13.
  1. Replace method overloading with different names.
  2. Simplify check for Android OS version.
  3. Add comment to explain hardcoded request code for notifications permission.
Mar 24 2023, 5:32 PM
marcin updated the diff for D7105: Build files set-up for Android 13.

Add intent-filter for MainActivity to be started from SplashActivity in debug build

Mar 24 2023, 5:30 PM
rohan added inline comments to D6930: [keyserver/lib] Set up responders, endpoints, and related functions to toggle a message pin.
Mar 24 2023, 5:20 PM
marcin added inline comments to D7125: Use new notifications permission API to modify push notifs settings alerts on Android 13.
Mar 24 2023, 5:02 PM
marcin added inline comments to D7120: Use notifications permission request API on Android 13 while keeping old behavior on older Androids..
Mar 24 2023, 4:56 PM
michal accepted D7119: [web-db] add unit tests to function for parsing SQLite query.

I don't have experience in writing tests in jest but looks reasonable

Mar 24 2023, 4:36 PM
tomek accepted D6930: [keyserver/lib] Set up responders, endpoints, and related functions to toggle a message pin.
Mar 24 2023, 4:29 PM
michal accepted D7101: [web-db] add `sql.js` types.
Mar 24 2023, 4:29 PM
ashoat attached a referenced file: F443322: Screenshot 2023-03-24 at 10.28.41 AM.png.
Mar 24 2023, 4:22 PM
ashoat attached a referenced file: F443323: Screenshot 2023-03-24 at 12.18.25 PM.png.
Mar 24 2023, 4:22 PM
ashoat added inline comments to D7076: [keyserver] Add search table to the db.
Mar 24 2023, 4:22 PM
tomek accepted D6929: [keyserver] Add a function to toggle the pin status of a message.
Mar 24 2023, 4:19 PM
tomek added a comment to D6924: [keyserver] Introduce columns in messages table to support pinned messages.

Makes sense! Thanks for clarifying and answering the questions!

Mar 24 2023, 4:09 PM
tomek accepted D7112: [keyserver/lib] Set up responders, endpoints, and related functions to fetch all pinned messages.
Mar 24 2023, 3:20 PM
rohan updated the diff for D7110: [keyserver/lib] Add a fetchPinnedMessages method to retrieve all pinned messages for a thread.

Add a comment explaining why we don't check subthread_permissions here and also ORDER BY m.pin_time DESC to fetch pinned messages from newest to oldest

Mar 24 2023, 3:16 PM
kamil added inline comments to D7101: [web-db] add `sql.js` types.
Mar 24 2023, 3:03 PM
kamil updated the diff for D7101: [web-db] add `sql.js` types.

address review

Mar 24 2023, 3:02 PM
rohan updated the diff for D7148: [keyserver/lib] Introduce a new message type and spec for toggling pins.

Discussed the revision mainly offline with @ashoat, so I'll copy the changes we discussed from our chat here, as well as outline any additional changes.

Mar 24 2023, 2:23 PM
inka updated the diff for D7117: [keyserver] Add migration - process messages in our db for search.

Address review

Mar 24 2023, 2:08 PM
inka added inline comments to D7117: [keyserver] Add migration - process messages in our db for search.
Mar 24 2023, 2:07 PM
rohan added inline comments to D7110: [keyserver/lib] Add a fetchPinnedMessages method to retrieve all pinned messages for a thread.
Mar 24 2023, 1:39 PM
rohan added a comment to D6924: [keyserver] Introduce columns in messages table to support pinned messages.

The current fetchPinnedMessageInfos query doesn't have the ability to paginate, but it can always be added in later. We could initially fetch all of the pinned messages at once from the server, but have a task to paginate the fetching.

Yeah agreed, I've made a task to track: https://linear.app/comm/issue/ENG-3397/add-pagination-to-fetching-message-pins-for-a-thread

Separately, I'm a bit confused about how the client will determine eg. how many messages are pinned for a given chat. Is this info going to be fetched on-demand when the user opens the chat? (In which case it would appear "dynamically" after being fetched.) Or are we looking to "cache" this information for each thread, so that we correctly display it when opened?

I think it would be good to avoid having to fetch anything "dynamically" when a chat is opened. Depending on what information we show by default (I don't recall the designs exactly but it might just be a number of pinned messages), we might want to consider modifying ThreadInfo to store this information.

That's a good point, it probably would be good to store the number in ThreadInfo. I've similarly made a follow-up task: https://linear.app/comm/issue/ENG-3396/store-the-number-of-pinned-messages-in-threadinfo

Mar 24 2023, 1:34 PM
marcin added inline comments to D7106: Native Java code to request notifications permissions from JS on Android 13.
Mar 24 2023, 1:30 PM
bartek added inline comments to D7106: Native Java code to request notifications permissions from JS on Android 13.
Mar 24 2023, 1:12 PM
bartek added inline comments to D7105: Build files set-up for Android 13.
Mar 24 2023, 1:07 PM
marcin added inline comments to D7106: Native Java code to request notifications permissions from JS on Android 13.
Mar 24 2023, 1:05 PM
marcin added inline comments to D7106: Native Java code to request notifications permissions from JS on Android 13.
Mar 24 2023, 1:00 PM
marcin added inline comments to D7105: Build files set-up for Android 13.
Mar 24 2023, 12:43 PM
inka updated the diff for D7077: [keyserver] Process new messages for search.

Rename file, move processMessagesForSearch to postMessageSend

Mar 24 2023, 12:37 PM
kuba updated the diff for D7065: [native] Added displaying labels to InlineEngagement.

Rebase

Mar 24 2023, 12:35 PM
inka added inline comments to D7077: [keyserver] Process new messages for search.
Mar 24 2023, 12:34 PM
bartek published D7169: [lib] Shim encrypted multimedia for review.
Mar 24 2023, 12:33 PM
kuba updated the diff for D7063: [native] Move 'InlineEngagement' styling from 'ComposedMessage' to component.

Rebase

Mar 24 2023, 12:32 PM
bartek published D7168: [lib] Introduce encrypted media types for review.
Mar 24 2023, 12:31 PM
bartek published D7167: [keyserver] Process and store encrypted media for review.
Mar 24 2023, 11:19 AM
bartek published D7166: [lib][keyserver] Attach MIME and encryption key to uploads for review.
Mar 24 2023, 11:13 AM
kuba updated the diff for D7145: [keyserver] Adding edit_message to the sidebar thread.

Address comments

Mar 24 2023, 10:56 AM
kuba added inline comments to D7129: [lib] Added new 'sendEditMessage' action.
Mar 24 2023, 10:54 AM
kuba updated the diff for D7129: [lib] Added new 'sendEditMessage' action.

Change type to inexact

Mar 24 2023, 10:54 AM
kuba added inline comments to D7143: [lib] Function to dispatch edit message action.
Mar 24 2023, 10:39 AM
kuba updated the diff for D7143: [lib] Function to dispatch edit message action.

Address review comments

Mar 24 2023, 10:38 AM
kuba updated the diff for D7140: [lib] Displaying edited content in a pending thread.

Address comments

Mar 24 2023, 10:09 AM
kuba added a comment to D6965: [lib][native] Displaying edited messages from database.

We can consider preventing users from sending empty edit messages.

We should do this. We don't allow empty messages for messageTypes.TEXT. Can you create a follow-up Linear task for this before landing?

Mar 24 2023, 9:57 AM
ginsu closed D7067: [native] render user avatars in chat screen.
Mar 24 2023, 6:51 AM
ginsu committed rCOMM6f269a0c7bd9: [native] render user avatars in chat screen.
Mar 24 2023, 6:51 AM
ginsu added a comment to D7067: [native] render user avatars in chat screen.

One last thing that would be great if you could test: what happens if you upload a single very "thin" photo? I want to make sure it doesn't expand to take the whole width and then becomes super tall. (Or at least, that there's no regression in this.)

Sorry for all the specific test plan requests, I just remember there being a lot of edge cases with this code from back when I was working on it.

Mar 24 2023, 6:49 AM
ginsu attached a referenced file: F442621: Screen Recording 2023-03-24 at 2.37.39 AM.mov.
Mar 24 2023, 6:47 AM
ginsu attached a referenced file: F442620: Screen Recording 2023-03-24 at 2.40.23 AM.mov.
Mar 24 2023, 6:47 AM
ginsu updated the test plan for D7067: [native] render user avatars in chat screen.
Mar 24 2023, 6:47 AM
ginsu added inline comments to D7067: [native] render user avatars in chat screen.
Mar 24 2023, 6:44 AM
bartek added inline comments to D7106: Native Java code to request notifications permissions from JS on Android 13.
Mar 24 2023, 5:45 AM
bartek added inline comments to D7105: Build files set-up for Android 13.
Mar 24 2023, 5:24 AM
ashoat requested review of D7165: [lib] Introduce useENSAvatar hook.
Mar 24 2023, 4:19 AM
ashoat requested review of D7164: [keyserver] Launch NSE for build 199 and above.
Mar 24 2023, 3:47 AM
ashoat requested review of D7163: [native] Introduce useNativeMessageListData and NativeChatMessageItem.
Mar 24 2023, 3:36 AM
ashoat closed D7093: [native] Use a JSON blob for heightMeasurerKey.
Mar 24 2023, 3:17 AM
ashoat committed rCOMM4765c224e781: [native] Use a JSON blob for heightMeasurerKey.
Mar 24 2023, 3:17 AM
ashoat requested changes to D7162: [keyserver] Update `fetchUserInfos` to include `avatar`s in `GlobalUserInfo`s.

That makes sense RE older clients. Thinking about it more, I'm not actually sure why we ever thought it made sense to "hide" the avatar field from older clients... they're going to eventually need the field, and if we hide it from them initially then they will need to rely on the state check mechanism to fix things after they upgrade codeVersions.

Mar 24 2023, 3:06 AM
ashoat added a comment to D6924: [keyserver] Introduce columns in messages table to support pinned messages.

The current fetchPinnedMessageInfos query doesn't have the ability to paginate, but it can always be added in later. We could initially fetch all of the pinned messages at once from the server, but have a task to paginate the fetching.

Mar 24 2023, 2:46 AM
ashoat accepted D7110: [keyserver/lib] Add a fetchPinnedMessages method to retrieve all pinned messages for a thread.
Mar 24 2023, 2:44 AM
ashoat added a comment to D5995: [native] clear database when malformation is detected.

Yeah we can probably get rid of them, feel free to put up a diff

Mar 24 2023, 2:37 AM
ashoat accepted D7156: [lib] Update `CurrentUserInfo` on `updateUserAvatarActionTypes.success`.
Mar 24 2023, 2:37 AM
ashoat accepted D7157: [keyserver] `JSON.parse()` stringified `avatar` in `fetchLoggedInUserInfo`.
Mar 24 2023, 2:35 AM
ashoat added a comment to D7067: [native] render user avatars in chat screen.

One last thing that would be great if you could test: what happens if you upload a single very "thin" photo? I want to make sure it doesn't expand to take the whole width and then becomes super tall. (Or at least, that there's no regression in this.)

Mar 24 2023, 2:34 AM
ashoat accepted D7067: [native] render user avatars in chat screen.
Mar 24 2023, 2:32 AM
ashoat requested changes to D7141: [keyserver] Display edited message in the sidebar if the source message is edited.

Back to your queue for nits and fetchDerivedMessages

Mar 24 2023, 2:26 AM
ashoat added inline comments to D7148: [keyserver/lib] Introduce a new message type and spec for toggling pins.
Mar 24 2023, 2:26 AM
ashoat added inline comments to D7148: [keyserver/lib] Introduce a new message type and spec for toggling pins.
Mar 24 2023, 2:25 AM
ashoat added a reviewer for D7148: [keyserver/lib] Introduce a new message type and spec for toggling pins: kuba.

Adding @kuba here – he is looking at fetchDerivedMessages right now in D7141

Mar 24 2023, 2:25 AM
ashoat added a reviewer for D7141: [keyserver] Display edited message in the sidebar if the source message is edited: rohan.
Mar 24 2023, 2:24 AM
ashoat added inline comments to D7120: Use notifications permission request API on Android 13 while keeping old behavior on older Androids..
Mar 24 2023, 2:17 AM
ashoat added inline comments to D7106: Native Java code to request notifications permissions from JS on Android 13.
Mar 24 2023, 2:13 AM
ashoat attached a referenced file: F442421: Screenshot 2023-03-23 at 9.53.39 PM.png.
Mar 24 2023, 1:59 AM
ashoat requested changes to D7105: Build files set-up for Android 13.

Can you please amend the Test Plan to include:

Mar 24 2023, 1:59 AM
atul published D7162: [keyserver] Update `fetchUserInfos` to include `avatar`s in `GlobalUserInfo`s for review.
Mar 24 2023, 12:30 AM

Mar 23 2023

rohan updated the summary of D6930: [keyserver/lib] Set up responders, endpoints, and related functions to toggle a message pin.
Mar 23 2023, 10:58 PM
rohan updated the summary of D6929: [keyserver] Add a function to toggle the pin status of a message.
Mar 23 2023, 10:58 PM
rohan added inline comments to D6929: [keyserver] Add a function to toggle the pin status of a message.
Mar 23 2023, 10:54 PM
Restricted Repository Identity closed D7096: [web/desktop] Update immediately on versions v1 and v2.
Mar 23 2023, 10:47 PM
Michal Gniadek <michal.gniadek@swmansion.com> committed rCOMM597d5a14d2e0: [web/desktop] Update immediately on versions v1 and v2.
Mar 23 2023, 10:47 PM
atul closed D7161: [ios] Add `--repo-update` to `pod install` command.
Mar 23 2023, 9:08 PM
atul committed rCOMMe261fbedae47: [ios] Add `--repo-update` to `pod install` command.
Mar 23 2023, 9:08 PM