Skip to content

[feat] canvas: hint the preset selector on hover - #542

Closed
Probiotics5333 wants to merge 1 commit into
ThinkFlowLab:mainfrom
Probiotics5333:feat/preset-selector-hint
Closed

Probiotics5333 wants to merge 1 commit into
ThinkFlowLab:mainfrom
Probiotics5333:feat/preset-selector-hint

Conversation

@Probiotics5333

Copy link
Copy Markdown
Collaborator

Summary

The preset selector in the image composer shows its current value ("Free creation" / "自由创作") but never explains what it does. Hovering it now shows a short hint in both locales:

  • zh-CN: 点击选择预设图片样式
  • en-US: Click to choose a preset image style

The hint is a native title on the selector, matching the existing duration trigger, so it also appears on keyboard focus tooltips in the same way and needs no new overlay layer.

Linked issue

Refs #528

Labels

  • Labels applied: type:feat, area:canvas

Test plan

  • Local:
    • npx tsc --noEmit — clean.
    • vite build — succeeded.
    • node scripts/check-i18n.mjs — 0 problems.
  • Left to CI: the static, Python, frontend and browser lanes in checks.

Evidence that it works

  • Media attached, or N/A because: the change only adds a hover hint to an existing selector; the hint text is covered by the i18n check and the selector markup is unchanged otherwise.

Provider verification

  • Real-provider calls are described honestly, or none were made

No model call is involved in this change.

Bilingual UI

  • Both locales are updated

generation.preset.hint ships in zh-CN and en-US.

## summary

- Show the preset selector tooltip (Click to choose a preset image style / 点击选择预设图片样式) on hover, in both locales.

## validation

- tsc --noEmit: clean.

- vite build: succeeded.

- node scripts/check-i18n.mjs: 0 problems.

- pytest tests/test_creation_generation_service.py: 27 passed.

Refs: ThinkFlowLab#528
@Probiotics5333 Probiotics5333 added area:canvas Canvas, nodes and direct manipulation type:feat New capability or behaviour labels Nov 27, 2026
@github-actions github-actions Bot added the area:i18n Localisation and bilingual UI label Nov 27, 2026
@github-actions
github-actions Bot requested a review from allendyu November 27, 2026 10:10
@Probiotics5333

Copy link
Copy Markdown
Collaborator Author

No PR needed for this follow-up; the hint will stay as local work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:canvas Canvas, nodes and direct manipulation area:i18n Localisation and bilingual UI type:feat New capability or behaviour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant