itdove/devaiflow#358: Session names truncated in 'daf list' making sessions impossible to reopen on small terminals#359
Merged
Conversation
- Add no_wrap=True to Name column in session list table - Update integration tests to verify full session names instead of prefixes - Update unit test assertions to check complete session names - Remove truncation handling logic from test comments and assertions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add prompt_session_selection() with Rich table UI - Implement 25-item pagination with page navigation - Display session metadata (workspace, issue, status, last activity) - Highlight most recent session with green indicator 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
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.
This PR does not need a corresponding Jira item.
Description
This PR fixes an issue where session names were being truncated in the
daf listcommand output on small terminals, making it impossible to identify and reopen sessions. The fix modifies the list command to display full session names regardless of terminal width, ensuring users can always see complete session information needed to reopen them.The changes update the output formatting logic in the list command to prevent truncation while maintaining readability. Integration and unit tests have been added to verify the fix works across different terminal sizes.
Related GitHub Issue: #358
Assisted-by: Claude
Testing
Steps to test
daf listin a terminal with reduced width (e.g., resize terminal to ~80 columns or less)./integration-tests/test_investigation.shpytest tests/test_list_command.pyScenarios tested
Deployment considerations