Feat/context menu and enhancement actions#1787
Feat/context menu and enhancement actions#1787caduHD4 wants to merge 14 commits intohydralauncher:mainfrom
Conversation
- Added ContextMenu and GameContextMenu with actions (play, favorite, manage). - Integrated useGameActions hook and updated SidebarGameItem for right-click menu. - Enhanced game details and RepacksModal (filters, styling, disabled states).
|
It's something I really wanted to have. Thank you! |
|
It turned out really well, it really is very useful, congratulations. |
Added filter toggle functionality with icons to repacks modal.
|
Nice work, that's a life changer feature |
|
@caduHD4 thanks for the fantastic work done here, but could you please create separate PRs for each of the features you have made? Plus, you can keep the translations to just English + your native language if you will. The community can translate the rest. |
Sure, as soon as possible I'll separate them and resubmit the PRs. I added the translations for all languages, so should I just leave them in en and pt-br, or should I keep the ones I translated? |
Please remove the additional ones that you have translated. |
…ithub.com/caduHD4/hydra into feat/context_menu-and-enhancement-actions
…at/context_menu-and-enhancement-actions
|
|
@thegrannychaseroperation I made two other PRs for the features, and removed the extra languages, can I close this PR? |
|
Closing since it has been handled by other PRs. |




When submitting this pull request, I confirm the following (please check the boxes):
Fill in the PR content:
Description
This PR introduces a context menu (right-click) for games in the library, providing new interaction and management options.
It also improves the repacks modal with filtering, source management, and clearer usability.
Main Changes
Context Menu for games
Implemented
ContextMenuandGameContextMenuwith actions:Support for both installed and non-installed games.
Integrated with
useGameActionsto centralize all available actions.Updated
SidebarGameItemto open the context menu on right-click.Repacks Modal
Translations
📸 Screenshots & Analysis
1. Context menu on installed game
When right-clicking an installed game, the context menu provides:
2. Manage submenu
Expands the Manage option, showing additional actions:
3. Shortcuts submenu
The Create Shortcut submenu expands to provide:
4. Repacks Modal with source filter
Updated repacks modal featuring:
5. Repacks Modal with no sources available
When no sources are available for a game:
6. Context menu on non-installed game
For non-installed games, the context menu replaces Play with:
Other options (Favorites, Manage, Properties) remain consistent.
7. Confirmation modal before removing game
Before removing a game from the library, a confirmation modal is shown with:
✅ Implemented
Developer Notes
I’m aware that there is already a generic confirmation modal available in the project, but since it is more tightly integrated with the
game-options-modal, I decided to implement a separate component for this PR.If you think it would be better to follow the existing project architecture, feel free to refactor and replace it with the standard modal.
The same applies to any other part of this implementation that may not strictly follow the existing patterns — I tried to leverage the already available game actions as much as possible. It took a bit of time to get the context menu working smoothly, but in the end it came together well.
I’d really appreciate it if this could be approved for the next update, as long as there are no merge conflicts. 🙏
I’m confident that users are going to love this feature. 🚀