infinitered / infinitered/rmq

distribute(:flow)

Open
#158 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
HTML
Stars
305
Forks
51
PR merge metrics
No merged PRs in 30d

Description

It would be great to be able to append a bunch of views and then call something like:

``` ruby
.distribute(:flow, options = {
padding: 5,
center_last: true
})
```

to turn the views into a flow based on the width of the parent view:

```
X X X
X X X
X
```

or without the `center_last`

```
X X X
X X X
X
```

Contributor guide

No contributing guide indexed for this repository

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

The issue names no files, tests, or existing entry points. Start by locating RMQ's current view distribution and layout code, then compare its behavior with the requested padding and center_last examples; done means views wrap to the parent width in both modes.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.