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

Develop #1060

Open
wants to merge 38 commits into
base: master
Choose a base branch
from
Open

Develop #1060

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
8460a5b
feat: introduce add todo logic
przwojwwp Oct 3, 2024
9103bb2
feat: add toggle todo status (completed) logic
przwojwwp Oct 3, 2024
33d9848
refactor: extract Header, Todos, Foter to separate components
przwojwwp Oct 4, 2024
0928b96
feat: introduce useContext for all components
przwojwwp Oct 4, 2024
6e2f350
feat: introduce deleteTodo service on button
przwojwwp Oct 4, 2024
eafa834
feat: basic version of todo rename functionality
przwojwwp Oct 4, 2024
c50f3d8
feat: complete todo rename functionality
przwojwwp Oct 5, 2024
ef85ef8
feat: update / delete todo title / todo onClick outside form
przwojwwp Oct 5, 2024
063abc6
refactor: delete useEffect dependency in Todos component
przwojwwp Oct 5, 2024
c5ca723
feat: save todos to localStorage and load from it
przwojwwp Oct 6, 2024
991b156
feat: display number of not completed todos
przwojwwp Oct 6, 2024
672db8f
feat: hide footer if no todos
przwojwwp Oct 6, 2024
3ceeb56
feat: focus headerInput if click outside renaming todo
przwojwwp Oct 6, 2024
310a9a1
feat: add filter change onClick in Footer
przwojwwp Oct 6, 2024
915d3cb
feat: delete multiple todos on Clear completed
przwojwwp Oct 6, 2024
6a6011c
errored because the property: does not exist on your subject
przwojwwp Oct 6, 2024
aa3e0d7
docs: update demo link path in readme
przwojwwp Oct 6, 2024
c57d9d7
feat: set border-box on Header input
przwojwwp Oct 7, 2024
a0f2721
feat: introduce toggleMultipleTodosStatus onClick Header button
przwojwwp Oct 7, 2024
94e9dbe
feat: save toggleMultipleTodosStatus result in localStorage
przwojwwp Oct 7, 2024
a4a9f62
refactor: change incompleteTodos to incompleteTodosCount
przwojwwp Oct 7, 2024
9fdf8a6
refactor: useEffect instead of hardcoding localStorage
przwojwwp Oct 7, 2024
80e1c8d
refactor: reduce redundancy in Filter
przwojwwp Oct 8, 2024
c2e8632
refactor: avoid conditions deep nesting in Todos
przwojwwp Oct 8, 2024
7fc2b96
refactor: extract TodoItem from Todos
przwojwwp Oct 8, 2024
a00ba3f
refactor: remove inline styles and aplly them with scss
przwojwwp Oct 8, 2024
07750b3
refactor: destructure todo in Todos and TodoItem
przwojwwp Oct 8, 2024
92d6624
refactor: use onBlur and onKeyUp instead of complicated logic
przwojwwp Oct 8, 2024
7141800
feat: playing around with useMemo in Footer
przwojwwp Oct 8, 2024
1b0db7d
feat: playing around with useCallback
przwojwwp Oct 8, 2024
407a123
refactor: extract variables from toggleMultipleTodosStatus in TodoCon…
przwojwwp Oct 8, 2024
7e22164
refactor: add dependency to useEffect which managing focus header input
przwojwwp Oct 9, 2024
4cb58a0
refactor: rename handleKeyUp to handleEscapeUp
przwojwwp Oct 9, 2024
e3510df
refactor: move simplified management logic to TodoItem
przwojwwp Oct 9, 2024
a6c98b9
feat: useMemo on contextValue
przwojwwp Oct 9, 2024
630ebde
perf: separate state and state setters in TodoContext
przwojwwp Oct 10, 2024
19bc646
feat: toggle todo checkbox if click while renaming
przwojwwp Oct 10, 2024
6664c98
chore: deploy actual version of page
przwojwwp Oct 10, 2024
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ Implement a simple [TODO app](https://mate-academy.github.io/react_todo-app/) th
- Implement a solution following the [React task guidelines](https://github.com/mate-academy/react_task-guideline#react-tasks-guideline).
- Use the [React TypeScript cheat sheet](https://mate-academy.github.io/fe-program/js/extra/react-typescript).
- Open another terminal and run tests with `npm test` to ensure your solution is correct.
- Replace `<your_account>` with your GitHub username in the [DEMO LINK](https://<your_account>.github.io/react_todo-app/) and add it to the PR description.
- Replace `<your_account>` with your GitHub username in the [DEMO LINK](https://przwojwwp.github.io/react_todo-app/) and add it to the PR description.
Loading
Loading