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

Feat: adds clear function to HitsSource #265

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Fix: HitsList previews compiler directive

c3a7367
Select commit
Loading
Failed to load commit list.
Open

Feat: adds clear function to HitsSource #265

Fix: HitsList previews compiler directive
c3a7367
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis succeeded Aug 13, 2024 in 0s

Your pull request is up to standards!

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 5
           

Clones added
============
- Sources/InstantSearchSwiftUI/View/HitsList.swift  1
- Tests/InstantSearchCoreTests/Unit/MultiIndexHitsInteractorTests.swift  1
- Tests/InstantSearchCoreTests/Unit/Hits/HitsInteractorTests.swift  4
         

See the complete overview on Codacy

Annotations

Check warning on line 154 in Sources/InstantSearchCore/Hits/HitsInteractor.swift

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Sources/InstantSearchCore/Hits/HitsInteractor.swift#L154

Lines should not have trailing whitespace

Check warning on line 74 in Sources/InstantSearchSwiftUI/View/HitsList.swift

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Sources/InstantSearchSwiftUI/View/HitsList.swift#L74

Lines should not have trailing whitespace

Check warning on line 89 in Sources/InstantSearchSwiftUI/View/HitsList.swift

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Sources/InstantSearchSwiftUI/View/HitsList.swift#L89

Prefer using UTF-8 encoded strings when converting between `String` and `Data`

Check failure on line 126 in Sources/InstantSearchSwiftUI/View/HitsList.swift

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Sources/InstantSearchSwiftUI/View/HitsList.swift#L126

Force tries should be avoided

Check warning on line 128 in Sources/InstantSearchSwiftUI/View/HitsList.swift

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Sources/InstantSearchSwiftUI/View/HitsList.swift#L128

Unused parameter in a closure should be replaced with _