Jump to content

Dynamically update dashboard panels


Zoltan
  • Accepted

For example, I had a fish in the inventory. After consumption it should be removed.

QOoWzWg.png



  Report Suggestion



User Feedback

Recommended Comments

  • Developers

I like it in principle, though we already have a fair bit of ajax happening in the background. This would require clearing the div, then making another call to get the current inventory and recreate it. This could get a bit messy for example if you're consuming several things in quick succession, I can see flex going a bit crazy with the div refreshing so many times.

Link to comment
Share on other sites

  • Administrators

Hmm, is there a way to do it in a certain order?
For example, what if the dashboard would reflect changes instantly (before the ajax call happens),
then do the ajax calls all together in one call, then update everything if needed accordingly?

Ie. I click food and drink in quick succession. Dashboard updates on my end showing me the changes, at this point server still has the old values. Then say 3 seconds later the ajax call happens but this time you update both food and drink in one call, and only modify the dashboard on my end if it's different from the server's data?

Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...