Page MenuHomePhabricator
Feed Advanced Search

Jan 5 2023

tomek added inline comments to D6053: [web] Keyboard support for typeahead [13/13] - Freeze users list when typeahead is visible..
Jan 5 2023, 4:53 AM
tomek accepted D6122: [native] add starting payload to send reaction message dispatch action promise.
Jan 5 2023, 4:40 AM
tomek accepted D6121: [web] add starting payload to send reaction message dispatch action promise.
In D6121#184564, @ginsu wrote:

In this diff we should update redux-types by setting a payload type of started action

D5769 should address this, but please let me know if I missed anything

Jan 5 2023, 4:37 AM
tomek accepted D6120: [native] introduce localID field to onPressReact function.
Jan 5 2023, 4:14 AM
tomek accepted D6119: [web] introduce localID field to useOnClickReact hook.
Jan 5 2023, 4:00 AM
tomek accepted D6123: [lib] add sendReactionMessageAction.started cases to message and local id reducers.
Jan 5 2023, 3:54 AM
tomek requested changes to D5987: [bugfix] Fix "unkown error" on login..
Jan 5 2023, 3:40 AM

Jan 4 2023

tomek requested changes to D6053: [web] Keyboard support for typeahead [13/13] - Freeze users list when typeahead is visible..
Jan 4 2023, 6:49 AM
tomek requested changes to D6052: [web] Keyboard support for typeahead [12/13] - Scrolling thourgh overlay as user interacts with it.
Jan 4 2023, 6:30 AM
tomek requested changes to D6051: [web] Keyboard support for typeahead [11/13] - Use callbacks to interact with overlay.
Jan 4 2023, 6:18 AM
tomek requested changes to D6050: [web] Keyboard support for typeahead [10/13] - Create and set callback functions in tooltip component. It does not do anything yet.
Jan 4 2023, 5:59 AM
tomek accepted D6048: [web] Keyboard support for typeahead [8/13] - Add positive modulo function.
Jan 4 2023, 2:43 AM
tomek requested changes to D6048: [web] Keyboard support for typeahead [8/13] - Add positive modulo function.

Could you also add some tests where number is negative?

Jan 4 2023, 2:42 AM
tomek requested changes to D5987: [bugfix] Fix "unkown error" on login..
Jan 4 2023, 2:11 AM

Jan 2 2023

tomek accepted D6067: Implement native public notifications API.
Jan 2 2023, 8:05 AM
tomek accepted D6066: Start CommIOSNotifications implementation by adding JavaScript events handlers..

Seems reasonable, but I'm really far from being an expert.

Jan 2 2023, 7:50 AM
tomek accepted D6064: CommIOSNotifications module functionality definition.
Jan 2 2023, 7:15 AM
tomek accepted D6093: [keyserver] disable socket connection when policies are not accepted.

Accepting, but according to the comments some additional work may be necessary.

Jan 2 2023, 6:48 AM
tomek accepted D6137: [native] Fix android bottom navigation bar ovelapping with drawer content.
Jan 2 2023, 6:14 AM
tomek requested changes to D6122: [native] add starting payload to send reaction message dispatch action promise.
Jan 2 2023, 6:08 AM
tomek requested changes to D6121: [web] add starting payload to send reaction message dispatch action promise.

We have to make sure our types are in sync with the code. In this diff we should update redux-types by setting a payload type of started action - it would be great if Flow could catch this.

Jan 2 2023, 6:05 AM
tomek requested changes to D6120: [native] introduce localID field to onPressReact function.
Jan 2 2023, 5:37 AM
tomek accepted D6137: [native] Fix android bottom navigation bar ovelapping with drawer content.
Jan 2 2023, 5:28 AM
tomek requested changes to D6119: [web] introduce localID field to useOnClickReact hook.

Checked the rest of the stack and it doesn't seem like incrementing the id is handled. We should extend local-id-reducer to react on appropriate action.

Jan 2 2023, 5:23 AM
tomek accepted D6119: [web] introduce localID field to useOnClickReact hook.

We also need to increase the next local id when a message is sent, but I guess it is handled later in the stack.

Jan 2 2023, 5:17 AM
tomek accepted D6118: [keyserver/lib] introuce localID field to sendReactionMessage action and reactionMessageCreationResponder.
Jan 2 2023, 5:10 AM
tomek accepted D6117: [lib] add localID field to reaction message type.

It sounds a little strange to say that reaction message is composable, but it shares a lot of properties with other composable message types, so I think it makes sense to include it in this set.

Jan 2 2023, 5:02 AM
tomek accepted D5996: [native/iOS] initialize database on app start.
Jan 2 2023, 4:34 AM
tomek requested changes to D6137: [native] Fix android bottom navigation bar ovelapping with drawer content.
Jan 2 2023, 4:23 AM
tomek accepted D5993: [native/CommCoreModule] add function check if database is malformed and needs deletion.
Jan 2 2023, 4:08 AM
tomek accepted D5989: [native] refactor `clearSensitiveData()` method to static member of `SQLiteQueryExecutor`.

I don't think that adding a flag to a constructor is a good idea. Calling migrate from constructor gives us a really strong guarantee that if an instance is created it will have all the migrations applied. By introducing a flag we would allow having partially initialized object - now all the instance methods would have to check how far the initialization went and if the can safely execute.

Jan 2 2023, 3:46 AM

Dec 30 2022

tomek added inline comments to D6101: Soften requirements for password when deleting thread.
Dec 30 2022, 9:53 AM
tomek requested changes to D6050: [web] Keyboard support for typeahead [10/13] - Create and set callback functions in tooltip component. It does not do anything yet.
Dec 30 2022, 9:35 AM
tomek accepted D6049: [web] Keyboard support for typeahead [9/13] - Refactor getTypeaheadTooltipButtons as a function.

Why do you move it?

Dec 30 2022, 9:19 AM
tomek requested changes to D6048: [web] Keyboard support for typeahead [8/13] - Add positive modulo function.

It seems like this isn't typeahead-specific. Can we move it to a different place, probably in lib?

Dec 30 2022, 9:17 AM
tomek accepted D6047: [web] Keyboard support for typeahead [7/13] - Refactor getTypeaheadTooltipActions using params as argument.
Dec 30 2022, 8:55 AM
tomek accepted D6046: [web] Keyboard support for typeahead [6/13] - Get rid of entire text and rename matched strings.
Dec 30 2022, 8:43 AM
tomek accepted D6045: [web] Keyboard support for typeahead [5/13] - Moved finding suggested users out of tooltip component.

Nice!

Dec 30 2022, 8:33 AM
tomek accepted D6044: [web] Keyboard support for typeahead [4/13] - Renamed regex.
Dec 30 2022, 8:29 AM
tomek closed D6088: [web] Update a tooltip when it changes.
Dec 30 2022, 8:09 AM
tomek closed D6087: [web] Reset tooltip label after a timeout.
Dec 30 2022, 8:09 AM
tomek committed rCOMM9a56f3635370: [web] Update a tooltip when it changes (authored by tomek).
[web] Update a tooltip when it changes
Dec 30 2022, 8:09 AM
tomek closed D6084: [web] Check if copy operation is successful.
Dec 30 2022, 8:09 AM
tomek closed D6075: [web] Add option to modify an existing tooltip.
Dec 30 2022, 8:09 AM
tomek committed rCOMM85e81b1dc273: [web] Reset tooltip label after a timeout (authored by tomek).
[web] Reset tooltip label after a timeout
Dec 30 2022, 8:09 AM
tomek committed rCOMM3277d9295450: [web] Check if copy operation is successful (authored by tomek).
[web] Check if copy operation is successful
Dec 30 2022, 8:09 AM
tomek committed rCOMMed73afa255e0: [web] Add option to modify an existing tooltip (authored by tomek).
[web] Add option to modify an existing tooltip
Dec 30 2022, 8:09 AM
tomek closed D5852: Introduce message copy button on web.
Dec 30 2022, 8:09 AM
tomek closed D6074: [web] Delete comments disabling eslint checks.
Dec 30 2022, 8:09 AM
tomek committed rCOMM273bd39da8a1: [web] Delete comments disabling eslint checks (authored by tomek).
[web] Delete comments disabling eslint checks
Dec 30 2022, 8:09 AM
tomek committed rCOMM85e561da1282: Introduce message copy button on web (authored by tomek).
Introduce message copy button on web
Dec 30 2022, 8:09 AM
tomek closed D6013: [web] Add copy-filled icon.
Dec 30 2022, 8:09 AM
tomek committed rCOMM2ce45ad9d425: [web] Add copy-filled icon (authored by tomek).
[web] Add copy-filled icon
Dec 30 2022, 8:09 AM
tomek accepted D6043: [web] Keyboard support for typeahead [3/13] - Renamed animation state.
Dec 30 2022, 7:10 AM
tomek accepted D6042: [web] Keyboard support for typeahead [2/13] - Moved typeahead-utils.js.
Dec 30 2022, 7:08 AM
tomek added inline comments to D6101: Soften requirements for password when deleting thread.
Dec 30 2022, 6:48 AM
tomek accepted D6041: [web] Keyboard support for typeahead [1/13] - Moved getTypeaheadUserSuggestions to lib.
Dec 30 2022, 6:42 AM
tomek added a comment to D6086: [lib] Add `siweAuthActionTypes.success` check everywhere there's a `logInActionTypes.success` check.
In D6086#183275, @atul wrote:
In D6086#182693, @tomek wrote:

Sounds reasonable. But now I'm wondering if introducing new action was a good idea. Maybe dispatching the old action (possibly with a new field e.g. type) might be easier? I don't think we should change it now, though.

My understanding is that there's usually a 1:1 relationship between endpoints and actions? There could definitely be "1 action to many endpoints" relationships in the codebase, but I didn't look too hard.

Dec 30 2022, 6:21 AM
tomek accepted D6056: [web] intoduce MessageLikeTooltipButton component.
Dec 30 2022, 5:55 AM
tomek updated the diff for D6087: [web] Reset tooltip label after a timeout.

Use debounce

Dec 30 2022, 5:31 AM
tomek accepted D6104: Conditionally hide possibility to change password for SIWE accounts.
Dec 30 2022, 3:56 AM
tomek added inline comments to D6087: [web] Reset tooltip label after a timeout.
Dec 30 2022, 3:25 AM
tomek added inline comments to D6088: [web] Update a tooltip when it changes.
Dec 30 2022, 3:03 AM

Dec 29 2022

tomek added a comment to D6073: [native] style SidebarListModal, SubchannelsModal, ThreadListModal.

For me the 1st option looks the best as the margin of header is consistent with other elements.

Dec 29 2022, 8:07 AM
tomek requested changes to D6056: [web] intoduce MessageLikeTooltipButton component.
Dec 29 2022, 8:03 AM
tomek accepted D6071: Use CommIOSNotifications in AppDelegate and in JavaScript to request permissions.
Dec 29 2022, 7:52 AM
tomek accepted D6103: Do not prompt for password when deleting thread.
Dec 29 2022, 7:48 AM
tomek requested changes to D6103: Do not prompt for password when deleting thread.
Dec 29 2022, 7:34 AM
tomek requested changes to D6103: Do not prompt for password when deleting thread.
Dec 29 2022, 7:11 AM
tomek added a comment to D6099: UI changes on native to allow account deletion for SIWE accounts.
In D6099#182857, @tomek wrote:

Could you share a screenshot of the component without the password prompt?

For SIWE account (does not prompt for password)

IMG_0002.PNG (2×1 px, 218 KB)

For conventional account
Zrzut ekranu 2022-12-29 o 16.05.29.png (2×1 px, 140 KB)

Dec 29 2022, 7:09 AM
tomek accepted D6102: Ignore password when deleting thread on the server side.
Dec 29 2022, 7:05 AM
tomek added inline comments to D6101: Soften requirements for password when deleting thread.
Dec 29 2022, 7:03 AM
tomek accepted D6101: Soften requirements for password when deleting thread.
Dec 29 2022, 6:57 AM
tomek accepted D6097: [native] Handle errors with SIWE WebView.
Dec 29 2022, 6:56 AM
tomek added a comment to D6099: UI changes on native to allow account deletion for SIWE accounts.

Could you share a screenshot of the component without the password prompt?

Dec 29 2022, 6:45 AM
tomek added inline comments to D6099: UI changes on native to allow account deletion for SIWE accounts.
Dec 29 2022, 6:44 AM
tomek accepted D6099: UI changes on native to allow account deletion for SIWE accounts.
Dec 29 2022, 6:41 AM
tomek accepted D6098: Implement logic to skip password validation when account does not have one.
Dec 29 2022, 6:33 AM
tomek accepted D6096: Soften requirement for password in account deletion request.
Dec 29 2022, 6:28 AM
tomek accepted D6095: Implement function to check whether account has password - currently checking for ethereum validity.
Dec 29 2022, 6:23 AM
tomek accepted D6100: [desktop] Windows signing.
Dec 29 2022, 6:08 AM
tomek accepted D6065: Add NotificationsBridgeQueue module.

It might be a good idea to add a link to the fork in the summary.

Dec 29 2022, 6:03 AM
tomek accepted D6064: CommIOSNotifications module functionality definition.
Dec 29 2022, 5:48 AM
tomek accepted D6057: [web] introduce message like button to message tooltip.

Will be syncing with @tomek about landing these changes since he is also working in tooltip-utils for the copy button on the tooltip.

The only thing we should synchronize is the ordering of the buttons. Other than that the diffs could be landed in any order and there shouldn't be significant conflicts.

Dec 29 2022, 5:23 AM
tomek requested changes to D6056: [web] intoduce MessageLikeTooltipButton component.
Dec 29 2022, 5:13 AM
tomek accepted D6054: [lib/native] move useCanCreateReactionFromMessage hook from native to lib.
Dec 29 2022, 5:05 AM
tomek accepted D6005: [lib/keyserver/native] move all the reaction message types into its own file.
Dec 29 2022, 4:58 AM
tomek added a comment to D6073: [native] style SidebarListModal, SubchannelsModal, ThreadListModal.
In D6073#182751, @inka wrote:
In D6073#182624, @tomek wrote:

Not sure if this is intentional, but x button seems to be shifted left. For me it would look better if the distance from the button to the right edge of the modal was the same as from the title to the left edge.

It looks a bit weird to me as well, but it's like that in the designs

image.png (860×806 px, 61 KB)

Dec 29 2022, 4:47 AM
tomek accepted D6089: [native] Reverting D5999 and D6000.
Dec 29 2022, 4:30 AM
tomek accepted D6090: [native] Support rainbow url scheme for Android.
Dec 29 2022, 4:29 AM
tomek accepted D6086: [lib] Add `siweAuthActionTypes.success` check everywhere there's a `logInActionTypes.success` check.

Sounds reasonable. But now I'm wondering if introducing new action was a good idea. Maybe dispatching the old action (possibly with a new field e.g. type) might be easier? I don't think we should change it now, though.

Dec 29 2022, 4:27 AM
tomek accepted D6085: [lib] Modify `siweAuth(...)` return type from `LogInResponse` to `LogInResult`.
Dec 29 2022, 4:24 AM
tomek accepted D6073: [native] style SidebarListModal, SubchannelsModal, ThreadListModal.

Not sure if this is intentional, but x button seems to be shifted left. For me it would look better if the distance from the button to the right edge of the modal was the same as from the title to the left edge.

Dec 29 2022, 4:09 AM
tomek updated the summary of D6087: [web] Reset tooltip label after a timeout.
Dec 29 2022, 3:41 AM
tomek updated the summary of D6088: [web] Update a tooltip when it changes.
Dec 29 2022, 3:39 AM
tomek accepted D6062: [native] Remove background from modal items.

Does it still look correctly in dark mode?

Dec 29 2022, 3:35 AM
tomek requested review of D6088: [web] Update a tooltip when it changes.
Dec 29 2022, 2:20 AM
tomek requested review of D6087: [web] Reset tooltip label after a timeout.
Dec 29 2022, 1:42 AM
tomek requested review of D6084: [web] Check if copy operation is successful.
Dec 29 2022, 1:24 AM
tomek accepted D6002: [native] Add subchannels button to drawer items.
Dec 29 2022, 1:03 AM