Giter VIP home page Giter VIP logo

Comments (10)

nitrada avatar nitrada commented on May 14, 2024

We're investigating.

from data-populator.

nitrada avatar nitrada commented on May 14, 2024

@sweeting we're still having several issues, but you can check this out: https://github.com/preciousforever/sketch-data-populator/releases/tag/v1.6-beta.1

from data-populator.

skipjack avatar skipjack commented on May 14, 2024

I'm not sure if my issue is the same as the one described here as it looks like that twitter account is protected... if it's not I'd be happy to create a new issue. I'll leave this one closed and wait for advice for a bit before doing anything else.

I was wondering if something like this is possible:

image

It would be great if this plugin could override the placeholder override. I've just started playing around with this plugin so maybe I'm missing something or approaching this in the wrong way but I'm seeing a few issues with using it to populate data within symbols (and nested symbols).

from data-populator.

nitrada avatar nitrada commented on May 14, 2024

@skipjack have you tried using {name} in the content of the layer inside the symbol? Like this, the placeholders always remain unpopulated and the populated data is just in the overrides.

from data-populator.

skipjack avatar skipjack commented on May 14, 2024

@nitrada thanks for the quick response! Yes that does work however the symbols I'm trying to populate are broadly used and thus would not have the same {placeholder} data in every instance.

So detaching them and doing what you mentioned works, but then I lose out on updates to those common symbols.

from data-populator.

nitrada avatar nitrada commented on May 14, 2024

@skipjack you don't need to detach them. They can have different data in each instance although they have the same placeholder in the symbol!

from data-populator.

skipjack avatar skipjack commented on May 14, 2024

@nitrada Sorry I think I should have mentioned these are overrides within nested symbols. Also, I meant they wouldn't necessarily be pulling from the same key within the JSON data. I can try to put together a demo if that would be helpful.

Related side note: Are there any good videos or tutorials you could point me towards that go through using this plugin for symbols and nested symbols? I was looking through the readme but couldn't find much on symbols except for the swapSymbol directive.

from data-populator.

nitrada avatar nitrada commented on May 14, 2024

@skipjack sorry, no video tutorials. but have you checked the demo.sketch?

what about creating different nested symbols, each with their own data key {placeholder}? you could then use swapSymbol to change them driven by data…

from data-populator.

nitrada avatar nitrada commented on May 14, 2024

(regarding the feature you mentioned earlier: would be great if you coud open a new issue as a feature request. demo would be helpful, too!)

from data-populator.

skipjack avatar skipjack commented on May 14, 2024

@nitrada sounds good, I'll...

  • check out the demo.sketch file
  • give this some more thought and try the alternatives you mentioned
  • create a new issue with more details and an example

Thanks again!

from data-populator.

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.