All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m22s
26 lines
1.0 KiB
Markdown
26 lines
1.0 KiB
Markdown
# 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.tsx` instead of doing a broader settings refactor.
|
|
- Extend the AI settings payload passed into `src/services/ai.ts` so prompts can explicitly mention the new choices.
|