Skip to content
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

Tasklist-app by Daniel #444

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 27 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,36 @@
# Project Todos

Replace this readme with your own information about your project.
A new and shiny Task List built with React and Redux. Add your task and check them of one-by-one and have fun!
Functions:

Start by briefly describing the assignment in a sentence or two. Keep it short and to the point.
- Add new task
- Remove Task
- Complete Task
- Auto save to local storage

Tech:

- HTML5
- React
- Redux
- CSS

## The problem

Describe how you approached to problem, and what tools and techniques you used to solve it. How did you plan? What technologies did you use? If you had more time, what would be next?
This was a great exercise to practice working with Redux, a great but sometimes a bit daunting tool. I had a joy building the app.

Took me a bit of time to figure out the local storage to work with my reducers. Did not see the solution to update the whole store on removing of item in the list.

### Whats next / Known bugs

I wanted in my design in figma be able to hide and show the UI of the input field but had to skip it due to lack of time.

Known bug: The completed counter wont show the correct value when removing items and the number of tasks is less than completed ones

I will return to this and remove this section 😋

## View it live

Every project should be deployed somewhere. Be sure to include the link to the deployed project so that the viewer can click around and see what it's all about.
[Figma](https://www.figma.com/file/eejBOLV4yFYACOmpYhUlqk/Untitled?node-id=1%3A41&t=6uCZSycN8MXLhhox-1)
[Live-Link](https://redux-tasklist-app.netlify.app/)
[Github](https://github.com/dannebrob/project-todos)
14 changes: 4 additions & 10 deletions code/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"extends": [
"airbnb"
],
"extends": ["airbnb"],
"globals": {
"document": true,
"window": true,
Expand All @@ -22,10 +20,9 @@
"modules": true
}
},
"plugins": [
"react-hooks"
],
"plugins": ["react-hooks"],
"rules": {
"linebreak-style": ["off", "unix"],
"react/function-component-definition": [
2,
{
Expand All @@ -42,10 +39,7 @@
"allowSingleLine": true
}
],
"comma-dangle": [
"error",
"never"
],
"comma-dangle": ["error", "never"],
"consistent-return": "off",
"curly": "error",
"eol-last": "off",
Expand Down
23 changes: 0 additions & 23 deletions code/.gitignore

This file was deleted.

Loading