Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
287 commits
Select commit Hold shift + click to select a range
a141d30
[chore] tried to fix core esm build
ilyabrower Mar 28, 2025
484b35a
[chore] tried to fix core esm build
ilyabrower Mar 28, 2025
71e7c5b
[chore] fixed base-components esm build
ilyabrower Mar 28, 2025
72c127c
New data table (#2053)
ilyabrower Mar 31, 2025
10fb0a8
[data-table] fixed build
ilyabrower Mar 31, 2025
5f016c5
[data-table] fixed build
ilyabrower Mar 31, 2025
246a4b1
[website] fixed style import
ilyabrower Mar 31, 2025
b5e4cb5
[chore] Merge branch 'master' into major/16
ilyabrower Apr 3, 2025
4295035
[UIK-2371][wizard] update styles (#2068)
ilyabrower Apr 4, 2025
0a9910a
[icon] fixed changelog note
ilyabrower Apr 4, 2025
7825b79
[chore] Merge branch 'master' into major/16
ilyabrower Apr 4, 2025
6c0f431
New data table (#2069)
ilyabrower Apr 4, 2025
3e6c4d3
[date-picker] added isBetween plugin inside because of both builds - …
ilyabrower Apr 4, 2025
f08fcd0
[data-table] UIK-3500
ilyabrower Apr 7, 2025
3786e8a
[data-table] UIK-3459
ilyabrower Apr 7, 2025
0081847
[data-table] UIK-3504
ilyabrower Apr 7, 2025
92d9f5e
[data-table] UIK-3476 - scroll in head
ilyabrower Apr 7, 2025
55a3bd9
[data-table] UIK-3468 - grouped header
ilyabrower Apr 7, 2025
ec2c63f
[data-table] UIK-3506
ilyabrower Apr 7, 2025
2320b1d
[data-table] UIK-3460
ilyabrower Apr 7, 2025
0373a67
[data-table] UIK-3495
ilyabrower Apr 7, 2025
54ce2a4
[data-table] UIK-3505
ilyabrower Apr 7, 2025
bbdb28c
[data-table] UIK-2493
ilyabrower Apr 7, 2025
dce340a
[data-table] UIK-3644
ilyabrower Apr 7, 2025
7edb6b4
[data-table] UIK-3208
ilyabrower Apr 7, 2025
19a60e3
[data-table] UIK-3483 accordion
ilyabrower Apr 7, 2025
4546165
[chore] UIK-3299
ilyabrower Apr 8, 2025
dc1dd88
[data-table] UIK-3495
ilyabrower Apr 8, 2025
9f99d73
[data-table] UIK-3495
ilyabrower Apr 8, 2025
de94f57
[data-table] UIK-3529
ilyabrower Apr 8, 2025
fc6526d
[data-table] UIK-3530
ilyabrower Apr 8, 2025
4ec7f67
[data-table] UIK-3507
ilyabrower Apr 8, 2025
9288d09
[data-table] UIK-3506
ilyabrower Apr 8, 2025
aaa78bc
[data-table] UIK-3041
ilyabrower Apr 8, 2025
80e3c13
[data-table] UIK-3476
ilyabrower Apr 8, 2025
26c74aa
[data-table] UIK-2493
ilyabrower Apr 8, 2025
fe5df20
[data-table] UIK-2493
ilyabrower Apr 8, 2025
06df6bc
[data-table] UIK-2493
ilyabrower Apr 8, 2025
9df65d6
[data-table] UIK-2493
ilyabrower Apr 8, 2025
c9fdcd6
[data-table] UIK-3506
ilyabrower Apr 9, 2025
608e13f
[data-table] UIK-3208
ilyabrower Apr 9, 2025
73e5262
[data-table] UIK-2292 improve merging cell for SR
ilyabrower Apr 9, 2025
3dcda63
[data-table] fixed examples for using new columnName prop instead of …
ilyabrower Apr 9, 2025
5930d5a
[data-table] UIK-2294 fixed paddings in accordions
ilyabrower Apr 9, 2025
4fbd811
[data-table] UIK-3472
ilyabrower Apr 9, 2025
c2f6129
[data-table, ellipsis] UIK-3463
ilyabrower Apr 9, 2025
5692dcb
[data-table] UIK-3533
ilyabrower Apr 9, 2025
f6634c4
[data-table] UIK-3459
ilyabrower Apr 9, 2025
080870e
[data-table] renderCell with record and reactNode
ilyabrower Apr 9, 2025
8666191
[data-table] UIK-3536
ilyabrower Apr 10, 2025
7eae3da
[data-table] UIK-2294 set aria-expand only for rows with expandable c…
ilyabrower Apr 10, 2025
6adf599
[data-table] UIK-2292 scope for grouped cells
ilyabrower Apr 10, 2025
0442955
[data-table] UIK-3538 withEllipsis flag instead of tag
ilyabrower Apr 10, 2025
e24ca4c
[data-table] UIK-3538 withEllipsis flag instead of tag
ilyabrower Apr 10, 2025
3ce9de8
[data-table] UIK-3536 added inert for table cell while loading
ilyabrower Apr 10, 2025
2de4a94
[data-table] updated data-groupd-by value after changed in code
ilyabrower Apr 10, 2025
269af46
[data-table] UIK-3538
ilyabrower Apr 10, 2025
de0afa2
[data-table] UIK-3536
ilyabrower Apr 10, 2025
523c7a8
[data-table] UIK-3536
ilyabrower Apr 10, 2025
9d2de3d
[data-table] fixed build
ilyabrower Apr 10, 2025
b6e86c0
[chore] Merge branch 'new-data-table' of github.com:semrush/intergala…
ilyabrower Apr 10, 2025
3335fc0
[data-table] accordions in any cell + types for cell value
ilyabrower Apr 10, 2025
e2080f5
[data-table] accordions in any cell + types for cell value
ilyabrower Apr 10, 2025
5c028d7
[chore] updated exports in ui and scripts for their generation
ilyabrower Apr 10, 2025
c98d468
[data-table] fixed build
ilyabrower Apr 10, 2025
a53a8f1
[data-table] fixed
ilyabrower Apr 10, 2025
31d1e4f
[data-table] upd tests and test stories
Valeria-Zimnitskaya Apr 10, 2025
673221f
[data-table] upd tests and test stories
Valeria-Zimnitskaya Apr 10, 2025
f0d9959
[chore] Merge branch 'major/16' into new-data-table
ilyabrower Apr 11, 2025
9c0fadf
[chore] Merge branch 'new-data-table' of github.com:semrush/intergala…
ilyabrower Apr 11, 2025
4fdf31d
[website] fixed tables in docs
ilyabrower Apr 11, 2025
e8d9328
[ellipsis] rollback changes
ilyabrower Apr 11, 2025
1547529
[ellipsis] rollback changes
ilyabrower Apr 11, 2025
63120d1
[stories] added data table test with multiple tooltips
Valeria-Zimnitskaya Apr 11, 2025
0dfeadb
[chore] Merge branch 'master' into major/16
ilyabrower Apr 11, 2025
822ff22
[data-table] fixed keyboard navigation UIK-3542
ilyabrower Apr 14, 2025
9a29c74
[data-table] added columns with no data (technical columns)
ilyabrower Apr 14, 2025
0335342
[data-table] improve sticky header + fixed row for accordion
ilyabrower Apr 14, 2025
baec44b
[data-table] UIK-3558 fixed merging
ilyabrower Apr 15, 2025
595ef43
[data-table] UIK-3540 added bg-colors for rows/cells with accordions
ilyabrower Apr 15, 2025
feb0f1d
[data-table, scroll-area] added optional scroll to content after focu…
ilyabrower Apr 15, 2025
3183959
[data-table] fixed focus for multiple merged cells
ilyabrower Apr 15, 2025
9eef40d
[data-table] fixed bg for table-in-table
ilyabrower Apr 15, 2025
d6b615e
[stories] added merging stories
Valeria-Zimnitskaya Apr 15, 2025
3349941
[data-table] added some tests for accordion
Valeria-Zimnitskaya Apr 16, 2025
8ee3b10
[data-table] added some tests for accordion
Valeria-Zimnitskaya Apr 16, 2025
1466a00
[data-table] fixed examples - added h=100% for correct scrolling
ilyabrower Apr 16, 2025
142b094
[tooltip, base-components] fixed single tooltip to use portal context…
ilyabrower Apr 16, 2025
cd7f260
[UIK-3521][data-table] virtualization (#2080)
ilyabrower Apr 16, 2025
e9a7e67
[core] fixed ref check
ilyabrower Apr 16, 2025
ad7cc25
[data-table] new api
ilyabrower Apr 16, 2025
51ada4a
[tooltip] UIK-3572 fixed tooltip container for different html nodes
ilyabrower Apr 16, 2025
3801f85
[tooltip] UIK-3572 fixed tooltip container for different html nodes
ilyabrower Apr 16, 2025
a603ab6
[data-table] new api
ilyabrower Apr 16, 2025
0a3e261
[data-table] new api - fixed examples
ilyabrower Apr 16, 2025
880920d
[data-table] new api - fixed types
ilyabrower Apr 17, 2025
5880ce9
[stories] upd one story
Valeria-Zimnitskaya Apr 17, 2025
a685c3f
[tooltip] UIK-3572 fixed tooltip container for different html nodes
ilyabrower Apr 17, 2025
c939490
[tooltip] UIK-3572 fixed tooltip container for different html nodes
ilyabrower Apr 17, 2025
c2db891
[chore] Merge branch 'major/16' into new-data-table-api
ilyabrower Apr 17, 2025
d232930
[tooltip] UIK-3572 fixed tooltip container for tests
ilyabrower Apr 17, 2025
2e1de67
[stories] update some height for data table examples
Valeria-Zimnitskaya Apr 17, 2025
b87aed1
[UIK-3544] Nothing found table example (#2081)
sheila-semrush Apr 17, 2025
922f6a4
[data-table, tooltip] fixed keyboard behavior
ilyabrower Apr 17, 2025
60cfa9e
[data-table, tooltip] fixed keyboard behavior
ilyabrower Apr 17, 2025
e75e7ba
[chore] Merge branch 'major/16' of github.com:semrush/intergalactic i…
ilyabrower Apr 17, 2025
cccf4b9
[chore] Merge branch 'major/16' into new-data-table-api
ilyabrower Apr 17, 2025
6998e29
[chore] Merge branch 'new-data-table-api' of github.com:semrush/inter…
ilyabrower Apr 17, 2025
29d93d9
[data-table] fixed fixed-headers
ilyabrower Apr 17, 2025
87d1bf2
[data-table] fixed ref for columns
ilyabrower Apr 17, 2025
97aed60
[data-table] update test
Valeria-Zimnitskaya Apr 17, 2025
7cbbec8
[tooltip] test story
Valeria-Zimnitskaya Apr 17, 2025
4db9696
[data-table] removed unnecessary tooltip from heade cells
ilyabrower Apr 17, 2025
1108ca0
[data-table] snapshots and some tests update
Valeria-Zimnitskaya Apr 17, 2025
928359d
[data-table] added roles for spin
ilyabrower Apr 17, 2025
b2f831e
[chore] Merge branch 'new-data-table-api' of github.com:semrush/inter…
ilyabrower Apr 17, 2025
471db1d
[chore] Merge branch 'major/16' into new-data-table-api
ilyabrower Apr 17, 2025
3e14972
[chore] fixed exports
ilyabrower Apr 17, 2025
9807ad2
[UIK-3372][Tag] update styles (#2073)
j-mnizhek Apr 17, 2025
57211cb
[UIK-3443][format-text] remove hint from examples, moved styles to Te…
ilyabrower Apr 17, 2025
236313b
[data-table] fixed types
ilyabrower Apr 17, 2025
945b899
[chore] fixed lint and tests
ilyabrower Apr 17, 2025
248b3ef
[website] linter fix
ilyabrower Apr 17, 2025
4d7e317
[data-table] update tests
Valeria-Zimnitskaya Apr 17, 2025
8748933
[data-table] update tests
Valeria-Zimnitskaya Apr 17, 2025
655482b
[tooltip] fixed for working on ssr
ilyabrower Apr 17, 2025
c9c09bc
[chore] Merge branch 'major/16' of github.com:semrush/intergalactic i…
ilyabrower Apr 17, 2025
d90fa31
[stories] added story with links and hints
Valeria-Zimnitskaya Apr 22, 2025
1f5b7dd
[data-table] update tests and sapshot
Valeria-Zimnitskaya May 1, 2025
4d183e5
[data-table] update tests and sapshot
Valeria-Zimnitskaya May 1, 2025
d9255fa
[data-table] update test stories and tests with snashots on new api
Valeria-Zimnitskaya May 1, 2025
9bc7194
[data-table] render time test
Valeria-Zimnitskaya May 2, 2025
bb19e7a
[data-table] render time test
Valeria-Zimnitskaya May 2, 2025
6290d83
[data-table] render time test
Valeria-Zimnitskaya May 2, 2025
17bdf44
[data-table] added new cases
Valeria-Zimnitskaya May 2, 2025
15f939e
[data-table] updated tests and snapshots
Valeria-Zimnitskaya May 2, 2025
09307c6
[data-table] updated tests and snapshots
Valeria-Zimnitskaya May 2, 2025
06c4b2f
[data-table] added test for diff in render between 1st and last row
Valeria-Zimnitskaya May 7, 2025
a6fa5cf
[UIK-3633][base-trigger] loading state (#2099)
ilyabrower May 8, 2025
f40ad1d
[data-table] fixed accordion with render cells (#2097)
ilyabrower May 8, 2025
a8b7373
[UIK-3574][base-trigger] invalid outline color (#2108)
ilyabrower May 8, 2025
f877db7
[UIK-3638][data-table] fixed spin example (#2100)
ilyabrower May 8, 2025
f230fdf
[UIK-3636][pills] outline for hevered (#2106)
ilyabrower May 8, 2025
2bf3e83
[UIK-3587][scroll-area,core] fixed dynamic scroll-area example (by fi…
ilyabrower May 8, 2025
b78223d
[UIK-3637][pills] selected view (#2107)
ilyabrower May 8, 2025
7693f5b
[UIK-3639][data-table] columns refs (#2101)
ilyabrower May 8, 2025
09aea88
[UIK-3590][data-table] click not sortable columns (#2102)
ilyabrower May 8, 2025
acfa04b
[UIK-3573][tooltip] correct width (#2109)
ilyabrower May 8, 2025
defd76b
[UIK-3622][stories] fixed example with interactive elements in header…
ilyabrower May 8, 2025
a065c4d
[UIK-3629][data-table] accordion with sorting (#2111)
ilyabrower May 9, 2025
94616b7
[UIK-3621][data-table] groups with columns config (#2104)
ilyabrower May 9, 2025
051df6e
[UIK-3546] hint in link (#2112)
ilyabrower May 9, 2025
636b8d5
[stories] fixed example with interactive elements in cell (#2116)
ilyabrower May 9, 2025
3de8b2d
[UIK-3591][data-table] navigate to megred row from header (#2115)
ilyabrower May 9, 2025
5c8fc57
[UIK-3562][data-table] fixed navigation in table with merged columns …
ilyabrower May 9, 2025
8346f1c
[UIK-3630][data-table] inline edit example (#2122)
ilyabrower May 9, 2025
82555e5
[UIK-3631][data-table] semi donuts (#2121)
ilyabrower May 9, 2025
83418cb
[UIK-3626][data-table] top header property (#2103)
ilyabrower May 9, 2025
dfced00
[UIK-3625][data-table] accordion with fixed columns (#2120)
ilyabrower May 9, 2025
92a007d
[UIK-3532][data-table] focusable header dirty hack (#2124)
ilyabrower May 13, 2025
70aa82d
[UIK-3650][data-table] accordion keyboard nav (#2123)
ilyabrower May 13, 2025
8c5084d
[UIK-3628][data-table] states examples (#2127)
ilyabrower May 13, 2025
0179d46
[UIK-3567][data-table] virtualization issues (#2128)
ilyabrower May 13, 2025
7283042
[UIK-3568][data-table] virtualization with accordions (#2129)
ilyabrower May 13, 2025
750fa09
[UIK-3593][data-table] accordion sr expand (#2125)
ilyabrower May 13, 2025
986068d
[UIK-3634][data-table] sorting improvements (#2130)
ilyabrower May 14, 2025
e71e73c
[UIK-3663][data-table] total rows calculation (#2132)
ilyabrower May 14, 2025
3e9f340
[UIK-3657][data-table] sticky example (#2133)
ilyabrower May 14, 2025
dcb8ce1
[UIK-3662][website] new tables in design tokens (#2134)
ilyabrower May 14, 2025
66b54bb
[UIK-3659][data-table] virtualization rows merging (#2135)
ilyabrower May 14, 2025
2ce2f33
[UIK-3666][data-table] accordion button outline (#2136)
ilyabrower May 14, 2025
38eeeac
[UIK-3634][data-table] side indents (#2137)
ilyabrower May 14, 2025
58338d8
[chore] Merge branch 'master' into major/16
ilyabrower May 14, 2025
bf3dcfc
[UIK-3656][data-table] added clickable rows/cells in tables with acco…
ilyabrower May 15, 2025
48882c4
[UIK-2649][data-table] checkbox in table (#2078)
ilyabrower May 15, 2025
f8c4f9e
[UIK-3299][data-table] perf (#2143)
ilyabrower May 16, 2025
1ce4e56
[docs] added customization to empty table example (#2140)
sheila-semrush May 16, 2025
deb655f
[UIK-3675][carousel] focus visible (#2144)
ilyabrower May 16, 2025
67e5786
[UIK-3682][select] fixed InputSearch props (#2147)
ilyabrower May 16, 2025
5ca09d7
[UIK-3681][stories] numeric slider fix (#2146)
ilyabrower May 16, 2025
eb20732
[data-table] Pointer cursor on Accordion (#2149)
sheila-semrush May 16, 2025
fc5688f
[data-table] renamed sideIndents value from l to wide (#2150)
sheila-semrush May 16, 2025
bbf2206
[UIK-3684][data-table] fixed accordion toggle position styles (#2151)
ilyabrower May 16, 2025
98a3190
[data-table] pointer cursor for checkbox cells (#2152)
sheila-semrush May 16, 2025
24de22d
Major/update tests (#2142)
Valeria-Zimnitskaya May 19, 2025
92ac685
[UIK-3687][data-table] fixed keyboard navigation with accordions (#2155)
ilyabrower May 19, 2025
e8f5ce7
[UIK-3685][data-table] fixed checbox handlers in table (#2153)
ilyabrower May 19, 2025
79184fe
[UIK-3686][tooltip] fixed timer for shown tooltip (#2154)
ilyabrower May 19, 2025
ef215ec
[UIK-3680][chore] updated major date and removed unused keyboardFocus…
ilyabrower May 19, 2025
00e723f
[UIK-2722][docs] Action bar and checkbox documentation (#2157)
sheila-semrush May 19, 2025
3aaa1f2
[data-table] removed old jsx api (#2159)
ilyabrower May 19, 2025
cfcc72b
[data-table] added exports to types
ilyabrower May 19, 2025
dec2647
[data-table] added tooltip as type only
ilyabrower May 19, 2025
1f913f3
[carousel] added some timeouts
Valeria-Zimnitskaya May 19, 2025
f376683
[carousel] added some timeouts
Valeria-Zimnitskaya May 19, 2025
9d221f1
[stories] update data tbale for accordion stories
Valeria-Zimnitskaya May 19, 2025
18277e6
[stories] update data table accordion stories
Valeria-Zimnitskaya May 19, 2025
0a7d110
[UIK-3651] table docs review (#2160)
sheila-semrush May 19, 2025
c1c2004
[illustration] added build for esm
ilyabrower May 19, 2025
c45e81b
[chore] Merge branch 'major/16' of github.com:semrush/intergalactic i…
ilyabrower May 19, 2025
c23b2cd
[illustration] added build for esm
ilyabrower May 19, 2025
3933731
[chore] bumped versions of @semcore/tag@16.0.0, @semcore/input-number…
semrush-ci-whale May 19, 2025
6ff6f65
[data-table] added axe for new docs example and some test updates
Valeria-Zimnitskaya May 20, 2025
7c2e251
[data-table] added axe for new docs example and some test updates
Valeria-Zimnitskaya May 20, 2025
70c2f14
[data-table] update test
Valeria-Zimnitskaya May 20, 2025
1e1d8d8
[chore] Merge branch 'major/16' of github.com:semrush/intergalactic i…
ilyabrower May 20, 2025
b95b6d1
[chore] changed CI branch to release/v16
ilyabrower May 20, 2025
9f70f0c
[chore] removed publish-website wf
ilyabrower May 20, 2025
790a92b
[chore] removed publish-website and publish-storybook wf
ilyabrower May 20, 2025
aeff394
[UIK-3697][website] added description to AccessToCells example (#2164)
ilyabrower May 21, 2025
93f5602
[data-table] fixed types
ilyabrower May 21, 2025
4baa953
[chore] fixed releases for v16
ilyabrower May 21, 2025
0568c3b
[chore] fixed releases for v16
ilyabrower May 21, 2025
3781b94
[UIK-3438][chore] replaced intergalactic to semcore in imports (#2165)
ilyabrower May 21, 2025
5c50666
[UIK-3589][chore] added hashed names to bundled storybook (#2145)
ilyabrower May 21, 2025
b4b3b06
[UIK-3438][stories] some type fixes (#2168)
ilyabrower May 21, 2025
21658b6
[UIK-3305][stories] added all icons and all illustrations stories (#2…
ilyabrower May 22, 2025
227332e
[chore] update playwright config (#2169)
Valeria-Zimnitskaya May 22, 2025
7b65f34
[UIK-3700][data-table] fixed sortable column width on the initial ren…
ilyabrower May 22, 2025
e081a79
[UIK-2618][website] fixed types parser (#2161)
ilyabrower May 22, 2025
1c541fd
[UIK-3618] Added PRToolkit icon (#2172)
sheila-semrush May 22, 2025
e69b75e
[UIK-3704][data-table] added accordions for merged rows (#2170)
ilyabrower May 22, 2025
f2434b9
Fix esm in v16 (#2173)
ilyabrower May 23, 2025
f3060a0
[data-table] upd test
Valeria-Zimnitskaya May 23, 2025
18e55eb
[color-picker] update timeouts in test
Valeria-Zimnitskaya May 23, 2025
fb378c5
[color-picker] update timeouts in test
Valeria-Zimnitskaya May 23, 2025
1efcf2f
[chore] uncomment getUpdatedPackages to process only updated componen…
ilyabrower May 23, 2025
96c7fe6
Merge release tag into master (#2175)
semrush-ci-whale May 23, 2025
17064fe
[chore] added first changelog note for the 16th major
ilyabrower May 23, 2025
340d706
[UIK-3457][website] versions collapse (#2158)
ilyabrower May 23, 2025
cbac0b9
[UIK-3431][chore] removed automated screen reader testing reports (#2…
ilyabrower May 23, 2025
011380b
[UIK-3606][icon] added new chartVenn icon (#2180)
sheila-semrush May 27, 2025
febe827
[UIK-3213][website] added check to dead links (#2163)
ilyabrower May 27, 2025
44dbad0
[chore] updated version of csstype (#2166)
ilyabrower May 27, 2025
c4115b8
[docs] fixed font weight in sub step in wizard example (#2179)
sheila-semrush May 28, 2025
f634c28
[UIK-3694] review other docs after major (#2177)
sheila-semrush May 28, 2025
093dbd8
[chore] updated lock file
ilyabrower May 28, 2025
1afe676
[UIK-3696][website] added notice about major version change (#2178)
sheila-semrush May 28, 2025
c1e52d0
[chore] Revert "[chore] updated lock file"
ilyabrower May 28, 2025
8d36912
[chore] Merge branch 'release/v16' of github.com:semrush/intergalacti…
ilyabrower May 28, 2025
1324279
UIK-3641/dropdown-tests (#2176)
Valeria-Zimnitskaya May 29, 2025
27d0a54
[UIK-3707][data-table] fixed animation on collapse accordion row (#2174)
ilyabrower May 29, 2025
7627af7
[chore] fixed url to illustrations
ilyabrower May 30, 2025
80fb372
[chore] mock illustartions in one place
ilyabrower May 30, 2025
ca5ac9a
[chore] mock illustartions in one place
ilyabrower May 30, 2025
2a57a65
[UIK-3761][data-table] fixed animations (#2185)
ilyabrower May 30, 2025
4f68fc6
[UIK-3762][stories] fixed table checkbox example (#2186)
ilyabrower May 30, 2025
7ebadac
[UIK-3765][data-table] fixed keyboard nav (#2187)
ilyabrower May 30, 2025
ea74527
[chore] fixed bucker for illustrations
ilyabrower May 30, 2025
7c371d1
[chore] bumped versions of @semcore/popper@16.0.1, @semcore/typograph…
semrush-ci-whale May 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .ci/.vo-test-hash.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-844248183
755618255
193 changes: 180 additions & 13 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,92 @@ on:
pull_request:
workflow_dispatch:
push:
branches: [master]
branches: [master, major/16]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
defineChangedComponents:
runs-on: ubuntu-latest
outputs:
changedComponents: ${{ steps.pkg-diff.outputs.changed }}
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
- name: Install Node.js
uses: actions/setup-node@v4.0.1
with:
node-version: 20
- uses: pnpm/action-setup@v4.0.0
name: Install pnpm
id: pnpm-install
with:
version: 8.7.6
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
- name: Install dependencies
run: |
pnpm install --frozen-lockfile
- name: Define changed components
id: pkg-diff
run: |
git fetch origin ${{ github.event.pull_request.base.ref }}
echo "changed=$(BASE=origin/${{ github.event.pull_request.base.ref }} pnpm pkg-diff | tail -n 1)" >> $GITHUB_OUTPUT
- name: Set labels
if: steps.pkg-diff.outputs.changed != ''
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CHANGED: ${{ steps.pkg-diff.outputs.changed }}
PR_NUMBER: ${{ github.event.pull_request.number }}
REPO: ${{ github.repository }}
run: |
EXISTING_LABELS=$(gh label list --repo "$REPO" --limit 100 --json name --jq '.[].name')
PR_LABELS=$(gh pr view "$PR_NUMBER" --repo "$REPO" --json labels --jq '.labels[].name')
PR_LABELS_LIST=$(echo "$PR_LABELS" | tr '\n' ' ')
CHANGED_COMPONENTS=$(echo "$CHANGED" | tr ' ' '\n')
LABELS_TO_REMOVE=""
LABELS_TO_ADD=""

echo CHANGED: "$CHANGED"

for LABEL in $CHANGED; do
if ! echo "$EXISTING_LABELS" | grep -qx "$LABEL"; then
echo "Creating label '$LABEL'"
gh label create "$LABEL" --repo "$REPO"
fi
if ! echo "$PR_LABELS" | grep -qx "$LABEL"; then
LABELS_TO_ADD="$LABELS_TO_ADD,$LABEL"
fi
done

for LABEL in $PR_LABELS_LIST; do
if ! echo "$CHANGED_COMPONENTS" | grep -qx "$LABEL"; then
LABELS_TO_REMOVE="$LABELS_TO_REMOVE,$LABEL"
fi
done

LABELS_TO_ADD="${LABELS_TO_ADD#","}"
LABELS_TO_REMOVE="${LABELS_TO_REMOVE#","}"

echo ADD: "$LABELS_TO_ADD"
echo REMOVE: "$LABELS_TO_REMOVE"

if [ -n $LABELS_TO_REMOVE ]; then
gh pr edit "$PR_NUMBER" --remove-label "$LABELS_TO_REMOVE" --repo "$REPO"
fi
if [ -n $LABELS_TO_ADD ]; then
gh pr edit "$PR_NUMBER" --add-label "$LABELS_TO_ADD" --repo "$REPO"
fi
build:
runs-on: ubuntu-latest
needs: defineChangedComponents
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
Expand Down Expand Up @@ -107,7 +187,8 @@ jobs:
files: README.md CONTRIBUTING.md semcore/*/README.md semcore/*/CHANGELOG.md website/docs
unit-tests:
runs-on: ubuntu-latest
needs: build
needs: [build, defineChangedComponents]
if: ${{ needs.defineChangedComponents.outputs.changedComponents != '' }}
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
Expand Down Expand Up @@ -152,7 +233,7 @@ jobs:
run: pnpm test:setup
- name: Test
id: test
run: pnpm test:docker run -- --allowOnly=false
run: pnpm test:docker run ${{ needs.defineChangedComponents.outputs.changedComponents }} -- --allowOnly=false
continue-on-error: true
- name: Save test results as artifacts
if: steps.test.outcome != 'success'
Expand Down Expand Up @@ -235,23 +316,64 @@ jobs:
git_commit_gpgsign: true
git_committer_name: semrush-ci-whale
git_committer_email: semrush-ci-whale@users.noreply.github.com
- name: Push changed a11y reports
if: steps.a11y-testing.outcome == 'success'
run: git add . && git commit -m "[chore] a11y automatic check fixation" && git push || echo "nothing to commit"
browser-tests:
runs-on: ubuntu-latest
needs: build
needs: [ build, defineChangedComponents ]
if: ${{ needs.defineChangedComponents.outputs.changedComponents != '' }}
container:
image: mcr.microsoft.com/playwright:v1.48.2-jammy
options: --ipc=host # Needed for Chromium sandboxing
steps:
- name: Install Git
run: apt-get update && apt-get install -y git
- uses: actions/checkout@v4.1.1
with:
token: ${{ secrets.BOT_ACCOUNT_GITHUB_TOKEN }}
fetch-depth: 0
- name: Mark workspace as safe
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- uses: pnpm/action-setup@v4.0.0
with:
version: 8.7.6
run_install: false

- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
- name: Install dependencies
run: |
pnpm install --frozen-lockfile --ignore-scripts
- name: Install Browser
run: npx playwright install --with-deps
- name: Restore cached build
uses: actions/cache@v4
id: cache-build
with:
path: |
semcore/*/lib
tools/*/lib
semcore/icon/**/*.js
semcore/icon/**/*.mjs
semcore/icon/**/*.d.ts
semcore/illustration/**/*.js
semcore/illustration/**/*.mjs
semcore/illustration/**/*.d.ts
key: build-${{ hashFiles('**/pnpm-lock.yaml', '**/CHANGELOG.md') }}-5
- name: Build basic packages
if: steps.cache-build.outputs.cache-hit != 'true'
run: |
pnpm --filter @semcore/core build
pnpm --filter @semcore/base-components build
pnpm build:icons
pnpm build:illustration
- name: Browser testing
id: browser-testing
run: |
docker run --rm --network host -v $(pwd):/work -v /work/node_modules -v /work/.pnpm-store -v /work/.cache -w /work/ mcr.microsoft.com/playwright:v1.48.0-jammy bash -c "npm install --global pnpm@8.11.0 && pnpm install --ignore-scripts && pnpm build:icons && pnpm build:illustration && npx playwright install && CI=true pnpm playwright test --config playwright.browser.config.ts"
run: HOME=/root pnpm playwright test --config playwright.browser.config.ts ${{ needs.defineChangedComponents.outputs.changedComponents }}
continue-on-error: true
- name: Save test results as artifacts
if: steps.browser-testing.outcome != 'success'
Expand All @@ -265,17 +387,62 @@ jobs:
run: exit 1
axe-tests:
runs-on: ubuntu-latest
needs: build
needs: [ build, defineChangedComponents ]
if: ${{ needs.defineChangedComponents.outputs.changedComponents != '' }}
container:
image: mcr.microsoft.com/playwright:v1.48.2-jammy
options: --ipc=host # Needed for Chromium sandboxing
steps:
- name: Install Git
run: apt-get update && apt-get install -y git
- uses: actions/checkout@v4.1.1
with:
token: ${{ secrets.BOT_ACCOUNT_GITHUB_TOKEN }}
fetch-depth: 0
- name: Mark workspace as safe
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- uses: pnpm/action-setup@v4.0.0
with:
version: 8.7.6
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
- name: Install dependencies
run: |
pnpm install --frozen-lockfile --ignore-scripts
- name: Install Browser
run: npx playwright install --with-deps
- name: Restore cached build
uses: actions/cache@v4
id: cache-build
with:
path: |
semcore/*/lib
tools/*/lib
semcore/icon/**/*.js
semcore/icon/**/*.mjs
semcore/icon/**/*.d.ts
semcore/illustration/**/*.js
semcore/illustration/**/*.mjs
semcore/illustration/**/*.d.ts
key: build-${{ hashFiles('**/pnpm-lock.yaml', '**/CHANGELOG.md') }}-5
- name: Build basic packages
if: steps.cache-build.outputs.cache-hit != 'true'
run: |
pnpm --filter @semcore/core build
pnpm --filter @semcore/base-components build
pnpm build:icons
pnpm build:illustration
- name: Axe testing
id: axe-testing
run: |
docker run --rm --network host -v $(pwd):/work -v /work/node_modules -v /work/.pnpm-store -v /work/.cache -w /work/ mcr.microsoft.com/playwright:v1.35.0-jammy bash -c "npm install --global pnpm@8.11.0 && pnpm install --ignore-scripts && pnpm build:icons && pnpm build:illustration && npx playwright install && CI=true pnpm playwright test --config playwright.axe.config.ts"
run: HOME=/root pnpm playwright test --config playwright.axe.config.ts ${{ needs.defineChangedComponents.outputs.changedComponents }}
continue-on-error: true
- name: Save test results as artifacts
if: steps.axe-testing.outcome != 'success'
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/init-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
runs-on: ubuntu-latest
env:
GITHUB_SECRET: ${{ secrets.BOT_ACCOUNT_GITHUB_TOKEN }}
GCLOUD_SECRET: ${{ secrets.GCLOUD_SECRET }}
needs:
- check-exist-pr
steps:
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/publish-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ concurrency:
jobs:
build:
runs-on: ubuntu-latest
env:
GCLOUD_SECRET: ${{ secrets.GCLOUD_SECRET }}
steps:
- uses: actions/checkout@v4.1.1
with:
Expand Down Expand Up @@ -103,8 +101,6 @@ jobs:
unit-tests:
runs-on: ubuntu-latest
needs: build
env:
GCLOUD_SECRET: ${{ secrets.GCLOUD_SECRET }}
steps:
- uses: actions/checkout@v4.1.1
with:
Expand Down Expand Up @@ -170,7 +166,6 @@ jobs:
needs: [static-lint, unit-tests, browser-tests, axe-tests]
env:
GITHUB_SECRET: ${{ secrets.BOT_ACCOUNT_GITHUB_TOKEN }}
GCLOUD_SECRET: ${{ secrets.GCLOUD_SECRET }}
steps:
- uses: actions/checkout@v4.1.1
with:
Expand Down
28 changes: 0 additions & 28 deletions .github/workflows/publish-storybook.yml

This file was deleted.

36 changes: 1 addition & 35 deletions .github/workflows/publish-unlocked-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
needs: [build]
env:
GITHUB_SECRET: ${{ secrets.BOT_ACCOUNT_GITHUB_TOKEN }}
GCLOUD_SECRET: ${{ secrets.GCLOUD_SECRET }}
GCLOUD_SECRET: ${{ secrets.GCLOUD_SECRET_STATIC_UPLOADER }}
SLACK_API_ENDPOINTS: ${{ secrets.SLACK_WEBHOOK_URLS }}
INTERGALACTIC_BOT_CLOSE_TASKS_URL: ${{ secrets.INTERGALACTIC_BOT_CLOSE_TASKS_URL }}
INTERGALACTIC_BOT_SECRET: ${{ secrets.INTERGALACTIC_BOT_SECRET }}
Expand Down Expand Up @@ -120,40 +120,6 @@ jobs:
run: pnpm whoami
- name: Publish release
run: pnpm --filter intergalactic-migrate run build && pnpm publish-release
publish-website:
runs-on: ubuntu-latest
needs: publish-unlocked-release
env:
GITHUB_SECRET: ${{ secrets.BOT_ACCOUNT_GITHUB_TOKEN }}
GCLOUD_SECRET: ${{ secrets.GCLOUD_SECRET }}
steps:
- uses: actions/checkout@v4.1.1
with:
token: ${{ secrets.BOT_ACCOUNT_GITHUB_TOKEN }}
- uses: pnpm/action-setup@v4.0.0
name: Install pnpm
id: pnpm-install
with:
version: 8.7.6
run_install: false
- uses: actions/setup-node@v4.0.1
- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Github GPG Auth
uses: crazy-max/ghaction-import-gpg@v5.3.0
with:
gpg_private_key: ${{ secrets.BOT_ACCOUNT_GPG_PRIVATE_KEY }}
git_user_signingkey: true
git_commit_gpgsign: true
git_committer_name: semrush-ci-whale
git_committer_email: semrush-ci-whale@users.noreply.github.com
- name: Update website/release branch
run: |
git checkout -b website/release
git push --force --set-upstream origin website/release
git push origin website/release --force
create-pr:
runs-on: ubuntu-latest
needs: publish-unlocked-release
Expand Down
Loading
Loading