travel icon indicating copy to clipboard operation
travel copied to clipboard

[Gutenberg] Build a "Browse by activity" block for Homepage

Open postphotos opened this issue 6 years ago • 3 comments

part of the components listed in #12.

As requested (and detailed) by @miina here.

Mockups are available here:

  • https://www.figma.com/file/L14jTE7iNGOE7DH57Ro7ncyu/Travel-Theme
  • https://ampstart-iframes.firebaseapp.com/templates/travel/travel.amp

Some notes from #9 apply here:

Would be used for the display post (next to "Discover Adventures"), for Top Adventures Near You; Would have controls to choose: How many posts to show; Which category posts to show; How to sort (e.g. by meta value X); Layout / or which fields to display. For example for the post next to "Discover Adventures" you could choose layout A; 1 post; category "Food", for the the Top Adventures Near You" could choose layout B; 3 posts; category "Adventure"; sort by meta value Review; Question: Does this make sense for these two sections from the editor's point of view?

Category/taxonomy list block: Would be used for "Browse by activity" and "Featured destinations"; Would have option to choose which fields to display (e.g. meta value such as icon / background image; count of posts Option to choose how many categories to display; Perhaps option to filter by "featured" Option to sort by ... ?

postphotos avatar Apr 03 '18 15:04 postphotos

Request For Testing

Hi Claudio, Could you please test this block?

  1. Create a new page
  2. Add an "Activity List" block

Expected:

  • It matches the design for desktop and mobile
  • It's responsive in the editor and the front-end
  • The text here is editable: activity-list-editor

kienstra avatar Apr 27 '18 22:04 kienstra

Created activity block page and published to http://dev-amp-start-travel.pantheonsite.io/qa-activity-list-block/

Should the page title "QA - Activity List Block" be appearing anywhere here (I see it as the page title tag, but should it be on page as well?

csossi avatar May 05 '18 19:05 csossi

Page Title

Hi @csossi,

Should the page title "QA - Activity List Block" be appearing anywhere here (I see it as the page title tag, but should it be on page as well?

Good question. I don't think that's a problem, as the title doesn't appear on the home page. Which is the only place we expect the blocks to be right now.

kienstra avatar May 06 '18 20:05 kienstra