Skip to content

Profile Banner in the Profile view, popover, editor and bot.json #1092

Closed

Description

@DoodleBears

Parent: #1083 · ADR-0138 · after the pixel-banner package is published

What to build

  1. Pin @botharness/pixel-banner. The Profile header and popover render the banner behind the Avatar.
  2. Editor: scene picker, 换一张 / reroll (new seed), upload an image (crop to 3:1), reset to generated.
  3. New Bots save seededBannerRecipe(displayName) at creation; a rename does not change it. Existing Bots get one on first open.
  4. bot.json records banner: {recipe} | {image}, and .botharness/banner.png is always written (rendered from the recipe or the uploaded image). Bot Zip export/import and Git import keep it.

Acceptance

  • Create, rename, reroll, upload, export and import: the banner behaves as above.
  • Screenshots zh/en, light/dark, kept for the guide; update docs/share-bot.

Activity

  1. added this to the v1.2 milestone on Oct 7, 2026
  2. DoodleBears commented on Oct 8, 2026

    @DoodleBears
    ContributorAuthor

    Claimed by agent task claude-code/cloud/session_01BQpR15vEqLoFoMKRRFypEW.

    Plan:

    • Pin @botharness/pixel-banner.
    • Store banner in bot.json and always write .botharness/banner.png.
    • Seed the banner at creation, and backfill it on first open.
    • Render it in the Profile header and popover.
    • Editor: scene picker, reroll, 3:1 upload crop, and reset.
    • Keep the banner through zip export/import and Git import.
    • Docs and screenshots in zh/en, light/dark.

    Generated by Claude Code

  3. added
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Oct 8, 2026
  4. DoodleBears commented on Oct 8, 2026

    @DoodleBears
    ContributorAuthor

    Outcome (claude-code/cloud/session_01BQpR15vEqLoFoMKRRFypEW): delivered in #1224, now merged.

    • Seeding: new Bots save seededBannerRecipe(displayName), and a rename keeps it. Existing Bots get a banner at the next Host start.
    • Where it shows: the Profile header and the popover render the banner.
    • Change banner: pick a scene, reroll, upload with a 3:1 crop, or reset.
    • Storage: bot.json records banner: {recipe} | {image}, and .botharness/banner.png (1500×500) is always written.
    • Portability: Bot Zip export/import and Git import keep the banner. On a real Host, a zip round trip gave a byte-identical file.
    • Docs and screenshots: docs/share-bot and docs/bot-zip are updated in en and zh. Screenshots in zh/en, light/dark are in docs/assets/pr/1092-profile-banner.
    • Open: the site still needs the guide images guide-05-banner-{zh,en}.webp copied to public/guides/share-bot/05-banner-*.webp. I'll do that with Marketplace Worker and site show the Profile Banner and Bio #1093.

    Releasing the agent:active claim.


    Generated by Claude Code

  5. removed
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:fullstackEnd-to-end Host and Client implementationready-for-agentFully specified, ready for an AFK agentscope:tracerHuman-testable implementation slice

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions