-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSON export? #4
Comments
Hmmm, this one is a bit more difficult. For now, Gun stores the data in localStorage, so you could grab that and decrypt it with the group key (the string after the This is my first time with Svelte and Gun too! Svelte is super easy to pick up, you should try it out. I'm trying out Typescript also, so I need some help defining types, interfaces and that kind of stuff. Currently the code looks more like JS than TS 😅 |
I'm most familiar with React, but I've read a bit about svelte. If there's any specific topics you're looking for help with types, feel free to create issues and either assign them to me or mention me and I'll try to lend a hand. |
What about a plain text export instead? Just a quick way to see all the data (including the computed balances) as a single string. It could also be a "snapshot" feature, to capture into localStorage or so. My personal experience is that localStorage is nothing like as persistent as my own filesystem (mobile or desktop). I'm always nervous of leaving any data I actually care about only in localStorage. |
@cryptoboid If you'd be open to pointing me in the right direction, I'd be down to put some time into this. We do quite a few collective expense events, and I now find that I can't get back to the 2 groups I created in the past. Their data just never loads. At least on mobile. Personally, I don't trust localStorage for the long term, and I'm happy running my own servers, so this topic becomes a significant blocker for me using splitio on every project. |
Hi, so, I've just pushed to (add -dev and replace g with inspector) For now it just shows parsed info from localstorage, indexeddb and optionally gun. You will find that local info is encrypted, but it may be useful at least |
@cryptoboid That's awesome. Any chance to deploy it on the production domain also, then I could inspect my localStorage, etc for live groups. |
Already in production! You can test it in |
update: nope, got confused by older info, it isn't there. Have you found your group info in the inspector? |
I've created a couple of groups, and I'm slightly worried that people in the group will accidentally mess with the data, delete stuff, or whatever. It would be great to have a JSON export of all the data for a group (plus probably an import option). But, maybe this is unnecessary with GunDB, perhaps the history is always visible with GunDB, I'm not sure.
Also, I'm happy to put some time into some of these feature suggestions, I'm not super familiar with Svelte or GunDB but I have lots of frontend TypeScript experience.
The text was updated successfully, but these errors were encountered: