Skip to content

Repair broken source plugins and redesign the project site - #15

Merged
supercosti21 merged 3 commits into
mainfrom
claude/missing-changes-file-nh8wji
Jul 28, 2026
Merged

Repair broken source plugins and redesign the project site#15
supercosti21 merged 3 commits into
mainfrom
claude/missing-changes-file-nh8wji

Conversation

@supercosti21

Copy link
Copy Markdown
Owner

Overview

Two things in one branch: repairing the source plugins that were documented as broken in docs/plugin-status.md, and a full redesign of the project landing page.

Plugin repairs

Plugin Problem Fix Verified
nix Index pinned to latest-43; stale basic-auth password → 401 Bump to latest-50 (overridable via config), rebuild auth with reqwest basic_auth livezl search jq --from nix returns 30 hits
dnf + zypper Fetched primary.xml.gz directly (404); it must be discovered via repomd.xml New shared src/plugin/rpm/repomd.rs: parse repomd.xml, resolve the primary href, decompress by extension (.zst/.gz/.xz/plain). Bump dnf release off EOL 40 → 43 ⏳ code + unit tests (upstream hosts blocked by the sandbox egress policy)
portage Binhost on the retired 17.1 profile (404) Point DEFAULT_BINHOST at the current 23.0 profile ⏳ code
flatpak GET /api/v2/search405 Switch to POST /api/v2/search with a JSON body ⏳ code
appimage feed.json schema drifted Still broken — needs the live feed to diff, host blocked. Documented. ❌ deferred

docs/plugin-status.md records the full state and which fixes still need live verification from an unrestricted network.

Site redesign (docs/site/)

  • Light + dark theme with a toggle; dark is the default, the choice persists in localStorage, and it is set before paint (no flash). Terminal stays dark for contrast.
  • 5 static languages (EN default, IT/FR/ES/DE) via a data-i18n dictionary and a language selector; persists and can be forced with ?lang=xx. Adds hreflang tags.
  • Responsive: collapsible hamburger menu under 860px, compact language/theme controls, prefers-reduced-motion honoured.
  • New footer: brand mark, tagline, social icons (GitHub, Instagram, Telegram), MIT credit.
  • Refreshed copy (test count 349) and sitemap.xml lastmod.

Audited with headless Chromium: dark default confirmed, no horizontal overflow from 320px to 1280px, tap targets ≥ 40px, visible keyboard focus, WCAG AA/AAA text contrast in both themes, no JS errors.

Verification

  • cargo fmt --check clean · cargo clippy --all-targets -- -D warnings clean · 349 tests pass (up from 335).
  • The GitHub Pages deploy (.github/workflows/pages.yml) runs on merge to main.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LAjDSA1954JLqUZnxoJ5sy


Generated by Claude Code

claude added 3 commits July 28, 2026 12:48
…sponsive

- Add a light theme alongside the existing dark one, with a toggle that
  persists in localStorage and honours prefers-color-scheme (set before
  paint to avoid a flash). Terminal stays dark for contrast in both.
- Static client-side i18n in 5 languages (EN default, IT/FR/ES/DE) via a
  data-i18n dictionary and a language selector; language persists and can be
  forced with ?lang=xx. Adds hreflang tags and updates <html lang>.
- Make the nav responsive: collapsible hamburger menu under 860px, compact
  language/theme controls; honour prefers-reduced-motion.
- New footer: brand mark, tagline, social icons (GitHub live; Instagram and
  Telegram placeholders to be wired to real handles), MIT credit.
- Refresh content (test count 349, tightened copy) and bump the sitemap
  lastmod.

Verified with headless Chromium: no JS errors, theme + language switching
and the mobile menu all work; desktop and mobile render cleanly.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LAjDSA1954JLqUZnxoJ5sy
Point the footer social icons at the actual profiles:
- Instagram: https://www.instagram.com/costabilepaolo_
- Telegram:  https://t.me/costabilepaolo

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LAjDSA1954JLqUZnxoJ5sy
- Dark is now the base theme: it loads unless the user explicitly picked
  light before (system prefers-color-scheme no longer flips the default).
- Add a visible keyboard focus ring (:focus-visible) on all links, buttons
  and the language select.
- Bump the icon buttons and language select to 40px tap targets.
- Update the browser theme-color meta live when the theme is toggled; the
  static default is now the dark colour.

Audited with headless Chromium: dark default confirmed, no horizontal
overflow from 320px to 1280px, tap targets >=40px, focus ring visible, and
text contrast passes WCAG AA/AAA in both themes. No JS errors.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LAjDSA1954JLqUZnxoJ5sy
@supercosti21
supercosti21 merged commit 23102f4 into main Jul 28, 2026
6 checks passed
supercosti21 added a commit that referenced this pull request Jul 29, 2026
Site rebuild: assets, release notice and social preview (follow-up to #15)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants