Skip to content

Say which photos were left off the career page, and give agents each photo once - #222

Merged
SoryAK merged 3 commits into
feat/my-tools-3from
feat/career-page-photo-notes
Dec 5, 2026
Merged

SoryAK merged 3 commits into
feat/my-tools-3from
feat/career-page-photo-notes

Conversation

@SoryAK

@SoryAK SoryAK commented Nov 28, 2026

Copy link
Copy Markdown
Owner

Stacked on #220.

What changes

  • Photos left off are named. When a photo can't go on the published page, the preview and the publish message say which ones ("2 photos couldn't be added: Panel (Giants Direct), Drill."). Long lists stop at four names and "and N more".
  • Tall photos stay within the size limit. Photos are prepared at most 640 wide and 960 tall, so a tall photo no longer gets dropped for being too large.
  • Agents get each photo once. Through the relay's agent endpoint, the text copy of a page leaves image data to the structured copy instead of sending every photo twice.

Tests

  • core/career-page.test.ts: names each photo left off, and the one-line note.
  • server/career-page.test.ts: publish answers with photosLeftOut.
  • web/src/photo-data.test.tsx: tall photos are capped in height.
  • relay/app.test.ts: "gives an agent each photo once".
  • Full suite and typecheck pass. The HomeBar publish message has no direct test.

🤖 Generated with Claude Code

@coderabbitai

coderabbitai Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5e78b611-9f36-483b-8f3d-256cd66471f3

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

SoryAK and others added 2 commits December 3, 2026 23:32
…ata to the structured copy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ng, and keep tall photos within the size limit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@SoryAK
SoryAK force-pushed the feat/career-page-photo-notes branch from 3180d91 to a6076d3 Compare December 4, 2026 04:32
…t/career-page-photo-notes

# Conflicts:
#	core/career-page.test.ts
Base automatically changed from feat/career-page-tools to feat/my-tools-3 December 5, 2026 05:10
@SoryAK
SoryAK merged commit 63194c1 into feat/my-tools-3 Dec 5, 2026
3 checks passed
@SoryAK
SoryAK deleted the feat/career-page-photo-notes branch December 5, 2026 05:50
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.

1 participant