Skip to content

Commit ece3624

Browse files
shakyShanegithub-actions[bot]
authored andcommitted
Release build 7.24.0 [ci release]
1 parent f7c579b commit ece3624

Some content is hidden

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

42 files changed

+1951
-1077
lines changed

.github/workflows/build-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
- name: Checkout repository
1616
uses: actions/checkout@v4
1717

18-
- name: Use Node.js 20
18+
- name: Use Node.js
1919
uses: actions/setup-node@v4
2020
with:
21-
node-version: 20.x
21+
node-version-file: '.nvmrc'
2222
- uses: actions/cache@v4
2323
with:
2424
path: ~/.npm

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/checkout@v4
1616
- uses: actions/setup-node@v4
1717
with:
18-
node-version: 20
18+
node-version-file: '.nvmrc'
1919
cache: 'npm'
2020

2121
- name: Fetch files and ensure branches exist

.github/workflows/tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
os: [ubuntu-latest, windows-latest]
2121
steps:
2222
- uses: actions/checkout@v4
23-
- name: Use Node.js 20
23+
- name: Use Node.js
2424
uses: actions/setup-node@v4
2525
with:
26-
node-version: 20.x
26+
node-version-file: '.nvmrc'
2727
- uses: actions/cache@v4
2828
with:
2929
path: ~/.npm
@@ -42,10 +42,10 @@ jobs:
4242
timeout-minutes: 10
4343
steps:
4444
- uses: actions/checkout@v4
45-
- name: Use Node.js 20
45+
- name: Use Node.js
4646
uses: actions/setup-node@v4
4747
with:
48-
node-version: 20.x
48+
node-version-file: '.nvmrc'
4949
- uses: actions/cache@v4
5050
with:
5151
path: ~/.npm
@@ -85,10 +85,10 @@ jobs:
8585
url: ${{ steps.deployment.outputs.page_url }}
8686
steps:
8787
- uses: actions/checkout@v4
88-
- name: Use Node.js 20
88+
- name: Use Node.js
8989
uses: actions/setup-node@v4
9090
with:
91-
node-version: 20.x
91+
node-version-file: '.nvmrc'
9292
- name: Cache build outputs
9393
id: docs-output
9494
uses: actions/cache@v4

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20
1+
22

CHANGELOG.txt

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
- history: adding multi-select (#1487)
2-
- Fixed post-loaded error detection (#1519)
3-
- build(deps-dev): bump @duckduckgo/privacy-configuration (#1514)
4-
- build(deps): bump @atlaskit/pragmatic-drag-and-drop from 1.4.0 to 1.5.0 (#1450)
5-
- build(deps-dev): bump eslint in the eslint group across 1 directory (#1517)
6-
- build(deps-dev): bump rollup in the rollup group across 1 directory (#1498)
7-
- build(deps-dev): bump the typescript group across 1 directory with 4 updates (#1515)
8-
- build(deps-dev): bump @playwright/test from 1.49.1 to 1.50.1 (#1455)
9-
- build(deps-dev): bump esbuild from 0.24.2 to 0.25.0 (#1477)
10-
- build(deps): bump @rive-app/canvas-single from 2.25.3 to 2.26.3 (#1505)
11-
- build(deps-dev): bump typescript-eslint from 8.23.0 to 8.25.0 (#1513)
12-
- build(deps-dev): bump jasmine and @types/jasmine (#1512)
13-
- making the favicon component re-usable (#1510)
14-
- fixed flakey test with comparing titles (#1508)
1+
- history: ship review changes (#1522)
2+
- build(deps-dev): bump prettier from 3.4.2 to 3.5.3 (#1528)
3+
- Node 22 + use .nvmrc as single place to define version (#1523)

Sources/ContentScopeScripts/dist/pages/history/dist/index.css

Lines changed: 64 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -263,18 +263,27 @@ body {
263263
background-color: var(--history-background-color);
264264
}
265265
.App_layout {
266+
--sidebar-width: 250px;
267+
--main-padding-left: 48px;
268+
--main-padding-right: 76px;
269+
--windows-scrollbar: 15px;
266270
display: grid;
267-
grid-template-columns: 250px 1fr;
271+
grid-template-columns: var(--sidebar-width) 1fr;
268272
grid-template-rows: max-content 1fr;
269273
grid-template-areas: "aside header" "aside main";
270274
overflow: hidden;
271275
height: 100vh;
272276
background-color: var(--history-background-color);
273277
}
278+
.App_layout[data-layout-mode=reduced] {
279+
--sidebar-width: 230px;
280+
--main-padding-left: 28px;
281+
--main-padding-right: 56px;
282+
}
274283
.App_header {
275284
grid-area: header;
276-
padding-left: 48px;
277-
padding-right: 76px;
285+
padding-left: var(--main-padding-left);
286+
padding-right: var(--main-padding-right);
278287
}
279288
.App_search {
280289
justify-self: flex-end;
@@ -287,23 +296,16 @@ body {
287296
.App_main {
288297
grid-area: main;
289298
overflow: auto;
290-
padding-left: 48px;
291-
padding-right: 76px;
299+
padding-left: var(--main-padding-left);
300+
padding-right: var(--main-padding-right);
292301
padding-top: 24px;
293302
}
294303
.App_customScroller {
295304
overflow-y: scroll;
305+
scrollbar-gutter: stable;
296306
}
297-
.App_customScroller::-webkit-scrollbar {
298-
width: 12px;
299-
}
300-
.App_customScroller::-webkit-scrollbar-track {
301-
border-radius: 6px;
302-
}
303-
.App_customScroller::-webkit-scrollbar-thumb {
304-
background: rgb(108, 108, 108);
305-
border: 4px solid var(--history-background-color);
306-
border-radius: 6px;
307+
[data-platform=windows] .App_customScroller {
308+
padding-right: calc(var(--main-padding-right) - var(--windows-scrollbar));
307309
}
308310

309311
/* pages/history/app/components/Header.module.css */
@@ -410,7 +412,8 @@ body {
410412
.Item_item {
411413
}
412414
.Item_title {
413-
height: 32px;
415+
--title-height: 32px;
416+
height: var(--title-height);
414417
width: 100%;
415418
font-size: var(--title-3-em-font-size);
416419
font-weight: var(--title-3-em-font-weight);
@@ -424,7 +427,8 @@ body {
424427
position: relative;
425428
}
426429
.Item_row {
427-
height: 28px;
430+
--row-height: 28px;
431+
height: var(--row-height);
428432
display: flex;
429433
gap: 8px;
430434
align-items: center;
@@ -444,8 +448,7 @@ body {
444448
color: var(--row-color);
445449
border-radius: var(--row-radius);
446450
}
447-
.Item_hover:hover,
448-
.Item_hover:focus-within {
451+
.Item_hover:hover {
449452
--dots-opacity: visible;
450453
--time-opacity: 0;
451454
--time-visibility: hidden;
@@ -464,18 +467,20 @@ body {
464467
--row-color: var(--color-white-at-84);
465468
--dots-bg-hover: var(--color-white-at-9);
466469
}
467-
[data-is-selected=true] .Item_row {
468-
border-radius: 0;
469-
}
470-
[data-is-selected=true]:first-of-type .Item_row,
471-
[data-is-selected=true]:not([data-is-selected=true] + [data-is-selected=true]) .Item_row {
472-
border-top-left-radius: var(--row-radius);
473-
border-top-right-radius: var(--row-radius);
474-
}
475-
[data-is-selected=true]:last-of-type .Item_row,
476-
[data-is-selected=true]:not(:has(+ [data-is-selected=true])) .Item_row {
477-
border-bottom-left-radius: var(--row-radius);
478-
border-bottom-right-radius: var(--row-radius);
470+
@supports selector(:has(*)) {
471+
[data-is-selected=true] .Item_row {
472+
border-radius: 0;
473+
}
474+
[data-is-selected=true]:first-of-type .Item_row,
475+
[data-is-selected=true]:not([data-is-selected=true] + [data-is-selected=true]) .Item_row {
476+
border-top-left-radius: var(--row-radius);
477+
border-top-right-radius: var(--row-radius);
478+
}
479+
[data-is-selected=true]:last-of-type .Item_row,
480+
[data-is-selected=true]:not(:has(+ [data-is-selected=true])) .Item_row {
481+
border-bottom-left-radius: var(--row-radius);
482+
border-bottom-right-radius: var(--row-radius);
483+
}
479484
}
480485
.Item_favicon {
481486
flex-shrink: 0;
@@ -490,6 +495,7 @@ body {
490495
text-overflow: ellipsis;
491496
text-decoration: none;
492497
color: inherit;
498+
line-height: var(--row-height);
493499
}
494500
.Item_domain {
495501
font-weight: 400;
@@ -500,10 +506,8 @@ body {
500506
overflow: hidden;
501507
text-overflow: ellipsis;
502508
}
503-
@media screen and (min-width: 800px) {
504-
.Item_domain {
505-
flex-shrink: 0;
506-
}
509+
[data-layout-mode=normal] .Item_domain {
510+
flex-shrink: 0;
507511
}
508512
.Item_domain:before {
509513
content: "- ";
@@ -513,6 +517,8 @@ body {
513517
flex-shrink: 0;
514518
opacity: var(--time-opacity);
515519
visibility: var(--time-visibility);
520+
font-feature-settings: "tnum";
521+
font-variant-numeric: tabular-nums;
516522
}
517523
.Item_dots {
518524
position: absolute;
@@ -535,9 +541,6 @@ body {
535541
.Item_dots:hover {
536542
background: var(--dots-bg-hover);
537543
}
538-
.Item_dots:focus-visible {
539-
opacity: 1;
540-
}
541544
.Item_last {
542545
margin-bottom: 24px;
543546
}
@@ -646,6 +649,7 @@ body {
646649
.Sidebar_item {
647650
position: relative;
648651
border-radius: 8px;
652+
display: flex;
649653
}
650654
.Sidebar_item:hover,
651655
.Sidebar_item:focus-visible {
@@ -655,6 +659,22 @@ body {
655659
[data-theme=dark] .Sidebar_item:focus-visible {
656660
background: var(--color-white-at-6);
657661
}
662+
.Sidebar_item:hover .Sidebar_delete[aria-disabled=true] {
663+
opacity: 0.3;
664+
cursor: default;
665+
}
666+
.Sidebar_active {
667+
background: var(--color-black-at-12);
668+
}
669+
.Sidebar_active:hover {
670+
background: var(--color-black-at-18);
671+
}
672+
[data-theme=dark] .Sidebar_active {
673+
background: var(--color-white-at-9);
674+
}
675+
[data-theme=dark] .Sidebar_active:hover {
676+
background: var(--color-white-at-12);
677+
}
658678
.Sidebar_link {
659679
height: 40px;
660680
display: flex;
@@ -665,19 +685,16 @@ body {
665685
font-weight: 510;
666686
color: var(--history-text-normal);
667687
gap: 6px;
668-
}
669-
.Sidebar_active {
670-
background: var(--color-black-at-12);
671-
}
672-
[data-theme=dark] .Sidebar_active {
673-
background: var(--color-white-at-9);
688+
border: 0;
689+
box-shadow: none;
690+
background: transparent;
691+
flex: 1;
692+
white-space: normal;
693+
text-align: left;
674694
}
675695
.Sidebar_delete {
676696
height: 40px;
677697
width: 40px;
678-
position: absolute;
679-
top: 0;
680-
right: 0;
681698
display: flex;
682699
align-items: center;
683700
justify-content: center;
@@ -713,10 +730,6 @@ body {
713730
.Sidebar_delete svg path {
714731
fill-opacity: 0.6;
715732
}
716-
.Sidebar_item:hover .Sidebar_delete[aria-disabled=true] {
717-
opacity: 0.3;
718-
cursor: default;
719-
}
720733
.Sidebar_icon {
721734
width: 16px;
722735
height: 16px;

0 commit comments

Comments
 (0)