You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[$500] iOS - Chat - 'Hmm its not here' page glitches on opening without access conversation #36411
BugSomething is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewWeeklyKSv2
Version Number: 1.4.40-0 Reproducible in staging?: Y Reproducible in production?: Y Logs:https://stackoverflow.com/c/expensify/questions/4856 Expensify/Expensify Issue URL: Issue reported by: Applause-Internal Team Slack conversation:
Observe that 'Hmm its not here' page glitches i.e. 'Hmm its not here' text stays in place but image and 'You don't have access to this chat' text slides down
Expected Result:
'Hmm its not here' page should not glitch on opening non authorized chat
Actual Result:
'Hmm its not here' page glitches on opening non authorized chat
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
changed the title [-]iOS - Chat - 'Hmm its not here' page glitches on opening without access conversation[/-][+][$500] iOS - Chat - 'Hmm its not here' page glitches on opening without access conversation[/+]on Feb 13, 2024
Please re-state the problem that we are trying to solve in this issue.
The not found page looks glitchy when the not found page shows and the keyboard hides.
What is the root cause of that problem?
The reason it looks glitchy is that the it's not here title doesn't animate when the keyboard hides while the others (image and subtitle) animates. This can be noticed when we slow down the video. If we compare the title and subtitle component, we can notice that the subtitle is wrapped with a view.
While testing, I found out that the text will animates the position when the keyboard shows if it's wrapped with a view. You can test this on a react native sandbox with a KeyboardAvoidingView component.
so, I try to find more information and found this comment from reddit that we need to make sure the view doesn't resize when the keyboard shows, which happens in our case.
We can conclude that the text won't animate if the view wrapper resizes when keyboard shows.
What changes do you think we should make in order to solve the problem?
📣 @bernhardoj 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!
Offer link Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻
Keep in mind: Code of Conduct | Contributing 📖
BugSomething is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewWeeklyKSv2
Activity
[-]iOS - Chat - 'Hmm its not here' page glitches on opening without access conversation[/-][+][$500] iOS - Chat - 'Hmm its not here' page glitches on opening without access conversation[/+]melvin-bot commentedon Feb 13, 2024
Job added to Upwork: https://www.upwork.com/jobs/~01a21cace63ee69074
melvin-bot commentedon Feb 13, 2024
Triggered auto assignment to Contributor-plus team member for initial proposal review - @situchan (
External)melvin-bot commentedon Feb 13, 2024
Triggered auto assignment to @anmurali (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.izarutskaya commentedon Feb 13, 2024
We think that this bug might be related to #vip-vsb
CC @quinthar
eucool commentedon Feb 13, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Chat - 'Hmm its not here' page glitches on opening without access conversation
What is the root cause of that problem?
In
blockingViewcomponent, we have defined the style oftitle:App/src/components/BlockingViews/BlockingView.tsx
Line 88 in a3943ac
In here, we have defined default
marginTopandmarginBottomso the text sticks to the allocated position:App/src/styles/index.ts
Lines 2355 to 2363 in a3943ac
Whereas for the no access text, we don't have any margin associated with it:
App/src/components/BlockingViews/BlockingView.tsx
Line 93 in a3943ac
What changes do you think we should make in order to solve the problem?
Remove the margin and pass
justifyContentCenterto the style, the new style would be:What alternative solutions did you explore? (Optional)
N/A
Note: Design team can provide more inputs on the exact style of the title
bernhardoj commentedon Feb 13, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
The not found page looks glitchy when the not found page shows and the keyboard hides.
What is the root cause of that problem?
The reason it looks glitchy is that the it's not here title doesn't animate when the keyboard hides while the others (image and subtitle) animates. This can be noticed when we slow down the video. If we compare the title and subtitle component, we can notice that the subtitle is wrapped with a view.
App/src/components/BlockingViews/BlockingView.tsx
Lines 88 to 94 in 784aa27
While testing, I found out that the text will animates the position when the keyboard shows if it's wrapped with a view. You can test this on a react native sandbox with a KeyboardAvoidingView component.
But BlockingView already have a view wrapper here
App/src/components/BlockingViews/BlockingView.tsx
Lines 81 to 88 in 784aa27
so, I try to find more information and found this comment from reddit that we need to make sure the view doesn't resize when the keyboard shows, which happens in our case.
We can conclude that the text won't animate if the view wrapper resizes when keyboard shows.
What changes do you think we should make in order to solve the problem?
We can wrap this with another view
App/src/components/BlockingViews/BlockingView.tsx
Lines 88 to 94 in 784aa27
(or only wrap the text title)
Screen.Recording.2024-02-14.at.00.45.52.mov
(the red box is a dummy input, the blue box is the root view that resizes when keyboard shows)
situchan commentedon Feb 15, 2024
Proposals are in review.
Also open for more proposals.
13 remaining items
melvin-bot commentedon Feb 20, 2024
Triggered auto assignment to @francoisl, see https://stackoverflow.com/c/expensify/questions/7972 for more details.
melvin-bot commentedon Feb 20, 2024
📣 @situchan 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app!
Offer link
Upwork job
melvin-bot commentedon Feb 20, 2024
📣 @bernhardoj 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!
Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻
Keep in mind: Code of Conduct | Contributing 📖
bernhardoj commentedon Feb 21, 2024
PR is ready
cc: @situchan
situchan commentedon Mar 6, 2024
PR was deployed to production on Feb 28
JmillsExpensify commentedon Mar 22, 2024
Circling back on payments. Summary:
JmillsExpensify commentedon Mar 22, 2024
In the meantime, @situchan what about the BZ checklist?
situchan commentedon Mar 22, 2024
No regression. This existed for long time.
This is not worth adding regression test as minor UI glitch only on iOS, not affecting users.
JmillsExpensify commentedon Mar 22, 2024
All contributors paid out and no regression test. I'm closing this issue!