GraphQL: RepoListWithNewestImage to return list of RepoSummary
What type of PR is this? ui
Which issue does this PR fix: #663
What does this PR do / Why do we need it: From #663:
ImageListWithLatestTag currently returns a list of ImageInfo objects. It needs to return consistent results with the API used for Global search as the same information will be used by the UI in the same type or cards.
Needed schema changes from #696
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Codecov Report
Merging #697 (18f590c) into main (981ca6d) will decrease coverage by
0.09%. The diff coverage is82.52%.
:exclamation: Current head 18f590c differs from pull request most recent head 2c912a3. Consider uploading reports for the commit 2c912a3 to get more accurate results
@@ Coverage Diff @@
## main #697 +/- ##
==========================================
- Coverage 88.55% 88.46% -0.10%
==========================================
Files 66 65 -1
Lines 12692 11906 -786
==========================================
- Hits 11240 10533 -707
+ Misses 1133 1077 -56
+ Partials 319 296 -23
| Impacted Files | Coverage Δ | |
|---|---|---|
| pkg/extensions/search/resolver.go | 90.40% <81.52%> (+1.86%) |
:arrow_up: |
| pkg/extensions/search/schema.resolvers.go | 82.05% <90.90%> (+2.16%) |
:arrow_up: |
| pkg/test/prod.go | 60.00% <0.00%> (-11.43%) |
:arrow_down: |
| pkg/extensions/search/common/common.go | 86.81% <0.00%> (-6.13%) |
:arrow_down: |
| pkg/cli/cve_cmd.go | 80.39% <0.00%> (-5.61%) |
:arrow_down: |
| pkg/test/common.go | 84.39% <0.00%> (-2.75%) |
:arrow_down: |
| pkg/cli/service.go | 76.13% <0.00%> (-2.47%) |
:arrow_down: |
| pkg/cli/searcher.go | 89.30% <0.00%> (-1.91%) |
:arrow_down: |
| pkg/cli/image_cmd.go | 81.00% <0.00%> (-1.25%) |
:arrow_down: |
| pkg/test/dev.go | 91.11% <0.00%> (-1.20%) |
:arrow_down: |
| ... and 13 more |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
Pls fix the merge conflicts and resubmit.