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
Import / Export #2
Comments
Importing and exporting is a great idea. I think a simple File import/export would be a good first implementation. As for cloud services, I use Simpletask on my Android as well and considered the sync with Dropbox option but ran into a few API issues when attempting to implement it directly into the extension. Thank you for bringing up the license I will add that immediately. |
I mean, even a |
For me it would be a sync with NextCloud. |
That would be the way to go, something to make it easier to add providers down the road if needed. |
Hello ! Greetings |
Hi Gabriel, I would assume, that the extension can only trigger a download dialog (but can check earliest on the weekend). Then it's up to you, how you configured download behaviour. What browsers are supported by this extension? |
I created a test branch with file importing and exporting behavior. The exporting, downloading, actually doesn't require a dialog but that would be helpful for specifying location. I doubt you have your todo.txt file synced to your Downloads folder.. One potential problem I ran into was the extension's window being dismissed after the "File Upload" Window opens up, preventing it from loading in the file's contents since the script is closed. I'll look into ways to keep the extension window from auto-hiding, but if that is not possible then the extension would either have to move to a sidebar, or have file uploading on the options page. As of now compatibility with Firefox and Chrome are the goals. Haven't done much testing in Chrome/Vivaldi but it should only be minor changes if it does not work already. |
Hi, @dthigpen, So far I can get the download dialog to work, but clicking on the upload button does nothing. Trying it in Chromium Version 72.0.3626.121 nothing works at all (not even saving a todo item). Also the right side is cut of (part of the cogwheel). In Opera 58.0.3135.117 I browsed to opera:extensions (see https://dev.opera.com/extensions/basics/) and loaded it the same way like for Chromium. It behaves the same. But their I can see black text on dark-grey background (I'm using a darktheme). Sorry for just reporting some issues. I'll try to reserve some time on the weekend to contribute code. |
@dthigpen I played around with the code today. I could not get the file upload to work. |
@Ryuno-Ki Sorry for the inactivity I got busy with other things. I'll review them now! |
@Ryuno-Ki I am concerned why you were not able to get my implementation of the file upload (with the background process) to work in Firefox. To me this would be the ideal solution since it doesn't make the user take any more actions than necessary. |
Hm, using an UI would have some upsides:
But it's your call :-) Regarding background version: |
@dthigpen Ping. Any update on this? |
@dthigpen What is blocking this from moving forward? |
@dthigpen Ping :-) |
Today, I had the idea to embed the todo.txt generated with Simpletask with my Firefox web browser on my laptop.
Sure, it wouldn't be synced, but this way I could have access to it in contexts, where I don't want to always switch context.
Describe the solution you'd like
It would be helpful to have an Import / Export feature of the todo.txt. I can take care for the sync (and conflict resolution) myself.
Describe alternatives you've considered
Developing an own extension for Firefox :-)
Additional context
I'd like to contribute to this repository if you are fine with it. But you don't have a LICENSE.txt, so I cannot from a legal point of view.
The text was updated successfully, but these errors were encountered: