You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 24, 2025. It is now read-only.
Task/Issue URL:
https://app.asana.com/0/1204006570077678/1209173259474635/f
Tech Design URL:
CC:
## Description
This adds new static entry points to add to the dock. Now, the adding to
dock setting can be used from the main menu, and more options menu, and
also in the Settings -> Default Browser -> Shortcuts section.
In the more options menu, we will show a blue dot (both in the more
options button and in the menu item), the notification dot will
disappear after the user opens and closes the more options menu. If you
want to check the blue dot again, I’ve added a debug menu in the Reset
Data -> Reset Add To Dock more options menu notification.
### Acceptance criteria
**AC1 - AppStore users should not see any Add To Dock prompt**
Given an AppStore user, when the user does not have DDG in the dock,
then it should never see one of the prompts.
**AC2 - If the user is non-AppStore, and DDG is not in the dock.**
Given a non-AppStore user, when the user does not have DDG in the dock,
then the user should see a 'Add to Dock' prompt on the main menu, more
options, and in the Settings → Default Browser preference pane.
**AC3 - If the user is non-AppStore, and DDG is in the dock.**
Given a non-AppStore user, when the user does have DDG in the dock, then
the user should not see the 'Add to Dock' prompt on the main menu and
more options, and in Settings → Default Browser, you should see
'DuckDuckGo is in your Dock.
**Definition of Done**:
* [x] Does this PR satisfy our [Definition of
Done](https://app.asana.com/0/1202500774821704/1207634633537039/f)?
---
###### Internal references:
[Pull Request Review
Checklist](https://app.asana.com/0/1202500774821704/1203764234894239/f)
[Software Engineering
Expectations](https://app.asana.com/0/59792373528535/199064865822552)
[Technical Design
Template](https://app.asana.com/0/59792373528535/184709971311943)
[Pull Request
Documentation](https://app.asana.com/0/1202500774821704/1204012835277482/f)
Copy file name to clipboardExpand all lines: DuckDuckGo/Common/Localizables/UserText.swift
+1
Original file line number
Diff line number
Diff line change
@@ -663,6 +663,7 @@ struct UserText {
663
663
staticletisAddedToDock=NSLocalizedString("preferences.is-added-to-dock", value:"DuckDuckGo is added to the Dock.", comment:"Indicates that the browser is added to the macOS system Dock")
664
664
staticletisNotAddedToDock=NSLocalizedString("preferences.not-added-to-dock", value:"DuckDuckGo is not added to the Dock.", comment:"Indicate that the browser is not added to macOS system Dock")
665
665
staticletaddToDock=NSLocalizedString("preferences.add-to-dock", value:"Add to Dock…", comment:"Action button to add the app to the Dock")
666
+
staticletaddDuckDuckGoToDock=NSLocalizedString("preferences.add-to-dock", value:"Add DuckDuckGo To Dock…", comment:"Action button to add the app to the Dock")
666
667
staticletonStartup=NSLocalizedString("preferences.on-startup", value:"On Startup", comment:"Name of the preferences section related to app startup")
667
668
staticletreopenAllWindowsFromLastSession=NSLocalizedString("preferences.reopen-windows", value:"Reopen all windows from last session", comment:"Option to control session restoration")
668
669
staticletshowHomePage=NSLocalizedString("preferences.show-home", value:"Open a new window", comment:"Option to control session startup")
0 commit comments