Giter VIP home page Giter VIP logo

reading-length-2.0's People

Contributors

imgbotapp avatar putnam14 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

michaeldaniello

reading-length-2.0's Issues

Related books need to be styled

Related books need to be styled, with images a proper size and four per row on full-screen. Flexbox will be good for this, try experimenting with creating 'card's for each book.

Will need to break out a new component, RelatedBooks with RelatedBooksStyles.

Make each book link to their book detail page.

Pull price information on page load

Most online retailers require you to pull price information every time a page is loaded. This ensures the price isn't stale. We should start off including at least Amazon and Powell's. Need to research Amazon's ToS and if using Amazon data is allowed if also using Powell's affiliate link.

Upgrade to NextJS 8

Looks cool.
https://nextjs.org/blog/next-8

Subtasks:

  • Figure out how to set up next.config.js and the @now/next builder (Do we still point it to package.json or the config?)
  • Use the next.config.js instead of env-config and babel for setting environment variables

Really low wordcounts for bigger books

For some longer books, wordcounts are awfully low. The Big Short says 17 minutes. This ain't right. Maybe put in a check for minutes < page count if the number of pages is over 100? Want to be cognizant of issue #4

Wordcount not being derived for shorter books

Some shorter books have audiobooks with a length in minutes less than the page count of the book. We shouldn't ignore these. The check for length < pages is only useful for huge books (Ulysses, War and Peace, etc.). 350 pages could be the cutoff.

Powell's price integration

Powell's has a 'Partner' program, but they are not currently accepting applications. My older Partner account appears to have been made inactive. Will need to check back up on this at a later date.

Related issue: #12

Grab all the book data before attempting to render the page

Until issue #51 can be resolved, the apollo client will need to be modified to fetch the queries before rendering a page. I imagine this will be a performance hit, and not sustainable once we do user functionality.

Background: Crawlers need to have access to meta tags for the book pages, which are populated after the queries are ran.

Wordcounts should signify their accuracy

Wordcount's should be more descriptive. '123456 words' -> 'Estimated at 123,456 words based on audiobook length' or 'Estimated at 123,456 words based on page count'
Alternatively:
123456 words
Estimate based on audiobook length

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.