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

project-todos-context-vite #24

Open
wants to merge 22 commits into
base: main
Choose a base branch
from
Open

project-todos-context-vite #24

wants to merge 22 commits into from

Conversation

lunek1
Copy link

@lunek1 lunek1 commented Apr 14, 2024

Copy link
Contributor

@AntonellaMorittu AntonellaMorittu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Cornelia and well done this week with the Todo App! You build an app meeting the requirements and made a good use of updating global state with React Context. I am not sure what is the purpose of the components List Name and Reminder, if some features of the app are still WIP it's better to hide them until they're fully functioning.

Please check again accessibility (need to score at least 95) and responsiveness for small screens (320px width). Fix these 2 things and you're good to go 🚀

Copy link

@vittoriamatteoli vittoriamatteoli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Cornelia, your project is promising! The calendar feature for picking dates is a highlight for me. Great job on your solo project—keep it up! I've left some comments for improvement.⭐

import { TodoProvider } from "./Components/TodoContext/TodoContext.jsx";
import { ListName } from "./Components/ListName/ListName.jsx";
import { TodoList } from "./Components/TodoList/TodoList.jsx";
import { WorkoutBlock } from "./Components/Workout/WorkoutBlock.jsx";

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The naming conventions could be improved for consistency and clarity. For example, some components and CSS classes use camelCase while others use kebab-case.

Comment on lines 33 to 52
<div className="listname-container">
<h2>
List name:
<input
type="text"
value={listName}
onChange={handleListNameChange}
onClick={() => clearDefaultText(listName, "Weekly planner")}
/>
</h2>
<h2>
Date:
<input
type="week"
value={date}
onChange={handleDateChange}
onClick={() => clearDefaultText(date, "")}
/>
</h2>
</div>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

providing proper semantic HTML elements, ARIA attributes for accessibility?

Comment on lines 45 to 50
<input
type="week"
value={date}
onChange={handleDateChange}
onClick={() => clearDefaultText(date, "")}
/>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

particularly neat feature🤩

Copy link
Contributor

@AntonellaMorittu AntonellaMorittu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Cornelia and well done this week with the Todo App! You build an app meeting the requirements and made a good use of updating global state with React Context. I am not sure what is the purpose of the components List Name and Reminder, if some features of the app are still WIP it's better to hide them until they're fully functioning.

Please check again accessibility (need to score at least 95) and responsiveness for small screens (320px width). Fix these 2 things and you're good to go

@lunek1
Copy link
Author

lunek1 commented May 23, 2024

Hi Cornelia and well done this week with the Todo App! You build an app meeting the requirements and made a good use of updating global state with React Context. I am not sure what is the purpose of the components List Name and Reminder, if some features of the app are still WIP it's better to hide them until they're fully functioning.

Please check again accessibility (need to score at least 95) and responsiveness for small screens (320px width). Fix these 2 things and you're good to go

Okey, so I did some adjustments and accessibility score is higher than 95 now and responsiveness should be good for 320px screens (atleast when I'm looking from my computer). Regarding my component "List Name" my idea with it was that the user can change the todo app and name it according to their plans, it can be a weekly planner for work/school, sparetime planning, or maybe you are planning a trip and you can name for example travel checklist. I adjusted my component "Workout" so that you can hide/show it to make the todo app more flexible to all sorts of planning. I removed the "Reminder" component and instead went for a "Sticky Notes" component, also to make the app more flexible for all sorts of use and planning.Does this make more sense now? Let me know what you think. 🌻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants