Write the banner publishing guide

Open Beginner friendly
#3,152 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 2 days

@aristidesstaffieri is already working on this.

Since Dec 4, 2026.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
82/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript
Domain
documentation

Research direction

Read the development sections in extension/README.md and inspect promoBannerPayload.v1.schema.json to understand the payload and validation steps. The guide should cover both clients, flag creation and a full payload sample, approved image hosting and slot sizes, preview and schema checks, staged rollout with Sentry monitoring, translations, and flag based retirement. Done means someone unfamiliar with the design can publish and retire a test banner using the guide alone.

Written by the indexing model from the issue text.

Description

Publishing a banner is done in Amplitude with no wallet release, by people who may not have seen the design. There is no written procedure. This covers both clients.

Scope
  • Creating a promo_banner_<id> flag and writing its payload, with a full sample.
  • Uploading images to the approved host, with the sizes each slot expects.
  • Checking the payload in the preview panel.
  • A payload checker for use outside the wallet, kept with the runbook in wallet-eng-monorepo and not in the wallet repos:
    • A script that turns the payload shapes in @shared/helpers/promoBanner/schema/ into one JSON Schema file per schema_version, for validating a payload in an editor or in Amplitude's payload field.
    • A check that the generated files are current, so the schema cannot fall behind the wallet's validator.
    • A check that runs every case in @shared/helpers/promoBanner/fixtures.ts through the schema and expects the wallet validator's verdict. Cases marked validatorOnly are the rules a JSON Schema cannot express (approved image hosts, unique button ids, translation keys) and are expected to pass the schema.
    • A note in the runbook that the schema checks shape only, and the preview panel is the full check.
  • Rolling out: start at a small percentage, watch for the Sentry alert, then widen.
  • Supplying translations, and what happens to a string without one.
  • Retiring a banner by switching its flag off.
  • Put it in extension/README.md, beside the other development sections.

Accept: someone who has not read the design can publish and retire a test banner from the guide alone.

Depends on: #3142, #3151

Dominant language
TypeScript
Stars
122
Forks
62
Avg merge
4d 19h
Merged PRs (30d)
41

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from stellar/freighter

All issues in stellar/freighter

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.