GithubHelp home page GithubHelp logo

Comments (2)

VWoeltjen avatar VWoeltjen commented on June 14, 2024

Thanks for reporting this - this is a big omission

I think there's two different sub-issues here:

  1. There's no platform implementation of a persistence service that can be used to run "out of the box."
  2. When there is no provider available for a composite service that is used by some loaded bundle, the application fails to load.

For (1), I'd like to move example/localStorage into platform, and add with a status indicator saying "Local storage" with a tooltip indicating that changes are being stored in-browser and won't be available from other devices or other browsers.

For (2), I think that is more of an architectural issue. A missing dependency causing an unrecoverable failure seems okay to me, and the developer console is an appropriate place to display that warning. What I don't like is that we don't have a way to define more graceful failure mechanisms on a service-by-service basis (in the case of persistence, you could recover by warning the user that they won't be able to save anything.) Adding a proposal to address this as part of our API redesign

from openmct.

danielpacak avatar danielpacak commented on June 14, 2024

Makes sense for me. BTW, I've recently faced a similar problem for persisting interconnected data in a web browser for demo/selling purpose and I ended up with this "crazy?" idea: https://github.com/SOFTWARE-CLINIC/sc-embedded-database.

from openmct.

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.