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
mitosheet: add a csv config taskpane #382
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cleanup! And test!
mitosheet/mitosheet/step_performers/import_steps/simple_import.py
Outdated
Show resolved
Hide resolved
mitosheet/mitosheet/tests/step_performers/import_steps/test_simple_import_step.py
Outdated
Show resolved
Hide resolved
I think since usually the button at the bottom is disabled anyways, we can also keep the configure button next to it. Instead of the config button appearing when this button becomes non-disabled, they both become non-disabled at the same time. I guess it would be weird to display in the case that the user is looking at an excel file though. So down to leave it as is for now and note the difference in excel file and csv file handling in import is a bit of minor product debt. |
I love that if you get taken to the config screen because you tried to import and it errored that we don't display the message that says: try to use Mito's guess, its good. lol |
Can we make this text change on hover so its more noticeable that you can click on it? And do the same with the other reset text in the bottom of the taskpane? EDIT: I removed this button, as it's redundant and I don't think it's really that useful in practice (if they want they default, they will likely take it, and if they don't want the default it's likely because it won't work). I improved the click ability of this at the bottom. |
If this message wasn't there when the taskpane opened because the user already tried the default params, it should remain not there. Screen.Recording.2022-06-30.at.4.51.11.PM.mov |
The error message "We were unable to automatically determine a delimiter ..." should only be the error message the first time the taskpane loads. If error occured after they configured the taskpane, then it shouldn't reference automatically determining. |
Bug displaying the error message at the correct times:
Screen.Recording.2022-06-30.at.4.57.27.PM.mov |
Maybe not caused by this PR, but Screen.Recording.2022-06-30.at.5.05.39.PM.mov |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks great. Just a few minor bugs to fix up then LGTM
mitosheet/mitosheet/step_performers/import_steps/simple_import.py
Outdated
Show resolved
Hide resolved
mitosheet/mitosheet/step_performers/import_steps/simple_import.py
Outdated
Show resolved
Hide resolved
Ok, this is ready for rereview. There is a bit of weirdness around when the messages at the bottom are displayed that I think is kinda silly (there are all these little messages appearing in and out). I think we should simplify (it confuses me as a user), while also not working exactly how we want b/c there are 3 pairwise interactions. My proposed changes:
I think this would make this much less jumpy and feel like you're missing less. Let me know what you think! |
Your proposal for the line at the bottom sounds good to me. Currenlty, the text appears at random times that make no sense to me. |
LGTM once you update the import documentation too! |
We do documentation updating through the release process now :) This is ready to merge but gonna wait until the next release, as I'm in the middle of testing rn. |
Description
Implements: https://www.notion.so/trymito/Import-Improvements-bb65727e1ba1479ea91ed176077fe589
A few questions to really polish this off:
Testing
Add something that causes an error to the path where we try to guess the delimeter, to see if it automatically opens the config.
Documentation
We should update our import documentation!