Skip to content

Interaction with the GUI components

carlottahillger edited this page May 28, 2022 · 4 revisions

Requirements for Milestone "Interaction with the GUI components"

Functional Requirements:

  • The user should be able to drag the code blocks from the selection menu and release them on the canvas. (Issue 16)
  • The user should be able to move code blocks within the canvas. (Issue 16)
  • The dragged block should “snap” into position if they are below or above another block. (Issue 22)
  • The code blocks should remain in the canvas unless they are removed by the user. (Issue 16)
  • The user can give input for the code blocks that take input (e.g., seconds).
  • The code blocks should be draggable into the "repeat x times" block with an exception of the "repeat x times" block itself (Issue 51)
  • When a code block is dragged from the selection menu it should be duplicated. (Issue 16)
  • Code blocks dragged from the canvas to the trash can icon should be deleted from the canvas. (Issue 27)
  • Code blocks from the selection menu should not be deletable (Issue 27)
  • Code blocks can not be dragged into other code blocks than the "repeat x times" block. (Issue 51)

Non-Functional Requirements:

  • The blocks in the selection menu should remain there until the clear button is pressed or the are dragged into the trash can. (Issue 16)
  • The code blocks should have a shape resembling a puzzle piece (Issue 42)