Add extra prompts, endless generation, random character default, and small fixes

- Add extra positive/negative prompt textareas to all 9 detail pages with session persistence
- Add Endless generation button to all detail pages (continuous preview generation until stopped)
- Default character selector to "Random Character" on all secondary detail pages
- Fix queue clear endpoint (remove spurious auth check)
- Refactor app.py into routes/ and services/ modules
- Update CLAUDE.md with new architecture documentation
- Various data file updates and cleanup

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Aodhan Collins
2026-03-13 02:07:16 +00:00
parent 1b8a798c31
commit 5e4348ebc1
170 changed files with 17367 additions and 9781 deletions

View File

@@ -17,15 +17,27 @@
<label for="look_name" class="form-label">Display Name</label>
<input type="text" class="form-control" id="look_name" name="look_name" value="{{ look.name }}" required>
</div>
<!-- Multi-Character Selector -->
<div class="mb-3">
<label for="character_id" class="form-label">Linked Character</label>
<select class="form-select" id="character_id" name="character_id">
<option value="">— None —</option>
{% for char in characters %}
<option value="{{ char.character_id }}" {% if look.character_id == char.character_id %}selected{% endif %}>{{ char.name }}</option>
{% endfor %}
</select>
<div class="form-text">Associates this look with a character for generation and LoRA suggestions.</div>
<label class="form-label">Linked Characters</label>
<div class="card">
<div class="card-header bg-light">
<small class="text-muted">Check to link this look to characters</small>
</div>
<div class="card-body" style="max-height: 300px; overflow-y: auto;">
{% for char in characters %}
<div class="form-check">
<input class="form-check-input" type="checkbox" name="character_ids"
value="{{ char.character_id }}" id="char_{{ char.character_id }}"
{% if char.character_id in (look.character_ids or []) %}checked{% endif %}>
<label class="form-check-label" for="char_{{ char.character_id }}">
{{ char.name }}
</label>
</div>
{% endfor %}
</div>
</div>
<div class="form-text">Associates this look with multiple characters for generation and LoRA suggestions.</div>
</div>
<div class="mb-3">
<label for="tags" class="form-label">Tags (comma separated)</label>