Closed kbecciv closed 2 months ago
@getusha
IMO reducing the
ANIMATED_TRANSITION
is definitely a hack
Do you have any arguments for this claim?
I don't have strong feelings about the ANIMATED_TRANSITION
constant, but in general, if the transition is long as it is for esthetic reasons, and it actually affects UX of a user who wants to make things done while typing reasonably fast, then it's not impossible that the transition is just too long.
additionally the issue will still be either reproducible even without the setTimeout
I'm not sure if I got this right. Are you saying that reducing ANIMATED_TRANSITION
doesn't fix the issue in your case, i.e. you're still reproducing it after reducing ANIMATED_TRANSITION
?
or will cause a glitch.
It's possible. What kind of glitches do you have in mind, or is there any specific part of the app that you would test first? Or, alternatively, do you have any past issue in mind that might return after we reduce the mentioned constant?
We don't have an infinite set of options here, I want to fix this issue, as closing it doesn't feel appropriate; I agree that there is a problem here. I encourage a constructive approach based on evidence or experience. Also, proposals without logical flaws.
Also, everyone, please note that I suggested an investigation path that nobody picked up, which still might be fruitful.
A link to the original PR introducing/changing the 300 ms constant
Understanding why it was introduced and decided to be 300 ms, not something else
- Starting a dialogue with the author/C+ of the original proposal can be considered
Proof of testing the proposed solution in the relevant area, showing that it doesn't add regression to the original problem
It appears that there is a Slack thread on the internal performance-related channel. We'll have to coordinate efforts!
@cubuspl42 thanks for the link! Good sleuthing, I hadn't seen.
I'm bumping this to weekly for now, since there's a discussion going on.
Coming from this Slack summary it seems like this PR may fix the issue https://github.com/Expensify/App/issues/30261
I'm not sure why https://github.com/Expensify/App/issues/30261 was created, it sounds like a dupe of this one. I asked a question there
https://github.com/Expensify/App/issues/30261 still being worked on
Let's hold on https://github.com/Expensify/App/issues/30261
Added HOLD status to title, keeping this at Weekly however since it is high priority
https://github.com/Expensify/App/pull/30263 has been merged; we can put off hold and re-test
Hey @kbecciv can you retest this one please?
@stephanieelliott Checking, will update you shortly!
Reproducible with v1.3.96-6. When typing "Dwight" but only "wight" is entered in the search field.
https://github.com/Expensify/App/assets/93399543/7b052c6a-78f2-4ca0-bc72-9d53827085e4
Still happening for me, but it seems to be better after the below was implemented, just commented there
Summing up: we know that reducing the ANIMATED_TRANSITION
used to help with our bug. After the optimization (https://github.com/Expensify/App/issues/30261), maybe reducing it less will make things right here?
At the same time, I'm aware that even touching ANIMATED_TRANSITION
is somewhat risky, as we rely on it in many places. This makes our issue tricky.
@cubuspl42 do you think this bug is possibly related? ie. that some version of animation is making it take longer to load and recognize keystrokes? https://expensify.slack.com/archives/C049HHMV9SM/p1699896354633069
@mallenexpensify
In a way, for sure. This issue has two components: the delay introduced by ANIMATED_TRANSITION
, and the performance-related delays. The linked case nearly for sure has at least one of these components.
Thx @cubuspl42 I find it a bit frustrating that we're trading off style and animation over usability. Let's keep the issues separate for now, Im' curious what proposals we might get for the other issue.
It's not done on purpose, I think.
ANIMATED_TRANSITION
, it's just a bit "scary", as it's a global app-wise constant. Something like "move this single thing here and shake the whole app".Thanks @cubuspl42 , I was mostly just whining/griping there for a min. Do you think it's best to put this on hold for now, move to monthly and remove Help Wanted
? I'd remove Steph and assign myself. I'm hesitant to just close the issue cuz I'd love to see it fixed at some point, even if it's many months down the road.
@mallenexpensify
Honestly, I'm not optimistic about this being fixed externally...
From the engineering point of view, the next steps could be:
ANIMATED_TRANSITION
constant could be lowered, having in mind the app-wise consequencesput this on hold for now,
I'm not sure what we would hold on.
move to monthly and remove Help Wanted?
Then we'd need to assign this to an expert agency or an internal engineer, right?
@mallenexpensify I think we should close this issue, this is unfortunately basically impossible to fix with the current set up and while its annoying we just need to move on, we are going to update the search soon as part of the ideal-nav so maybe we can make it better there
I'm going to assign to myself, remove others and make it a monthly. Then, drop into an ideal nav room when the time is right, to insure it's being considered. Thx @mountiny and @cubuspl42
Checking in Wave 9, that used to be Ideal Nav https://expensify.slack.com/archives/C05NJ4SLBMF/p1703259924998969
Checking link above to see where this belongs
Triggered auto assignment to Contributor Plus for review of internal employee PR - @0xmiroslav (Internal
)
Sorry @0xmiroslav , was testing auto-assigner automation
This appears to have gotten worse. And I fear it's more likely to get worse than better unless we do something about. A minute ago I
social
and then return
(pretty quickly)Shawn
somehowChecking in Wave 9 room https://expensify.slack.com/archives/C05NJ4SLBMF/p1705602710724309
Hi! I am Filip Solecki from Software Mansion - an expert agency and I'd like to work on this issue.
Thanks @filip-solecki , one other issue that might be related is, it's possible for me to type someone's name and hit enter (quickly), but then the correct chat doesn't open. I can easily reproduce if you want a vid, can also put it on hold and address after the fix for keystrokes not being recognized when first typed.
Current assignee @mallenexpensify is eligible for the Bug assigner, not assigning anyone new.
Triggered auto assignment to Contributor Plus for review of internal employee PR - @aimane-chnaif (Internal
)
Not overdue. Waiting for proposal from @filip-solecki
@mallenexpensify Please upload video mentioned above.
Tbh I think this behavior is more connected to the second issue mentioned here - but can you alse recreate it to let me check this? Unfortunately I cannot recreate this one.
It always happens for me, just now I was eating a burrito and typed cmd+k
then faye
only using one hand and fa
weren't recognized. Do you have access to a high-traffic account @filip-solecki , if not, can you share a best email address so I can get you added?
Per discussion here
I've put this on hold pending the Fabric update. Updated to weekly and I'll do my best to be patient every... single... time I have to wait a second or two before I start typing after typing cmd+k
:)
filip-solecki feek free to post comment/thoughts here, with the understanding this isn't a priority and might, hopefully be fixed with the Fabric update. Also fee free to unassign
I think I requested for high-traffic account but you can check: filip.solecki@swmansion.com.
I requested to have you added to a high traffic account @filip-solecki
Here's a 'real world' example of why this is so frustrating. I think it might be getting, or have gotten, worse too. I've had a dozen instances this morn of the bug.
Faye
https://github.com/Expensify/App/assets/22508304/5321a35c-8b44-4803-8f05-032e8838cf8e
Sasha mentions search is snappier here. Has anything been done that'd help explain that? I just did some testing and I agree that it appears to be better, the characters I type don't go missing like they did before.
Different, but related, bug. Keystrokes are being recognized but, after entering a few characters and clicking enter, the correct chat doesn't load, the old/existing chat persists
https://github.com/Expensify/App/assets/22508304/6b348eda-481a-4fd0-83f5-9999c978e8c7
Still occasionally run into issues so leaving this open a lil while longer, will add more examples soon.
For this example, this is my normal typing speed and I can reproduce the bug multiple times.
https://github.com/Expensify/App/assets/22508304/ac78c5e9-c7b5-4deb-b0e4-d61bb84e6722
Holding on
Still waiting on Fabric update which should be soon 🤞 https://github.com/Expensify/App/issues/8503
(posting cuz I just started my day and instantly sent a message to the wrong person cuz of the lag in search)
I am going to be OOO soon. I will keep assigned here as held on Fabric update but if this requires C+ attention, please reassign.
I just noticed that the compose box now seems much laggy than before too. ie. I typed cmd+k
, opened chat, started typing Was looking
and only okin
showed. This has been very noticeable this week. Could this be related or should I post a new bug for it?
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
command+k
to open chat switcherExpected Result:
The characters you type show up in search
Actual Result:
Many characters are missed. ie. I typed
lauren
quickly and only then
showed.Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.73.0 Reproducible in staging?: n/a Reproducible in production?: n/a If this was caught during regression testing, add the test name, ID and link from TestRail: Email or phone of affected tester (no customers): Logs: https://stackoverflow.com/c/expensify/questions/4856 Notes/Photos/Videos: Any additional supporting documentation
n/a
Expensify/Expensify Issue URL: Issue reported by: @mallenexpensify Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1695286362554219
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @mallenexpensify