[BUG]: Duplicate technology filter logic in handleApplyFilters causes redundant code
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 75/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- react, typescript
- Domain
- frontend
Research direction
Open components/tools/Filters.tsx and navigate to handleApplyFilters. Inspect the repeated checkedTechnology filter logic, remove the redundant application, and verify that each filter is applied only once in the function and that the filter UI still behaves as expected.
Written by the indexing model from the issue text.
Description
Describe the bug.
In components/tools/Filters.tsx, the handleApplyFilters function applies the technology filter twice.
Expected behavior
Each filter should be applied only once inside handleApplyFilters.
Screenshots
How to Reproduce
- Open
components/tools/Filters.tsxand navigate to thehandleApplyFiltersfunction. - Notice that the
checkedTechnologyfilter logic is applied twice.
🖥️ Device Information [optional]
- Operating System (OS):
- Browser:
- Browser Version:
👀 Have you checked for similar open issues?
- I checked and didn't find similar issue
🏢 Have you read the Contributing Guidelines?
- I have read the Contributing Guidelines
Are you willing to work on this issue ?
Yes I am willing to submit a PR!
- Dominant language
- TypeScript
- Stars
- 717
- Forks
- 1.2k
- Avg merge
- 14h 59m
- Merged PRs (30d)
- 40
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from asyncapi/website
-
📑 docs
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
[Improve]:Use top-level` updatedAt` instead of `timelineItems` connection for score calculation Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
area/typescript triaged
Difficulty 1/5 Under an hour Newbie friendliness 72/100
-
stale triaged
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
triaged
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
All issues in asyncapi/website
Similar issues
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100