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

style: Change csv file name when saving data (vjgtigers) #5248

Closed
wants to merge 1 commit into from

Conversation

vjgtigers
Copy link
Contributor

Description

when downloading history it saves as a csv file but the data is not separated by commas. while most csv viewers can still read it, it could cause a little bit of confusion. This pull request changes the file extension to dsv (delimiter separated values) and changed "Export CSV" to "Export History". However changing "item.charStats" and "item.tags" to be joined by a different delimiter and changing the main delimiter to commas would also work and could keep the csv extension.

@monkeytypegeorge monkeytypegeorge added the frontend User interface or web stuff label Mar 23, 2024
@fehmer
Copy link
Member

fehmer commented Mar 23, 2024

I'd prefer changing the delimiter.

Google docs and Excel do not support | as delimiter. LibreOffice does support |. If we would use ; as delimiter it would work in google docs, excel and libreOffice.

LibreOffice and Google Docs don't support dsv.

@vjgtigers
Copy link
Contributor Author

What if we change the main delimiter to be a "," and change the delimiter for "item.charStats" and "item.tags" to be something like "|" or ";". This way we keep the csv file extension and should be readable by most csv readers.

@Miodec
Copy link
Member

Miodec commented Mar 25, 2024

Is this PR still needed if we change the delimiter to be a comma?

@Miodec Miodec added the waiting for update Pull requests or issues that require changes/comments before continuing label Mar 25, 2024
@Miodec
Copy link
Member

Miodec commented Mar 25, 2024

Closing as mentioned by the author in a different pr

@Miodec Miodec closed this Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend User interface or web stuff waiting for update Pull requests or issues that require changes/comments before continuing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants