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 to CSV" functionality for main tables in oVirt Administration Portal #901

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

Conversation

sermakov-orion
Copy link
Contributor

@sermakov-orion sermakov-orion commented Dec 5, 2023

"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

  • 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 rows can be exported.
image
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

Copy link

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。

Copy link
Contributor Author

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

Copy link
Contributor Author

@sermakov-orion sermakov-orion Jul 12, 2024

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?

… 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants