Yesterday at the D4D sprint we talked about naming conventions, including terms like Brick, Wall, Basic, etc. I created this issue for discussion about that.

Issue fork bricks-2889635

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Rick Hood created an issue. See original summary.

Rick Hood’s picture

Title: Naming convenction » Naming convention
Rick Hood’s picture

People think in terms of “rows” on a page because in mobile everything is stacked in rows on a page.

That does not necessarily mean that “row” is the right term for containers of content ton the page, but possibly. Other people use other terms, “slice” is one.

I do that that regardless of what you call things, content on pages are organized like this, not unlike a spreadsheet is organized:

row 1
- cell 1 (maybe a banner widget)
row 2
- cell 1
- cell 2
- cell 3
row 3
- cell 1
… etc.

Since the module is called “Bricks” I think cell = brick makes sense. If so, then the only question really is what to call a “row”.

However…..

Cells (bricks) do not have to be in a “row”. They are in a row if they are inside of a layout or a wrapper, right? So can one thing of if it like this:

brick 1 (perhaps a banner brick on its own)
row 1 (3 column layout
- brick 2
- brick 3
- brick 4
brick 5 (perhaps a text brick on it’s own)
row 2 (a special wrapper)
- brick 6
… etc.

When actually creating content using bricks the choices are (at the moment):

- layout (a “row” or “container”)
- wrapper (a “row” or “container”)
- image (content)
- text (content)

I am just thinking out loud here, to throw out some thoughts, not sure of the answer.

anydigital’s picture

Issue tags: +Design 4 Drupal Boston, +Design 4 Drupal Boston 2017
Parent issue: » #2885683: Better editing UX

Thanks for sharing your thoughts!

I personally think we are moving in the right direction, despite the fact we don't have a clear answer yet J

Let's just make a notes here, and see what we'll have in the result!

apaderno’s picture

Issue tags: -Design 4 Drupal Boston 2017

AditiVB made their first commit to this issue’s fork.