Git Product home page Git Product logo

Comments (4)

plouc avatar plouc commented on May 18, 2024

@juhamust could you please provide your component code ? How do you register your widgets ?

from mozaik.

juhamust avatar juhamust commented on May 18, 2024

I can, but now when I tested with built-in Weather widget it seems to give correct results (giving different weather info):

{
  type: 'weather.weather',
  city: 'Tokyo',
  country: 'JP',
  lang: 'en',
  limit: 2,
  columns: 1, rows: 1,
  x: 3, y: 1
},
{
  type: 'weather.weather',
  city: 'London',
  country: 'UK',
  lang: 'en',
  limit: 2,
  columns: 1, rows: 1,
  x: 0, y: 1
}

So I'll check the code once again, but if I still fail to succeed and you're willing have another look on it, that would be appreciated.

from mozaik.

plouc avatar plouc commented on May 18, 2024

@juhamust did you solved your problem ? if not, don't hesitate to provide your widget's code.

from mozaik.

juhamust avatar juhamust commented on May 18, 2024

Thanks for asking - I now had a time to look at the code again found the issue in id within getApiRequest(): It was not unique between locations. After including the location info into id, the issue was fixed.

By the way, that is possibly something to mention in Extending -section, too.

from mozaik.

Related Issues (20)

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.