Giter VIP home page Giter VIP logo

gatsby-source-trustpilot's People

Contributors

ikonrad avatar rrdial avatar thepeanutguy avatar

Stargazers

 avatar

Watchers

 avatar  avatar

gatsby-source-trustpilot's Issues

Tag the latest version

Hi, would it be possible to tag the latest version/release?
You changed it in the package.json but it's not tagged so it's hard to force to download that latest version.

And that latest push, it doesn't even exist in npm > https://www.npmjs.com/package/gatsby-source-trustpilot
can you publish the latest version to npm? Or is it unstable?

PD. The current 0.0.46 is preventing the project I'm working on from running, so that's why this request.

Unexisting domain/fallback?

I'm currently using the gatsby-source-trustpilot to show some reviews in a multi-domain website.

The main gatsby-config is shared for all builds in various domains, so i get the domain of the website as a variable and pass it in the arrays of domains i gatsby-source-trustpilot options with a main domain that i expected to use as a fallback. Unfortunately, not always the domain exist (as example dev enviroments or new domains), and this break the plugin

"gatsby-source-trustpilot" threw an error while running the sourceNodes
lifecycle:

404 - [object Object]

  44 |                         // Get Business Unit IDs for given domains
  45 |                         _context.next = 5;
> 46 |                         return client.fetchUnitIdsForDomains();
     |                                       ^
  47 |
  48 |                     case 5:
  49 |

is there a way to implement some kind of fallback?

Consumer name?

Hi

Looking through the docs it seems it's a separate API request to get consumers and their details. I'm guessing that's one of the things you're asking for PRs for ...

This is a great plugin by the way and works fine, thanks for making it!

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.