Skip to content

Commit a9536ea

Browse files
Merge pull request #870 from ArmDeveloperEcosystem/main
Introduce WoA with Packages metadata
2 parents d695737 + 4584838 commit a9536ea

1,261 files changed

Lines changed: 2647 additions & 180 deletions

File tree

Some content is hidden

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

assets/css/eco-dashboard.css

Lines changed: 39 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414

1515

1616

17+
#os-callout-left {
18+
position: sticky;
19+
20+
top: 80px;
21+
z-index: 50;
22+
}
1723

1824

1925
#sticky-search {
@@ -60,7 +66,7 @@
6066
margin-right: 16px;
6167
margin-bottom: 32px;
6268
border: 1px solid var(--arm-black);
63-
background-color: var(--arm-color-surface);
69+
background-color: #1E292D;
6470
color: var(--arm-light-grey);
6571
color: rgba(255, 255, 255, 0.8);
6672
padding: 16px;
@@ -213,6 +219,11 @@ table {
213219
.col-2-name {
214220
word-wrap: break-word; /* Wrap content to avoid overflow if needed */
215221
}
222+
.click-info-text {
223+
font-weight: 400;
224+
font-style: italic;
225+
color: var(--arm-light-grey);
226+
}
216227

217228
.col-3-date {
218229
width: 160px; /* Set size at normal breakpoints */
@@ -253,7 +264,7 @@ table {
253264

254265
th.col-4-download, td.col-4-download {
255266
/* width: max-content; /* Set size based on header width */
256-
width: 107px; /* Consistency cross-browsers */
267+
width: 120px; /* Consistency cross-browsers */
257268
height: auto; /* Adjust height based on content */
258269
}
259270
@media (max-width: 576px) { /* Small breakpoint */
@@ -306,6 +317,16 @@ th.col-4-download, td.col-4-download {
306317

307318

308319

320+
.caret-spin {
321+
transition: transform 0.25s ease;
322+
}
323+
324+
.caret-spin.rotated {
325+
transform: rotate(90deg);
326+
}
327+
328+
329+
309330
/* Table styles */
310331
/* 5 main row states, in order of css priority ->
311332
1. SW row in state: default
@@ -316,7 +337,7 @@ th.col-4-download, td.col-4-download {
316337
6. SW row in state: hover (while in clicked state)
317338
*/
318339
.col-header {
319-
background-color: #32363F!important;
340+
/* background-color: #32363F!important; */
320341
/* background-color: var(--arm-color-surface)!important; */
321342
color: white!important;
322343
font-family: 'Lato';
@@ -347,6 +368,9 @@ tr.main-sw-row--pinned td:first-child {
347368
tr.main-sw-row--pinned td:last-child {
348369
border-right: 1px solid var(--border-color-pinned);
349370
}
371+
tr.main-sw-row--pinned:hover .caret-spin {
372+
color: var(--border-color-hover);
373+
}
350374

351375
/* 3. Clicked state */
352376
tr.main-sw-row--clicked td {
@@ -360,6 +384,9 @@ tr.main-sw-row--clicked td:first-child {
360384
tr.main-sw-row--clicked td:last-child {
361385
border-right: 1px solid var(--border-color-click);
362386
}
387+
tr.main-sw-row--clicked:hover .caret-spin {
388+
color: var(--border-color-hover);
389+
}
363390

364391

365392
/* 4. Hover state (over default state) */
@@ -376,6 +403,9 @@ tr.main-sw-row:hover td:first-child {
376403
tr.main-sw-row:hover td:last-child {
377404
border-right: 1px solid var(--border-color-hover);
378405
}
406+
tr.main-sw-row:hover .caret-spin {
407+
color: var(--border-color-hover);
408+
}
379409

380410

381411
/* 5 Hover state (over pinned state) */
@@ -390,6 +420,9 @@ tr.main-sw-row--pinned:hover td:first-child {
390420
tr.main-sw-row--pinned:hover td:last-child {
391421
border-right: 1px solid var(--border-color-pinned);
392422
}
423+
tr.main-sw-row--pinned:hover .caret-spin {
424+
color: var(--border-color-hover);
425+
}
393426

394427
/* 6. Hover state (over clicked state) */
395428
tr.main-sw-row--clicked:hover td {
@@ -403,7 +436,9 @@ tr.main-sw-row--clicked:hover td:first-child {
403436
tr.main-sw-row--clicked:hover td:last-child {
404437
border-right: 1px solid var(--border-color-click);
405438
}
406-
439+
tr.main-sw-row--clicked:hover .caret-spin {
440+
color: var(--border-color-hover);
441+
}
407442

408443

409444
/* expaneded container */

build_steps/update_recently_added_json.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
script_dir = Path(__file__).parent.absolute()
99

1010
# Relative path to content from script, then tet absolute path to content by combining, and use Resolve to handle backwards".."
11-
opensource_relative_path = Path('../content/opensource_packages')
11+
opensource_relative_path = Path('../content/linux/opensource_packages')
1212
opensource_absolute_path = (script_dir / opensource_relative_path).resolve()
1313

14-
commercial_relative_path = Path('../content/commercial_packages')
14+
commercial_relative_path = Path('../content/linux/commercial_packages')
1515
commercial_absolute_path = (script_dir / commercial_relative_path).resolve()
1616

1717
# Same process for the YAML data file:
@@ -29,8 +29,8 @@ def get_all_package_metadata(package_path):
2929
metadata_dic = yaml.safe_load(metadata)
3030
# Add another dictionary key in addition to Params that is the File path to support GitHub editing functionality
3131
unused, file_name = os.path.split(package_path)
32-
last_directory_name = os.path.basename(os.path.dirname(package_path))
33-
file_path = os.path.join(last_directory_name,file_name).replace("\\", "/")
32+
content_root = (script_dir / "../content").resolve()
33+
file_path = str(Path(package_path).resolve().relative_to(content_root)).replace("\\", "/")
3434
metadata_mirror_hugo_page = {
3535
"Params": metadata_dic,
3636
"File": {"Path": file_path}

build_steps/validate_package_catagories.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ def isCategoryValid(string, dictionary):
2323

2424

2525
# content dirs
26-
opensource_relative_path = Path('../content/opensource_packages')
26+
opensource_relative_path = Path('../content/linux/opensource_packages')
2727
opensource_absolute_path = (script_dir / opensource_relative_path).resolve()
2828

29-
commercial_relative_path = Path('../content/commercial_packages')
29+
commercial_relative_path = Path('../content/linux/commercial_packages')
3030
commercial_absolute_path = (script_dir / commercial_relative_path).resolve()
3131

3232
content_directories = [opensource_absolute_path, commercial_absolute_path]

content/_index.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
---
22
title: Arm Ecosystem Dashboard
3-
active_filters:
4-
- test1
5-
- ttx
63
---
74

85

content/linux/_index.md

Lines changed: 7 additions & 0 deletions

content/commercial_packages/Aqua_Cloud_Native_Security_Platform.md renamed to content/linux/commercial_packages/Aqua_Cloud_Native_Security_Platform.md

0 commit comments

Comments
 (0)