Giter VIP home page Giter VIP logo

tasklist's Introduction

TaskList is a todo-list-style application that keeps its notes in the local storage of your browser. TaskList can be accessed in any kind of borwser, both desktop and mobile. Because local storage is unique for each browser a potentially unlimited number of people can be served from one instance.

Features:

  • Add, edit (doubleclick), delete notes
  • Create multiline notes (shift+enter)
  • Sort notes via drag-n-drop

TaskList uses:

tasklist's People

Watchers

James Cloos avatar

tasklist's Issues

Implement CI

In order to keep code quality high and prevent bugs it would be preferable to introduce CI into the repo.

Make tasklist mobile friendly

While it is possible to use TL on mobile devices and it works well the display of the list could use a few media queries to make it feel good for mobile users without excessive zooming and scrolling.

Create Readme.md

Create a readme.md outlining the use and functionality of the application as well as packages used.

Error when launching first time

jQuery.Deferred exception: Cannot read property 'lists' of null TypeError: Cannot read property 'lists' of null at getItems line 50

Save edits

Make it so edits are saved after the edit note textarea loses focus.

Edit item textarea border restyle

The border of the edit item textarea should stylistically match that of the input textarea for new items.
May be a good idea to make it stand out a bit more as well.

Migrate to React

Having this in vanilla JavaScript is nice, but the code will be easier to maintain and expand in React.

Show number of tasks

There should be a number of tasks displayed in brackets after the name of the list.

Migrate taskList to IDB

Currently taskList uses localStorage. Although the syntax of IDB seems rather odd, migrating will allow for date ordering and other advanced features which would be much more difficult to achieve with localStorage alone.

Refactor sortable reaction to onEnd

Since sortable already exposes a sorted object at the end of dragging there is no need to manually construct the array again - rewrite to make use of built in functionality.

Make item edit textarea undraggable

Generally the items should be rearrangeable, but at the very moment of editing this causes problems with functionality. Remove draggable from the item being edited.

Doubleclick reacts on editing window

Doubleclicking an item is used to envoke the editing process, but once the textarea is already there a doubleclick should not do anything anymore until the application is back in normal mode.

[Render] code displaying items should be dry

HTML code creating items in the list is present twice, once in loadLocalStore and then also $("#taskInput").on("keypress". It would be great to export this to a template that can be reused.

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.