Giter Club home page Giter Club logo

wp-todo's Introduction

Overview

An easy way to keep a quick todo list while working on your WordPress website!

This is currently under active development.

Getting Started

This project uses Yarn for dependency management.

To install yarn run:

npm install --global yarn
// Clone it to your plugins directory.
git clone [email protected]:aubreypwd/wp-todo.git
cd wp-todo 

// Install dependencies.
yarn install

// Adjust the Browsersync proxy setting in webpack.config.js.
new Browsersync({
    proxy: 'set this to the URL of your local WordPress install'
})

// Enter development mode.
yarn start

// View it.
Visit http://localhost:3000

Production Build

To compile the JS and CSS for production, run the following:

yarn run build

wp-todo's People

Contributors

aubreypwd avatar efuller avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

gitter-badger

wp-todo's Issues

Primary / Active List - Retrieving non-deleted todos

Need to sort out the API behind the primary and active lists.

I think I should switch it to be more of current list variable. If no current list, it will get set to the primary list.

Also need to adjust the getTodos API function to allow for getting only tasked not marked as deleted or completed.

1.0

Just a task to remind me we need to release 1.0

I'd like to get this on WP.org :D

Implement data structure/injection for Promise/etc

Eric is going to mockup the UI in #3 and he's going to use the Axios framework to build out requests to specific data sets, e.g. lists, items, etc that are just dummy data. I should be able to use those datasets fed into Axios to construct API endpoints that Axios can also hit using .get( URI ) to get similar data.

We decided to go with Axios because of the promise structure it uses. Which, instead of trusting the common jQuery Ajax request to handle what happens via the complete or success callbacks, we can let the Ajax request simply finish, while Axios's .then waits until it resolves and passes back data.

The real decision to go with Axios is twofold:

  1. To move the response to the AJAX request out of the Ajax request's success function, to the .then function of the caller
  2. To use the Promise system going forward
  3. Axios allows us to make two or more requests to data, yet allow us to handle them both using a single .then

Issue

Add template parts.

Main window prototype

The markup for the entire main interface, including new list, adding a new task, close, open, etc.

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.