Skip to content

Conversation

@canrobins13
Copy link
Contributor

@canrobins13 canrobins13 commented May 29, 2025

Description

Moves the condense context button out of the expanded task menu so that you can click it without having to open the menu up.
Requested by @hannesrudolph

Test Procedure

Tried clicking the button and it works

Type of Change

  • 🐛 Bug Fix: Non-breaking change that fixes an issue.
  • New Feature: Non-breaking change that adds functionality.
  • 💥 Breaking Change: Fix or feature that would cause existing functionality to not work as expected.
  • ♻️ Refactor: Code change that neither fixes a bug nor adds a feature.
  • 💅 Style: Changes that do not affect the meaning of the code (white-space, formatting, etc.).
  • 📚 Documentation: Updates to documentation files.
  • ⚙️ Build/CI: Changes to the build process or CI configuration.
  • 🧹 Chore: Other changes that don't modify src or test files.

Pre-Submission Checklist

  • Issue Linked: This PR is linked to an approved GitHub Issue (see "Related GitHub Issue" above).
  • Scope: My changes are focused on the linked issue (one major feature/fix per PR).
  • Self-Review: I have performed a thorough self-review of my code.
  • Code Quality:
    • My code adheres to the project's style guidelines.
    • There are no new linting errors or warnings (npm run lint).
    • All debug code (e.g., console.log) has been removed.
  • Testing:
    • New and/or updated tests have been added to cover my changes.
    • All tests pass locally (npm test).
    • The application builds successfully with my changes.
  • Branch Hygiene: My branch is up-to-date (rebased) with the main branch.
  • Documentation Impact: I have considered if my changes require documentation updates (see "Documentation Updates" section below).
  • Changeset: A changeset has been created using npm run changeset if this PR includes user-facing changes or dependency updates.
  • Contribution Guidelines: I have read and agree to the Contributor Guidelines.

Screenshots / Videos

image

Documentation Updates

  • Yes, documentation updates are required.

Update docs that mention the manual context condense button


Important

Refactor UI to move condense button from TaskActions to TaskHeader, improving accessibility and updating tests accordingly.

  • UI Changes:
    • Move condense button from TaskActions to TaskHeader for easier access without expanding the task menu.
    • Update TaskHeader to include condense button in collapsed state.
  • Code Changes:
    • Remove handleCondenseContext prop from TaskActions in TaskActions.tsx.
    • Add IconButton for condense action in TaskHeader.tsx.
  • Testing:
    • Update TaskHeader.test.tsx to test new condense button location and behavior.
    • Add tests for button click and disabled state.

This description was created by Ellipsis for 3753f3f. You can customize this summary. It will automatically update as commits are pushed.

@canrobins13 canrobins13 requested review from cte and mrubens as code owners May 29, 2025 01:41
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. documentation Improvements or additions to documentation UI/UX UI/UX related or focused labels May 29, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label May 29, 2025
@canrobins13 canrobins13 merged commit 70e753e into main May 29, 2025
10 checks passed
@canrobins13 canrobins13 deleted the canyon/move-condense-button branch May 29, 2025 01:58
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap May 29, 2025
@github-project-automation github-project-automation bot moved this from Triage to Done in Roo Code Roadmap May 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files. UI/UX UI/UX related or focused

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants