Skip to content

add task solution#1269

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

add task solution#1269
n7lots wants to merge 2 commits intomate-academy:masterfrom
n7lots:develop

Conversation

@n7lots
Copy link

@n7lots n7lots commented Feb 4, 2026

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.

Almost done,

  1. Add loader for all todos operations.
  2. Fix the styles of input focus.

@n7lots
Copy link
Author

n7lots commented Feb 5, 2026

Almost done,

  1. Add loader for all todos operations.
  2. Fix the styles of input focus.

Okay, but I didn't see that I needed to add a loader.

@n7lots n7lots requested a review from brespect February 5, 2026 15:04
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! 👏

Comment on lines +35 to +60
<a
href="#/"
data-cy="FilterLinkAll"
className={cl('filter__link', { selected: filter === 'all' })}
onClick={() => onFilterChange('all')}
>
All
</a>

<a
href="#/active"
className={cl('filter__link', { selected: filter === 'active' })}
data-cy="FilterLinkActive"
onClick={() => onFilterChange('active')}
>
Active
</a>

<a
href="#/completed"
className={cl('filter__link', { selected: filter === 'completed' })}
data-cy="FilterLinkCompleted"
onClick={() => onFilterChange('completed')}
>
Completed
</a>
Copy link

Choose a reason for hiding this comment

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

DRY

it's better to map through your filters

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