From 660a38edf07ea1bdabb47fbe5571b3f0ba2622fc Mon Sep 17 00:00:00 2001 From: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com> Date: Mon, 2 Nov 2026 09:48:21 -0500 Subject: [PATCH 1/4] =?UTF-8?q?=F0=9F=93=96=20docs:=20add=20LF/CNCF=20Sand?= =?UTF-8?q?box=20notice=20to=20site=20footer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add the Cloud Native Computing Foundation sandbox project notice and CNCF logo to the docs site footer, along with the Linux Foundation copyright and trademark policy information as required by CNCF onboarding guidelines. - Update footer copyright text to match hivecommons.dev LF footer - Add 'We are a Cloud Native Computing Foundation sandbox project.' sentence - Include CNCF logo with 'Hosted by' label - Remove 'All rights reserved' as per decision Closes #577 Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com> --- src/components/docs/DocsFooter.tsx | 52 +++++++++++++++++++++++++----- 1 file changed, 44 insertions(+), 8 deletions(-) diff --git a/src/components/docs/DocsFooter.tsx b/src/components/docs/DocsFooter.tsx index dc08a2d..7f343b7 100644 --- a/src/components/docs/DocsFooter.tsx +++ b/src/components/docs/DocsFooter.tsx @@ -614,17 +614,53 @@ export default function Footer() {
-
- {/* Left side - copyright */} -

- © {new Date().getFullYear()} Hive Commons. All rights reserved. Apache 2.0 Licence -

+
+ {/* Left side - copyright and CNCF info */} +
+
+

+ © {new Date().getFullYear()} The Linux Foundation / The Hive Commons authors. The Linux Foundation has registered trademarks and uses trademarks. For a list of TLF trademarks, see{" "} + + Trademark Usage + + . +

+

+ We are a Cloud Native Computing Foundation sandbox project. +

+
+
+ + Hosted by: + + Cloud Native Computing Foundation +
+
{/* Right side - policy links. These pages are not published on the docs site, so point at the canonical files on GitHub. */} -
+
{POLICY_LINKS.map(link => ( Date: Mon, 2 Nov 2026 10:03:24 -0500 Subject: [PATCH 2/4] test(footer): match the LF/CNCF copyright and sandbox notice MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The footer copyright now reads '© The Linux Foundation / The Hive Commons authors', so the old '© Hive Commons' matchers no longer find the element. Update them and assert the new trademark link, sandbox notice, and CNCF logo. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com> --- src/__tests__/DocsFooter.behavior.test.tsx | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/src/__tests__/DocsFooter.behavior.test.tsx b/src/__tests__/DocsFooter.behavior.test.tsx index 2b83839..d38b4a1 100644 --- a/src/__tests__/DocsFooter.behavior.test.tsx +++ b/src/__tests__/DocsFooter.behavior.test.tsx @@ -83,7 +83,20 @@ describe("DocsFooter content", () => { expect(screen.getByRole("heading", { name: heading })).toBeTruthy(); } expect( - screen.getByText(new RegExp(`© ${new Date().getFullYear()} Hive Commons`)) + screen.getByText( + new RegExp( + `© ${new Date().getFullYear()} The Linux Foundation / The Hive Commons authors` + ) + ) + ).toBeTruthy(); + expect( + screen.getByText(/Cloud Native Computing Foundation sandbox project/) + ).toBeTruthy(); + expect( + screen.getByRole("link", { name: "Trademark Usage" }).getAttribute("href") + ).toBe("https://www.linuxfoundation.org/legal/trademark-usage"); + expect( + screen.getByRole("img", { name: "Cloud Native Computing Foundation" }) ).toBeTruthy(); }); @@ -249,14 +262,14 @@ describe("DocsFooter back-to-top button", () => { describe("DocsFooter theming", () => { it("uses the dark text classes when resolvedTheme is dark", () => { render(); - const copyright = screen.getByText(/© \d{4} Hive Commons/); + const copyright = screen.getByText(/© \d{4} The Linux Foundation/); expect(copyright.className).toContain("text-ink-3"); }); it("uses the light text classes when resolvedTheme is light", () => { resolvedTheme = "light"; render(); - const copyright = screen.getByText(/© \d{4} Hive Commons/); + const copyright = screen.getByText(/© \d{4} The Linux Foundation/); expect(copyright.className).toContain("text-ink-2"); }); }); From 14f72bee47c2479521245b3f34a579f5d4b6540b Mon Sep 17 00:00:00 2001 From: guide <280983584+hivecommons-hive[bot]@users.noreply.github.com> Date: Mon, 2 Nov 2026 10:55:24 -0500 Subject: [PATCH 3/4] fix(footer): use verbatim LF legal text and add changelog fragment Hive-Fix-Attempt: 1/6 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: guide <280983584+hivecommons-hive[bot]@users.noreply.github.com> --- changelog.d/added-595-footer-cncf-sandbox-notice.md | 2 ++ src/__tests__/DocsFooter.behavior.test.tsx | 7 +++++-- src/components/docs/DocsFooter.tsx | 6 +++--- 3 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 changelog.d/added-595-footer-cncf-sandbox-notice.md diff --git a/changelog.d/added-595-footer-cncf-sandbox-notice.md b/changelog.d/added-595-footer-cncf-sandbox-notice.md new file mode 100644 index 0000000..9096e14 --- /dev/null +++ b/changelog.d/added-595-footer-cncf-sandbox-notice.md @@ -0,0 +1,2 @@ +- Site footer now carries the LF/CNCF Sandbox notice, with the Apache 2.0 licence statement and security contact + (hivecommons/docs#595). diff --git a/src/__tests__/DocsFooter.behavior.test.tsx b/src/__tests__/DocsFooter.behavior.test.tsx index d38b4a1..00a9abf 100644 --- a/src/__tests__/DocsFooter.behavior.test.tsx +++ b/src/__tests__/DocsFooter.behavior.test.tsx @@ -93,8 +93,11 @@ describe("DocsFooter content", () => { screen.getByText(/Cloud Native Computing Foundation sandbox project/) ).toBeTruthy(); expect( - screen.getByRole("link", { name: "Trademark Usage" }).getAttribute("href") - ).toBe("https://www.linuxfoundation.org/legal/trademark-usage"); + screen.getByRole("link", { name: "Trademark Usage page" }).getAttribute("href") + ).toBe("https://www.linuxfoundation.org/trademark-usage"); + expect( + screen.getByText(/Code is licensed under Apache 2\.0\. Security contact: security@hivecommons\.dev\./) + ).toBeTruthy(); expect( screen.getByRole("img", { name: "Cloud Native Computing Foundation" }) ).toBeTruthy(); diff --git a/src/components/docs/DocsFooter.tsx b/src/components/docs/DocsFooter.tsx index 7f343b7..f1a5ddd 100644 --- a/src/components/docs/DocsFooter.tsx +++ b/src/components/docs/DocsFooter.tsx @@ -621,9 +621,9 @@ export default function Footer() {

- © {new Date().getFullYear()} The Linux Foundation / The Hive Commons authors. The Linux Foundation has registered trademarks and uses trademarks. For a list of TLF trademarks, see{" "} + © {new Date().getFullYear()} The Linux Foundation / The Hive Commons authors. Code is licensed under Apache 2.0. Security contact: security@hivecommons.dev. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our{" "} - Trademark Usage + Trademark Usage page .

From c167a31a212ba5598cf6096902f2815c396c5b6b Mon Sep 17 00:00:00 2001 From: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com> Date: Mon, 2 Nov 2026 12:04:54 -0500 Subject: [PATCH 4/4] style(test): format DocsFooter behavior test with Prettier Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com> --- src/__tests__/DocsFooter.behavior.test.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/__tests__/DocsFooter.behavior.test.tsx b/src/__tests__/DocsFooter.behavior.test.tsx index 00a9abf..f989901 100644 --- a/src/__tests__/DocsFooter.behavior.test.tsx +++ b/src/__tests__/DocsFooter.behavior.test.tsx @@ -93,10 +93,14 @@ describe("DocsFooter content", () => { screen.getByText(/Cloud Native Computing Foundation sandbox project/) ).toBeTruthy(); expect( - screen.getByRole("link", { name: "Trademark Usage page" }).getAttribute("href") + screen + .getByRole("link", { name: "Trademark Usage page" }) + .getAttribute("href") ).toBe("https://www.linuxfoundation.org/trademark-usage"); expect( - screen.getByText(/Code is licensed under Apache 2\.0\. Security contact: security@hivecommons\.dev\./) + screen.getByText( + /Code is licensed under Apache 2\.0\. Security contact: security@hivecommons\.dev\./ + ) ).toBeTruthy(); expect( screen.getByRole("img", { name: "Cloud Native Computing Foundation" })