thunderstore-io / Thunderstore

Thunderstore is a mod database and API for downloading mods. Thunderstore Discord: https://discord.thunderstore.io/
https://thunderstore.io/
GNU Affero General Public License v3.0
138 stars 28 forks source link

Cyberstorm API: return unique ids for category and section filters #903

Closed anttimaki closed 1 year ago

anttimaki commented 1 year ago

Slugs of PackageCategory and PackageListingSections are unique only in a scope of each Community. Send the globally unique ids to client so they can be used when the client sends a package list filtering request back to backend.

Refs TS-1890

anttimaki commented 1 year ago

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.

codecov[bot] commented 1 year ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (755f22c) 92.30% compared to head (a61d02c) 92.30%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #903 +/- ## ======================================= Coverage 92.30% 92.30% ======================================= Files 272 272 Lines 7851 7853 +2 Branches 746 746 ======================================= + Hits 7247 7249 +2 Misses 501 501 Partials 103 103 ``` | [Files](https://app.codecov.io/gh/thunderstore-io/Thunderstore/pull/903?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=thunderstore-io) | Coverage Δ | | |---|---|---| | [...understore/api/cyberstorm/serializers/community.py](https://app.codecov.io/gh/thunderstore-io/Thunderstore/pull/903?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=thunderstore-io#diff-ZGphbmdvL3RodW5kZXJzdG9yZS9hcGkvY3liZXJzdG9ybS9zZXJpYWxpemVycy9jb21tdW5pdHkucHk=) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.