Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request- Auto populate option #252

Open
GodDevs opened this issue May 26, 2021 · 3 comments
Open

Feature request- Auto populate option #252

GodDevs opened this issue May 26, 2021 · 3 comments

Comments

@GodDevs
Copy link

GodDevs commented May 26, 2021

Which version of the plugin are you using?
[X] Data Populator for Sketch
[✓] Data Populator for Adobe XD

Is your feature request related to a problem? Please describe.
I am retriving data from a remote json but the data is not auto populating. It would be helpful if it auto populates. As the remote json regularly updates itself.

Describe the solution you'd like
It would be helpful if the data auto updates itself from the remote json rather than clicking populate button to update it again and again.

Describe alternatives you've considered
Addition of the feature of auto populate

@nitrada
Copy link
Member

nitrada commented May 26, 2021

@GodDevs i understand what you want to achieve, but not why. can you explain a bit more detailed?

@GodDevs
Copy link
Author

GodDevs commented May 28, 2021

@nitrada The remote api which is being used in my project updates regularly. So after hosting the website its not possible to update the data and again host the website. So it would be helpful if you remove the populate button or, after adding the {placeholder template} the data should automatically come in the placeholder just like the preview below the placeholder title.
It that way the data will be fetched from the api everytime the website opens and placeholder will always be updated.

@nitrada
Copy link
Member

nitrada commented May 30, 2021

what kind of data request triggers would you expect then for auto populate – on opening the document? time-based?

data populator is not really capable of "listening" to changes in the data coming from the API as we're using the REST paradigm (client requests, server responds). it sounds a bit as if you're wishing for something like "streaming data" via eg websocket, but that's a whole different chapter and currently not planned 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants