Pass on events when in goal modal? #2006
Labels
C-Low Hanging Fruit
Ideal issue for new contributors.
S-Moderate
The fix or feature would substantially improve user experience.
T-Tutorial
Involves the tutorial experience for new players.
T-UI
Involves the user interface.
Z-User Experience
This issue seeks to make the game more enjoyable to play.
When the goal modal is open (i.e. when first loading a scenario), it is possible to click on other panels (e.g. REPL) to focus them, but keystrokes do not reach them. So e.g. it is impossible to type in the REPL while the goal modal is still open. This is especially noticeable during the tutorials, some of which explicitly tell you to click on the inventory panel, or do something in the REPL, and many of which explain some example code you can use. But in order to type this example code you must just memorize the code, close the goal panel, and then type (and then also remember that you can type Ctrl+G to bring up the panel again briefly, memorize further, close, keep typing...)
Sometimes, when there are multiple goals, keypress events actually do something in the goals modal (i.e. move around in the list of goals). I am not quite sure of the right thing to do in that case. But at least in the case of only a single goal, I think we should send events to the handler for whatever panel has focus.
The text was updated successfully, but these errors were encountered: