Closed Bug 1714032 Opened 4 years ago Closed 4 years ago

The click area of the "Learn more" link from the “Import Error” modals is too large

Categories

(Firefox :: about:logins, defect, P3)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
91 Branch
Tracking Status
firefox89 --- disabled
firefox90 --- disabled
firefox91 --- verified

People

(Reporter: srosu, Assigned: hardikshah.hs2015, Mentored)

References

Details

(Keywords: good-first-bug, Whiteboard: [lang=css])

Attachments

(9 files)

627.83 KB, image/gif
Details
198.31 KB, image/png
Details
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review

[Affected versions]:

  • Firefox Nightly 91.0a1 (Build ID: 20210601213358)

[Affected Platforms]:

  • Mac 11.2.3
  • Windows 10 x64
  • Ubuntu 20.04 x64

[Prerequisites]:

  • Have the latest version of Firefox Nightly installed.
  • Have the “signon.management.page.fileImport.enabled” pref set to “true” value in the “about:config” page.

[Steps to reproduce]:

  1. Open the Firefox browser with the profile from prerequisites.
  2. Navigate to the "about:logins" page.
  3. Click on the Menu button.
  4. Select the “Import from a File…” option.
  5. Select a non-CSV file and click on the “Open” button from the “Import Logins File” picker.
  6. Hover the white space beside the "Learn more" link and observe what happens.

[Expected result]:

  • The link is not highlighted.

[Actual result]:

  • The link is highlighted and if you click the white space you are redirected to the specific link.

[Notes]:

  • Also, the focus of the “Learn more” link seems to be too large.
  • Attached a screen recording of the issue.

To help Mozilla out with this bug, here's the steps:

  1. Comment here on the bug that you want to volunteer to help.
    This will tell others that you're working on the next steps.
  2. Download and build the Firefox source code
    • If you have any problems, please ask on Element/Matrix in the #introduction channel. They're there to help you get started.
    • You can also read the Developer Guide, which has answers to most development questions.
  3. Start working on this bug.
    • You can solve this bug by adding align-items: flex-start to the .content rule in import-error-dialog.css. After adding this rule, verify that the click area of the link spans the width of the link instead of the link's container.
    • If you have any problems with this bug, please comment on this bug and set the needinfo flag for me. Also, you can find me and my teammates on the #lockwise-desktop channel on Element/Matrix most hours of most days.
  4. Build your change with mach build and test your change with mach test toolkit/components/passwordmgr --headless. Also check your changes for adherence to our style guidelines by using mach lint.
  5. Submit the patch (including an automated test, if applicable) for review. Mark me as a reviewer so I'll get an email to come look at your code.
  6. After a series of reviews and changes to your patch, I'll mark it for checkin or push it to autoland.
  7. ...now you get to think about what kind of bug you'd like to work on next.
Mentor: tgiles
Keywords: good-first-bug
Priority: -- → P3
Whiteboard: [lang=css]

Should I take up this issue as for my first contribution?

Hi, I'll assign you the bug. Please reach out to me in the #lockwise-desktop channel on Element if you have questions. Thanks for your help!

Assignee: nobody → hardikshah.hs2015

(In reply to Tim Giles [:tgiles] from comment #3)

Hi, I'll assign you the bug. Please reach out to me in the #lockwise-desktop channel on Element if you have questions. Thanks for your help!

Okk sure, I already suffering there.

ERROR: Package libpulse was not found in the pkg-config search path.
ERROR: Perhaps you should add the directory containing `libpulse.pc'
ERROR: to the PKG_CONFIG_PATH environment variable
ERROR: No package 'libpulse' found

Hey Tim, Can you just help me out a little? As I am done with my changes but couldn't able to test them out, because whenever I build my changes it shows this error.

Flags: needinfo?(tgiles)

Hey hardikshah, I've never seen that error before and so I'm not sure how to debug it. Are you running an artifact build or a full build? You can determine this by checking your root level mozconfig file. If you do not have ac_add_options --enable-artifact-builds in your mozconfig, go ahead and add that...since you don't need full builds.

Other than that though, I'm not a regular Linux user so I don't know what else you might need to get Firefox up and running on that system. Keep me posted though.

Flags: needinfo?(tgiles)

You could also check out the developers channel or the build channel. It looks like there's some conversation about this issue 'libpulse' issue

Attached image Review-ScreenShot.png

Hey Tim, Can you check out this image, and do let me know, will this be fine or need some changes?

Hey Tim Giles, your below advice works fine, Mozilla is building and running fluently.

You can determine this by checking your root level mozconfig file. If you do not have ac_add_options --enable-artifact-builds in your mozconfig

I'm glad you were able to get Firefox up and running :) as for the screenshot, that looks good to me! Go ahead and submit a patch so I can review it.

Hey Tim, I created the patch for my changes, here I'm attaching the link(s).
https://phabricator.services.mozilla.com/D118849
or
https://phabricator.services.mozilla.com/D118848
By mistake I created two patches for the same, so pardon me for that.
You can review this.

No worries about creating two patches, but you will need to clean them up though :) I left feedback on the patch that should help you in this process. Feel free to reach out if you have questions!

I made both the changes as you suggested, here is the new patch link: https://phabricator.services.mozilla.com/D118853

Pushed by tgiles@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5b4463c3dc93 Fix size of click area for Learn more link in about:logins. r=tgiles
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch

I have verified this issue using the latest Nightly 91.0a1 (Build ID: 20210706214242) on Windows 10 x64, Ubuntu 20.04 and macOS 11.2.3.

  • The click area of the “Learn more” link from the “Import Error” modals is no longer too large.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: