Code Monkey home page Code Monkey logo

simple-task-editor's Introduction

Simple Task Editor

The Simple Task Editor is a Custom Editor for Standard Notes. You can find a demo here.

Installation

  1. Purchase an Extended Subscription
  2. Follow the instructions to install an editor

Development

The instructions for local setup can be found here. All commands are performed in the root directory:

  1. Run npm install to locally install the packages in package.json
  2. Create ext.json as shown here with url: "http://localhost:8001/dist/index.html".
  3. Install an http server using npm install -g http-server
  4. Start the server using http-server -p 8001 --cors
  5. Import the extension into the web or desktop app using http://localhost:8001/ext.json.

To build the editor, open another command window and run npm run build. For live builds, use npm run watch.

simple-task-editor's People

Contributors

bryvin avatar dagjaneiro avatar johnny243 avatar marcolaux avatar moughxyz avatar theodorechu avatar tjrana avatar tomamplius avatar vardan-arm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

simple-task-editor's Issues

Feature Request: Enable task synchronisation through etesync or similar

I couldn't find anything relating to task syncronisation. I wasn't sure whether this was something that had been decided against for simplicity/security.

I like the idea of being able to sync tasks (even if it's restricted to viewing them) with another app, that could enable users to associate tasks with alarms/calendars etc.

Thanks for all of your ongoing work, Standard Notes is an absolute dream.

Feature request: Make URLs clickable

I often add a URL to a page relating to a task but currently these links are not highlighted or clickable.

I think this would be a very nice feature and would make me use the todo editor much more.

Feature request: navigate tasks with arrow keys

Would it be possible to navigate through tasks with the arrow keys?

Current behavior: up and down arrows act the same as Home or End keys, moving the cursor within the currently selected task.
Desired behavior: up and down arrows switch between different tasks.

dist.js and dist.css dist.css.map location

When self hosting it looks for dist.js, dist.css.map and dist.css in the same path as the index.html is, therefore for it to work I had to move the files from dist folder to the editors root folder

[Feature Request] Sub Tasks

I now that this extension is meant as a simple task editor but I still really miss the option to define subtasks. Like right now my editor often looks like:

  • Main task1 - Sub task1
  • Main task1 - Sub task2
  • Main task1 - Sub task3
  • Main task2 - Sub task1
    ...
    While this works it adds a lot of redundancy and is not really comfortable to read and navigate. Would it be possible to add something as simple as indentation to simple task editor? Like:
  • Main task1
    • subTask1
    • subTask2
      ...
      I think this would really boost the overall usability and usefulness of the editor.

Allow capital X to be recognized as completed prefix

I see that only a lower x is allowed for the completed prefix, - [x], which is defined at https://github.com/sn-extensions/simple-task-editor/blob/master/app/models/Task.js#L4

Would also be nice for capital X, - [X], to be a possible completed prefix too, at least for initially parsing the list.

If I start with this plain text:

- [X] spec/models/some_file.rb
- [X] spec/models/some_file_here_is_okay.rb
- [ ] spec/models/some_file_here_too.rb
- [ ] spec/models/some_file_.rb
- [X] spec/models/some_file_here_is_okay.rb
- [ ] spec/models/some_file_here_too.rb
- [ ] spec/models/some_file.rb
- [X] spec/models/some_file_here_is_okay.rb
- [ ] spec/models/some_file_here_too.rb
- [ ] spec/models/some_file.rb
- [X] spec/models/some_file_here_is_okay.rb
- [ ] spec/models/some_file_here_too.rb
- [ ] spec/models/some_file.rb

And use the Simple Task Editor, I get this:
bad tasks

[BUG] Overwrites lists when switching

Specs:

OS: Linux Ubuntu 18.04
SN Version: 3.0.9
Simple Task Version: 1.3.2

Description

Sometimes if I switch between two Simple Task lists one of the lists is overwritten by the other. So both are then the same. It rarely happens (roughly twice in the last couple of month).

However, it is possible to fix this by using the Session History. See screenshot.
example

Delete task / auto-delete empty tasks

Is there a way to delete a task? I've seen the code for delete task but it seems not to be used. I'd appreciate a button to delete individual tasks rather than having to clear them all.

A workaround would be to have an auto-delete for empty tasks. This I'm truly missing since my workflow includes copying tasks from one document to another via cut & paste. This leaves lots of empty tasks that are very difficult to get rid of.

Feature request: Have a "due date" per task

I currently have the following workflow:

  • Throughout my day, I add items to a TODO list of things I'd like to do by the end of the day
  • Some get completed, others fall through
  • The next morning, I usually check which ones didn't get completed and carry some of them over to the new list

The last part being manual is a bit cumbersome so I figured, simple-task-editor could support me in this if it would have a feature of setting a "due date" for a single task and a separate view of "due by today or any time in the past".

A task from yesterday would then automatically show up in today's view and will be carried over automatically until it is either deleted or done.

Feature request: TaskPaper-style editor

The simple task editor works well for simple task lists (hence the name!). Yet I find myself missing the functionality of other plain text task managers, such as TaskPaper. This could also be thought of as a simplified digital Bullet Journal.

Has anyone on the development team used TaskPaper before? Would it be possible to consider a "TaskPaper" extension, as an advanced-task-editor for Standard Notes? It seems like the functionality of TaskPaper naturally lends itself to the cross-platform and secure syncing nature of Standard Notes!

Things that I (think I) am interested in (not a definitive list!):

  • plain-text backend with keyboard navigation and shortcuts
  • project headings, each with their own list (and sub-lists)
  • notes
  • completed tasks maintain their position in the list (until archived)
  • potentially: @tags

There's a nice User Guide that outlines most of the functionality. It's also worth noting that the format seems to be fairly stable, and has been integrated by many other applications (which is good for longevity)!


There are also interesting discussions for interfacing with the TaskPaper format on macOS and iOS:

Feature-request: Allow re-ordering of items

Currently, it is not possible to change the order of the items after they are added.

However, it would be very useful to be able to so for expressing things like priority. I've got a long-lasting "TODO" list that I continuously extend with new items as well as complete existing ones. However, it is a bit cumbersome this way because I cannot express which ones I want to do next.

Being able to re-order them would greatly help with that!

Feature request: Reopen tasks by text auto-completion from the list of completed tasks

I have a "Shopping" note on Google Keep with 90 items on it.

To reopen an item I just have to enter 2 or more letters from the start of it and a list of completed items that match appears. Selecting one of those reopens that item.

It is impractical to locate a specific item in the long list of completed items and I don't want to be adding duplicates or have to enter the full text of an item every time.

Unable to edit beginning of input field

I believe this is a recent regression due to the auto-saving input field (cc @bryvin). If you type "Foo" in the new task input field, then move the cursor to the beginning of the input, then type another letter, it will add that letter, but then immediately move the cursor to the end of the input.

Feature request: Deselect all

It would be great to have a button "Deselect All"/"Uncheck All". Pushing this button would move all completed tasks back to the open tasks list.

Motivation:
I often use this extension for packing lists, so that I don't forget anything when packing for vacation/gym. If the list is quite long, it is quite annoying to uncheck all entries.

Feature Request: Move completed tasks to bottom in plain text mode

I often switch between mobile (plain text view" and the task-editor view on my desktop. when viewing on mobile, all my "done" tasks show up at the top of the plaintext view. Can they be moved below the "to do" section so they don't show up first at the top of mobile?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.