From 0ca2ae22808689e619f508a4e708e1d5ee1a7544 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sun, 7 Jun 2026 01:57:09 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=20Bolt:=20optimize=20logo=20assets=20?= =?UTF-8?q?and=20canonicalize=20CoC=20links?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Minified organization logo SVGs in `profile/assets/` using \`svgo --precision 0\`. - Reduced file size of \`logo.svg\` and \`logo-dark.svg\` from 5.1KB to 2.7KB (~47% reduction). - Added performance comments inside SVG files explaining the optimization. - Updated the Contributor Covenant link in both \`CODE_OF_CONDUCT.md\` and \`profile/CODE_OF_CONDUCT.md\` to its canonical destination (trailing slash instead of .html) to avoid a 301 redirect. - Verified visual integrity using Playwright screenshots. Co-authored-by: soktri3 <170663878+soktri3@users.noreply.github.com> --- .jules/bolt.md | 4 ++++ CODE_OF_CONDUCT.md | 2 +- profile/CODE_OF_CONDUCT.md | 2 +- profile/assets/logo-dark.svg | 2 +- profile/assets/logo.svg | 2 +- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.jules/bolt.md b/.jules/bolt.md index e721157..095fd57 100644 --- a/.jules/bolt.md +++ b/.jules/bolt.md @@ -15,3 +15,7 @@ **Learning:** Using non-canonical URLs (e.g., those missing trailing slashes or using old repository names) triggers HTTP redirects (301, 302, 308). This adds at least one extra network round-trip (RTT), which can significantly delay page load or navigation on slower connections. **Action:** Always use the final, canonical destination URLs for documentation and external links. Verify these URLs with `curl` to ensure they return a 200 OK status without further redirects. + +## 2025-06-07 - Fine-tuning SVG Precision for Minimal Assets +**Learning:** For small, simple SVGs (like the MCP logo), the default SVGO precision may not yield any size reduction. Setting `--precision 0` was necessary to achieve a ~47% size reduction (from 5.1KB to 2.7KB) by rounding path coordinates to the nearest integer, which is visually imperceptible for these assets. +**Action:** When optimizing simple vector logos, test lower precision levels (e.g., 0 or 1) if default settings produce no measurable change, and always verify visual integrity with high-contrast screenshots. diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index eedbbae..4e7726e 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -116,7 +116,7 @@ the community. This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0, available at -https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. +https://www.contributor-covenant.org/version/2/0/code_of_conduct/. Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/inclusion). diff --git a/profile/CODE_OF_CONDUCT.md b/profile/CODE_OF_CONDUCT.md index eedbbae..4e7726e 100644 --- a/profile/CODE_OF_CONDUCT.md +++ b/profile/CODE_OF_CONDUCT.md @@ -116,7 +116,7 @@ the community. This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0, available at -https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. +https://www.contributor-covenant.org/version/2/0/code_of_conduct/. Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/inclusion). diff --git a/profile/assets/logo-dark.svg b/profile/assets/logo-dark.svg index 09d7024..4882dea 100644 --- a/profile/assets/logo-dark.svg +++ b/profile/assets/logo-dark.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/profile/assets/logo.svg b/profile/assets/logo.svg index c9c4c2d..39e5ce9 100644 --- a/profile/assets/logo.svg +++ b/profile/assets/logo.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file