Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

For #14642: Use correct 'Close tabs' summary text for "After one month" #14644

Merged

Conversation

digitalcircuit
Copy link
Contributor

When "Close tabs" is set to "After one month" (closeTabsAfterOneMonth), use the correct summary string on the Settings page of "After one month" (close_tabs_after_one_month) instead of "After one week" (close_tabs_after_one_week).

Closes #14642.

Pull Request checklist

  • Tests: This PR includes thorough tests or an explanation of why it does not
    • The code in question is covered by existing tests; this represents fixing an incorrect string
  • Screenshots: This PR includes screenshots or GIFs of the changes made or an explanation of why it does not
  • Accessibility: The code in this PR follows accessibility best practices or does not include any user facing features. In addition, it includes a screenshot of a successful accessibility scan to ensure no new defects are added to the product.
    • No new user facing features, minor string change

To download an APK when reviewing a PR:

  1. click on Show All Checks,
  2. click Details next to "Taskcluster (pull_request)" after it appears and then finishes with a green checkmark,
  3. click on the "Fenix - assemble" task, then click "Run Artifacts".
  4. the APK links should be on the left side of the screen, named for each CPU architecture

For "closeTabsAfterOneMonth", use the correct summary string of
"close_tabs_after_one_month" instead of "close_tabs_after_one_week".

This fixes the Settings page "Close tabs" summary showing the wrong
tab duration when "Close tabs" is set to "After one month".

Closes mozilla-mobile#14642
@firefoxci-taskcluster
Copy link

No Taskcluster jobs started for this pull request
The `allowPullRequests` configuration for this repository (in `.taskcluster.yml` on the
default branch) does not allow starting tasks for this pull request.

@digitalcircuit
Copy link
Contributor Author

The Mozilla contributing guidelines suggests I should add a reviewer to ensure this is seen, but it seems like the only way a pull request author can do that is via @mention'ng.

@ekager , when you have the time, would you take a look at this pull request? I think the string change was just a very minor oversight (closeTabsAfterOneMonth in getTabTimeoutString() using close_tabs_after_one_week instead of close_tabs_after_one_month).

And if I shouldn't @mention in the future for these situations, just let me know!

@liuche liuche added the needs:uplift Issue / PR needs to be uplifted to the release branch label Sep 2, 2020
@liuche liuche added this to Uplifts for Firefox Beta 81 in Engineering triage Sep 2, 2020
@ekager
Copy link
Contributor

ekager commented Sep 3, 2020

Good catch!

@liuche
Copy link
Contributor

liuche commented Sep 3, 2020

unrelated flaky tests:
testStrictVisitContentShield
verifyAddonsCanBeUninstalled

@liuche liuche closed this Sep 3, 2020
@liuche liuche reopened this Sep 3, 2020
@liuche liuche merged commit 2231fe2 into mozilla-mobile:master Sep 3, 2020
@digitalcircuit digitalcircuit deleted the fix-close-tabs-settings-summary branch September 3, 2020 02:52
TrianguloY pushed a commit to TrianguloY/fenix that referenced this pull request Sep 3, 2020
…lla-mobile#14644)

For "closeTabsAfterOneMonth", use the correct summary string of
"close_tabs_after_one_month" instead of "close_tabs_after_one_week".

This fixes the Settings page "Close tabs" summary showing the wrong
tab duration when "Close tabs" is set to "After one month".

Closes mozilla-mobile#14642
@liuche liuche removed this from Uplifts for Firefox Beta 81 in Engineering triage Sep 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs:uplift Issue / PR needs to be uplifted to the release branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] "Close tabs" Settings uses incorrect string for "After one month"
3 participants