-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[$4000] Long lines in code blocks should not wrap #7497
Comments
Triggered auto assignment to @tylerkaraszewski ( |
@sobitneupane May be you can wait till issue is triaged. |
Triggered auto assignment to @jboniface ( |
Seems fine, probably straightforward. |
posted here: https://www.upwork.com/jobs/~016dd77f2c8c2b27d0 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
Triggered auto assignment to @NikkiWines ( |
@sobitneupane |
Hi! ProposalCreate new PreRenderer.js for HTMLRenderers. Inside:
/src/components/HTMLEngineProvider/HTMLRenderers/index.js :
Screen.Recording.2022-02-05.at.22.42.51.mov |
@NikkiWines sorry, I can't review this one. I'm not well 🤒 |
Taking over from @rushatgabhane as C+. @sobitneupane I am interested to hear your proposal. |
bump -- any updates on this? it looks like we have a proposal without definitive response. cc @parasharrajat / @NikkiWines |
Oh, I see. I am not assigned to it. That's why. @jboniface Please assign me as C+. Thanks. I like @Viacheslav80 's proposal. Please use the Class component. we don't use hooks. cc: @NikkiWines 🎀 👀 🎀 C+ reviewed |
Thank you @orkunkarakus for the detailed post.
Correct. But it should open on right-click. Sounds like you have fixed all the issues. Do you mind sharing the technical details? |
@parasharrajat You're welcome.
Right click still works. Only long press is disabled on hoverable platforms. web-right-click-expensify.mov
Sure, The "react-native-render-html" library has a feature that allows us to render html tags with custom components. I wrote a custom render component for our code block tag using this feature. This custom render component includes the ScrollView component of the "react-native-gesture-handler" library. At the same time i used to "onStartShouldSetResponder" prop provided by the Gesture Responder System in the scrollview. This prop determine the responder is scrollview while scrolling, not the long press. |
Should I consider the above post as a proposal or do you want to share something else? It seems that you are still waiting on that. |
if it is ok for you, you can consider it is a proposal. |
Ok, considering that the @orkunkarakus mentioned that he fixed the scrolling issue without compromising other features, I am fine with @orkunkarakus 's proposal for the issue. cc: @NikkiWines 🎀 👀 🎀 C+ reviewed |
Yep, I agree - this proposal looks good. @jboniface could you hire @orkunkarakus for this role, please? |
📣 @orkunkarakus You have been assigned to this job by @jboniface! |
PR is created. @parasharrajat cc: @NikkiWines |
Long lines in code blocks should not wrap issue (#7497) is fixed
@orkunkarakus I just noticed one thing that I forgot to mention during the PR review. As the regression period is still active, could you please submit a PR to fix that? It should be a small fix. The expected behavior would be when the user is scrolling horizontally, only then code block should scroll and scrolling chat should not be blocked via code block while scrolling vertically. Steps:
|
@parasharrajat Since the update is currently in staging, should I create a new branch from staging or through the old merged branch (orkunkarakus:fix/7497-LongLinesInCode) ? |
I think you can start from the main branch otherwise, just start from your old PR and merge the main into it. Thanks for considering the request. |
@parasharrajat You're welcome. I opened the PR #9026 |
Message list not vertically scrolling while mouse over horizontal scrollable code blocks (#7497) is fixed [Duplicate for vertical scroll hotfix]
Issued payment to @orkunkarakus after email bump. |
This is ready for payout. |
Paid @parasharrajat $4k for C+ on a different job than @orkunkarakus (in case anyone is auditing later on). |
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:
Expected Result:
Long lines in code blocks should not wrap
Actual Result:
Long lines in code blocks wrap
Workaround:
unknown
Platform:
Where is this issue occurring?
Version Number: 1.1.33-3
Reproducible in staging?: Y
Reproducible in production?: Y
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by: @roryabraham
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1643397896087709
View all open jobs on GitHub
view this job
The text was updated successfully, but these errors were encountered: