All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m22s
1.0 KiB
1.0 KiB
Audience And Word Range Design
Context
The app already exposes shared generation controls for script type, themes, and narrative methods. Both conversion mode and creation mode use those controls and persist them locally.
Decision
Add two more shared controls in both modes:
受众倾向:男频and女频, default男频字数范围:200 - 500,500 - 1000,1000 - 2000,2000 - 3000,3000以上,不限, default不限
These controls should:
- appear in both modes alongside the existing generation parameters
- use the same pill-button interaction style as the existing filters
- persist via
localStorage - be included in all AI generation requests for conversion, single-page creation, and batch creation
Implementation Notes
- Keep the values in Chinese only.
- Follow the current state structure in
src/App.tsxinstead of doing a broader settings refactor. - Extend the AI settings payload passed into
src/services/ai.tsso prompts can explicitly mention the new choices.