Add editable dialogs for Phase outputs and refactor UI components#25
Merged
Add editable dialogs for Phase outputs and refactor UI components#25
Conversation
Introduce editable dialogs for both Phase 1 and Phase 2 markdown outputs so users can correct or refine generated text without cluttering the main view. - add `PHASE1_EDITED_BY_USER` and `PHASE2_EDITED_BY_USER` state flags - add Submit/Cancel edit dialogs for Phase 1 and Phase 2 outputs - persist submitted edits back into session state output fields - sync edited assistant content into conversation context so downstream refinement uses the updated Phase 1 text - update README to document the new “Edit output” flow and refinement behavior
Extract usage text formatting into `build_usage_caption()` so usage captions can be reused consistently across render paths instead of being tied to a placeholder call. Also reorganize Phase 1 output controls to improve clarity and reduce duplicate UI state: - replace separate usage/copy placeholders with inline columns - show usage caption alongside a compact ✏️ Edit button - append “Edited by user” to the usage caption when applicable - keep copy buttons directly under the output in both restored and streamed states This makes the output area cleaner and keeps usage/edit/copy behavior consistent.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.