Jasonette / Jasonette/JASONETTE-iOS
Add "ratio" attribute to component styles
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5.2k
- Forks
- 347
- PR merge metrics
- No merged PRs in 30d
Description
As discussed at https://github.com/Jasonette/documentation/issues/62
Ratio refers to aspect ratio (width/height)
Example:
```
{
"type": "image",
"url": "file://image.jpg",
"style": {
"width": "100px",
"ratio": "1.0"
}
}
```
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
Start with the discussion in Jasonette/documentation#62 and locate the component-style handling used by the shown image example. Trace how style attributes are parsed and applied, then verify that the new ratio value is honored as width divided by height.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, javascript
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100