Page MenuHomePhabricator
Feed Advanced Search

Feb 6 2023

tomek added inline comments to D6509: [lib] Add helpers for EntityText.
Feb 6 2023, 1:58 AM

Feb 2 2023

tomek closed D6530: [keyserver] Fix publishing new messages / latest messages when a new message is created..
Feb 2 2023, 9:30 AM
tomek committed rCOMM01e98d908f0c: [keyserver] Fix publishing new messages / latest messages when a new message is… (authored by tomek).
[keyserver] Fix publishing new messages / latest messages when a new message is…
Feb 2 2023, 9:30 AM
tomek accepted D6390: [8/n] Native Typeahead - Create tooltip component in chat input bar.
Feb 2 2023, 9:26 AM
tomek accepted D6368: [6/n] Native Typeahead - Refactor focusAndUpdateText and add focusAndUpdateTextAndSelection.
Feb 2 2023, 9:24 AM
tomek accepted D6509: [lib] Add helpers for EntityText.
Feb 2 2023, 6:25 AM
tomek accepted D6508: [lib][native][web] Introduce EntityText.

Looks complicated but correct. Reviewing this thoroughly might take more time, but I haven't found any issues yet.

Feb 2 2023, 6:10 AM
tomek requested changes to D6390: [8/n] Native Typeahead - Create tooltip component in chat input bar.

Now we're "defaulting" to the condition. Is this change intentional, and does it potentially introduce any issues?

After simplifying the condition it seems like the inverted logic shouldn't work properly.

Feb 2 2023, 5:21 AM
tomek requested changes to D6368: [6/n] Native Typeahead - Refactor focusAndUpdateText and add focusAndUpdateTextAndSelection.
Feb 2 2023, 4:40 AM
tomek accepted D6455: [native] implement emoji keyboard button on reaction selection popover.
Feb 2 2023, 4:28 AM

Feb 1 2023

tomek requested changes to D6455: [native] implement emoji keyboard button on reaction selection popover.
Feb 1 2023, 3:11 AM
tomek accepted D6454: [native] introduce reaction selection popover component.

The approach is ok, but it isn't a good practice to copy the code. For all the messages we use (almost?) the same logic - can we reuse it?

Feb 1 2023, 2:59 AM
tomek added inline comments to D5995: [native] clear database when malformation is detected.
Feb 1 2023, 2:45 AM
tomek accepted D6487: [native] introduce useSendReaction hook.
Feb 1 2023, 2:43 AM
tomek accepted D6453: [native] introduce useReactionSelectionPopoverPosition hook.

An approach looks better, but we're duplicating a lot of logic. We should reuse it by e.g. introducing functions with common parts. Accepting, to not block the goal, but please improve this later.

Feb 1 2023, 2:12 AM

Jan 31 2023

tomek accepted D6458: [web] Add to calendar filters reducer logic for handling the COMMUNITY filters.
Jan 31 2023, 8:55 AM
tomek accepted D6457: [web] Add calendar filter type for displaying only one community.

I'm not sure if this is necessary to have this filter on keyserver, but it also shouldn't hurt.

Jan 31 2023, 8:38 AM
tomek accepted D6336: [web] Remove LeftLayoutAside.
Jan 31 2023, 7:20 AM
tomek requested changes to D6346: [web] Use SettingsSwitcher and Topbar.
Jan 31 2023, 7:18 AM
tomek accepted D6164: [web] Add community drawer to CommunityPicker.
Jan 31 2023, 7:04 AM
tomek accepted D6162: [web] Add community drawer.
Jan 31 2023, 6:58 AM
tomek requested changes to D6160: [web] Add drawer item implementations.

A couple of nits but overall looks ok

Jan 31 2023, 6:51 AM
tomek accepted D6476: [lib] Add React.useMemo around useENSNames result.
Jan 31 2023, 6:33 AM
tomek accepted D6391: [services][electron update server] Add patch-package to root postinstall.

Looks ok to me

Jan 31 2023, 6:31 AM
tomek accepted D6210: [native/Android] initialize database on app start.
Jan 31 2023, 6:16 AM
tomek accepted D6416: [native/Android] attach operations on `SecureStore` and `PlatformSpecificTools` to JVM.
Jan 31 2023, 6:03 AM
tomek accepted D5995: [native] clear database when malformation is detected.
Jan 31 2023, 5:30 AM
tomek requested changes to D6390: [8/n] Native Typeahead - Create tooltip component in chat input bar.
Jan 31 2023, 5:23 AM
tomek accepted D6445: [native] introduce showEmojiKeyboard shared value.
Jan 31 2023, 5:19 AM

Jan 30 2023

tomek added a comment to D6455: [native] implement emoji keyboard button on reaction selection popover.
In D6455#193305, @ginsu wrote:

When we have a couple of reactions, it is not clear to which of these the number corresponds.

@tomek could you elaborate on what you mean by the number these correspond to?

Jan 30 2023, 9:06 AM
tomek accepted D6322: [desktop] Add auto updating.
Jan 30 2023, 8:52 AM
tomek accepted D6456: [native] remove Like button from tooltip.
Jan 30 2023, 6:09 AM
tomek requested changes to D6455: [native] implement emoji keyboard button on reaction selection popover.

When we have a couple of reactions, it is not clear to which of these the number corresponds.

Jan 30 2023, 6:07 AM
tomek accepted D6454: [native] introduce reaction selection popover component.
Jan 30 2023, 5:22 AM
tomek requested changes to D6453: [native] introduce useReactionSelectionPopoverPosition hook.

We're copying a lot of complicated logic. Can we reuse it in a different way?

Jan 30 2023, 5:03 AM
tomek requested changes to D6452: [native] introduce get reactionSelectionPopoverLocation.

I'm not really sure what's the plan here, probably it will be clarified later, but at this point it seems like we're hacking the solution by introducing something really similar to the tooltip. It feels like a better solution might be to extract the common part and use it inside our old tooltip and reaction tooltip, but I'm not yet sure.

Jan 30 2023, 4:59 AM
tomek requested changes to D6448: [native] introduce canCreateReactionFromMessage prop to Tooltip component.
Jan 30 2023, 4:48 AM
tomek accepted D6447: [native] change location to tooltipLocation in the TooltipParams.

Is this diff going to crash any dev app that has saved navigation state with an open tooltip?

Jan 30 2023, 4:43 AM
tomek requested changes to D6445: [native] introduce showEmojiKeyboard shared value.
Jan 30 2023, 4:39 AM
tomek accepted D6451: [web] Use Redux instead of `React.State` for `primaryIdentityPublicKey` in `SIWE` component.
Jan 30 2023, 4:30 AM
tomek accepted D6434: [lib] Introduce `reducePrimaryIdentityPublicKey` reducer.
Jan 30 2023, 4:27 AM
tomek accepted D6433: [lib][web] Add `primaryIdentityPublicKey` entry to Redux.
Jan 30 2023, 4:18 AM
tomek accepted D6417: [native] Fix scrolling in screen inside StackNavigator on Android.
Jan 30 2023, 4:17 AM
tomek accepted D6159: [web] Add subchannels button.
Jan 30 2023, 4:08 AM
tomek requested changes to D6390: [8/n] Native Typeahead - Create tooltip component in chat input bar.

It might be a good idea to check how this code performs on a slower Android device when there are a lot of matches and a text is long. It seems like memoization could be a good idea here - in class components we can achieve that by using createSelector, chat-thread-list contains an example.
If the performance is ok, we don't have to complicate the code.

Jan 30 2023, 3:52 AM
tomek accepted D6369: [7/n] Native Typeahead - Introduce tooltip component.
Jan 30 2023, 3:33 AM
tomek requested changes to D6368: [6/n] Native Typeahead - Refactor focusAndUpdateText and add focusAndUpdateTextAndSelection.
Jan 30 2023, 3:24 AM
tomek requested changes to D6367: [5/n] Native Typeahead - Add selection state to chat input bar.
Jan 30 2023, 3:01 AM
tomek accepted D6415: [4.5/n] Native Typeahead - Refactoring to the common utility function.
Jan 30 2023, 2:51 AM
tomek accepted D6300: [4/n] Native Typeahead - Add user search and thread members to props.
Jan 30 2023, 2:48 AM
tomek accepted D6299: [3/n] Native Typeahead - Change max height of textarea.

The images from test plan don't show for me. The solution is described here: https://www.notion.so/commapp/Attaching-files-and-images-on-Phabricator-af8e2195fc91462689cc8de5c96a6759

Jan 30 2023, 1:59 AM
tomek accepted D6298: [2/n] Native Typeahead - Adding utility file and native regex.
Jan 30 2023, 1:58 AM
tomek accepted D6297: [1/n] Native Typeahead - Moving type decalration to lib.
Jan 30 2023, 1:54 AM

Jan 27 2023

tomek added inline comments to D6416: [native/Android] attach operations on `SecureStore` and `PlatformSpecificTools` to JVM.
Jan 27 2023, 7:43 AM
tomek requested changes to D6369: [7/n] Native Typeahead - Introduce tooltip component.
Jan 27 2023, 1:50 AM

Jan 26 2023

tomek accepted D6381: Implement native method to get device token and use it in JavaScript.
Jan 26 2023, 9:36 AM
tomek accepted D6377: Implement native method to create notification channel.
Jan 26 2023, 9:31 AM
tomek accepted D6296: Send event to JavaScript when notification is tapped so that we navigate to the thread.
Jan 26 2023, 9:28 AM
tomek accepted D6396: [native] Don't crash if Alchemy API key is missing.
Jan 26 2023, 9:25 AM
tomek accepted D6389: [web] Highlight drawer items.

Looks ok, but I think we should reconsider the design a little bit. For me, it feels like clicking on a community in calendar app should result in the community being highlighted.

Jan 26 2023, 6:37 AM
tomek requested changes to D6363: [web] Make drawer items not expandable in the calendar tab.
Jan 26 2023, 4:46 AM
tomek accepted D6387: [backup-service] Improve blob client logging.
Jan 26 2023, 4:30 AM
tomek accepted D6386: [backup-service] Use shared 'BlobClient' in workers.
Jan 26 2023, 4:25 AM
tomek accepted D6385: [backup-service] Propagate 'BlobClient' to handlers.
Jan 26 2023, 4:20 AM
tomek accepted D6384: [backup-service] Add blob client init function.
Jan 26 2023, 4:15 AM
tomek accepted D6383: [backup-service] Rename 'PutClient' to 'BlobUploader'.
Jan 26 2023, 4:11 AM
tomek accepted D6382: [backup-service] Rename 'GetClient' to 'BlobDownloader'.
Jan 26 2023, 4:10 AM
tomek requested changes to D6322: [desktop] Add auto updating.
Jan 26 2023, 3:58 AM
tomek accepted D6321: [desktop] Add additional types for electron auto updating.
Jan 26 2023, 3:50 AM
tomek accepted D6277: [tunnelbroker-client] Creating a Cargo project file.
Jan 26 2023, 3:35 AM
tomek requested changes to D6381: Implement native method to get device token and use it in JavaScript.

The test plan worries me a bit. What happens when users update the application? Do they need to fresh install the app? Or maybe, we assume that the existing users already received the token and this function will be called just for the new users?

Jan 26 2023, 3:21 AM
tomek accepted D6380: Implement native method to check for notifications permissions and use it in JavaScript.
Jan 26 2023, 3:06 AM
tomek accepted D6379: Implement native method to remove all active notifications and use it in JavaScript.
Jan 26 2023, 2:54 AM
tomek accepted D6378: Implement native method to update badge count and use it in JavaScript.
Jan 26 2023, 2:50 AM
tomek accepted D6377: Implement native method to create notification channel.
Jan 26 2023, 2:14 AM
tomek accepted D6366: Implement native method to get initial notification and use it in JavaScript.
Jan 26 2023, 2:03 AM
tomek requested changes to D6296: Send event to JavaScript when notification is tapped so that we navigate to the thread.
Jan 26 2023, 2:01 AM
tomek accepted D6273: Implement parsing notification received when application is foregrounded into object that can be directly passed to JavaScript. Implement relevant broadcast receiver as well.
Jan 26 2023, 1:48 AM
tomek accepted D6272: Send broadcast with new device token from CommNotificationsHandler to CommAndroidNotificationsEventEmitter broadcast receiver and forward it fo JavaScript where it is handled as previously.
Jan 26 2023, 1:40 AM
tomek accepted D6271: Introduce CommAndroidNotificationsEventEmitter native module, capable of sending device token from Java to JavaScript in response to broadcast event.
Jan 26 2023, 1:20 AM
tomek accepted D6231: Display background notification from Java, remove headless JS task.

Accepting, but we should probably replace the observer with calling getCurrentState on every notif.

Jan 26 2023, 1:09 AM

Jan 25 2023

tomek accepted D6343: [web] Add possibility for the navigation-panel to be horizontal.

I'm not sure if this is the best solution. Usually in cases like this, we could introduce a new class e.g. horizontal and check it in selectors: we would have span.chatBadge selector and span.chatBadge.horizontal. This allows splitting the code which depends on the orientation from the code that doesn't. On the other hand current solution is still maintainable, so we can consider keeping it.

Jan 25 2023, 8:59 AM

Jan 24 2023

tomek accepted D6338: [web] Add ID selector to search bar, to avoid weird hot reload side effects.
Jan 24 2023, 8:58 AM
tomek accepted D5857: [services][blob] Let database helpers use new errors.
Jan 24 2023, 5:53 AM
tomek accepted D5856: [services][blob] Define database error types.
Jan 24 2023, 5:51 AM
tomek accepted D6227: Implement native Android module that can remove all active notifications for a given thread.
Jan 24 2023, 5:46 AM
tomek accepted D6302: [web/lib] introduce MessageReactionsModal.
Jan 24 2023, 5:35 AM

Jan 23 2023

tomek accepted D6292: [web] Make drawer items react based on the current app.
Jan 23 2023, 8:47 AM

Jan 20 2023

tomek requested changes to D6302: [web/lib] introduce MessageReactionsModal.
Jan 20 2023, 10:09 AM
tomek accepted D6301: [lib] add relative user info to users in messageReactionInfo.
Jan 20 2023, 7:30 AM

Jan 19 2023

tomek accepted D6138: Introduce CommIOSNotifications class in JavaScript.
Jan 19 2023, 4:51 AM
tomek accepted D6294: [web] Change drawer items styling to allow full-width highlights.
Jan 19 2023, 4:32 AM
tomek requested changes to D6292: [web] Make drawer items react based on the current app.
Jan 19 2023, 3:51 AM
tomek accepted D6307: [lib] modify reaction message generatesNotifs function to return a pushType based on the reaction action.
Jan 19 2023, 3:40 AM
tomek requested changes to D6302: [web/lib] introduce MessageReactionsModal.
Jan 19 2023, 3:19 AM
tomek requested changes to D6301: [lib] add relative user info to users in messageReactionInfo.
Jan 19 2023, 2:39 AM
tomek accepted D6287: [web] Add community drawer item handlers.
Jan 19 2023, 2:10 AM

Jan 18 2023

tomek requested changes to D6296: Send event to JavaScript when notification is tapped so that we navigate to the thread.

The test plan should also include testing this functionality while the app is running / backgrounded.

Jan 18 2023, 10:12 AM
tomek accepted D6295: Modify notification displayed from Java so that it opens the app when clicked.

Looks ok but it is a good idea for @bartek to also take a look.

Jan 18 2023, 10:03 AM
tomek accepted D6275: Stop subclassing RNFirebaseMessagingService as its functionality is not used anymore.

Are we still using io.invertase.firebase.messaging anywhere?

Jan 18 2023, 9:53 AM