-
Notifications
You must be signed in to change notification settings - Fork 568
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
Update importers to use a single dialog #2685
Conversation
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.
what is left in this @sandymcfadden that you think needs work? is it ready? are you happy with it? what would you like from review?
Updating the styling of the importer modal to start matching the designs adding in cloud icon Adding in the multiple importer which can handle any files supported by our importers. Adding list of accepted files once selected to upload, and roughly updating styles. Add error message for when multiple Simplenote or Evernote files are added Fixing lint error and changing a let to a const Updating styles for the import dialog in light mode update importer progress styles Bit more style updates to the importer progress Start updating the styles for the dark theme Updating some more styles for dark theme Remove a couple of no longer needed files Clean up code in the dropzone to be less repeative. Remove characters from tag names which aren't allowed Cleaning up and removing some duplicated code Add file to keep the importers together Clean up and remove duplicate code Refactoring and cleaning up error messages based on feedback Update error handling and refactor the importers Fix error message display bug where it would display 0 when no errors Add analytics for each importer Updating text importer analytics to match previous source name
26812d7
to
320fb78
Compare
… import files at once.
… Evernote files. Removing bug that caused duplicate evernote notes to be imported, thanks to Dennis
…a time to all importers
@dmsnell this is ready for review now. I've tested on all platforms and all seems to be working as expected. |
Thanks @belcherj I believe I have it matching the designs. Except for the elevation colors which I'll be working on in a separate PR as part of the UI spring cleaning. @SylvesterWilmott what are your thoughts. |
Looks like it matches designs, seemed a bit squooshed. |
This looks great @sandymcfadden, thanks! A few points of feedback, mostly related to the dialog component itself
|
Thanks so much, @SylvesterWilmott.
|
Looks great @sandymcfadden One last thing, in dark mode, can we use SNBlue30 for the "Browse" text? |
I also wonder if in these dialog components, the bottom area containing the button should be in fixed position. Perhaps something to iterate on in a separate PR. |
Thanks @SylvesterWilmott! I've updated the browse color in dark mode now.
I had almost asked you about this and thought the same thing. I think I'll go through in a separate PR and update all the dialogs to act that way. Edit: Opened issue here #2777 |
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.
It appears that this is largely in the styling stage. As long as no major code changes occur I'm happy with what's in this PR. This approval means "no need to check back with me; merge when the styling issues are resolved and you are satisfied with the state of the branch."
Tested on 2.9.0-beta1 under different setups (Windows 10 Home + Chrome, Edge, Desktop | macOS 11.2.3 Chrome + Desktop) ✔️ Importing md, enex, txt and json types simultaneously |
Fix
First PR to look at #2570. This is starting to combine the importers to one Dialog so that any of the supported file types can be chosen and imported. This also now allows the ability to import more than one Simplenote or Evernote export file at the same time.
Screenshots
Light mode select files
Light mode files added
Light mode complete
Dark mode select files
Dark mode files added
Dark mode complete
Test
Release