Coder Social home page Coder Social logo

Comments (5)

jonathancolledge avatar jonathancolledge commented on May 29, 2024

This looks great. Can it work at all offline, if so, do you think you could give me a few pointers please? I loaded index.html and the settings, etc are greyed out. Thanks.

from flux.

dvmarinoff avatar dvmarinoff commented on May 29, 2024

Hi, it's possible to make the browser fetch all files and resources from a local cache. That's achieved with a Service Worker. I had an earlier version of the app configured this way, but found it impractical at least for the early stages of development when I was pushing new version every other day. I couldn't find how to configure it properly so it did not interfere with development and abandoned the idea for later.

I am now trying to get it right, I got master to work on my machine, but on remote gh-pages it is broken. It will take a couple of tries to fix it.

from flux.

dvmarinoff avatar dvmarinoff commented on May 29, 2024

Ok, it appears to be working now. I had to fix the paths for fetch(). The Service Worker in each local browser will need to update,
and this might take some force refreshes (Ctrl+Shift+R on desktop).

The browser console should have the logs:

SW: register success.
Cache Version: Flux-v001

And no errors related to the sw.js file.

from flux.

jonathancolledge avatar jonathancolledge commented on May 29, 2024

Wow, I missed your first comment. Thanks for this. I'll check it out.

from flux.

dvmarinoff avatar dvmarinoff commented on May 29, 2024

Hi, note that this feature is only available on the Beta Archive version of the app that is version number 0.0.5.
The latest version which has much better support for ANT+ on Linux Desktop is at Latest.
All feedback is welcome!

from flux.

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.