Skip to content

Solution#2157

Open
ExtymAndriy wants to merge 2 commits intomate-academy:masterfrom
ExtymAndriy:develop
Open

Solution#2157
ExtymAndriy wants to merge 2 commits intomate-academy:masterfrom
ExtymAndriy:develop

Conversation

@ExtymAndriy
Copy link

No description provided.

Copy link

@brespect brespect left a comment

Choose a reason for hiding this comment

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

Seems like, task is not completed, pass all tests and linter check, and also don`t forget to add the DEMO LINK to the PRs description.

@ExtymAndriy ExtymAndriy requested a review from brespect March 23, 2026 11:29
@ExtymAndriy
Copy link
Author

Знімок екрана 2026-03-23 133330

Copy link

@2pasha 2pasha left a comment

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. please pass all tests
Image
  1. input is smaller than in reference
Image ref: Image
  1. fix comments below

Comment on lines +119 to +123
onSubmit={e => {
e.preventDefault();
finishEdit('submit');
}}
>
Copy link

Choose a reason for hiding this comment

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

move to separate fn

Comment on lines +28 to +61
<nav className="filter" data-cy="Filter">
<button
type="button"
className={classNames('filter__link', {
selected: filterStatus === Status.All,
})}
data-cy="FilterLinkAll"
onClick={() => setFilterStatus(Status.All)}
>
All
</button>

<button
type="button"
className={classNames('filter__link', {
selected: filterStatus === Status.Active,
})}
data-cy="FilterLinkActive"
onClick={() => setFilterStatus(Status.Active)}
>
Active
</button>

<button
type="button"
className={classNames('filter__link', {
selected: filterStatus === Status.Completed,
})}
data-cy="FilterLinkCompleted"
onClick={() => setFilterStatus(Status.Completed)}
>
Completed
</button>
</nav>
Copy link

Choose a reason for hiding this comment

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

you may add all you filter values into enum and through it

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