Draft
Conversation
…logs and sections
# Conflicts: # go.mod
- Calculate max overlay lines based on terminal height instead of fixed 10 - Change overlay sizing from percentage (80%) to absolute dimensions - Add overlayMaxLines() function for responsive log buffer
# Conflicts: # cmd/project/project_create.go # go.mod
- Updated the GeneralModel View method to use a strings.Builder for efficient string concatenation. - Replaced lipgloss styles with centralized TUI styles in various components. - Introduced new TUI utility functions for rendering badges, headers, and labels. - Simplified the rendering logic in the LogsModel and other TUI components. - Added new files for TUI elements such as badges, headers, labels, and panels. - Enhanced the SelectList and ShortcutBar for better user interaction. - Improved the overall structure and organization of the TUI package.
Split the 1130-line model.go into focused files: - model.go: types, constants, New(), Init(), Update() dispatch - model_update.go: lifecycle, key press, install prompt handlers - model_view.go: all rendering methods - model_commands.go: async commands, streaming helpers Additional cleanups: - Extract streamCmdOutput() and readFromChan() helpers - Extract renderConfirmButtons() for yes/no dialogs - Extract phaseHeaderFooter() shared by overlay renderers - Deduplicate command palette item rendering - Extract streamCommand() in LogsModel for container/file streaming - Remove unused key constants
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.