Skip to content
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

Add initial data export API. #918

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

digisomni
Copy link
Member

This is an initial working version of a data export API for Interface scripts to use. It's a bit dangerous since it can of course write (or overwrite) files on the system of a specified name and path... so the way I set it up is that the actual path and filename can only be set by the user using a Qt/QML dialog. Once set, all scripts can write to that path.

I think what's missing still is a reset function to stop scripts from mucking with your export after you've completed it.

Generation 2 should consist of: a per-app export API that allows you to set paths per-app that persist restarts. (this would of course have to use the private context in order to prevent scripts from altering the paths.)

Generation 3 should consist of: a per-app limited storage based on path+filename/URL+filename. Maybe a 512KB data limit would be good with mayhaps a permission dialog opening to say the app wants to have its own space to write to that sits in the Vircadia appData folder.

@digisomni digisomni added the enhancement New feature or request label Dec 15, 2020
@daleglass
Copy link
Contributor

Dev meeting: it'd be nice to have a test script for this one, or at least scripter-friendly documentation on how to use it

@stale
Copy link

stale bot commented Jul 4, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Issue / PR has not had activity label Jul 4, 2021
@daleglass daleglass removed the stale Issue / PR has not had activity label Aug 21, 2021
@digisomni digisomni added the dormant This PR is on hold but has interest/use surrounding it. label Nov 6, 2021
@stale
Copy link

stale bot commented May 5, 2022

Hello! Is this still an issue?

@stale stale bot added the stale Issue / PR has not had activity label May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dormant This PR is on hold but has interest/use surrounding it. enhancement New feature or request stale Issue / PR has not had activity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants