Skip to content

Conversation

@ErvisTusha
Copy link

This feature adds a count display for files modified during the current session in the TUI sidebar under the "Modified Files" section.
Changes

  • packages/opencode/src/cli/cmd/tui/routes/session/sidebar.tsx: Updated the display logic to show the count of session-modified files, making the expandable UI available when there are multiple files.
    Technical Details
  • Leverages existing session_diff data to count modified files
  • Maintains the expandable UI for better user experience with multiple modifications
  • Integrates seamlessly with the existing sidebar layout
    This provides users with immediate visibility into how many files have been modified in their current session.

@github-actions
Copy link
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

Based on my search, I found one potentially related PR that involves similar sidebar display functionality:

However, this appears to be addressing a different feature (OAuth usage vs. modified file counts). The current PR #7857 appears to be unique in its specific focus on displaying a count of session-modified files.

No duplicate PRs found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant