Skip to content

Conversation

@akleshchev
Copy link
Contributor

Added sortable colum that display checkmark for active gestures.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a visual indicator column to the gesture list UI to show which gestures are currently active using a checkmark icon, improving user experience by making gesture state immediately visible.

  • Added a new "active" column with checkmark icons to display gesture active state
  • Implemented icon sizing functionality in LLScrollListIcon to support custom icon dimensions
  • Updated column indexing throughout the gesture list to accommodate the new first column

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
floater_gesture.xml Added new "active" icon column and adjusted "name" column width to accommodate it
llfloatergesture.cpp Shifted all column indices by 1 and added logic to populate the active column with checkmark icons
llscrolllistcell.h Added setIconSize method and mIconSize member variable to LLScrollListIcon
llscrolllistcell.cpp Implemented icon size functionality with updated draw logic and width calculation
Comments suppressed due to low confidence (1)

indra/newview/llfloatergesture.cpp:315

  • Using a static local variable for font_style causes the previous call's value to persist across invocations. If a playing gesture sets it to 'BOLD', subsequent non-playing gestures will incorrectly inherit 'BOLD' style. Change this to a non-static local variable.
    static std::string font_style = "NORMAL";

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@akleshchev akleshchev merged commit 1d42bf7 into develop Oct 30, 2025
15 checks passed
@akleshchev akleshchev deleted the andreyk/viewer_3670 branch October 30, 2025 20:14
@github-actions github-actions bot locked and limited conversation to collaborators Oct 30, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a Sortable Status Column to the Gestures Pane

4 participants