Implement format options for images in labels
Open
Nobody has claimed this yet.
feature :green_apple:
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
I dont find any documentation about the format expression for the text-field.
It is possible to change parameters for text. But is it also possible to edit image parameters like scale or color?
for example:
"text-field": ["format", ["image", "/station.png"], { "image-scale": 1.2 }]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by locating the text-field format expression and image handling, then determine how image options such as scale and color are represented and tested. Done means the requested image parameters work in formatted labels and their supported usage is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100