feat/projects: add Pi Chat screenshot #4

Merged
BlackHatMagic merged 1 commit from feat/pi-obsidian-screenshot into master 2026-10-23 09:56:22 +00:00

PR Type Selection

  • 🎯 Feature - New capability or functionality

Summary

Adds a screenshot to the Pi Chat for Obsidian section on /projects/other so the entry uses the same image-left, copy-right layout as the other project cards.

Follow-up to #3.

None — visual follow-up.

Design Overview

  • Core idea: reuse the existing image branch in the project card template instead of the full-width fallback.
  • Data structures: the Pi Chat entry now sets mediaClass, imageClass, image, and alt; no template changes.
  • Interfaces added/changed: none.

Implementation Notes

The screenshot is exported as WebP (static/images/pi-chat-obsidian.webp, ~32 kB from a 176 kB PNG) to match the site's existing image assets. Alt text describes the plugin panel and its controls.

Testing Evidence

  • bun run check — TypeScript (frontend + Pages Function) and ESLint pass.
  • bun run test — 3/3 stat-block tests pass.
  • bun run build:all — site builds.
  • Manual: rendered /projects/other at 1280px and 390px widths; the card now matches the other project layouts.

Documentation

  • No documentation updates required (asset/content change).

Checklist (Feature-Specific)

  • No issue linked — visual follow-up to #3.
  • Existing tests pass; layout verified manually at desktop and mobile widths.
  • No lint / style violations.
  • No dead or commented-out code.
  • Follows the existing content and design conventions.
## PR Type Selection - [x] 🎯 **Feature** - New capability or functionality ## Summary Adds a screenshot to the `Pi Chat for Obsidian` section on `/projects/other` so the entry uses the same image-left, copy-right layout as the other project cards. Follow-up to #3. ## Related Issues None — visual follow-up. ## Design Overview - **Core idea:** reuse the existing `image` branch in the project card template instead of the full-width fallback. - **Data structures:** the Pi Chat entry now sets `mediaClass`, `imageClass`, `image`, and `alt`; no template changes. - **Interfaces added/changed:** none. ## Implementation Notes The screenshot is exported as WebP (`static/images/pi-chat-obsidian.webp`, ~32 kB from a 176 kB PNG) to match the site's existing image assets. Alt text describes the plugin panel and its controls. ## Testing Evidence - `bun run check` — TypeScript (frontend + Pages Function) and ESLint pass. - `bun run test` — 3/3 stat-block tests pass. - `bun run build:all` — site builds. - Manual: rendered `/projects/other` at 1280px and 390px widths; the card now matches the other project layouts. ## Documentation - [x] No documentation updates required (asset/content change). ## Checklist (Feature-Specific) - [x] No issue linked — visual follow-up to #3. - [x] Existing tests pass; layout verified manually at desktop and mobile widths. - [x] No lint / style violations. - [x] No dead or commented-out code. - [x] Follows the existing content and design conventions.
feat/projects: add Pi Chat screenshot
All checks were successful
/ deploy (push) Successful in 1m16s
09072c452b
Give the Pi Chat section the same image-left layout as the other project
cards, using a screenshot of the plugin open in an Obsidian vault.
Code-Reviewer left a comment

Pi code review

0 new actionable findings

No new actionable findings. Previously reported issues, if any, are tracked below.

Reviewed Pi Chat card data change to reuse the existing image layout and the new WebP asset reference. Binary image content and visual rendering could not be inspected in this read-only environment.

Change walkthrough
Area Files Changes
Other code (2) src/lib/Other.svelte, static/images/pi-chat-obsidian.webp Pi Chat entry gains mediaClass/imageClass/image/alt to render in the image-left layout New WebP screenshot asset for the Pi Chat card

Review effort: 1/5.

Static observations (not validation results)
Observation Detail
Diff size 2 files, +1/-1.
⚠️ Binary changes 1 binary file(s); their content was not inspected.
Credential patterns No matches after excluding known examples/placeholders. Added-line heuristics only; not a security audit.

Reviewed 09072c452b4e1c8d7283d338337c8535ae6abb37 with proxy/glm-5.3-flash + proxy/gpt-6.1-sol + proxy/muse-spark-1.3 → proxy/muse-spark-1.3. Automated advisory review; no project commands or tests were executed.

<!-- forgejo-pi-review:89d26d6890ae3d39a9e0aeb3db40027b7a3bda33c1898f2f1a7f27e5aaff2d56 --> ## Pi code review **0 new actionable findings** No new actionable findings. Previously reported issues, if any, are tracked below. Reviewed Pi Chat card data change to reuse the existing image layout and the new WebP asset reference. Binary image content and visual rendering could not be inspected in this read-only environment. <details> <summary>Change walkthrough</summary> | Area | Files | Changes | | --- | --- | --- | | Other code (2) | `src/lib/Other.svelte`, `static/images/pi-chat-obsidian.webp` | Pi Chat entry gains mediaClass/imageClass/image/alt to render in the image-left layout New WebP screenshot asset for the Pi Chat card | Review effort: **1/5**. </details> <details> <summary>Static observations (not validation results)</summary> | Observation | Detail | | --- | --- | | Diff size | 2 files, +1/-1. | | ⚠️ Binary changes | 1 binary file(s); their content was not inspected. | | Credential patterns | No matches after excluding known examples/placeholders. Added-line heuristics only; not a security audit. | </details> --- Reviewed `09072c452b4e1c8d7283d338337c8535ae6abb37` with `proxy/glm-5.3-flash + proxy/gpt-6.1-sol + proxy/muse-spark-1.3 → proxy/muse-spark-1.3`. Automated advisory review; no project commands or tests were executed.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
BlackHatMagic/Lukeh.xyz!4
No description provided.