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

Feature/data export #50

Merged
merged 49 commits into from
Jan 24, 2024
Merged

Feature/data export #50

merged 49 commits into from
Jan 24, 2024

Conversation

mrkarimoff
Copy link
Contributor

@mrkarimoff mrkarimoff commented Jan 16, 2024

This PR introduces the functionality to export interview sessions:

  • Utilizes the network-exporters module from network-exporters.
  • Enables the creation of CSV/GraphML files based on interview sessions.
  • Allows the merging of selected interviews in CSV/GraphML files through the optional settings menu.
  • Stores the files in a single zip archive and writes the zip to the os.tmpdir() temporary directory.
  • Uploads the zip file to UploadThing and triggers downloading from the UploadThing file URL.
  • Sends success/error events to Analytics.

Features:

  • Export selected interview sessions.
  • Export all interview sessions.
  • Export interview sessions marked as unexported.

Please review the changes and provide feedback. Thank you!

Copy link

vercel bot commented Jan 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
fresco ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 24, 2024 4:03pm

Copy link
Member

@jthrilly jthrilly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Last few changes needed!

server/routers/interview.ts Outdated Show resolved Hide resolved
utils/validateExportOptions.ts Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
app/(dashboard)/dashboard/interviews/_actions/export.ts Outdated Show resolved Hide resolved
Copy link
Member

@jthrilly jthrilly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@jthrilly jthrilly merged commit c3a394f into main Jan 24, 2024
3 checks passed
@jthrilly jthrilly deleted the feature/data-export branch April 5, 2024 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants