The delete button doesn't delete anything anywhere.
Pressing the delete button does nothing; furthermore, the four buttons are barely visible and may go unnoticed by the user.
The delete button doesn't delete anything anywhere.
Pressing the delete button does nothing; furthermore, the four buttons are barely visible and may go unnoticed by the user.
Resolved in spikersoft-angular PR #45 (merged to master).
The core problem was the second half of this report — "the four buttons are barely visible and may go unnoticed." The toolbar actions had very low contrast at rest, so the trash/discard button looked inert, which is why it seemed like "the delete button doesn't delete anything." PR #45 brightens the enabled state and increases the disabled-state opacity so the buttons (and whether they're actionable) are clearly visible.
On the function itself: the trash icon is Discard all blocks — it calls Blockly's workspace.clear() and is enabled whenever the workspace has blocks (hasBlocks(), driven by the workspace change listener). That path works. To delete a single block, use Blockly's built-ins: select it and press Delete/Backspace, or drag it to the trashcan (enabled in this workspace). Closing — please reopen if the discard button still appears to do nothing with blocks present.
Resolved in `spikersoft-angular` PR #45 (merged to `master`).
The core problem was the second half of this report — *"the four buttons are barely visible and may go unnoticed."* The toolbar actions had very low contrast at rest, so the trash/discard button looked inert, which is why it seemed like "the delete button doesn't delete anything." PR #45 brightens the enabled state and increases the disabled-state opacity so the buttons (and whether they're actionable) are clearly visible.
On the function itself: the trash icon is **Discard all blocks** — it calls Blockly's `workspace.clear()` and is enabled whenever the workspace has blocks (`hasBlocks()`, driven by the workspace change listener). That path works. To delete a **single** block, use Blockly's built-ins: select it and press Delete/Backspace, or drag it to the trashcan (enabled in this workspace). Closing — please reopen if the discard button still appears to do nothing with blocks present.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The delete button doesn't delete anything anywhere.
Pressing the delete button does nothing; furthermore, the four buttons are barely visible and may go unnoticed by the user.
Resolved in
spikersoft-angularPR #45 (merged tomaster).The core problem was the second half of this report — "the four buttons are barely visible and may go unnoticed." The toolbar actions had very low contrast at rest, so the trash/discard button looked inert, which is why it seemed like "the delete button doesn't delete anything." PR #45 brightens the enabled state and increases the disabled-state opacity so the buttons (and whether they're actionable) are clearly visible.
On the function itself: the trash icon is Discard all blocks — it calls Blockly's
workspace.clear()and is enabled whenever the workspace has blocks (hasBlocks(), driven by the workspace change listener). That path works. To delete a single block, use Blockly's built-ins: select it and press Delete/Backspace, or drag it to the trashcan (enabled in this workspace). Closing — please reopen if the discard button still appears to do nothing with blocks present.