Currently, search results are displayed as a simple list without additional interaction options other than being opened when clicked. To improve user experience and file navigation, we should add a context menu to search result items.
Feature Requirements:
Implement a context menu using the existing UIContextMenu
The context menu should appear on right-click of any search result item
Include two primary actions:
Open File (can also be triggered by left-clicking the item)
Open Containing Folder (reveals the file's location in File Explorer)
Technical Notes:
Use the existing UIContextMenu component for consistency with the rest of the UI
The "Open File" action can reuse the same functionality as clicking the item
The "Open Containing Folder" action should:
Navigate to the parent directory of the file
Optionally highlight/select the file in its containing folder
You will need to use the UIWindow component for this:
Currently, search results are displayed as a simple list without additional interaction options other than being opened when clicked. To improve user experience and file navigation, we should add a context menu to search result items.
Feature Requirements:
UIContextMenu
Technical Notes:
UIContextMenu
component for consistency with the rest of the UIUIWindow
component for this: