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

feat(ui): upload dataset from csv #3826

Open
wants to merge 1 commit into
base: datasets-page-refactor
Choose a base branch
from

Conversation

bcsherma
Copy link
Contributor

@bcsherma bcsherma commented Mar 1, 2025

Description

Adds a "New dataset" button to the datasets page. Clicking the button opens a drawer which allows the user to upload a csv, make edits, and publish the result as a new dataset.

Screen.Recording.2025-03-04.at.1.42.18.PM.mov

This PR adds papaparse as a dependency for weave-js

Copy link
Contributor Author

bcsherma commented Mar 1, 2025

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@circle-job-mirror
Copy link

circle-job-mirror bot commented Mar 1, 2025

@bcsherma bcsherma force-pushed the datasets-page-refactor branch from 2d19152 to 4bab296 Compare March 4, 2025 01:44
@bcsherma bcsherma force-pushed the datset-csv-upload branch 3 times, most recently from d4bafbb to e8e1081 Compare March 4, 2025 16:42
Copy link

socket-security bot commented Mar 4, 2025

New dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@types/papaparse@5.3.15 None 0 24.1 kB types
npm/papaparse@5.5.2 None 0 263 kB pokoli

View full report↗︎

Have feedback? Participate in our User Experience Survey 📊

@bcsherma bcsherma force-pushed the datasets-page-refactor branch from 4bab296 to f6bf364 Compare March 4, 2025 19:18
@bcsherma bcsherma force-pushed the datset-csv-upload branch 6 times, most recently from 8f06e50 to 57969f5 Compare March 4, 2025 21:57
@@ -44,6 +44,7 @@ interface CellViewingRendererProps {
isNew?: boolean;
isEditing?: boolean;
serverValue?: any;
disableNewRowHighlight?: boolean;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I thought the green highlight for "added rows" ruined this view, so I added a prop to disable.

@@ -118,6 +118,7 @@ export const ResizableDrawer: React.FC<ResizableDrawerProps> = ({
}}
onMouseDown={handleMouseDown}
/>
{headerContent}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

header not being rendered here is an uncaught regression that this pr fixes

@bcsherma bcsherma force-pushed the datset-csv-upload branch from 57969f5 to 4682504 Compare March 4, 2025 21:58
@bcsherma bcsherma force-pushed the datasets-page-refactor branch from f6bf364 to 72ebfc6 Compare March 4, 2025 21:58
@bcsherma bcsherma marked this pull request as ready for review March 4, 2025 21:59
@bcsherma bcsherma requested review from a team as code owners March 4, 2025 21:59
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.

1 participant