Firefly Ad Config
Overview
Edit ad card content and ensure the chosen ad config id matches sidebar placement.
Workflow
- •Read the current target file(s) before editing.
- •Confirm the requested behavior and map it to existing keys.
- •Apply the smallest possible change inside the declared scope.
- •Keep existing style, object structure, and value types.
- •Report changed keys and paths.
Edit Scope
- •src/config/adConfig.ts
- •src/config/sidebarConfig.ts
Common Keys
- •adConfig1 / adConfig2 title / content
- •image.src / image.alt / image.link / image.external
- •link.text / link.url / link.external
- •closable / displayCount / padding.*
- •sidebar advertisement component configId and enable
Guardrails
- •Do not modify files outside Edit Scope unless explicitly requested.
- •Keep booleans, numbers, arrays, enums, and URLs in valid types.
- •Preserve existing comments unless they conflict with the new behavior.
- •Prefer minimal diffs that are easy to review.