Skip to content

Drew-Mace/pamatat

Repository files navigation

Pamatat (Pamätať)

Pamätať is Slovak for remember. With Pamatat create a to-do list so that no task gets left behind.

Usage

Once installed you can navigate to /pamatat/tasks and start adding tasks, quick and easy.

Installation

Add this line to your application's Gemfile:

gem 'pamatat'

And then execute:

$ bundle

Or install it yourself as:

$ gem install pamatat

Next you will need to allow your application access to the engine by putting the following in config/routes.rb

mount Pamatat::Engine => "/pamatat", :as => "pamatat"

Next in your console run

bin/rails pamatat:install:migrations

Then to do the migrations in the console run

bin/rails db:migrate

Run rails s and navigate to /pamatat/tasks

Contributing

To make contributions fork the repo.

To test the engine inside a rails application fork the repo and add:

gem 'pamatat', path: 'yourpath/pamatat'

then in config/routes.rb add

mount Pamatat::Engine, at: "/pamatat"

After that you install using

bin/rails pamatat:install:migrations

and run migration

bin/rails db:migrate

To-Do for the to-do's

  • [] If a task is marked as "important" it will be moved to the top of the list.
  • [] Once a task is marked "complete" the text will have a line through it or color change.
  • [] Marking a task as "important" or "complete" should be able to be done with a single click.
  • [] Edit _form.html.erb to use bootstrap styling so its more visually pleasing.
  • [] Add functionality to enable user to pick a due date, with a count-down timer. As timer gets closer to 0 it will do something(i.e. ?Flash, change colors?)
  • [] Ability to set a repeatable task, i.e. monthly, weekly, etc.

License

The gem is available as open source under the terms of the MIT License.

About

Rails Engine for creating a to-do list.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published