Open kbecciv opened 9 months ago
Triggered auto assignment to @greg-schroeder (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details.
Job added to Upwork: https://www.upwork.com/jobs/~01fc6f40574bba0e81
Platforms
in OP are β
)Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel (External
)
Summary: I propose to address the issue described in GitHub Issue #32403, where the link in the message is displayed as text rather than a clickable link within the Expensify Android Chat application. My solution involves implementing changes in the codebase to correctly parse and render links, providing users with a seamless experience when interacting with shared URLs.
Technical Explanation:
Link Parsing and Formatting:
Enhance the existing message parsing logic to identify links within the text.
Implement a URL parser to correctly recognize and extract URLs from the message content.
TextView Customization:
Modify the TextView component responsible for rendering chat messages to recognize and handle hyperlinks appropriately.
Use Android's Linkify class or a custom link detection mechanism to convert identified URLs into clickable links.
Clickable Link Handling:
Implement an OnClickListener for clickable links, directing users to the associated web page when clicked.
Ensure that the link handling mechanism is consistent across various Android versions and devices.
Testing:
Rigorously test the implementation on different Android platforms, including various screen sizes and resolutions, to ensure a consistent user experience.
Conduct unit tests to verify the correctness of the link parsing and rendering logic.
π£ @HafeezRai! π£ Hey, it seems we donβt have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork. Please follow these steps:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>
Contributor details Your Expensify account email: rai.hafeez006@gmail.com Upwork Profile Link: https://www.upwork.com/freelancers/hafeezrahmaan
β Contributor details stored successfully. Thank you for contributing to Expensify!
Summary: I propose to address the issue described in GitHub Issue https://github.com/Expensify/App/issues/32403, where the link in the message is displayed as text rather than a clickable link within the Expensify Android Chat application. My solution involves implementing changes in the codebase to correctly parse and render links, providing users with a seamless experience when interacting with shared URLs.
Technical Explanation:
Link Parsing and Formatting: Enhance the existing message parsing logic to identify links within the text. Implement a URL parser to correctly recognize and extract URLs from the message content.
TextView Customization: Modify the TextView component responsible for rendering chat messages to recognize and handle hyperlinks appropriately. Use Android's Linkify class or a custom link detection mechanism to convert identified URLs into clickable links.
Clickable Link Handling: Implement an OnClickListener for clickable links, directing users to the associated web page when clicked. Ensure that the link handling mechanism is consistent across various Android versions and devices.
Testing: Rigorously test the implementation on different Android platforms, including various screen sizes and resolutions, to ensure a consistent user experience. Conduct unit tests to verify the correctness of the link parsing and rendering logic.
Composer on Android currently does not support parsing pasted text to markdown or html.
β Contributor details stored successfully. Thank you for contributing to Expensify!
@greg-schroeder Unassigning due to low bandwidth please assign a new C+ here, thanks!
I am interested in reviewing this
Assigned @situchan as new C+!
π£ @situchan π 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 π
Thoughts on proposals here @situchan?
bump
@greg-schroeder @situchan this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!
bump @situchan
@HafeezRai please review our contributing guideline and follow proposal template. Thanks
No satisfactory proposals yet
Sounds good. Waiting for new proposals, then
π£ It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? πΈ
I'm having trouble reproducing this.
Does it matter where the message with a link is copied from? Does it need to be formatted using link markdown syntax?
The text I copied that had both regular links and markdown syntax (not at the same time) was formatted correctly after pasting it in the composer and then sending on Android native.
Side note: Copying the message by long pressing it, choosing "copy to clipboard", and then pasting in the composer on Android web resulted in the link being pasted as plain text.
@kbecciv can you answer Victor's question above about where the link is copied from?
@greg-schroeder Tester used information from Wikipedia site - https://www.wikipedia.org/
@greg-schroeder @situchan this issue is now 3 weeks old. There is one more week left before this issue breaks WAQ and will need to go internal. What needs to happen to get a PR in review this week? Please create a thread in #expensify-open-source to discuss. Thanks!
@greg-schroeder, @situchan Whoops! This issue is 2 days overdue. Let's get this updated quick!
π£ It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? πΈ
@greg-schroeder, @situchan Huh... This is 4 days overdue. Who can take care of this?
@greg-schroeder, @situchan 6 days overdue. This is scarier than being forced to listen to Vogon poetry!
@greg-schroeder @situchan this issue is now 4 weeks old and preventing us from maintaining WAQ, can you:
Thanks!
Current assignee @situchan is eligible for the Internal assigner, not assigning anyone new.
This was formatted correctly for me when testing
@greg-schroeder, @situchan Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
I think I will close for now given inconsistent reproduction
@greg-schroeder the bug is still reproducible.
The OP was not clear. This is inconsistency issue between mWeb and native. On mWeb, the link in message is pasted correctly but on native, the plain text.
Issue is still reproducible on the latest build 9.0.28-0
https://github.com/user-attachments/assets/7a9b7022-e129-4f11-a15b-71b41da1f780
Awaiting proposals
Awaiting proposals, not overdue
Same as above
Same as above
Same as above
Current assignee @situchan is eligible for the External assigner, not assigning anyone new.
Awaiting proposals
π£ It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? πΈ
If you havenβt already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.7-0 Reproducible in staging?: y Reproducible in production?: y 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 Expensify/Expensify Issue URL: Issue reported by: Applause - Internal Team Slack conversation:
Action Performed:
Expected Result:
The link in message must be displayed as clickable link and not as text.
Actual Result:
In mweb, the link in message is displayed as clickable link but in android the link in message is displayed as text.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/93399543/38bb7c6d-893b-43a1-9abe-76045fabec80
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @