Skip to content

Conversation

@VictoriousRaptor
Copy link
Contributor

No description provided.

@github-actions github-actions bot added this to the 2.1.0 milestone Jan 18, 2026
@gitstream-cm
Copy link

gitstream-cm bot commented Jan 18, 2026

🥷 Code experts: jjw24

jjw24, Jack251970 have most 👩‍💻 activity in the files.
jjw24 has most 🧠 knowledge in the files.

See details

Flow.Launcher/Converters/OpenResultHotkeyVisibilityConverter.cs

Activity based on git-commit:

jjw24 Jack251970
JAN
DEC
NOV
OCT
SEP
AUG

Knowledge based on git-blame:
jjw24: 100%

Flow.Launcher/Converters/OrdinalConverter.cs

Activity based on git-commit:

jjw24 Jack251970
JAN
DEC
NOV
OCT
SEP
AUG

Knowledge based on git-blame:
jjw24: 100%

Flow.Launcher/ResultListBox.xaml

Activity based on git-commit:

jjw24 Jack251970
JAN
DEC
NOV
OCT 1 additions & 0 deletions
SEP
AUG

Knowledge based on git-blame:
jjw24: 100%

Flow.Launcher/ResultListBox.xaml.cs

Activity based on git-commit:

jjw24 Jack251970
JAN
DEC
NOV 25 additions & 22 deletions
OCT
SEP
AUG

Knowledge based on git-blame:
jjw24: 85%

✨ Comment /gs review for LinearB AI review. Learn how to automate it here.

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 pull request enables virtualization with recycling mode for the ResultListBox, which improves memory efficiency by reusing ListBoxItem containers instead of creating new ones for each data item. The changes update the selection logic and converters to work correctly with recycled containers by referencing data items instead of container instances.

Changes:

  • Enabled virtualization recycling mode in the ResultListBox XAML
  • Updated selection tracking to use ResultViewModel data items instead of ListBoxItem containers
  • Modified OrdinalConverter and OpenResultHotkeyVisibilityConverter to use data-based indexing instead of container-based indexing

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
Flow.Launcher/ResultListBox.xaml Changed VirtualizationMode from "Standard" to "Recycling" and removed trailing whitespace
Flow.Launcher/ResultListBox.xaml.cs Replaced ListBoxItem container tracking with ResultViewModel data tracking for recycling compatibility
Flow.Launcher/Converters/OrdinalConverter.cs Changed from container-based to data-based index lookup with appropriate null handling
Flow.Launcher/Converters/OpenResultHotkeyVisibilityConverter.cs Changed from container-based to data-based index lookup with appropriate null handling

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

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.

2 participants