Commit Graph

13 Commits

Author SHA1 Message Date
8a86915347 Increase Specific Prompt text area height
- tab_single.py: 150 → 250px
- tab_batch.py: 100 → 300px to better match second column

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 11:59:28 +01:00
b02bf124fb Add atomic writes, magic string constants, unit tests, type hints, and fix navigation
- save_json() now writes to a temp file then uses os.replace() for atomic writes
- Replace hardcoded "batch_data", "history_tree", "prompt_history", "sequence_number"
  strings with constants (KEY_BATCH_DATA, etc.) across all modules
- Add 29 unit tests for history_tree, utils, and json_loader
- Add type hints to public functions in utils.py, json_loader.py, history_tree.py
- Remove ALLOWED_BASE_DIR restriction that blocked navigating outside app CWD
- Fix path text input not updating on navigation by using session state key
- Add unpin button () for removing pinned folders

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 12:44:31 +01:00
3ff4a000c1 Update tab_single.py 2026-01-02 20:56:56 +01:00
9045bbe636 Update tab_single.py 2026-01-02 19:15:05 +01:00
d008ba0efb Update tab_single.py 2026-01-02 19:09:03 +01:00
a766d7ec98 Refactor single editor UI and logic
Refactor single editor UI and logic for better clarity and functionality. Update button labels, streamline custom parameters handling, and remove unused imports.
2026-01-02 01:25:24 +01:00
33d7321809 Integrate Graphviz for history tree visualization
Added Graphviz integration for history tree visualization and improved comments for clarity.
2026-01-02 01:19:41 +01:00
ceb9b86425 Refactor LoRA keys and improve custom parameters logic 2026-01-02 01:01:56 +01:00
1a2ac65155 Refactor custom parameters and seed handling
Updated comments and logic for custom parameters handling in the Streamlit app. Enhanced seed handling and custom key editing functionality.
2026-01-02 00:58:04 +01:00
13ec13bc43 Refactor seed handling and UI reset logic 2026-01-01 01:29:09 +01:00
b76ff81d63 Refactor widget key generation and restore logic
Updated the unique key generation for widgets to include a version token that forces a refresh when incremented. Adjusted the restore button logic to increment the token for a full UI redraw.
2025-12-31 14:59:06 +01:00
4f590676be Refactor widget handling and enhance comments
Refactor widget logic and improve comments for clarity.
2025-12-31 14:54:16 +01:00
ce5d262855 Implement single editor with prompts and history 2025-12-31 14:43:03 +01:00