Move the file-creation code to the background so that it won't stall the GUI if the list is large.
In actuality, a 100k CSV only took 1 second on my slow VM to generate, so we could avoid this PR if we want. But I think we should still not do it in the GUI thread in case the columns get larger, or we expand doFetchTransactions's default to beyond 100k entries.
@tzarebczan has concerns about performance of the export function. We may need to consider how to properly design and scale this feature. Will start a conversation with @andybeletsky.
Move the file-creation code to the background so that it won't stall the GUI if the list is large.
In actuality, a 100k CSV only took 1 second on my slow VM to generate, so we could avoid this PR if we want. But I think we should still not do it in the GUI thread in case the columns get larger, or we expand
doFetchTransactions
's default to beyond 100k entries.