Comments (4)
Hi @jonepatr,
there are 2 reasons I haven't done this yet:
- I felt that GMs usually want some control of what gets synced and what doesn't, especially since a large number of entries (not just in the journal but also Actors, Items etc.) can slow down Foundry on startup because everything has to be downloaded (that's why foundry has compendiums, which aren't downloaded on startup).
- I'm always concerned about the number of requests the module has to make to the Kanka API with a timeframe of 60 seconds, because there is a rate limit in place that forbids more than 30 requests (I think 90 for subscribers) per minute. That being said, I usually don't load every entity individually, so this should only be a concern for pretty large campaigns (I'd say upwards of 1000 entities, but it depends on different factors).
I'll look into this, it shouldn't be hard to implement in general. So I'll probably add this sometime soon.
from kanka-foundry.
One option could be to sync in the background and notify the user when the sync is done through a notification. That way the time it takes and the rate limit is not as noticable. The kanka-foundry window could have a percentage showing how much of the content is synced, so that if you have a really big kanka campaign you can actually see that things are happening, but if it's relatively small it should happen almost instantenously.
from kanka-foundry.
I have thought about a progress bar before. I have even build a small debug tool in the module that shows the current rate limit at all times (though only in debug mode, to help me in development). I have marked this feature for 2.1.0 as I intend to implemented it (once I have more time so spend on this).
from kanka-foundry.
🎉 This issue has been resolved in version 2.1.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀
from kanka-foundry.
Related Issues (20)
- Add Kanka 1.33 features HOT 1
- Relations always show as hidden HOT 3
- Journal assets aren't opening correctly
- Some items that are live in Kanka are showing as deleted in Foundry HOT 1
- Security issue! HOT 6
- Creatures for the foundry
- Missing the Creatures entry.
- Infinite Loading HOT 7
- Convo: api.kanka.io HOT 7
- [Feature Request] Integration with MJE (Even on Commission) HOT 1
- [Documentation] Can you explain how to activate/use the developing on the readme ? HOT 3
- Kanka 2.0 broke something. HOT 12
- Linked entities opens directly in Kanka HOT 1
- Update to 3.1.12 broke self-hosted Kanka HOT 3
- Allow Editing Of Kanka.io Journals In Foundry? HOT 1
- Tree limitation HOT 1
- Cannot read properties of undefined (reading '0') HOT 16
- New Kanka journal options? HOT 2
- Kanka Characters Won't Link to Foundry HOT 4
- Show entity events HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kanka-foundry.