Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Fix #856: Add Rate Brave option in settings #873

Merged
merged 1 commit into from
Mar 5, 2019
Merged

Fix #856: Add Rate Brave option in settings #873

merged 1 commit into from
Mar 5, 2019

Conversation

cndouglas
Copy link
Contributor

@cndouglas cndouglas commented Feb 7, 2019

Fix #856

Per "Manually Request a Review" in the "Requesting App Store Reviews" documentation:

To enable a user to initiate a review as a result of an action in the UI use a deep link to the App Store page for your app with the query parameter action=write-review appended to the URL.

This change adds the Rate Brave option in settings. When Rate Brave is tapped, the App Store is opened with a screen to rate Brave.

Submitter Checklist:

  • Submitted a ticket for my issue if one did not already exist.
  • My patch or PR title has a standard commit message that looks like Fix #123: This fixes the shattered coffee cup! (or No Bug: <message> if no relevant ticket)
  • Unit Tests are updated to cover new or changed functionality
  • User-facing strings use NSLocalizableString()
  • New files have MPL-2.0 license header.

Test Plan:

  1. Open Settings.
  2. Tap Rate Brave.
  3. The App Store should open, and a screen to rate Brave should be visible.

Screenshots:

Settings option:

Reviewer Checklist:

  • PR is linked to an issue via Zenhub.
  • Issues are assigned to at least one epic.
  • Issues include necessary QA labels:
    • QA/(Yes|No)
    • release-notes/(include|exclude)
    • bug / enhancement
  • Necessary security reviews have taken place.
  • Adequate test coverage exists to prevent regressions.
  • Adequate test plan exists for QA to validate (if applicable)

@@ -455,6 +455,7 @@ public extension Strings {
public static let Never_show = NSLocalizedString("NeverShow", tableName: "BraveShared", bundle: Bundle.braveShared, value: "Never show", comment: "tabs bar show/hide option")
public static let Always_show = NSLocalizedString("AlwaysShow", tableName: "BraveShared", bundle: Bundle.braveShared, value: "Always show", comment: "tabs bar show/hide option")
public static let Show_in_landscape_only = NSLocalizedString("ShowInLandscapeOnly", tableName: "BraveShared", bundle: Bundle.braveShared, value: "Show in landscape only", comment: "tabs bar show/hide option")
public static let Review_Brave = NSLocalizedString("ReviewBrave", tableName: "BraveShared", bundle: Bundle.braveShared, value: "Review Brave", comment: "Open the App Store to write a review for Brave.")
Copy link
Contributor

@danishjafri88 danishjafri88 Feb 11, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jamesmudgett can you approve the copy and the design.

@jhreis
Copy link
Contributor

jhreis commented Feb 12, 2019

Really nice @liunkae just confirming some things on our end, and we'll get this in.

@jhreis
Copy link
Contributor

jhreis commented Mar 4, 2019

@liunkae Really nice, just talked with design, and they wanted to make the following changes:

  1. Change copy to Rate Brave
  2. Move underneath `Report a bug
  3. Change text color of Rate Brave to black

@cndouglas cndouglas changed the title Fix #856: Add Review Brave option in settings Fix #856: Add Rate Brave option in settings Mar 4, 2019
@cndouglas
Copy link
Contributor Author

@jhreis Done.

@jhreis jhreis merged commit 30dd20e into brave:development Mar 5, 2019
@cndouglas cndouglas deleted the fix-856 branch March 5, 2019 23:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add "Review Brave" Option in Settings
3 participants