-
Notifications
You must be signed in to change notification settings - Fork 258
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 to CSV" functionality for main tables in oVirt Administration Portal #901
base: master
Are you sure you want to change the base?
Conversation
f4aad03
to
b1207e0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the platform language is set to non English, CSV will output ‘????’ in columns。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JiejunLi
Intersting. I verified several different languages - works fine for me. Will try to dig more into it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @JiejunLi. I cannot reproduce the issue. The csv file is generated using utf-8 encoding. Could you please confirm that the tool you use to see the csv file properly recognizes (or allows to specify manually) the "utf-8" encoding. If so, then could you please clarify what language do you verify?
Also could you send me the csv file?
b1207e0
to
0a9eb1a
Compare
0a9eb1a
to
561b46e
Compare
… Portal Signed-off-by: Stepan Ermakov <sermakov@orionsoft.ru> This feature adds new menu item "Export to CSV" for the following tables of oVirt Administration Portal Compute * Virtual Machines * Templates * Pools * Hosts * Data Centers Network * Networks Storage * Domains * Volumes * Disks Events The menu item allows to export current content (taking in to account current localization, columns visibility, sort order, filter) of the selected table into CSV. And initiates automatic download of the created CSV file. Known limitation: not more than 10,000 can be exported.
561b46e
to
02aff0a
Compare
"Export to CSV" functionality for main tables in oVirt Administration Portal
Signed-off-by: Stepan Ermakov sermakov@orionsoft.ru
Changes introduced with this PR
This feature adds new menu item "Export to CSV" for the following tables of oVirt Administration Portal:
Compute
Network
Storage
Events
The menu item allows to export current content (taking in to account current localization, columns visibility, sort order, filter) of the selected table into CSV. And initiates automatic download of the created CSV file.
![image](https://private-user-images.githubusercontent.com/122427547/287949053-1d60f455-a29e-4220-855a-02f7881dce1c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjExMTU4MzIsIm5iZiI6MTcyMTExNTUzMiwicGF0aCI6Ii8xMjI0Mjc1NDcvMjg3OTQ5MDUzLTFkNjBmNDU1LWEyOWUtNDIyMC04NTVhLTAyZjc4ODFkY2UxYy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzE2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxNlQwNzM4NTJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05MDI4MTA1MTA4YmJiYTgwMjA1YmE3ODJhMmVmMDU3NDkzZTk2NDI0YzIzZDFmOGIyYjJiNWE5Y2Q1OTZkYmIzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.UfVkZUqT9okKxwLZbML51EjtBWfnMmchhtHwIwFAKLo)
Known limitation: not more than 10,000 rows can be exported.
vms.2023-12-05.09-07.csv
Are you the owner of the code you are sending in, or do you have permission of the owner?
y