Page MenuHomePhabricator
Feed Advanced Search

May 15 2023

kuba added inline comments to D7791: [native] Added animation to the highlight of edited message.
May 15 2023, 12:59 AM
kuba added a comment to D7789: [native] Introduced new types for Reanimated.

Can you link to where you got these types from? Eg. docs or TypeScript types?

May 15 2023, 12:50 AM

May 11 2023

kuba requested review of D7794: [web] Add new edit message provider.
May 11 2023, 6:18 AM
kuba requested review of D7793: [web] Added edit button to the Tooltip.
May 11 2023, 5:37 AM
kuba requested review of D7792: [native] Don’t display edit mode when user changes thread.
May 11 2023, 3:11 AM
kuba requested review of D7791: [native] Added animation to the highlight of edited message.
May 11 2023, 2:48 AM
kuba requested review of D7789: [native] Introduced new types for Reanimated.
May 11 2023, 2:48 AM
kuba requested review of D7790: [native] Added animation to the edit box when entering/leaving edit mode.
May 11 2023, 2:47 AM
kuba added inline comments to D7777: [native] Add search button to chat header.
May 11 2023, 2:39 AM

May 10 2023

kuba updated the diff for D7680: [native] Used predefined function for discard edit mode alert.

Changed discard alert content

May 10 2023, 6:51 AM

Apr 28 2023

kuba requested review of D7680: [native] Used predefined function for discard edit mode alert.
Apr 28 2023, 2:40 AM
kuba added inline comments to D7630: [native] Blocking navigation in edit mode in ChatRouter.
Apr 28 2023, 2:28 AM
kuba added a comment to D7630: [native] Blocking navigation in edit mode in ChatRouter.

There's a lot of imperative logic in this diff having to do with isExitingEditMode. I didn't review this code very closely on the first round... looking at it now, I have some comments:

  1. The names could be clearer. For instance, isExitingEditMode makes me think we are leaving edit mode and going to draft mode. But from reading the code, it appears that it is more like "is exiting the page while in edit mode". How about isExitingDuringEditMode?
Apr 28 2023, 2:25 AM
kuba updated the diff for D7630: [native] Blocking navigation in edit mode in ChatRouter.

Addressed review

Apr 28 2023, 2:24 AM

Apr 27 2023

kuba requested review of D7630: [native] Blocking navigation in edit mode in ChatRouter.

I modified the solution, and now it covers:

  • blocks going to sidebar/thread settings,
  • if the edited message is unedited, it doesn't show the alert,
  • if the edited message is edited, it shows a confirmation alert,
  • in both cases, it restores the draft.
Apr 27 2023, 8:09 AM
kuba planned changes to D7630: [native] Blocking navigation in edit mode in ChatRouter.
Apr 27 2023, 8:02 AM
kuba updated the diff for D7630: [native] Blocking navigation in edit mode in ChatRouter.

Rewritten

Apr 27 2023, 7:42 AM

Apr 26 2023

kuba added inline comments to D7630: [native] Blocking navigation in edit mode in ChatRouter.
Apr 26 2023, 7:43 AM
kuba updated the diff for D7630: [native] Blocking navigation in edit mode in ChatRouter.

Addressed feedback

Apr 26 2023, 7:38 AM
kuba requested review of D7630: [native] Blocking navigation in edit mode in ChatRouter.
Apr 26 2023, 4:40 AM
kuba updated the diff for D7609: [native] Change hasMinCodeVersion for edit message type.

Updated version in persist.js

Apr 26 2023, 4:10 AM
kuba updated the diff for D7609: [native] Change hasMinCodeVersion for edit message type.

Address comments. I've also changed the minVersion to match next version.

Apr 26 2023, 4:04 AM

Apr 25 2023

kuba requested review of D7609: [native] Change hasMinCodeVersion for edit message type.
Apr 25 2023, 7:17 AM

Apr 21 2023

kuba attached a referenced file: F500961: Screenshot 2023-04-21 at 16.33.54.png.
Apr 21 2023, 7:45 AM
kuba added a comment to D7518: [native][fix] Fixed message height warnings on Android.

It works similarly to inlineEngagementLeftStyle and other styles in chat-constants.js, without adding it to height measurement

Thanks for explaining, @kuba! Indeed I can see it works similarly to that... both inlineEngagementLeftStyle and your new inlineEngagementLabelStyle.topOffset are used to define styles, but are not used for height calculation.

One question before I accept – can you explain a little bit why inlineEngagementLeftStyle and inlineEngagementLabelStyle.topOffset are not used in height calculations?

Might be helpful to include visuals with lines indicating what these values handle, and how they are handled already elsewhere!

Apr 21 2023, 7:36 AM
kuba added inline comments to D7518: [native][fix] Fixed message height warnings on Android.
Apr 21 2023, 6:45 AM
kuba added inline comments to D7518: [native][fix] Fixed message height warnings on Android.
Apr 21 2023, 6:44 AM
kuba updated the diff for D7518: [native][fix] Fixed message height warnings on Android.

Address feedback

Apr 21 2023, 6:40 AM

Apr 20 2023

kuba added 1 blocking reviewer(s) for D7518: [native][fix] Fixed message height warnings on Android: ashoat.
Apr 20 2023, 10:55 AM
kuba added inline comments to D7448: [native] Disable typeahead and media buttons in edit mode.
Apr 20 2023, 7:31 AM
kuba added a comment to D7520: [native] Handle entering edit mode when already in edit mode.
In D7520#223110, @inka wrote:

I think it would be better to indeed check if there are any changes, for consistency with exiting edit mode in other ways (D7349).
Can you either

  • do it in this diff
  • do it in another diff
  • create a task to do it

?

Apr 20 2023, 6:07 AM
kuba updated the diff for D7518: [native][fix] Fixed message height warnings on Android.

Used constant in the styling

Apr 20 2023, 3:36 AM
kuba updated the diff for D7447: [native] Highlighting edited message.

Fixed issue, where highlight appeared on messages that didn't have id yet

Apr 20 2023, 3:20 AM

Apr 19 2023

kuba requested review of D7520: [native] Handle entering edit mode when already in edit mode.
Apr 19 2023, 4:45 AM
kuba requested review of D7518: [native][fix] Fixed message height warnings on Android.
Apr 19 2023, 4:06 AM
kuba added inline comments to D7448: [native] Disable typeahead and media buttons in edit mode.
Apr 19 2023, 2:46 AM
kuba added inline comments to D7446: [native] Discard alert when navigating in edit mode.
Apr 19 2023, 2:37 AM

Apr 18 2023

kuba added inline comments to D7446: [native] Discard alert when navigating in edit mode.
Apr 18 2023, 7:07 AM
kuba updated the diff for D7484: [native] Scrolling to the edited message.

Fixed glitch on Android, swapped View and TouchableOpacity order

Apr 18 2023, 4:52 AM
kuba planned changes to D7484: [native] Scrolling to the edited message.

On Android TouchableOpacity caused a visual glitch.

Apr 18 2023, 3:46 AM
kuba requested review of D7484: [native] Scrolling to the edited message.
Apr 18 2023, 3:36 AM
kuba updated the test plan for D7344: [native] Displaying edit mode.
Apr 18 2023, 3:35 AM
kuba updated the diff for D7446: [native] Discard alert when navigating in edit mode.

Addressed review

Apr 18 2023, 12:47 AM

Apr 14 2023

kuba updated the diff for D7344: [native] Displaying edit mode.

Merge imports

Apr 14 2023, 6:33 AM
kuba added inline comments to D7414: [native] Change EditState to store messageInfo instead of only id.
Apr 14 2023, 6:25 AM
kuba requested review of D7448: [native] Disable typeahead and media buttons in edit mode.
Apr 14 2023, 1:52 AM
kuba requested review of D7447: [native] Highlighting edited message.
Apr 14 2023, 1:46 AM
kuba requested review of D7446: [native] Discard alert when navigating in edit mode.
Apr 14 2023, 1:42 AM
kuba requested review of D7445: [native] Added message editing.
Apr 14 2023, 1:38 AM

Apr 13 2023

kuba updated the diff for D7347: [native] Preserve the draft for ChatInputBar after leaving edit mode.

Add callback when exiting editMode

Apr 13 2023, 11:38 PM
kuba requested review of D7415: [lib] Change definition of useEditMessage function.
Apr 13 2023, 4:43 AM
kuba updated the summary of D7414: [native] Change EditState to store messageInfo instead of only id.
Apr 13 2023, 4:23 AM
kuba added a reviewer for D7414: [native] Change EditState to store messageInfo instead of only id: tomek.
Apr 13 2023, 4:23 AM
kuba requested review of D7414: [native] Change EditState to store messageInfo instead of only id.
Apr 13 2023, 4:19 AM
kuba added inline comments to D7344: [native] Displaying edit mode.
Apr 13 2023, 4:15 AM
kuba updated the diff for D7344: [native] Displaying edit mode.

Fix typos

Apr 13 2023, 4:15 AM
kuba updated the diff for D7344: [native] Displaying edit mode.

Removed redundant useGetEditedMessage function

Apr 13 2023, 4:12 AM
kuba updated the diff for D7344: [native] Displaying edit mode.

Addressed review comments

Apr 13 2023, 4:10 AM

Apr 12 2023

kuba retitled D7301: [native] Display edited message content in the pending threads from [fix] Fix 'Maximum update depth exceeded' on native when opening tooltip to [native] Display edited message content in the pending threads.
Apr 12 2023, 6:02 AM
kuba added a comment to D7349: [native] Add alert when exiting edit mode by clicking the exit button.
In D7349#220108, @tomek wrote:

Could you also share a screenshot from Android?

Apr 12 2023, 5:58 AM
kuba updated the test plan for D7349: [native] Add alert when exiting edit mode by clicking the exit button.
Apr 12 2023, 5:57 AM
kuba added 1 blocking reviewer(s) for D7344: [native] Displaying edit mode: tomek.
Apr 12 2023, 5:54 AM
kuba updated the diff for D7344: [native] Displaying edit mode.

Addressed review

Apr 12 2023, 5:52 AM
kuba updated the diff for D7349: [native] Add alert when exiting edit mode by clicking the exit button.

Added styling to discard button

Apr 12 2023, 3:30 AM
kuba requested review of D7347: [native] Preserve the draft for ChatInputBar after leaving edit mode.

Requesting review after the changes. Now if the draft message is empty, the send button will be hidden.

Apr 12 2023, 3:21 AM
kuba updated the diff for D7347: [native] Preserve the draft for ChatInputBar after leaving edit mode.

Hide send button, if the draft is empty

Apr 12 2023, 3:20 AM
kuba added a comment to D7301: [native] Display edited message content in the pending threads.
In D7301#217546, @inka wrote:

It would be nice if you could explain a bit more precisely what the problem was. From your fix it seems the problem was with a pending thread only? But from the description of the problem it seems that the problem was with opening any tooltip. Does it work in other cases?

Apr 12 2023, 1:36 AM
kuba updated the diff for D7301: [native] Display edited message content in the pending threads.

New function to display labels

Apr 12 2023, 1:36 AM

Apr 11 2023

kuba added inline comments to D7342: [native] Add EditState to the InputState.
Apr 11 2023, 5:37 AM
kuba added inline comments to D7346: [native] Copy the edited message content to ChatInputBar when entering edit mode.
Apr 11 2023, 5:32 AM
kuba updated the diff for D7346: [native] Copy the edited message content to ChatInputBar when entering edit mode.

Moved useCallback change to the earlier diff

Apr 11 2023, 5:31 AM
kuba updated the diff for D7343: [native] Added edit button to the Tooltip.

Added useCallback, and addressed other comments

Apr 11 2023, 5:28 AM
kuba updated the diff for D7344: [native] Displaying edit mode.

Removed some unnecessary lines

Apr 11 2023, 5:17 AM
kuba updated the diff for D7346: [native] Copy the edited message content to ChatInputBar when entering edit mode.
Apr 11 2023, 5:09 AM
kuba updated the diff for D7349: [native] Add alert when exiting edit mode by clicking the exit button.

Renamed isMessageEdited function

Apr 11 2023, 5:01 AM

Apr 7 2023

kuba requested review of D7349: [native] Add alert when exiting edit mode by clicking the exit button.
Apr 7 2023, 7:50 AM
kuba requested review of D7347: [native] Preserve the draft for ChatInputBar after leaving edit mode.
Apr 7 2023, 7:45 AM
kuba requested review of D7346: [native] Copy the edited message content to ChatInputBar when entering edit mode.
Apr 7 2023, 7:42 AM
kuba requested review of D7345: [native] Change 'addReply' function to 'editInputMessage'.
Apr 7 2023, 7:37 AM
kuba updated the summary of D7344: [native] Displaying edit mode.
Apr 7 2023, 7:15 AM
kuba requested review of D7344: [native] Displaying edit mode.
Apr 7 2023, 7:14 AM
kuba requested review of D7343: [native] Added edit button to the Tooltip.
Apr 7 2023, 7:12 AM
kuba requested review of D7342: [native] Add EditState to the InputState.
Apr 7 2023, 7:11 AM
kuba planned changes to D7301: [native] Display edited message content in the pending threads.

Address @inka comments

Apr 7 2023, 3:48 AM
kuba updated the diff for D7301: [native] Display edited message content in the pending threads.

Rebase to master

Apr 7 2023, 3:46 AM

Apr 5 2023

kuba added a reverting change for D7140: [lib] Displaying edited content in a pending thread: D7325: Revert "[lib] Displaying edited content in a pending thread".
Apr 5 2023, 12:42 PM
kuba added a reverting change for rCOMM108dae894c4e: [lib] Displaying edited content in a pending thread: D7325: Revert "[lib] Displaying edited content in a pending thread".
Apr 5 2023, 12:42 PM

Apr 4 2023

kuba requested review of D7301: [native] Display edited message content in the pending threads.
Apr 4 2023, 11:57 AM

Mar 31 2023

kuba updated the diff for D7140: [lib] Displaying edited content in a pending thread.

Changed useMemo usage

Mar 31 2023, 2:25 AM

Mar 30 2023

kuba updated the diff for D7017: [web] Added displaying 'Labels' to InlineEngagment.

Matched edited label color with the designs

Mar 30 2023, 7:30 AM
kuba updated the test plan for D7066: [native] Displaying 'Edit' labels next to edited messages.
Mar 30 2023, 7:04 AM
kuba updated the diff for D7140: [lib] Displaying edited content in a pending thread.

Moved editedText to useMemo

Mar 30 2023, 7:00 AM
kuba added inline comments to D7140: [lib] Displaying edited content in a pending thread.
Mar 30 2023, 2:59 AM
kuba updated the diff for D7066: [native] Displaying 'Edit' labels next to edited messages.

Matched editedLabelHeight with new fontSize

Mar 30 2023, 2:56 AM
kuba updated the diff for D7065: [native] Added displaying labels to InlineEngagement.

Add explicitly fontSize for label to prevent messageHeight error

Mar 30 2023, 1:52 AM
kuba updated the diff for D7065: [native] Added displaying labels to InlineEngagement.

Created new color in theme for messageLabel

Mar 30 2023, 1:27 AM

Mar 29 2023

kuba planned changes to D7066: [native] Displaying 'Edit' labels next to edited messages.

Update test plan: https://phab.comm.dev/D7066#214478

Mar 29 2023, 9:15 AM
kuba added a comment to D7066: [native] Displaying 'Edit' labels next to edited messages.
In D7066#214942, @inka wrote:

Thank you for adding the link to the task. The DES task you linked is for Desktop though, and this is Native. Was it decided anywhere that we should use Desktop designs for Native?

Mar 29 2023, 9:14 AM
kuba updated the diff for D7141: [keyserver] Display edited message in the sidebar if the source message is edited.

Removed redundant SQL query, used fetchLatestEditMessageContentByIDs in fetchLatestEditMessageContentByID

Mar 29 2023, 4:13 AM
kuba updated the test plan for D7141: [keyserver] Display edited message in the sidebar if the source message is edited.
Mar 29 2023, 4:11 AM