Skip to content

Deduplicate remix contest cards#14410

Draft
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/slack-bug-resolution-127a
Draft

Deduplicate remix contest cards#14410
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/slack-bug-resolution-127a

Conversation

@cursor
Copy link
Copy Markdown
Contributor

@cursor cursor Bot commented May 27, 2026

Summary

  • Deduplicate remix contest parent track IDs returned by all/user contest list hooks while preserving API order
  • Apply the same guard to profile contest lists that share the card rendering path
  • Add focused unit coverage for deduping within and across paginated results

Tests

  • npm run test -w @audius/common -- src/api/tan-query/events/utils.test.ts --run
  • ../../node_modules/.bin/eslint --no-cache src/api/tan-query/events/utils.ts src/api/tan-query/events/useAllRemixContests.ts src/api/tan-query/events/useUserRemixContests.ts src/api/tan-query/events/utils.test.ts from packages/common

Note: npm run lint -w @audius/common -- --no-cache still fails on an unrelated existing Prettier issue in packages/common/src/store/storeContext.ts.

Open in Web View Automation 

Co-authored-by: Ray Jacobson <raymondjacobson@users.noreply.github.com>
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 27, 2026

⚠️ No Changeset found

Latest commit: 8e99f2c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

🌐 Web preview ready

Preview URL: https://audius-web-preview-pr-14410.audius.workers.dev

Unique preview for this PR (deployed from this branch).
Workflow run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant