Comments (2)
Thanks for reporting this - this is a big omission
I think there's two different sub-issues here:
- There's no platform implementation of a persistence service that can be used to run "out of the box."
- 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.
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)
- Implement `eslint` rule to catch bad use of `innerHTML` HOT 2
- Real-time scrolling table views v2
- "Cancel Editing" button saves changes instead of discarding them HOT 2
- Telemetry Table menu actions not available in Preview mode HOT 1
- [Time List view] Time List should not "auto-center" HOT 1
- [Display/Flexible Layouts] "Open in New Tab" button does not work HOT 1
- Overlay "View" table capabilities are inconsistent HOT 1
- Inconsistent behavior with multiple annotations in imagery HOT 6
- Allow tooltips in sidebar tree items
- Document Open MCT provided formatters
- `package-lock.json` sadly Git-ignored? HOT 1
- Mounting Open MCT requires `document.body` to contain a `<div>` as the first element child HOT 2
- [Display Layout] Adding a Drawing Object to a parent layout also adds it to the child layout HOT 2
- Visual test for #7037
- Selection of object in layout should only show marquee for that object HOT 1
- TelemetryTable filters are broken HOT 4
- [Dependency] Update and define regression tests for painterro
- [Test] Filter string tests HOT 1
- Plan views don't honor swim lane order HOT 1
- tabs should default to not load eagerly
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 openmct.