Skip to content

fix(tree-view): update expand icon direction#12554

Open
mcoker wants to merge 1 commit into
patternfly:mainfrom
mcoker:issue-12553
Open

fix(tree-view): update expand icon direction#12554
mcoker wants to merge 1 commit into
patternfly:mainfrom
mcoker:issue-12553

Conversation

@mcoker

@mcoker mcoker commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

fixes #12553

Summary by CodeRabbit

  • Bug Fixes
    • Updated the Tree View toggle indicator to display the correct right-facing caret icon.
    • Improved visual consistency for expandable Tree View items.
  • Style
    • Refined the interface styling to align with the latest PatternFly visual updates.

@mcoker mcoker requested review from kmcfaul and thatblindgeye July 10, 2026 01:00
@coderabbitai

coderabbitai Bot commented Jul 10, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 32245775-c9a2-45a5-b990-4fbfbf6d0727

📥 Commits

Reviewing files that changed from the base of the PR and between f8bcd7c and a4125f0.

⛔ Files ignored due to path filters (2)
  • packages/react-core/src/components/TreeView/__tests__/__snapshots__/TreeViewListItem.test.tsx.snap is excluded by !**/*.snap
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (6)
  • packages/react-core/package.json
  • packages/react-core/src/components/TreeView/TreeViewListItem.tsx
  • packages/react-docs/package.json
  • packages/react-icons/package.json
  • packages/react-styles/package.json
  • packages/react-tokens/package.json

Walkthrough

Updates PatternFly package references to 6.6.0-prerelease.18 and changes the TreeView toggle caret from RhMicronsCaretDownIcon to RhMicronsCaretRightIcon.

Changes

TreeView and PatternFly updates

Layer / File(s) Summary
PatternFly prerelease dependency alignment
packages/react-core/package.json, packages/react-docs/package.json, packages/react-icons/package.json, packages/react-styles/package.json, packages/react-tokens/package.json
Updates @patternfly/patternfly references to 6.6.0-prerelease.18.
TreeView toggle caret update
packages/react-core/src/components/TreeView/TreeViewListItem.tsx
Replaces the toggle caret import and rendered icon with RhMicronsCaretRightIcon.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Suggested reviewers: thatblindgeye, kmcfaul, nicolethoen

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title is concise and accurately describes the TreeView expand icon direction fix.
Linked Issues check ✅ Passed The TreeView icon swap to a right-caret matches the linked issue’s requested direction update.
Out of Scope Changes check ✅ Passed The PatternFly dependency bumps appear tied to the icon update and no unrelated feature work is shown.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@patternfly-build

patternfly-build commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update treeview expand icon

2 participants