Coder Social home page Coder Social logo

Comments (4)

NJTuley avatar NJTuley commented on June 30, 2024

We can't do this. This would require us to know exactly how long it would take for the citysdk request to send us back a response, which depends on 1) User's internet speed, 2) CitySDK server responsivity, and other reasons, and we aren't able to know this. The best we could do is have it freeze at say, 25% or 50% and wait there until it finishes, then move it to 100%. I personally like it how it is, the motion shows that the page has not frozen to the user, and maintains their confidence that the page is working (even though it is just an arbitrarily moving bar). I think it serves its purpose as best it can for our web page

from cmv.

ravenusmc avatar ravenusmc commented on June 30, 2024

Yeah, Carlos and I were talking about this. He thought that there may be a way to do it but your reasons Nick are what we were thinking as well-something that shows the user that the system has not timed out. If I remember correctly, Carlos said that his original purpose was basically that. If Carlos does know a way then I think give it a shot but more than likely you are right and we should close this task. Others thoughts?

from cmv.

ravenusmc avatar ravenusmc commented on June 30, 2024

Should we close this task out?

from cmv.

NJTuley avatar NJTuley commented on June 30, 2024

In order to show the user best that their data request is being processed, and to which map the data is being processed for (and where the data will be output), the new plan is to have a spinning icon to show that they request is being sent to the citysdk servers, then the response is being processed and output to the active map.
The spinning icon will be placed on top of the active map that the request is being processed for. When the user selects to send a new request for the data, the active map will be grayed out and the spinning icon will be placed as an overlay on top of the active map, and it will stay this way until all responses are retrieved, all data is processed, and all of that processed data is output to the map as an updated heatmap.
This will allow the user to both clearly and cleanly see that the data is being processed, and when the data is finished being processed and output, and to see more distinctly the data that was output to the map.

from cmv.

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.