Page MenuHomePhabricator
Feed Advanced Search

Jan 12 2023

przemek closed D6230: [web][tests] Added package to fix tests.
Jan 12 2023, 1:23 AM
przemek committed rCOMM6e5caa7b7110: [web][tests] Added package to fix tests (authored by przemek).
[web][tests] Added package to fix tests
Jan 12 2023, 1:23 AM

Jan 11 2023

przemek retitled D6230: [web][tests] Added package to fix tests from [web][tests] Added pakcage to fix tests to [web][tests] Added package to fix tests.
Jan 11 2023, 8:19 AM
przemek requested review of D6053: [web] Keyboard support for typeahead [13/13] - Freeze users list when typeahead is visible..
Jan 11 2023, 8:12 AM
przemek added a comment to D6053: [web] Keyboard support for typeahead [13/13] - Freeze users list when typeahead is visible..

We've talked about that issue with Tomek. We've tried to find better solution, but it seems hard and we don't get huge benefits here.
Tomek has brought up issue, that calling useEffect that changes state will cause rerender of component. It's single rerender and every value above is memoised, so it shouldn't be huge overhead.
We've decided to go with current solution then.

Jan 11 2023, 8:06 AM
przemek requested review of D6230: [web][tests] Added package to fix tests.
Jan 11 2023, 6:37 AM

Jan 10 2023

przemek accepted D6158: [web] Add expand buttons.
Jan 10 2023, 12:36 AM
przemek closed D5987: [bugfix] Fix "unkown error" on login..
Jan 10 2023, 12:07 AM
przemek committed rCOMM2f07e9d24e51: [bugfix] Fix "unkown error" on login. (authored by przemek).
[bugfix] Fix "unkown error" on login.
Jan 10 2023, 12:07 AM

Jan 5 2023

przemek updated the diff for D6053: [web] Keyboard support for typeahead [13/13] - Freeze users list when typeahead is visible..

Added flag keepUpdatingThreadMembers which is set false on mounting tooltip. It causes users to threadMemebrs to get frozen.

Jan 5 2023, 9:41 AM
przemek added a comment to D6157: [web] Remove unused code.

Agree. We need to look on all files that import that .css file and look if those styles aren't used anywhere.

Jan 5 2023, 9:27 AM
przemek added a comment to D6052: [web] Keyboard support for typeahead [12/13] - Scrolling thourgh overlay as user interacts with it.

I think they're not. They also don't fail on local tests. I'm not sure why. When I run yarn test in web, tests in tooltip failed as well, and they were failing for a long time I guess.

Jan 5 2023, 9:24 AM
przemek added a comment to D6182: [web] Empty password caused "Unknown error" during login.

That's exactly the way we handle it on native. I thought that we would want to have some consistency between them. We also handle email-like, and not-alphanumeric usernames on submit (on web).

Jan 5 2023, 9:22 AM
przemek requested review of D6182: [web] Empty password caused "Unknown error" during login.
Jan 5 2023, 6:09 AM
przemek added inline comments to D6053: [web] Keyboard support for typeahead [13/13] - Freeze users list when typeahead is visible..
Jan 5 2023, 5:59 AM
przemek added inline comments to D6160: [web] Add drawer item implementations.
Jan 5 2023, 5:57 AM
przemek added inline comments to D5987: [bugfix] Fix "unkown error" on login..
Jan 5 2023, 5:49 AM
przemek updated the diff for D5987: [bugfix] Fix "unkown error" on login..

Reverted changes in utility function. That was unnecessary.
We still get unkonw error when password is empty on web.

Jan 5 2023, 5:44 AM
przemek added a comment to D5987: [bugfix] Fix "unkown error" on login..

Sorry, I missed your comments after build fail and tried to fix it myself. That's why I haven't addressed them.

Jan 5 2023, 5:30 AM
przemek added inline comments to D6159: [web] Add subchannels button.
Jan 5 2023, 4:19 AM
przemek requested changes to D6158: [web] Add expand buttons.
Jan 5 2023, 4:19 AM
przemek added inline comments to D6158: [web] Add expand buttons.
Jan 5 2023, 4:18 AM
przemek accepted D6156: [native, lib] Move community drawer related code that can be reused on web from native to lib.

Looks good besides nit from @michal

Jan 5 2023, 4:07 AM
przemek updated the diff for D5987: [bugfix] Fix "unkown error" on login..

Fix - make viewer param optional.

Jan 5 2023, 4:01 AM
przemek updated the diff for D6052: [web] Keyboard support for typeahead [12/13] - Scrolling thourgh overlay as user interacts with it.

Used scrollTo.
Added tests and run them.
There were some problems that I solved locally using fixes from here: https://linear.app/comm/issue/ENG-2654/problems-with-jest
I haven't pushed those fixes anywhere as it is to be discussed yet, but I found it acceptable to
push tests even if they fail currently (due to lack of mocks as mentioned on linear).
Similar thing is happening to tooltip-utils.test.js tests and it was ignored in the past I guess.

Jan 5 2023, 3:49 AM
przemek added inline comments to D6051: [web] Keyboard support for typeahead [11/13] - Use callbacks to interact with overlay.
Jan 5 2023, 2:51 AM
przemek updated the diff for D6051: [web] Keyboard support for typeahead [11/13] - Use callbacks to interact with overlay.

Responded to inlines and fixed code.
Tested everything once again.

Jan 5 2023, 2:50 AM
przemek updated the diff for D6050: [web] Keyboard support for typeahead [10/13] - Create and set callback functions in tooltip component. It does not do anything yet.

Added close to accept function to simplify logic in other places in diff 11/13.

Jan 5 2023, 2:45 AM
przemek updated the diff for D6052: [web] Keyboard support for typeahead [12/13] - Scrolling thourgh overlay as user interacts with it.

rebased

Jan 5 2023, 1:59 AM
przemek updated the diff for D6050: [web] Keyboard support for typeahead [10/13] - Create and set callback functions in tooltip component. It does not do anything yet.

Responded to inlines.

Jan 5 2023, 1:57 AM
przemek added inline comments to D6050: [web] Keyboard support for typeahead [10/13] - Create and set callback functions in tooltip component. It does not do anything yet.
Jan 5 2023, 1:57 AM
przemek updated the diff for D6048: [web] Keyboard support for typeahead [8/13] - Add positive modulo function.

Changed name to dividend as it is the thing that is divided.
Added test for negative dividend.

Jan 5 2023, 1:30 AM
przemek added a comment to D6049: [web] Keyboard support for typeahead [9/13] - Refactor getTypeaheadTooltipButtons as a function.

It felt cleaner to has it closed in utils funtion.

Jan 5 2023, 1:22 AM
przemek updated the diff for D5987: [bugfix] Fix "unkown error" on login..

I also needed to add extra checks in 2 places, because on web when password is empty it was checked on a server side in one of validation-utils.js functions. This caused another unknown error, but is fixed now.

Jan 5 2023, 1:18 AM
przemek added a comment to D5987: [bugfix] Fix "unkown error" on login..
Jan 5 2023, 1:17 AM

Jan 3 2023

przemek added a reviewer for D6053: [web] Keyboard support for typeahead [13/13] - Freeze users list when typeahead is visible.: tomek.
Jan 3 2023, 8:23 AM
przemek added a reviewer for D6052: [web] Keyboard support for typeahead [12/13] - Scrolling thourgh overlay as user interacts with it: tomek.
Jan 3 2023, 8:22 AM
przemek added a reviewer for D6051: [web] Keyboard support for typeahead [11/13] - Use callbacks to interact with overlay: tomek.
Jan 3 2023, 8:22 AM
przemek updated the diff for D5987: [bugfix] Fix "unkown error" on login..

You're all right. I'm not sure what happened here.
It works now. Tested on web and native. I runned into huge problems with testing on older versions and wasted a lot of time on trying to do it. I'm not sure what approach should we take here?
I have analyzed the code and in really old versions it shoudl still work, but I feel like it's insufficient, but I don't want to waste more time figuring out how to run old version of client.

Jan 3 2023, 4:02 AM
przemek added inline comments to D6053: [web] Keyboard support for typeahead [13/13] - Freeze users list when typeahead is visible..
Jan 3 2023, 3:55 AM
przemek updated the diff for D6053: [web] Keyboard support for typeahead [13/13] - Freeze users list when typeahead is visible..

Fixed problems. Took wrong aproach in the beginning.

Jan 3 2023, 3:52 AM
przemek updated the diff for D6051: [web] Keyboard support for typeahead [11/13] - Use callbacks to interact with overlay.

Rebased

Jan 3 2023, 3:27 AM
przemek added inline comments to D6050: [web] Keyboard support for typeahead [10/13] - Create and set callback functions in tooltip component. It does not do anything yet.
Jan 3 2023, 3:27 AM
przemek updated the diff for D6050: [web] Keyboard support for typeahead [10/13] - Create and set callback functions in tooltip component. It does not do anything yet.

Renamed onclick to execute. Fixed nits.

Jan 3 2023, 3:26 AM
przemek updated the diff for D6048: [web] Keyboard support for typeahead [8/13] - Add positive modulo function.

Moved function to lib and added some simple tests. Made sure they pass.

Jan 3 2023, 3:10 AM
przemek updated the diff for D6047: [web] Keyboard support for typeahead [7/13] - Refactor getTypeaheadTooltipActions using params as argument.

Changed void to mixed.

Jan 3 2023, 3:09 AM
przemek added inline comments to D6047: [web] Keyboard support for typeahead [7/13] - Refactor getTypeaheadTooltipActions using params as argument.
Jan 3 2023, 3:01 AM

Dec 30 2022

przemek accepted D6088: [web] Update a tooltip when it changes.
Dec 30 2022, 3:17 AM
przemek updated the diff for D6050: [web] Keyboard support for typeahead [10/13] - Create and set callback functions in tooltip component. It does not do anything yet.

Utility function changed name.

Dec 30 2022, 3:00 AM
przemek updated the diff for D6048: [web] Keyboard support for typeahead [8/13] - Add positive modulo function.

Renamed function and added comment.

Dec 30 2022, 2:59 AM
przemek added a comment to D6048: [web] Keyboard support for typeahead [8/13] - Add positive modulo function.

You're right I'm updating the diff right now. Sorry for that, I meant to do it, but only responded to comment.

Dec 30 2022, 2:46 AM
przemek updated the diff for D6050: [web] Keyboard support for typeahead [10/13] - Create and set callback functions in tooltip component. It does not do anything yet.

Spotted a bug: We were not setting chosen position to 0, when suggested users changed.

Dec 30 2022, 2:45 AM
przemek added inline comments to D6051: [web] Keyboard support for typeahead [11/13] - Use callbacks to interact with overlay.
Dec 30 2022, 2:00 AM
przemek updated the diff for D6051: [web] Keyboard support for typeahead [11/13] - Use callbacks to interact with overlay.

Destructure as Inka suggested.

Dec 30 2022, 2:00 AM

Dec 29 2022

przemek added a comment to D6048: [web] Keyboard support for typeahead [8/13] - Add positive modulo function.

Responding to both comments. I should probably call it least positive residue as defined here: https://en.wikipedia.org/wiki/Modulo_operation.
We are not concerned with negative modulus as we just need that function to "wrap" numbers between 0 and <MODULUS - 1>.

Dec 29 2022, 12:30 PM
przemek updated the diff for D6047: [web] Keyboard support for typeahead [7/13] - Refactor getTypeaheadTooltipActions using params as argument.

Made function arguments read only

Dec 29 2022, 12:22 PM
przemek added inline comments to D6047: [web] Keyboard support for typeahead [7/13] - Refactor getTypeaheadTooltipActions using params as argument.
Dec 29 2022, 12:17 PM
przemek updated the diff for D6045: [web] Keyboard support for typeahead [5/13] - Moved finding suggested users out of tooltip component.

Returned early.

Dec 29 2022, 12:04 PM
przemek added a reviewer for D6044: [web] Keyboard support for typeahead [4/13] - Renamed regex: tomek.
Dec 29 2022, 11:56 AM
przemek added a reviewer for D6043: [web] Keyboard support for typeahead [3/13] - Renamed animation state: tomek.
Dec 29 2022, 11:56 AM
przemek added a reviewer for D6042: [web] Keyboard support for typeahead [2/13] - Moved typeahead-utils.js: tomek.
Dec 29 2022, 11:55 AM
przemek added a reviewer for D6041: [web] Keyboard support for typeahead [1/13] - Moved getTypeaheadUserSuggestions to lib: tomek.
Dec 29 2022, 11:55 AM
przemek added inline comments to D6088: [web] Update a tooltip when it changes.
Dec 29 2022, 11:54 AM
przemek added inline comments to D6087: [web] Reset tooltip label after a timeout.
Dec 29 2022, 10:55 AM
przemek accepted D6084: [web] Check if copy operation is successful.
Dec 29 2022, 10:25 AM

Dec 27 2022

przemek updated the diff for D6052: [web] Keyboard support for typeahead [12/13] - Scrolling thourgh overlay as user interacts with it.

rebase

Dec 27 2022, 6:36 AM
przemek updated the diff for D6051: [web] Keyboard support for typeahead [11/13] - Use callbacks to interact with overlay.

rebase

Dec 27 2022, 6:36 AM
przemek updated the diff for D6050: [web] Keyboard support for typeahead [10/13] - Create and set callback functions in tooltip component. It does not do anything yet.

Spotted bug later on, that allowed user to accept @-ing with enter when overlay was no longer visible. Clearing callbacks on unmount fixes it.

Dec 27 2022, 6:33 AM
przemek planned changes to D6053: [web] Keyboard support for typeahead [13/13] - Freeze users list when typeahead is visible..
Dec 27 2022, 6:22 AM
przemek updated the diff for D6053: [web] Keyboard support for typeahead [13/13] - Freeze users list when typeahead is visible..

Spotted uncaught bug while testing later on - it caused to freeze users list in wrong situations. Moved frozen users to state in context. It works now.

Dec 27 2022, 6:19 AM
przemek attached a referenced file: F306054: diff-12.mov.
Dec 27 2022, 5:57 AM
przemek updated the test plan for D6052: [web] Keyboard support for typeahead [12/13] - Scrolling thourgh overlay as user interacts with it.
Dec 27 2022, 5:57 AM
przemek attached a referenced file: F306053: diff-11.mov.
Dec 27 2022, 5:56 AM
przemek updated the test plan for D6051: [web] Keyboard support for typeahead [11/13] - Use callbacks to interact with overlay.
Dec 27 2022, 5:56 AM
przemek requested review of D6053: [web] Keyboard support for typeahead [13/13] - Freeze users list when typeahead is visible..
Dec 27 2022, 5:41 AM
przemek requested review of D6052: [web] Keyboard support for typeahead [12/13] - Scrolling thourgh overlay as user interacts with it.
Dec 27 2022, 5:32 AM
przemek requested review of D6051: [web] Keyboard support for typeahead [11/13] - Use callbacks to interact with overlay.
Dec 27 2022, 5:31 AM
przemek requested review of D6050: [web] Keyboard support for typeahead [10/13] - Create and set callback functions in tooltip component. It does not do anything yet.
Dec 27 2022, 5:27 AM
przemek requested review of D6049: [web] Keyboard support for typeahead [9/13] - Refactor getTypeaheadTooltipButtons as a function.
Dec 27 2022, 5:11 AM
przemek requested review of D6048: [web] Keyboard support for typeahead [8/13] - Add positive modulo function.
Dec 27 2022, 5:09 AM
przemek requested review of D6047: [web] Keyboard support for typeahead [7/13] - Refactor getTypeaheadTooltipActions using params as argument.
Dec 27 2022, 5:05 AM
przemek requested review of D6046: [web] Keyboard support for typeahead [6/13] - Get rid of entire text and rename matched strings.
Dec 27 2022, 5:03 AM
przemek requested review of D6045: [web] Keyboard support for typeahead [5/13] - Moved finding suggested users out of tooltip component.
Dec 27 2022, 4:59 AM
przemek requested review of D6044: [web] Keyboard support for typeahead [4/13] - Renamed regex.
Dec 27 2022, 4:52 AM
przemek requested review of D6043: [web] Keyboard support for typeahead [3/13] - Renamed animation state.
Dec 27 2022, 4:50 AM
przemek requested review of D6042: [web] Keyboard support for typeahead [2/13] - Moved typeahead-utils.js.
Dec 27 2022, 4:47 AM
przemek requested review of D6041: [web] Keyboard support for typeahead [1/13] - Moved getTypeaheadUserSuggestions to lib.
Dec 27 2022, 4:46 AM

Dec 22 2022

przemek abandoned D5850: [web] Introducing keyboard support for typeahead.

Responding to questions but need to abandon revision to split diffs into smaller ones. Also I introduce huge changes to code so it would be beneficial to discuss in fresh diff

Dec 22 2022, 5:26 AM
przemek abandoned D5876: [web] Refactor and renaming of typeahead utils..
Dec 22 2022, 4:51 AM
przemek requested review of D5987: [bugfix] Fix "unkown error" on login..
Dec 22 2022, 2:16 AM

Dec 16 2022

przemek added inline comments to D5876: [web] Refactor and renaming of typeahead utils..
Dec 16 2022, 2:54 AM
przemek updated the diff for D5876: [web] Refactor and renaming of typeahead utils..

Rebasing

Dec 16 2022, 2:54 AM
przemek added a comment to D5850: [web] Introducing keyboard support for typeahead.

The thing about scrollbar is intended, we discussed it in linear task with dave and agreed on it being better. Moving all tiles to the left created weird empty space on the right when scrollbar was not visible.

Dec 16 2022, 2:51 AM
przemek updated the diff for D5850: [web] Introducing keyboard support for typeahead.

Addressed issues in code and answered to comments.

Dec 16 2022, 2:51 AM

Dec 15 2022

przemek updated the diff for D5850: [web] Introducing keyboard support for typeahead.

Addressed comment.

Dec 15 2022, 9:08 AM
przemek updated the diff for D5876: [web] Refactor and renaming of typeahead utils..

One more rename

Dec 15 2022, 5:27 AM
przemek requested review of D5876: [web] Refactor and renaming of typeahead utils..
Dec 15 2022, 4:21 AM
przemek closed D5757: [web] Change names from Mention/Mention suggestion to Typeahead.
Dec 15 2022, 1:51 AM
przemek committed rCOMM3d67b239e2d1: [web] Change names from Mention/Mention suggestion to Typeahead (authored by przemek).
[web] Change names from Mention/Mention suggestion to Typeahead
Dec 15 2022, 1:51 AM
przemek updated the diff for D5850: [web] Introducing keyboard support for typeahead.

Addressed Ashoat's comments.

Dec 15 2022, 1:34 AM