In D7789#231358, @ashoat wrote:Can you link to where you got these types from? Eg. docs or TypeScript types?
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed Advanced Search
Advanced Search
Advanced Search
May 15 2023
May 15 2023
May 11 2023
May 11 2023
• kuba requested review of D7790: [native] Added animation to the edit box when entering/leaving edit mode.
May 10 2023
May 10 2023
Changed discard alert content
Apr 28 2023
Apr 28 2023
In D7630#227524, @ashoat wrote: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:
- 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?
Addressed review
Apr 27 2023
Apr 27 2023
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.
Rewritten
Apr 26 2023
Apr 26 2023
Addressed feedback
Updated version in persist.js
Address comments. I've also changed the minVersion to match next version.
Apr 25 2023
Apr 25 2023
Apr 21 2023
Apr 21 2023
In D7518#224505, @ashoat wrote: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!
Address feedback
Apr 20 2023
Apr 20 2023
• kuba added 1 blocking reviewer(s) for D7518: [native][fix] Fixed message height warnings on Android: ashoat.
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
?
Used constant in the styling
Fixed issue, where highlight appeared on messages that didn't have id yet
Apr 19 2023
Apr 19 2023
Apr 18 2023
Apr 18 2023
Fixed glitch on Android, swapped View and TouchableOpacity order
On Android TouchableOpacity caused a visual glitch.
Addressed review
Apr 14 2023
Apr 14 2023
• kuba added inline comments to D7414: [native] Change EditState to store messageInfo instead of only id.
Apr 13 2023
Apr 13 2023
• kuba updated the diff for D7347: [native] Preserve the draft for ChatInputBar after leaving edit mode.
Add callback when exiting editMode
• kuba updated the summary of D7414: [native] Change EditState to store messageInfo instead of only id.
• kuba added a reviewer for D7414: [native] Change EditState to store messageInfo instead of only id: tomek.
• kuba requested review of D7414: [native] Change EditState to store messageInfo instead of only id.
Removed redundant useGetEditedMessage function
Addressed review comments
Apr 12 2023
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.
• 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?
• kuba updated the test plan for D7349: [native] Add alert when exiting edit mode by clicking the exit button.
Addressed review
• kuba updated the diff for D7349: [native] Add alert when exiting edit mode by clicking the exit button.
Added styling to discard button
• 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.
• kuba updated the diff for D7347: [native] Preserve the draft for ChatInputBar after leaving edit mode.
Hide send button, if the draft is empty
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?
New function to display labels
Apr 11 2023
Apr 11 2023
• kuba added inline comments to D7346: [native] Copy the edited message content to ChatInputBar when entering edit mode.
• 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
Added useCallback, and addressed other comments
Removed some unnecessary lines
• kuba updated the diff for D7349: [native] Add alert when exiting edit mode by clicking the exit button.
Renamed isMessageEdited function
Apr 7 2023
Apr 7 2023
• kuba requested review of D7349: [native] Add alert when exiting edit mode by clicking the exit button.
• kuba requested review of D7347: [native] Preserve the draft for ChatInputBar after leaving edit mode.
Address @inka comments
Rebase to master
Apr 5 2023
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 4 2023
Apr 4 2023
Mar 31 2023
Mar 31 2023
Changed useMemo usage
Mar 30 2023
Mar 30 2023
Matched edited label color with the designs
Moved editedText to useMemo
Matched editedLabelHeight with new fontSize
Add explicitly fontSize for label to prevent messageHeight error
Created new color in theme for messageLabel
Mar 29 2023
Mar 29 2023
Update test plan: https://phab.comm.dev/D7066#214478
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?
• 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