Page MenuHomePhorge
Feed All Stories

Sep 19 2023

marcin updated the diff for D9198: Enable encrypted notifications coalescing on in Androoid native code..

Rebase before landing

Sep 19 2023, 4:04 PM
marcin updated the diff for D9149: Encrypt all notifications on the keyserver for iOS devices.

Rebase before landing

Sep 19 2023, 4:04 PM
marcin updated the diff for D9144: Enable encrypted notification coalescing in NSE on iOS.
  1. Don't wait forever
  2. Rebase before landing
Sep 19 2023, 4:03 PM
tomek accepted D8852: [web] Introduce markdown component for chat mentions.
Sep 19 2023, 4:02 PM
marcin added inline comments to D9144: Enable encrypted notification coalescing in NSE on iOS.
Sep 19 2023, 3:50 PM
tomek accepted D9144: Enable encrypted notification coalescing in NSE on iOS.
Sep 19 2023, 3:42 PM
marcin closed D8730: Implement displaying error message notification for cases that might cause empty notification on Android.
Sep 19 2023, 2:56 PM
marcin committed rCOMM53d447a72366: Implement displaying error message notification for cases that might cause….
Sep 19 2023, 2:56 PM
ashoat added a comment to D9218: [keyserver] Render raw chat mention in the notification text.

The diff title here should probably include the word "notification" somewhere :)

Sep 19 2023, 2:38 PM
marcin added inline comments to D8730: Implement displaying error message notification for cases that might cause empty notification on Android.
Sep 19 2023, 2:38 PM
marcin updated the diff for D8730: Implement displaying error message notification for cases that might cause empty notification on Android.

Some last changes and rebase before landing

Sep 19 2023, 2:37 PM
inka requested review of D9226: [lib] Update KeyserverCall type.
Sep 19 2023, 2:37 PM
marcin added inline comments to D8730: Implement displaying error message notification for cases that might cause empty notification on Android.
Sep 19 2023, 2:33 PM
atul abandoned D9211: [native] Memoize `flatList` in `ChatThreadList`.

@tomek Sorry, you’re totally right that this is useless. I tested performance with/without this diff in isolation and there was no difference.

Sep 19 2023, 2:33 PM
ashoat added a comment to D9005: [lib] Introduce chat mention utilities for plain text.

We shouldn't use entityTextToRawString directly. I'm not sure what the alternatives are here, and what the added complexity will be. Please investigate and get back to us

Sep 19 2023, 2:31 PM
ashoat added a comment to D8944: [web] Modify mention typeahead regex.
In D8944#263772, @rohan wrote:

I think it'll be useful to add some unit tests for this regex, alongside the regex in D8834

Sep 19 2023, 2:27 PM
ashoat updated subscribers of D8900: [lib] Add chat mention SearchIndex selector.

Is the performance concern pointed out by @tomek going to lead to additional React render cycles? If yes, we should prioritize addressing it. cc @atul

Sep 19 2023, 2:25 PM
ashoat added a reviewer for D8897: [native] Refactor TypeaheadTooltip component: atul.

Adding @atul as a reviewer in case he has any comments about React performance here

Sep 19 2023, 2:22 PM
marcin edited reviewers for D9224: [native] commCoreModule methods for getting, setting, and clearing the commServicesAccessToken, added: bartek, kamil; removed: marcin.

I am leaving for vacation so I don't want to block this diff. I am adding two reviewers:

  1. @kamil for changes related to data clearance. I didn't add him as a blocking reviewer since he might be absent for a longer time. But if he is back quickly I would appreciate his review on the data clearance.
  2. @bartek for changes related to putting entire authentication payload in Secure Store at once.
Sep 19 2023, 2:19 PM
tomek accepted D8730: Implement displaying error message notification for cases that might cause empty notification on Android.
Sep 19 2023, 1:58 PM
marcin updated the summary of D8730: Implement displaying error message notification for cases that might cause empty notification on Android.
Sep 19 2023, 1:57 PM
marcin updated the diff for D8730: Implement displaying error message notification for cases that might cause empty notification on Android.
  1. Take advantage of builder mutability.
  2. Use streams instead of iteration.
  3. Don't iterate twice over notifications id list when removing a notification id

THos should cover all comments from Tomek last review

Sep 19 2023, 1:33 PM
ashoat closed D9222: [lib] Don't drop messages in MessageStore that don't have a corresponding ThreadInfo.
Sep 19 2023, 1:21 PM
ashoat committed rCOMM736f8d5b50f6: [lib] Don't drop messages in MessageStore that don't have a corresponding….
Sep 19 2023, 1:21 PM
marcin added inline comments to D8730: Implement displaying error message notification for cases that might cause empty notification on Android.
Sep 19 2023, 12:23 PM
tomek accepted D9211: [native] Memoize `flatList` in `ChatThreadList`.
In D9211#271306, @atul wrote:
In D9211#271261, @tomek wrote:

Have you tested if memoizing the list is beneficial? FlatList is already memoized internally (PureComponent) so wrapping it with memo shouldn't improve anything, but maybe I'm missing something.

Yeah, previously flatList would re-render when fixedSearch changed because it was in the chatThreadList dep list. Separating flatList out into its own useMemo seems to prevent that.

Sep 19 2023, 11:56 AM
tomek requested changes to D8730: Implement displaying error message notification for cases that might cause empty notification on Android.
Sep 19 2023, 11:51 AM
marcin updated the diff for D8730: Implement displaying error message notification for cases that might cause empty notification on Android.

Move isStaffRelease checks to better places

Sep 19 2023, 11:43 AM
patryk abandoned D9007: [keyserver] Render chat mention in notification text.

Abandoning this diff since I don't have much time left in Comm.

Sep 19 2023, 11:18 AM
patryk abandoned D9006: [keyserver] Introduce function which checks if thread is mentionable.

Abandoning this diff since I don't have much time left in Comm.

Sep 19 2023, 11:18 AM
patryk published D9218: [keyserver] Render raw chat mention in the notification text for review.
Sep 19 2023, 11:16 AM
patryk updated the diff for D9005: [lib] Introduce chat mention utilities for plain text.

Remove unused utilities and introduce renderChatMentionsWithAltText

Sep 19 2023, 10:56 AM
patryk added inline comments to D9005: [lib] Introduce chat mention utilities for plain text.
Sep 19 2023, 10:56 AM
marcin updated the summary of D9144: Enable encrypted notification coalescing in NSE on iOS.
Sep 19 2023, 10:55 AM
patryk updated the diff for D8945: [web] Show chats in mention typeahead tooltip.

Use getRawChatMention

Sep 19 2023, 10:54 AM
marcin requested review of D9144: Enable encrypted notification coalescing in NSE on iOS.
Sep 19 2023, 10:53 AM
patryk added inline comments to D8945: [web] Show chats in mention typeahead tooltip.
Sep 19 2023, 10:53 AM
marcin updated the diff for D9144: Enable encrypted notification coalescing in NSE on iOS.

Use local notifications for collapsible notifications to achieve previous UX experience.

Sep 19 2023, 10:53 AM
patryk updated the diff for D8944: [web] Modify mention typeahead regex.

Remove oldValidUsernameRegexString.

Sep 19 2023, 10:48 AM
patryk updated the diff for D8910: [native] Show chats in mention typeahead tooltip.

Remove oldValidUsernameRegexString from mention regex

Sep 19 2023, 10:44 AM
patryk added inline comments to D8910: [native] Show chats in mention typeahead tooltip.
Sep 19 2023, 10:43 AM
patryk updated the diff for D8909: [native] Replace chat name with raw chat mention.

Extract mention text to separate function and apply DRY rule

Sep 19 2023, 10:24 AM
tomek accepted D9222: [lib] Don't drop messages in MessageStore that don't have a corresponding ThreadInfo.
Sep 19 2023, 10:19 AM
patryk added a comment to D8901: [lib] Add userStoreMentionSearchIndex selector.
In D8901#267694, @inka wrote:

D8903 will introduce new regex for detecting when typeahead should be shown (it will catch spaces too). Because of that change, the tooltip would never close.

D8903 was abandoned, does this influence this diff? What does the regex look like now?

Sep 19 2023, 10:11 AM
patryk added inline comments to D8900: [lib] Add chat mention SearchIndex selector.
Sep 19 2023, 10:08 AM
tomek added inline comments to D9225: [lib] Create function for extracing keyserver id from object id.
Sep 19 2023, 9:51 AM
patryk updated the diff for D8899: [lib] Introduce SentencePrefixSearchIndex.

Rename addEntryHandler to addAllPrefixes and simplify code

Sep 19 2023, 9:49 AM
patryk updated the diff for D8898: [web][native] Modify typeahead function and variable names to distinguish chat mention utilities.

Rebase

Sep 19 2023, 9:47 AM
patryk updated the diff for D8897: [native] Refactor TypeaheadTooltip component.

Change void to mixed

Sep 19 2023, 9:46 AM
patryk added inline comments to D8897: [native] Refactor TypeaheadTooltip component.
Sep 19 2023, 9:44 AM
inka requested review of D9225: [lib] Create function for extracing keyserver id from object id.
Sep 19 2023, 9:24 AM
patryk updated the diff for D8896: [web][native] Rename usernamePrefix to textPrefix in TypeaheadMatchedStrings type.

Rename textPrefix to query

Sep 19 2023, 9:04 AM
patryk added inline comments to D8875: [web] Make chat mentions clickable.
Sep 19 2023, 9:01 AM
patryk updated the diff for D8875: [web] Make chat mentions clickable.

Rebase

Sep 19 2023, 9:01 AM
patryk updated the diff for D8852: [web] Introduce markdown component for chat mentions.

Wrap <a> with <strong>

Sep 19 2023, 8:57 AM
patryk added inline comments to D8852: [web] Introduce markdown component for chat mentions.
Sep 19 2023, 8:57 AM
patryk updated the diff for D8851: [web] Use chat mention candidates in markdown rules.

Rebase and early return textMessageRules

Sep 19 2023, 8:56 AM
patryk updated the diff for D8847: [native] Change ChatContextProvider position.

Rebase

Sep 19 2023, 8:50 AM
patryk added a comment to D8846: [native] Use chat mention candidates in markdown rules.

@tomek's improvement makes sense, but I'm not applying them right now because I don't believe it will bring significant improvements. If there will be any performance issues during testing, it might be worth wrapping default rules with memo.

Sep 19 2023, 8:46 AM
patryk updated the diff for D8846: [native] Use chat mention candidates in markdown rules.

Early return textMessageRules

Sep 19 2023, 8:39 AM
patryk added a comment to D8873: [native] Make chat mentions clickable.

Yes, the sidebarAnimationType is set to move_source_message in this case.

Sep 19 2023, 8:33 AM
patryk updated the diff for D8844: [native] Refactor markdown-link component.

Rebase

Sep 19 2023, 8:30 AM
patryk updated the diff for D9056: [lib] Add unit tests for chat mention regex.

Move match word

Sep 19 2023, 8:28 AM
tomek added inline comments to D9206: [native] Move rest of Search views to `ChatThreadListSearch`.
Sep 19 2023, 8:05 AM
michal added a comment to D9121: [lib] Create useKeyserverCall.

Made a task about validators ENG-4982 because I have more context on them.

Sep 19 2023, 7:48 AM
inka updated the diff for D9217: [lib] Add logic for handling faonut actions.

Rebase

Sep 19 2023, 7:29 AM

Sep 18 2023

ginsu updated the diff for D9223: [nix] add logs to console while waiting for MariaDB to come up.

add capitalization

Sep 18 2023, 10:30 PM
ginsu updated the diff for D9223: [nix] add logs to console while waiting for MariaDB to come up.

address comments. (changed log to say "Still waiting for MariaDB socket" in hopes that this is more clear/explicit)

Sep 18 2023, 10:27 PM
ginsu added inline comments to D9203: [web] introduce AppearanceChangeModal.
Sep 18 2023, 10:22 PM
ginsu updated the diff for D9203: [web] introduce AppearanceChangeModal.

address @atul's feedback

Sep 18 2023, 10:19 PM
varun requested review of D9224: [native] commCoreModule methods for getting, setting, and clearing the commServicesAccessToken.
Sep 18 2023, 9:56 PM
rohan closed D9221: [web] Fix capitalization of roles modal.
Sep 18 2023, 9:54 PM
rohan committed rCOMM19efb9a5fb8e: [web] Fix capitalization of roles modal.
Sep 18 2023, 9:54 PM
ashoat added inline comments to D9223: [nix] add logs to console while waiting for MariaDB to come up.
Sep 18 2023, 9:32 PM
ginsu requested review of D9223: [nix] add logs to console while waiting for MariaDB to come up.
Sep 18 2023, 9:20 PM
atul closed D9215: [native] Remove `boundChatListData` from `useThreadListSearch` dep list.
Sep 18 2023, 9:04 PM
atul committed rCOMM84b611f0316c: [native] Remove `boundChatListData` from `useThreadListSearch` dep list.
Sep 18 2023, 9:04 PM
atul closed D9212: [native] Consume `useThreadListSearch` in `ChatThreadList`.
Sep 18 2023, 9:04 PM
atul committed rCOMM74c8424f88cc: [native] Consume `useThreadListSearch` in `ChatThreadList`.
Sep 18 2023, 9:04 PM
atul updated the diff for D9215: [native] Remove `boundChatListData` from `useThreadListSearch` dep list.

rebase around D9211 to land

Sep 18 2023, 8:49 PM
atul updated the diff for D9212: [native] Consume `useThreadListSearch` in `ChatThreadList`.

rebase around D9211 to land

Sep 18 2023, 8:48 PM
atul closed D9210: [native] Add some basic memoization to `ChatThreadListSearch`.
Sep 18 2023, 8:46 PM
atul committed rCOMM90f88e7b7c08: [native] Add some basic memoization to `ChatThreadListSearch`.
Sep 18 2023, 8:46 PM
atul updated the diff for D9210: [native] Add some basic memoization to `ChatThreadListSearch`.

land

Sep 18 2023, 8:45 PM
ashoat requested review of D9222: [lib] Don't drop messages in MessageStore that don't have a corresponding ThreadInfo.
Sep 18 2023, 8:39 PM
ginsu accepted D9221: [web] Fix capitalization of roles modal.
Sep 18 2023, 8:30 PM
rohan requested review of D9221: [web] Fix capitalization of roles modal.
Sep 18 2023, 7:57 PM
atul closed D9209: [native] Forward `searchInputRef` from `ChatThreadList` to `ChatThreadListSearch`.
Sep 18 2023, 6:01 PM
atul committed rCOMMb2d1a3f8e4f9: [native] Forward `searchInputRef` from `ChatThreadList` to….
Sep 18 2023, 6:01 PM
atul closed D9208: [native] Remove `renderSearch` in `ChatThreadList` and inline `ChatThreadListSearch` directly.
Sep 18 2023, 6:01 PM
atul closed D9207: [native] Move Reanimated code from `ChatThreadList` to `ChatThreadListSearch`.
Sep 18 2023, 6:01 PM
atul committed rCOMM07a97b02cad6: [native] Move Reanimated code from `ChatThreadList` to `ChatThreadListSearch`.
Sep 18 2023, 6:00 PM
atul committed rCOMMa0967233d046: [native] Remove `renderSearch` in `ChatThreadList` and inline….
Sep 18 2023, 6:00 PM
atul closed D9206: [native] Move rest of Search views to `ChatThreadListSearch`.
Sep 18 2023, 6:00 PM
atul committed rCOMMe9e030d6493b: [native] Move rest of Search views to `ChatThreadListSearch`.
Sep 18 2023, 6:00 PM
atul updated the diff for D9209: [native] Forward `searchInputRef` from `ChatThreadList` to `ChatThreadListSearch`.

merge conflicts

Sep 18 2023, 5:33 PM
atul updated the diff for D9215: [native] Remove `boundChatListData` from `useThreadListSearch` dep list.

rebase

Sep 18 2023, 5:33 PM
atul updated the diff for D9212: [native] Consume `useThreadListSearch` in `ChatThreadList`.

rebase

Sep 18 2023, 5:32 PM
atul updated the diff for D9211: [native] Memoize `flatList` in `ChatThreadList`.

rebase

Sep 18 2023, 5:31 PM
atul updated the diff for D9210: [native] Add some basic memoization to `ChatThreadListSearch`.

rebase

Sep 18 2023, 5:31 PM