-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Full screen for composer #45250
Full screen for composer #45250
Conversation
…ull-screen-composer
@techievivek Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
…ull-screen-composer
Can you show what it looks like when you edit an existing comment and then enter full screen mode? Just want to make sure we stress test that case as well. Otherwise I think this looks pretty good. |
We don't have an expanding option for editing existing comments. |
Ah, no worries then. I thought we did for some reason? |
I haven't seen such a discussion, so I can't say for sure. But from a development perspective, it's doable. Oh, since I've got your attention here, I've always wondered if there is any purpose to having multiple instances for input editing? Sometimes it's confusing when I can edit more than one message at the same time |
Hmm good question, there was some historical conversation about that but candidly I forget why we landed where we did. |
I have also wondered this! I would love to know the context of that decision because it's never really made sense to me. Seems way more normal to only allow one edit at a time. |
It looks like we can move that stone 💪🏻 |
Same. |
@techievivek, any news here? |
Sorry, I got confused by the last comment here: #45250 (comment). I thought we were waiting for some discussions before moving forward here. I have added a C+ to help test and review the PR, thanks. |
Reviewer Checklist
Screenshots/VideosAndroid: NativecomposerAndroid.mp4Android: mWeb ChromecomposerAndroidmWeb.mp4iOS: NativecomposeriOS.mp4iOS: mWeb SafaricomposeriOSmWeb.mp4MacOS: Chrome / SafaricomposerChrome.mp4MacOS: DesktopcomposerDesktop.mp4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
I'll raise it separately. Thanks for the quick merge! |
FYI this had to be reverted because it broke scrolling in all chat reports |
On thing we noticed is that this PR did not have any test steps. In the future, adding test steps might help catch this sort of regression. |
Thanks for reverting so quickly! I see the problem and will apply a new PR in a few minutes. I will also add some more test steps to ensure that scrolling, linking, and other features work fine |
🚀 Deployed to staging by https://github.com/techievivek in version: 9.0.9-1 🚀
|
@rafecolton should we run this PR, #45627 is reverted. |
@kavimuru are you asking if you should QA this? If so, I'm not sure but probably not, as it will surely fail due to being reverted. I'm not 100% sure what the correct process is though. |
@rafecolton That was my question, since the PR #45627 is reverted #45250 will fail. So I wasn't sure if we have to QA this one. |
Yeah I think you should skip it |
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 9.0.9-2 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.9-5 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.10-7 🚀
|
Details
Bringing back the full-screen composer mode 🚀🚀🚀
Fixed Issues
$
PROPOSAL: https://expensify.slack.com/archives/C035J5C9FAP/p1720607461917829?thread_ts=1720540400.869159&cid=C035J5C9FAP
Tests
Offline tests
QA Steps
Open any chat
Insert more text than you can read in the input
Expand the main text input
Check if the input can be expanded and shrunk back
Verify that no errors appear in the JS console
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
2024-07-11.13.52.14.mp4
Android: mWeb Chrome
2024-07-11.13.29.08.mp4
iOS: Native
default.mov
iOS: mWeb Safari
MacOS: Chrome / Safari
Untitled.2.mov
MacOS: Desktop
Untitled.2.mov