Closed bcho892 closed 3 months ago
Is your feature request related to a problem? Please describe.
Using the data fetched in the useAllUserDataQuery there should be a way to serialise and convert all of the data to a csv format.
useAllUserDataQuery
You may want to add a new dependency i.e https://www.npmjs.com/package/json-2-csv or https://www.npmjs.com/package/react-csv
OR you can attempt to hand roll a solution
Note that the flow of this feature should be:
You will need to understand pagination (https://tanstack.com/query/v4/docs/framework/react/guides/infinite-queries) may be useful. Check the usage in ProtectedAdminMemberView
ProtectedAdminMemberView
You should wait until there is no hasNextPage before allowing the export button to be clicked.
hasNextPage
BEFORE MERGING
git fetch origin master:master
git rebase master
git merge master
Is your feature request related to a problem? Please describe.
Using the data fetched in the
useAllUserDataQuery
there should be a way to serialise and convert all of the data to a csv format.You may want to add a new dependency i.e https://www.npmjs.com/package/json-2-csv or https://www.npmjs.com/package/react-csv
OR you can attempt to hand roll a solution
Note that the flow of this feature should be:
You will need to understand pagination (https://tanstack.com/query/v4/docs/framework/react/guides/infinite-queries) may be useful. Check the usage in
ProtectedAdminMemberView
You should wait until there is no
hasNextPage
before allowing the export button to be clicked.BEFORE MERGING
git fetch origin master:master
, thengit rebase master
orgit merge master
)