C2LC-496: Don't allow hiding of an action if it's currently selected.

Metadata

Source
C2LC-496
Type
Task
Priority
N/A
Status
Pull Request
Resolution
N/A
Assignee
Daniel Cho
Reporter
Created
2021-10-05T08:37:26.025-0400
Updated
2024-05-13T11:43:19.714-0400
Versions
N/A
Fixed Versions
N/A
Component
  1. Coding Environment

Description

Currently, you can hide the selected action, and still add it to the program even though it's hidden.  Although C2LC-494 made it possible to manually fix the issue, we agreed to clean things up further:

  1. The actions menu should display "Selected" next to the selected action.
  2. It should not be possible to hide the selected action.
  3. The modal should correctly display the selected command if it's changed using keyboard shortcuts while the modal is open.

Comments

  • Simon Bates commented 2024-05-02T10:38:41.704-0400

    Steps to reproduce:

    • Begin with all actions visible
    • Select move forward
    • Open the simplification dialog
    • Hide the move forward action and close the dialog
    • Click on an add “+” in the program editor to add a move forward action to the program
  • Simon Bates commented 2024-05-13T11:43:19.714-0400

    Moved to GitHub: https://github.com/codelearncreate/c2lc-coding-environment/issues/505