Skip to content
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

[$250] Copilot - "Learn more" link is out of place #48972

Closed
3 of 6 tasks
IuliiaHerets opened this issue Sep 11, 2024 · 15 comments
Closed
3 of 6 tasks

[$250] Copilot - "Learn more" link is out of place #48972

IuliiaHerets opened this issue Sep 11, 2024 · 15 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors

Comments

@IuliiaHerets
Copy link

IuliiaHerets commented Sep 11, 2024

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: v9.0.32-0
Reproducible in staging?: Y
Reproducible in production?: N/A
Issue was found when executing this PR: #47353
Email or phone of affected tester (no customers): applausetester+ds@applause.expensifail.com
Issue reported by: Applause Internal Team

Action Performed:

  1. Login to Expensifail account
  2. Settings > Security
    Notice the "learn more" link is out of place

Expected Result:

Correct placement of the link

Actual Result:

The "learn more" link is out of place

Workaround:

Unknown

Platforms:

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6599573_1726051088275!75042194-8bce-4e4f-b2a8-caa41b457217

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021833989038851077832
  • Upwork Job ID: 1833989038851077832
  • Last Price Increase: 2024-09-18
Issue OwnerCurrent Issue Owner: @
@IuliiaHerets IuliiaHerets added DeployBlockerCash This issue or pull request should block deployment Bug Something is broken. Auto assigns a BugZero manager. labels Sep 11, 2024
Copy link

melvin-bot bot commented Sep 11, 2024

Triggered auto assignment to @mountiny (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

Copy link

melvin-bot bot commented Sep 11, 2024

Triggered auto assignment to @kevinksullivan (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@melvin-bot melvin-bot bot added the Daily KSv2 label Sep 11, 2024
@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Sep 11, 2024
Copy link
Contributor

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@nyomanjyotisa
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue.

"Learn more" link is out of place

What is the root cause of that problem?

We display the copilotDelegatedAccessDescription text and learnMore text link side by side, so on small width screen both text and text link width will narrower

What changes do you think we should make in order to solve the problem?

Put the learnMore text link inside the copilotDelegatedAccessDescription text here

<Text style={[styles.textNormal, styles.colorMuted]}>
      {translate('delegate.copilotDelegatedAccessDescription')} 
      <TextLink
          style={[styles.link]}
          href={CONST.COPILOT_HELP_URL}
      >
          {translate('common.learnMore')}
      </TextLink>
  </Text>

image

What alternative solutions did you explore? (Optional)

@mountiny mountiny added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Sep 11, 2024
@mountiny
Copy link
Contributor

@rushatgabhane another one from copilot

demoting as its behind beta

@kevinksullivan kevinksullivan added the External Added to denote the issue can be worked on by a contributor label Sep 11, 2024
@melvin-bot melvin-bot bot changed the title Copilot - "Learn more" link is out of place [$250] Copilot - "Learn more" link is out of place Sep 11, 2024
Copy link

melvin-bot bot commented Sep 11, 2024

Job added to Upwork: https://www.upwork.com/jobs/~021833989038851077832

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Sep 11, 2024
Copy link

melvin-bot bot commented Sep 11, 2024

Current assignee @rushatgabhane is eligible for the External assigner, not assigning anyone new.

@kevinksullivan
Copy link
Contributor

Moving forward and putting in control wave

@kevinksullivan
Copy link
Contributor

Looping in another BZ as I'm going OOO

@kevinksullivan kevinksullivan removed their assignment Sep 11, 2024
@kevinksullivan kevinksullivan added Bug Something is broken. Auto assigns a BugZero manager. and removed Bug Something is broken. Auto assigns a BugZero manager. labels Sep 11, 2024
Copy link

melvin-bot bot commented Sep 11, 2024

Triggered auto assignment to @greg-schroeder (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@kevinksullivan kevinksullivan self-assigned this Sep 11, 2024
@ra-md
Copy link
Contributor

ra-md commented Sep 12, 2024

Proposal

Please re-state the problem that we are trying to solve in this issue.

The "Learn more" link is misaligned on narrow screens.

What is the root cause of that problem?

The issue lies with the parent of Text "copilotDelegatedAccessDescription" and TextLink "learnMore," which use flex and flex-row, causing them to align in a row. While this works well on a wide screen, on a narrow screen, it misaligns TextLink "learnMore," which should be positioned next to the word "account."

What changes do you think we should make in order to solve the problem?

Replace View with Text. A similar approach is used here and here.

<Text style={[styles.flexRow, styles.alignItemsCenter, styles.w100, styles.mt2]}>
    <Text style={[styles.textNormal, styles.colorMuted]}>{translate('delegate.copilotDelegatedAccessDescription')} </Text>
    <TextLink
        style={[styles.link]}
        href={CONST.COPILOT_HELP_URL}
    >
        {translate('common.learnMore')}
    </TextLink>
</Text>

What alternative solutions did you explore? (Optional)

@melvin-bot melvin-bot bot added the Overdue label Sep 16, 2024
@rushatgabhane rushatgabhane mentioned this issue Sep 16, 2024
50 tasks
@greg-schroeder
Copy link
Contributor

greg-schroeder commented Sep 16, 2024

Are we awaiting proposal review, or is this already being fixed by #48517?

@melvin-bot melvin-bot bot removed the Overdue label Sep 16, 2024
@rushatgabhane
Copy link
Member

no it is fixed in the PR above

@greg-schroeder
Copy link
Contributor

Okay got it, thanks! PR in review then

Copy link

melvin-bot bot commented Sep 18, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors
Projects
Status: Done
Development

No branches or pull requests

8 participants