scratchfoundation / scratchfoundation/scratch-blocks

'set drag style' block currently lacks a context to work and appears broken

Open
#1,341 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
2.8k
Forks
1.6k
Avg merge
4h 51m
Merged PRs (30d)
12

Description

Overview

We moved "drag styles" into a block rather than a setting in the Sprite Info Pane. This block has not been fully implemented and lacks a context to work (e.g. Player Mode).

Drag styles in 2.0 and 3.0 should not take effect in any stage view in the editor (small stage, large stage, and fullscreen). This is only relevant for the play mode on the project page or on embeds.

screen shot 2018-01-16 at 1 29 47 pm

Currently it the block looks like it is broken because it never takes effect. Should we hide/remove the block until the block and player contexts are more robust.

cc @thisandagain - We may want to pull this out before the Preview. Defer to you. Feel free to remove critical label.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the “set drag style” block and its stage/player context handling described in this issue. Compare behavior across small, large, and fullscreen editor stages versus project-page or embed play mode; done means drag styles only take effect in play mode, or the block is hidden or removed if that context is unsupported.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.