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

Dave irwin #675

Open
wants to merge 46 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
28466a8
Set up project. Initial commit.
redirwin Jun 18, 2019
14442d1
Installed Redux dependencies.
redirwin Jun 18, 2019
5433f73
Removed serviceWorker.js and references.
redirwin Jun 18, 2019
a501c14
Created store and wrapped App in Provider.
redirwin Jun 18, 2019
49536ca
Imported and combined reducers.
redirwin Jun 18, 2019
8b01aa9
Removed combined reducers from reducers/index.js. Set up component im…
redirwin Jun 18, 2019
147eb4d
Created component files.
redirwin Jun 19, 2019
5410133
Filled in AddItem component.
redirwin Jun 19, 2019
4ff29dd
Renamed and refactored components.
redirwin Jun 19, 2019
492f0ea
Created addItemReducer and imported to reducer index.js.
redirwin Jun 19, 2019
928385a
Commented out currently unused components.
redirwin Jun 19, 2019
3c5ca00
Removing most files. Starting from scratch.
redirwin Jun 19, 2019
ab8c1d6
Created imports & added App.
redirwin Jun 19, 2019
f96979b
Created ToDoList component, imported addItem, mapped state to props, …
redirwin Jun 19, 2019
d5afca4
Made action creator file.
redirwin Jun 19, 2019
072a175
Imported toggleDone and created display in return statement.
redirwin Jun 19, 2019
07349cc
Created input handler.
redirwin Jun 19, 2019
196b37b
Created addItem and toggleDone methods calling action handlers.
redirwin Jun 19, 2019
53bce20
Created seperate action handlers and combined into index.
redirwin Jun 19, 2019
0daf63d
Removed seperate action handlers created in error.
redirwin Jun 19, 2019
b7a1360
Created empty action handlers for testing.
redirwin Jun 19, 2019
2c8b602
Sucessfully handling input field changes.
redirwin Jun 19, 2019
f2a723a
Attempting to pass newItem to addNewItem.
redirwin Jun 19, 2019
cc4e61f
Sucessfully passing newItem to addNewItem in action creator.
redirwin Jun 19, 2019
c381422
Added return statement to toggleDone.
redirwin Jun 19, 2019
275b9af
Sucessfully entering and displaying new tasks.
redirwin Jun 19, 2019
941b2a7
Removed unused conole.log statements.
redirwin Jun 19, 2019
1f81f64
Corrected error of 'changing an uncontrolled input of type text'.
redirwin Jun 19, 2019
6a10f33
Sucessfully calling toggleDone and passing event and index locally.
redirwin Jun 19, 2019
f1c8d7a
Sucessfully passing index to action creator.
redirwin Jun 19, 2019
dcf07ec
Sucessfully toggling completed status of items passed to toggle reducer.
redirwin Jun 19, 2019
9f587d3
Sucessfully changing style of items on toggle.
redirwin Jun 19, 2019
b4e6f4e
Merge pull request #1 from redirwin/dave-irwin
adventurini Jun 20, 2019
9a07df6
Prepping for netlify.
redirwin Jun 20, 2019
6783a36
Merge pull request #2 from redirwin/dave-irwin
redirwin Jun 20, 2019
f4c3233
Netlify debugging.
redirwin Jun 20, 2019
441f16d
Netlify debugging
redirwin Jun 20, 2019
0a4271c
Merge pull request #4 from redirwin/dave-irwin
redirwin Jun 20, 2019
0e24ed7
Netlify debugging.
redirwin Jun 20, 2019
6c53548
Merge pull request #5 from redirwin/dave-irwin
redirwin Jun 20, 2019
d98015a
Netlify debugging
redirwin Jun 20, 2019
58efef7
Merge pull request #6 from redirwin/dave-irwin
redirwin Jun 20, 2019
1cda747
Update netlify.toml
redirwin Jun 20, 2019
a5d5a99
Netlify debugging.
redirwin Jun 20, 2019
7e0afb8
Editing for Netlify.
redirwin Jun 20, 2019
f2876d1
Merge branch 'master' into dave-irwin
redirwin Jun 20, 2019
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
11 changes: 11 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[build]
command = "yarn build"
functions = "functions"
publish = "todo/build"
base = "todo"


[[redirects]]
from = "/*"
to = "/index.html"
status = 200
3 changes: 3 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions todo/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
68 changes: 68 additions & 0 deletions todo/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Available Scripts

In the project directory, you can run:

### `npm start`

Runs the app in the development mode.<br>
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.<br>
You will also see any lint errors in the console.

### `npm test`

Launches the test runner in the interactive watch mode.<br>
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `npm run build`

Builds the app for production to the `build` folder.<br>
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.<br>
Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `npm run eject`

**Note: this is a one-way operation. Once you `eject`, you can’t go back!**

If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).

### Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

### Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

### Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

### Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

### Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

### `npm run build` fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify
Loading