Comments (3)
Per Eetu, we store the following on the client-side (in the state):
- ids of nodes visible in construct (the "construct set")
- position of nodes in construct
from data-pen.
We could (and for demo purposes should) also support storing the client side state on the server. This would be loaded in at startup, and serialized back specifically based on user action ("Save/Share project/canvas/set"). This isn't a priority, however.
from data-pen.
Yup, agreed. Once something is on the state, then it's very straightforward to serialize and we don't have to go looking for all the little pieces we want to save. Currently it's just JSON but I'm going to switch it over to immutable.js relatively soon. Both can be serialized.
from data-pen.
Related Issues (20)
- Palette download is broken
- Palette upload match field isn't handled correctly
- Table columns are calculated incorrectly
- Switch item reducers/actions over to redux
- Type/Class creation is broken HOT 1
- Download files from palette/table result in corrupted diacritics in Excel
- Document file workflow with Fibra/Recon imports
- Test issue
- Recon json file for people VIAF and people Wikidata HOT 3
- Implement data upload functionality from design Slack
- Design "add class" functionality for data upload
- Move everything out of bower
- Move item services to redux
- HMR in build HOT 1
- Push to fibra/test in build
- Implement floating palette and enrich/construct space design concept
- Type/Group sorting in the palette HOT 1
- Put letters/initials on the dots in the palette
- Implement 3-level structure
- Critical Features for Table
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 data-pen.