Skip to content

solution#1321

Open
jk-npc wants to merge 3 commits into
mate-academy:masterfrom
jk-npc:develop
Open

solution#1321
jk-npc wants to merge 3 commits into
mate-academy:masterfrom
jk-npc:develop

Conversation

@jk-npc

@jk-npc jk-npc commented Jun 11, 2026

Copy link
Copy Markdown

@2pasha 2pasha left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

good job! 👏

here are some improvements:

  1. fix inputs
Image Image
  1. pass all tests
  2. take a look on comments below

Comment thread src/components/TodoFilter.tsx Outdated
Comment on lines +10 to +35
<a
href="#/"
className={`filter__link ${filter === 'all' ? 'selected' : ''}`}
data-cy="FilterLinkAll"
onClick={() => onChange('all')}
>
All
</a>

<a
href="#/active"
className={`filter__link ${filter === 'active' ? 'selected' : ''}`}
data-cy="FilterLinkActive"
onClick={() => onChange('active')}
>
Active
</a>

<a
href="#/completed"
className={`filter__link ${filter === 'completed' ? 'selected' : ''}`}
data-cy="FilterLinkCompleted"
onClick={() => onChange('completed')}
>
Completed
</a>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

you may add all your filter values to some array and map through it to avoid code duplication

Comment thread src/components/TodoItem.tsx Outdated
Comment on lines +48 to +51
onSubmit={e => {
e.preventDefault();
handleSubmit();
}}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

move to separate fn

…on, input SCSS styles and port 3001 conflict
@jk-npc jk-npc requested a review from 2pasha June 12, 2026 20:09

@Anton-Kuchmasov Anton-Kuchmasov left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

UI bug didn't fixed yet. Would you mind to do this?

Image

@jk-npc jk-npc requested a review from Anton-Kuchmasov June 13, 2026 11:16

@Anton-Kuchmasov Anton-Kuchmasov left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Awesome!

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