Skip to content

Commit 12ef0eb

Browse files
shakyShanegithub-actions[bot]
authored andcommitted
Release build 11.40.0 [ci release]
1 parent 8f2a18f commit 12ef0eb

File tree

77 files changed

+933
-44
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+933
-44
lines changed

CHANGELOG.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
- Support Windows permission handling in nested iframes in DDG-WebView (#2027)
2-
- Default disable page-context features that aren't currently used (#2018)
3-
- jingram/subscription win back banner: Adds Subscription Win-Back Banner (#2014)
1+
- Add Subscription NextSteps card to NTP (#2019)
2+
- history: adding sites support (#1954)

build/apple/pages/history/dist/index.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -724,6 +724,20 @@ body {
724724
[data-theme=dark] .Sidebar_item:focus-visible {
725725
background: var(--color-white-at-6);
726726
}
727+
.Sidebar_item.Sidebar_item_sites {
728+
margin-top: 16px;
729+
}
730+
.Sidebar_item.Sidebar_item_sites::before {
731+
content: "";
732+
position: absolute;
733+
top: -8px;
734+
left: 16px;
735+
right: 16px;
736+
border-top: 1px solid var(--color-black-at-6);
737+
}
738+
[data-theme=dark] .Sidebar_item.Sidebar_item_sites::before {
739+
border-top: 1px solid var(--color-white-at-6);
740+
}
727741
.Sidebar_item:hover .Sidebar_delete[aria-disabled=true] {
728742
opacity: 0.3;
729743
cursor: default;

build/apple/pages/history/dist/index.js

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2857,6 +2857,10 @@
28572857
range_older: {
28582858
title: "Older",
28592859
note: "Label on a button that shows older history entries."
2860+
},
2861+
range_sites: {
2862+
title: "Sites",
2863+
note: "Label on a button that shows which sites have been visited"
28602864
}
28612865
};
28622866

@@ -3491,7 +3495,8 @@
34913495
"saturday",
34923496
"sunday",
34933497
"recentlyOpened",
3494-
"older"
3498+
"older",
3499+
"sites"
34953500
];
34963501
return valid.includes(input) ? (
34973502
/** @type {import('../types/history.js').RangeId} */
@@ -4368,7 +4373,7 @@
43684373
* @param {string} props.url - The text to be displayed for the item.
43694374
* @param {string} props.domain - The text to be displayed for the domain
43704375
* @param {number} props.kind - The kind or type of the item that determines its visual style.
4371-
* @param {string} props.dateTimeOfDay - the time of day, like 11.00am.
4376+
* @param {string} [props.dateTimeOfDay] - the time of day, like 11.00am.
43724377
* @param {string} props.dateRelativeDay - the time of day, like 11.00am.
43734378
* @param {string|null} props.etldPlusOne
43744379
* @param {number} props.index - original index
@@ -4404,7 +4409,7 @@
44044409
)),
44054410
/* @__PURE__ */ _("a", { href: props.url, "data-url": props.url, class: Item_default.entryLink, tabindex: 0 }, title),
44064411
/* @__PURE__ */ _("span", { class: Item_default.domain, "data-testid": "Item.domain", title: props.domain }, props.domain),
4407-
/* @__PURE__ */ _("span", { class: Item_default.time }, dateTimeOfDay),
4412+
dateTimeOfDay && /* @__PURE__ */ _("span", { className: Item_default.time }, dateTimeOfDay),
44084413
/* @__PURE__ */ _("button", { class: Item_default.dots, "data-action": BTN_ACTION_ENTRIES_MENU, "data-index": index, value: props.id, tabindex: -1 }, /* @__PURE__ */ _(Dots, null))
44094414
));
44104415
}
@@ -4616,6 +4621,7 @@
46164621
pageTitle: "Sidebar_pageTitle",
46174622
nav: "Sidebar_nav",
46184623
item: "Sidebar_item",
4624+
item_sites: "Sidebar_item_sites",
46194625
delete: "Sidebar_delete",
46204626
active: "Sidebar_active",
46214627
link: "Sidebar_link",
@@ -4657,7 +4663,8 @@
46574663
friday: "icons/day.svg",
46584664
saturday: "icons/day.svg",
46594665
sunday: "icons/day.svg",
4660-
older: "icons/older.svg"
4666+
older: "icons/older.svg",
4667+
sites: "icons/sites.svg"
46614668
};
46624669
var titleMap = {
46634670
all: (t4) => t4("range_all"),
@@ -4670,7 +4677,8 @@
46704677
friday: (t4) => t4("range_friday"),
46714678
saturday: (t4) => t4("range_saturday"),
46724679
sunday: (t4) => t4("range_sunday"),
4673-
older: (t4) => t4("range_older")
4680+
older: (t4) => t4("range_older"),
4681+
sites: (t4) => t4("range_sites")
46744682
};
46754683
function Sidebar({ ranges }) {
46764684
const { t: t4 } = useTypedTranslation();
@@ -4699,7 +4707,7 @@
46994707
if (range === "all" && current.value === null) {
47004708
return (0, import_classnames4.default)(Sidebar_default.item, Sidebar_default.active);
47014709
}
4702-
return (0, import_classnames4.default)(Sidebar_default.item, current.value === range && Sidebar_default.active);
4710+
return (0, import_classnames4.default)(Sidebar_default.item, current.value === range && Sidebar_default.active, Sidebar_default[`item_${range}`]);
47034711
});
47044712
return /* @__PURE__ */ _("div", { class: classNames, key: range }, /* @__PURE__ */ _(
47054713
"button",
@@ -4754,6 +4762,7 @@
47544762
case "thursday":
47554763
case "friday":
47564764
case "saturday":
4765+
case "sites":
47574766
case "sunday":
47584767
return { linkLabel: t4("show_history_for", { range }), buttonLabel: t4("delete_history_for", { range }) };
47594768
case "older":
Lines changed: 19 additions & 0 deletions
Loading

build/apple/pages/history/locales/en/history.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,9 @@
116116
"range_older": {
117117
"title": "Older",
118118
"note": "Label on a button that shows older history entries."
119+
},
120+
"range_sites": {
121+
"title": "Sites",
122+
"note": "Label on a button that shows which sites have been visited"
119123
}
120124
}

build/apple/pages/new-tab/dist/index.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7329,6 +7329,14 @@
73297329
title: t4("nextSteps_pinAppToTaskbarWindows_title"),
73307330
summary: t4("nextSteps_pinAppToTaskbarWindows_summary"),
73317331
actionText: t4("nextSteps_pinAppToTaskbarWindows_actionText")
7332+
}),
7333+
/** @param {(translationId: keyof enStrings) => string} t */
7334+
subscription: (t4) => ({
7335+
id: "subscription",
7336+
icon: "Subscription",
7337+
title: t4("nextSteps_subscription_title"),
7338+
summary: t4("nextSteps_subscription_summary"),
7339+
actionText: t4("nextSteps_subscription_actionText")
73327340
})
73337341
};
73347342
otherText = {
@@ -30083,6 +30091,18 @@
3008330091
title: "Pinned to Taskbar!",
3008430092
note: "Button text after clicking on the Next Steps card for adding DDG app to OS dock"
3008530093
},
30094+
nextSteps_subscription_title: {
30095+
title: "Unlock Your Free Trial",
30096+
note: "Title of the Next Steps card for unlocking your free trial of DuckDuckGo subscription"
30097+
},
30098+
nextSteps_subscription_summary: {
30099+
title: "Try our subscription featuring a VPN + 3 more premium features.",
30100+
note: "Summary of the Next Steps card about the DuckDuckGo subscription"
30101+
},
30102+
nextSteps_subscription_actionText: {
30103+
title: "Try Free for 7 Days",
30104+
note: "Button text of the Next Steps card for trying the DuckDuckGo subscription"
30105+
},
3008630106
favorites_show_less: {
3008730107
title: "Show less",
3008830108
note: "Button label to display fewer items"
Lines changed: 40 additions & 0 deletions
Loading

build/apple/pages/new-tab/locales/de/new-tab.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,18 @@
296296
"title" : "An die Taskleiste angeheftet!",
297297
"note" : "Button text after clicking on the Next Steps card for adding DDG app to OS dock"
298298
},
299+
"nextSteps_subscription_title" : {
300+
"title" : "Schalte deine kostenlose Testversion frei",
301+
"note" : "Title of the Next Steps card for unlocking your free trial of DuckDuckGo subscription"
302+
},
303+
"nextSteps_subscription_summary" : {
304+
"title" : "Teste unser Abonnement mit VPN + 3 weiteren Premium-Funktionen.",
305+
"note" : "Summary of the Next Steps card about the DuckDuckGo subscription"
306+
},
307+
"nextSteps_subscription_actionText" : {
308+
"title" : "7 Tage lang kostenlos testen",
309+
"note" : "Button text of the Next Steps card for trying the DuckDuckGo subscription"
310+
},
299311
"favorites_show_less" : {
300312
"title" : "Weniger anzeigen",
301313
"note" : "Button label to display fewer items"

build/apple/pages/new-tab/locales/en/new-tab.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,18 @@
297297
"title": "Pinned to Taskbar!",
298298
"note": "Button text after clicking on the Next Steps card for adding DDG app to OS dock"
299299
},
300+
"nextSteps_subscription_title": {
301+
"title": "Unlock Your Free Trial",
302+
"note": "Title of the Next Steps card for unlocking your free trial of DuckDuckGo subscription"
303+
},
304+
"nextSteps_subscription_summary": {
305+
"title": "Try our subscription featuring a VPN + 3 more premium features.",
306+
"note": "Summary of the Next Steps card about the DuckDuckGo subscription"
307+
},
308+
"nextSteps_subscription_actionText": {
309+
"title": "Try Free for 7 Days",
310+
"note": "Button text of the Next Steps card for trying the DuckDuckGo subscription"
311+
},
300312
"favorites_show_less": {
301313
"title": "Show less",
302314
"note": "Button label to display fewer items"

build/apple/pages/new-tab/locales/es/new-tab.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,18 @@
296296
"title" : "¡Anclada a tu barra de tareas!",
297297
"note" : "Button text after clicking on the Next Steps card for adding DDG app to OS dock"
298298
},
299+
"nextSteps_subscription_title" : {
300+
"title" : "Accede a tu prueba gratuita",
301+
"note" : "Title of the Next Steps card for unlocking your free trial of DuckDuckGo subscription"
302+
},
303+
"nextSteps_subscription_summary" : {
304+
"title" : "Prueba nuestra suscripción con una VPN y 3 funciones prémium adicionales.",
305+
"note" : "Summary of the Next Steps card about the DuckDuckGo subscription"
306+
},
307+
"nextSteps_subscription_actionText" : {
308+
"title" : "Prueba gratuita durante 7 días",
309+
"note" : "Button text of the Next Steps card for trying the DuckDuckGo subscription"
310+
},
299311
"favorites_show_less" : {
300312
"title" : "Mostrar menos",
301313
"note" : "Button label to display fewer items"

0 commit comments

Comments
 (0)