scratchfoundation / scratchfoundation/scratch-blocks

Allow a scratch extension to have smaller icons

Open
#2,049 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Expected Behavior

When adding an icon to a Scratch block the block grows in height. As a developer that uses many icons it means all blocks are taller than the normal scratch blocks. Instead it would be great if it was possible to set the icon size, or choose an alternative size that doesn't make the block grow.

image-2019-11-20-09-16-27-202

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

No implementation files or tests are named. Start by locating the icon rendering and block sizing entry points, then determine how a configurable or alternative icon size should avoid increasing block height and verify the behavior with the relevant block tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.