-
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
[HOLD on #21219] [$2000] Assign Task- The header "from" field shows "Fro..." instead of " From username/email id" #24339
Comments
Triggered auto assignment to @garrettmknight ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Assign Task- The header "from" field shows "Fro..." instead of " From username/email id" What is the root cause of that problem?In React Native, the The reason why the What changes do you think we should make in order to solve the problem?If we want the Text component to take full space or expand to fill the available width of its parent container, we need to explicitly specify a width style for the Text component or use flexbox properties to control its dimensions.
need add flex1 parent also need flex1 App/src/pages/home/HeaderView.js Line 196 in 8d84c23
updated correct #24339 (comment)
index.js we can add App/src/pages/home/HeaderView.js Lines 193 to 197 in 1139e7c
in Pressable style pressableStyles={headerViewStyle.pressableStyles} headerViewStyle import basic of platform-based so in android What alternative solutions did you explore? (Optional) |
Job added to Upwork: https://www.upwork.com/jobs/~013e6bf0d4c8e7ce65 |
Current assignee @garrettmknight is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 ( |
📣 @gzqyl! 📣
|
Contributor details just find that @foxmail.com can not be added slack channel, so I use google mail as a replace. |
I have already checked out branch, and will merge the latest main branch when I PR, hope this issue assign to me. |
@gzqyl don't create PR until assign you |
1 similar comment
@gzqyl don't create PR until assign you |
@pradeepmdk thanks for your reminding, I will not create PR, just save the solution at local branch, so that I can watch other issues, and when the issue assigned to me, I can quickly checkout the branch to fix the issue. |
Reviewing now |
On @pradeepmdk 's proposal here, I agree that flex might be the right path to go, but the solution is not working for me. |
@gzqyl On your proposal here #24339 (comment), we would need to know what change you are expecting to make explained as per our contributing guidelines to review the proposal - https://github.com/Expensify/App/blob/main/contributingGuides/CONTRIBUTING.md |
@abdulrahuman5196 for me its working let's add my code here App/src/components/ParentNavigationSubtitle.js App/src/pages/home/HeaderView.js after flex1 |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@abdulrahuman5196 can you review? |
Still holding on #21219 |
Still holding on #21219 |
Dropping to monthly in line with the issue we're holding on. |
Still holding |
Updating to Future in VIP-VSB along with other task issues. Still on hold for the linked issue. |
Still holding on #21219 |
Still holding on #21219 |
Still holding on #21219 |
Still holding on #21219 |
@garrettmknight @situchan There are two good solutions to this problem: One using TextLink <Text
style={[styles.optionAlternateText]}
accessibilityLabel={translate('threads.parentNavigationSummary', {reportName, workspaceName})}
role={CONST.ROLE.LINK}
numberOfLines={1}
textBreakStrategy="highQuality"
>
{!!reportName && (
<>
<Text style={[styles.optionAlternateText, styles.textLabelSupporting]}>{`${translate('threads.from')} `}</Text>
<TextLink
onPress={() => {
const parentAction = ReportActionsUtils.getReportAction(parentReportID, parentReportActionID ?? '-1');
const isVisibleAction = ReportActionsUtils.shouldReportActionBeVisible(parentAction, parentAction?.reportActionID ?? '-1');
// Pop the thread report screen before navigating to the chat report.
Navigation.goBack(ROUTES.REPORT_WITH_ID.getRoute(parentReportID));
if (isVisibleAction && !isOffline) {
// Pop the chat report screen before navigating to the linked report action.
Navigation.goBack(ROUTES.REPORT_WITH_ID.getRoute(parentReportID, parentReportActionID));
}
}}
style={[styles.optionAlternateText, styles.textLabelSupporting, styles.link]}
>
{reportName || (workspaceName ? `${translate('threads.in')} ${workspaceName}` : '')}
</TextLink>
</>
)}
</Text>
);
} Here is the branch: https://github.com/WikusKriek/App/tree/24339-textlink The below style needs styles.flex1
And HeaderView needs styles.flexRow: App/src/pages/home/HeaderView.tsx Line 215 in 93dc1c9
Here is the branch: https://github.com/WikusKriek/App/tree/24339-flexRow |
Reviewing this, I actually think this issue is such a low priority consistency issue that we can probably close now and reopen only if it's reported as a bug by an actual user. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Eg- [email protected]
[email protected]
Use a email id+ 4 letter word specifically like "five", " Life" to reproduce bug.
Expected Result:
In task conversation page, the header "from" field must show user name/ email id of contact which is selected for " Share somewhere "
Actual Result:
In task conversation page, the header "from" field shows "Fro..." instead of " From username/email id"
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.52.1
Reproducible in staging?: Yes
Reproducible in production?: Yes
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
Bug6159239_after_plus_4letter_email_use.mp4
Bug6159239_2nd_4_letter_id.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: