Skip to content

Conversation

@Praveenkumar02023
Copy link

Description

This PR addresses issue #6137.

Currently, users are required to click the small arrow/chevron icon to expand or collapse Collections and Folders. This change improves the UX by allowing users to click the text name of the Collection or Folder to toggle the expand/collapse state as well.

Key Changes:

  • Modified Collection/index.js (Root Collection) and CollectionItem/index.js (Sub-folders).
  • Added onClick handlers to the text elements to trigger the toggle action.
  • Added hover:underline style to the text to indicate interactivity.
  • Preserved existing behavior: Clicking the empty space (row background) to the right of the text still opens the Settings tab, ensuring no functionality is lost.
  • Requests: Logic ensures that clicking a Request item name still opens the request tab, not the collapse action.

Demo

bruno_2.mp4

Contribution Checklist:

  • The pull request only addresses one issue or adds one feature.
  • The pull request does not introduce any breaking changes
  • I have added screenshots or gifs to help explain the change if applicable.
  • I have read the contribution guidelines.
  • Create an issue and link to the pull request.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant