Giter VIP home page Giter VIP logo

contenta_ember's People

Contributors

bmx269 avatar chris-hamper avatar e0ipso avatar kmbremner avatar left23 avatar lisacorcoran avatar techbot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

contenta_ember's Issues

Search site

There's a placeholder search input with no functionality in shelf-area.hbs

I'm not sure how this should work.

Autocomplete would be cool but I don't know if we do it per section (like suggest recipes only) or for all content?

I think it's a better UX to have a clickable button instead of relying on the Enter key only. Maybe the icon.

There is no space restriction so I can't see any design value to having it toggle from hidden to visible, at the moment.

Promoted Items - how it should work, and what is there now

See https://www.drupal.org/files/issues/1%20-%20Umami%20Front%20wirefame%20v4.png
and http://umami.emc23.com

Note the first element: the Promoted Items. The first item has "Our recipe pick", and then "type" on the second and third item.

Note: In order to see this properly, you can use http://contenta.eclecticmeme.com source. Only a few items are promoted here, whereas http://live-contentacms.pantheonsite.io has most items promoted.

What we have now:

Currently we have only Recipe and Article (with only one piece of content) content types. Let's assume article is the same as feature, for now.

This element is the index.hbs, meaning it is in the content outlet area of the app.
See application.hbs line 9 - 16 (brings in index.hbs for frontpage only) and 24 - 31 (all other pages)

For the items loops, I use .firstObject and assign it a different component (just for the template file, because it's only markup) so I can achieve a different layout (title above image).

FilterByPromoted action is currently limited to recipes content type. I have duplicate code in controllers/index.js and application.js because I don't know what is best.

This is how I think that area should work:

  1. Need to access articles, recipes, and maybe other (or all) content types. Depends whether the criteria is type-specific, or only that a node has the promoted flag.
  2. Add isPromoted = true to the action query? Currently it seems to not show promoted, except in the first item's case, or there may be another filter conflicting
  3. Nice to have - This should be a feature that can be added anywhere i.e. not part of the index.hbs
  4. Nice to have - I would like to be able to add the .firstObject conditional to the promoted-listing component, not index.hbs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.