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

Export sheets as file #11

Open
kuroidoruido opened this issue Sep 23, 2020 · 1 comment
Open

Export sheets as file #11

kuroidoruido opened this issue Sep 23, 2020 · 1 comment
Labels
enhancement New feature or request Hacktoberfest

Comments

@kuroidoruido
Copy link
Owner

kuroidoruido commented Sep 23, 2020

The goal here is to create an export button to keep offline the state of one character sheet or multiple character sheet.

We can discuss about this, but in my mind I see an export button on the sheet selector page, under the "My Sheets" tab, to export all characters, or selecting some characters. When we select characters we want to export, I think we need to add a checkbox (or something like that) beside the character name badge, not the sheet card because we will have in the future the ability to keep multiple characters for each sheet.

Again we can discuss about this, but I have in mind the exported file should be a simple json file, named <export_date>_.vrpg.json

Example:

  • 2020-09-23_full.vrpg.json => for full export
  • 2020-09-23_Adam-Ocalan.vrpg.json => when export only the character Adam Ocalan
  • 2020-09-23_characters.vrpg.json => when export multiple characters
@kuroidoruido kuroidoruido added enhancement New feature or request Hacktoberfest labels Sep 23, 2020
@kuroidoruido kuroidoruido changed the title Export state as file Export sheets as file Sep 23, 2020
@Fleker
Copy link
Contributor

Fleker commented Oct 19, 2021

I can start work on this endeavor, but will probably split into a few separate PRs to incrementally add exporting capability (and then importing back in)

Fleker added a commit to Fleker/virtual-rpg-character-sheet that referenced this issue Oct 19, 2021
This concats all characters into a JSON array for the given sheet
See kuroidoruido#11
kuroidoruido pushed a commit that referenced this issue Oct 21, 2021
This concats all characters into a JSON array for the given sheet
See #11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Hacktoberfest
Projects
None yet
Development

No branches or pull requests

2 participants