Add: setting window for tauri - bugs not fixed yet
This commit is contained in:
@@ -100,8 +100,38 @@ An issue touching Tauri runtime behaviors must satisfy all requirements before `
|
||||
6. Validate Tauri invoke/event behavior:
|
||||
- `current_state` output parsed successfully.
|
||||
- `load_active_sprite_pack` returns expected fields.
|
||||
- `settings_snapshot` returns valid persisted settings payload.
|
||||
- `list_sprite_packs` returns valid manifest-backed pack options.
|
||||
- `set_sprite_pack` changes active pack and persists.
|
||||
- `set_scale` updates scale and persists.
|
||||
- `set_visibility` updates main window visibility and persists.
|
||||
- `set_always_on_top` updates top-most behavior and persists.
|
||||
- `runtime:snapshot` event received on runtime command changes.
|
||||
- `debug_overlay_visible` and `set_debug_overlay_visible` invoke commands work and persist config.
|
||||
7. Stress runtime reload stability:
|
||||
- perform at least 10 cycles of character switch (`default` <-> `ferris`) with scale adjustments
|
||||
- no frontend runtime exception (including `TypeError`) is allowed
|
||||
- scaling behavior remains responsive after each pack switch
|
||||
8. Chroma-key quality check:
|
||||
- verify no visible magenta (`#FF00FF`) fringe remains around sprite edges in normal runtime view
|
||||
|
||||
## Settings Window Checklist
|
||||
|
||||
1. Open settings from tray `Settings` item.
|
||||
2. Confirm repeated tray clicks focus existing settings window instead of creating duplicates.
|
||||
3. Change character in settings and verify:
|
||||
- active pack changes immediately in main overlay
|
||||
- selection persists after restart
|
||||
4. Change scale via slider and verify:
|
||||
- runtime scale changes immediately
|
||||
- main overlay auto-fits without clipping
|
||||
- value persists after restart
|
||||
5. Toggle `Visible` and verify:
|
||||
- main overlay hide/show behavior
|
||||
- persisted value survives restart
|
||||
6. Toggle `Always on top` and verify:
|
||||
- main window z-order behavior updates
|
||||
- persisted value survives restart
|
||||
|
||||
## Evidence Requirements
|
||||
|
||||
|
||||
Reference in New Issue
Block a user