Git Product home page Git Product logo

curated-query-loop's People

Contributors

psorensen avatar s3rgiosan avatar szepeviktor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

curated-query-loop's Issues

current `per_page` logic prevents common workflow

As an editor setting up a curated query loop, I'd expect this workflow:

  1. Add a Curated Query Loop block to the post
  2. Search For Post
  3. Select Post
  4. Search For Another Post
  5. Select Post
  6. ... and so on until the block is fully curated.

The current logic prevents this workflow because it is automatically updating the posts_per_page attribute whenever a post is selected, removing the search bar and preventing the user from easily searching for another post.

One solution is the always show the search bar, but this will prevent us from enforcing a limit.

Add option to "autofill" posts

Hi @psorensen

What are your thoughts on adding an option to autofill the posts if the curated posts are less than the posts.perPage or the default 10?
Let's say that an editor wants to show 5 posts, but only manually picked 2. With this option, the remaining 3 would be automatically fetched based on the query parameters?

Add Tests

Cypress is currently set up, but the tests are still boilerplate.

  • Block variation can be added to a post/page
  • Post can be added to the query loop
  • Multiple posts can be reorganized with drag-and-drop

Transform icon missing

Steps to reproduce:

  1. Create a standard query loop
  2. Transform to a curated query loop.
  3. Observe transform option doesn't have an icon.

As per what icon, I guess it should be the query loop icon?

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.