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 request - Export notes #238

Closed
hematinik opened this issue May 4, 2021 · 11 comments · Fixed by #327
Closed

feature request - Export notes #238

hematinik opened this issue May 4, 2021 · 11 comments · Fixed by #327
Labels
enhancement New feature or request
Milestone

Comments

@hematinik
Copy link

hematinik commented May 4, 2021

I think it would be nice if you could download documents directly from the my-notes panel. currently you have to go to the Google Drive in order to get an offline copy of your document.

the HTML format is perfectly fine as the downloaded file format however I think there might be some complications regarding the images (I think you'll have to convert image URLs to a local address) so maybe converting to PDF/DOCX before the download saves us a trouble.

@penge
Copy link
Owner

penge commented May 4, 2021

Or there could be option to export all notes (Options page) into a Zip file.

"Print" can be used to save current note to PDF if needed.

@hematinik
Copy link
Author

Yep Print will do (silly me!).. the Export All Notes is a good Idea and a handy shortcut for sure

@hematinik hematinik changed the title Feature request: Save Document Feature request: Export All Notes May 4, 2021
@penge penge added this to the 3.10 milestone May 5, 2021
@penge penge added the enhancement New feature or request label May 5, 2021
@penge penge modified the milestones: 3.10, 3.12 Jun 3, 2021
@penge
Copy link
Owner

penge commented Jun 4, 2021

Just had a thought. We can have export, but why leave it there? How about import? Imagine you can drag and drop any TXT file to Sidebar, it auto-creates the note with the same name or first available name, with all the text already imported.

@hematinik What do you think?

@hematinik
Copy link
Author

hematinik commented Jun 7, 2021

that would be great!
do you think we can import cloud-based documents as well ? like you paste the URL of a saved document (in Google docs format) and we have it imported to my-notes?

P.S
sorry for my late response and huge thanks for the Image drag&drop feature! it works like charm

@penge
Copy link
Owner

penge commented Jun 7, 2021

PS: That's great to hear! Thank you.

No worries about a later response. No rush. So about that import from URL, that might work in some cases only:

Will create a task though that could import dropped TXT file.

@hematinik hematinik changed the title Feature request: Export All Notes feature request - Import/Export notes Jun 8, 2021
@hematinik
Copy link
Author

About the JSON response Im not sure if Google provides such API. I was thinking about Integration with other Note servcies like Evernote and MS Onenote. say you are logged in in your Evernote account and you want to import some notes from there, what's the best alternative to a copy-paste?
as for the Google Docs you may save an offline copy and import it to my-notes, so maybe we can automate the process like save the document in memory (from provided URL) and then convert it to something that my-notes understands.


we had an open issue regarding the making notes read-only. IMO that feature has a higher priority however I think you closed the issue for some reason, is this related to a technical problem?

@penge
Copy link
Owner

penge commented Jun 8, 2021

I've checked Evernote and there are two options: Shareable link (a public link), Invite someone (by email who has Evernote). Seems like there is no export/import but I would say that is because their note (which is HTML btw) looks how it looks because of their editor. And if the same editor wouldn't be on the other side (where importing), the experience wouldn't be the same, so just to avoid that there is no export. And probably also because you'd like to keep users in Evernote, not provide options to pack it up and go elsewhere :D

Haven't checked MS Onenote but I think that might be similar. Copy-paste seems to be the only although not convenient way.

Read-only note - I haven't found that particularly useful but maybe I am wrong. I think I never needed to lock a note, not typing into it just did the same. Technical problem there is not, it is quite simple - adding new Lock/Unlock to the note context menu, not allowing any typing/pasting when it's locked, some visual indication when it's locked (maybe a lighter color or lock icon). The only more complicated thing would be to sync this status: locked/unlocked, across devices. But that is something that might not be necessary after all, as it's easy to lock/unlock on every device and sometimes having it locked on one but unlocked on other can be preferred.

TLDR: Read-only note is easy to have. Do we need it?

@hematinik
Copy link
Author

hematinik commented Jun 9, 2021

Yes the Evernote provides a lot of formatting options and in my experience this is the root of evil when dealing with large notes. Evernote keeps the exact formatting (and font face) when you copy-paste some web content and soon you'll end up with a sloppy note, imagine what happens when you want to add/edit something inside the note and it inherits the font face and format from the previous line (I get hysterical just by thinking about it LOL)

the best user experience comes when you keep it simple and consistent (that's why I love my-notes), as a mindset I tend to avoid over-development (less fancy new features - more enhancements)


regarding the read-only option, personally it is a life saver for me, and generally I think many people suffer accidental inputs/unwanted pasting/etc.. specially when you are in rush and you care about the correctness of your note.

@penge
Copy link
Owner

penge commented Jun 10, 2021

Yeah, copy-pasting HTML from sites attaches styles inline and it gets quickly broken when editing. I try keep as much semantic styles separate from note as possible, so it could be customized in many details, like highlighter pen which can be customized for every theme, it doesn't have to be highlight as usual, it could be very thick underline too. So I try to put all those styles out. And also not use any generated CSS classes, as that's pain to locate and customize.

I am glad you like my notes!

Cool, I'll reopen read-only / lock, why not. I think it could be added as soon as next version.

@hematinik
Copy link
Author

Im glad to hear that..! thanks a lot!

@penge penge modified the milestones: 3.12, 3.11 Jun 28, 2021
@penge penge removed this from the 3.11 milestone Jul 11, 2021
@penge penge changed the title feature request - Import/Export notes feature request - Export notes Jul 31, 2021
@penge penge added this to the 3.13 milestone Oct 25, 2021
@penge
Copy link
Owner

penge commented Oct 26, 2021

@hematinik This feature will be soon added in version 3.13.

@penge penge mentioned this issue Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants