fix/ask window toggle behavior & improved follow-up question functionality #118
+2,933
−935
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

name: Pull Request
about: Propose a change to the codebase
Summary of Changes
This pull request fixes the ask window toggle behavior and adds improved follow-up question functionality. The main changes include:
Ctrl+Enternow properly shows the text input for follow-up questions instead of doing nothingCtrl+Escapeshortcut to close the ask windowRelated Issue
Contributor's Self-Review Checklist
Please check the boxes that apply. This is a reminder of what we look for in a good pull request.
Technical Details
Files Modified:
src/electron/windowManager.js:closeAskshortcut to default keybindssrc/features/ask/AskView.js:src/features/settings/SettingsView.js:src/features/settings/ShortCutSettingsView.js:closeAskto display name mapKey Features:
Ctrl+Enter(Ask Anything):Ctrl+Escape(Close Ask Window): Closes the ask window when it's openFollow-up Questions: After receiving an answer, users can press
Ctrl+Enterto show the text input and continue the conversation with context maintainedAdditional Context
The implementation maintains backward compatibility and doesn't delete any existing functionality. All changes are additive and improve the user experience for iterative AI interactions. The ask window now provides a much better user experience for natural conversations with the AI about screen content and audio.
Testing
The changes have been tested locally and all functionality works as expected: