klaudiosinani / tusk

Refined Evernote desktop app
https://klaussinani.github.io/tusk
MIT License
3.15k stars 245 forks source link

Feature requested: offline view #10

Open bagustris opened 7 years ago

bagustris commented 7 years ago

Hi, is it possible to get offline view of my Evernote using Tusk..? the reason I download and install Tusk on my Ubuntu is to get offline access of my note that can't be performed by web browser.

If this feature already supported, please let me know how. Currently, when I am offline, Tusk show nothing.

HaxCzar commented 7 years ago

This is absolutely something that would be great to have. If possible, could a feature also be added to be able to create and edit notes offline, which could be stored locally and then synced upon connection to internet

Nebrit commented 6 years ago

Please Implement Offline view I'm user premium and I need this feature. PLEASEEEEEE

Nebrit commented 6 years ago

@klauscfhq For the implementation of offline mode I make the following development suggestion, it is not simple but it is effective in the long term. First of all we have to be very clear that the offline mode is only for plus and premium evernote users.

So the logic to be developed stepwise should be the following:

First.- Implement a system at the start of the application that checks whether the user is in offline mode with a pop-up window will appear indicating that you are in a "Offline Mode"

Second.- Once in offline mode, you can edit all the notes and notebooks that you want and that previously as evernote indicates must be marked access to offline mode.

Third.- The synchronization system will be performed once you are back in online mode, modifying the changes chronologically and making the changes according to the date and time of the oldest queued to the newest queue.

Fourth.- Obviously you have to create a data structure in local to save the data in offline mode.

I leave a link in case it can help you how to implement an offline mode in an app.

http://www.clairereynaud.net/blog/adding-offline-mode-to-your-mobile-app/

https://discussion.evernote.com/topic/43897-developing-windows-app-with-sdk-to-use-offline-first-and-online-for-sync/

https://discussion.evernote.com/topic/10504-sync-on-a-network-error/

https://dev.evernote.com/media/pdf/edam-sync.pdf

https://github.com/baumgarr/nixnote2/blob/25f4b0b8ee5f8197b3feaaa718ff7fbca5836370/threads/syncrunner.cpp SEE LINE 201

201 // The sync is run in several parts. 202 // Part #1: Get all remote tags, notebooks, & saved searches for 203 // a user's account. We do this first because we want 204 // the tag & notebook naems for filling out the note table. 205 // It is just easier this way. 206 // Part #2: Get all changed notes & resources. If it is a full sync 207 // then we get the resources & notes together as one entity 208 // (the resource chunk won't have anything). We also do not 209 // get deleted notes on a full sync. If it is a partial sync 210 // then we get resources & notes separately (i.e. the notes chunk 211 // may reference a resource guid, but it won't have the detail and 212 // the chunk resources will have valid data. We get deleted notes 213 // on a partial sync. 214 // Part #3: Upload anything local to the user's account. 215 // Part #4: Do linked notebook stuff. Basically the same as 216 // this except we do it across multiple accounts.

HaxCzar commented 6 years ago

The offline sync need not be only for premium users. See nixnote2

Nebrit commented 6 years ago

ok @ZakharH @klauscfhq I UPDATED my previus post. Please implement, just need that feature to be the best evernote application for linux; and multiply the users exponentially.

jpgreth commented 6 years ago

I would be glad to see this feature, too.

AndresEGonzalez commented 6 years ago

PLEASE!! implement offline mode feature!!

alimoezzi commented 5 years ago

This feature is essential ! Implement it please .