Skip to content

Add Contest Page#14135

Open
dylanjeffers wants to merge 4 commits intomainfrom
new-remix-page-rebase
Open

Add Contest Page#14135
dylanjeffers wants to merge 4 commits intomainfrom
new-remix-page-rebase

Conversation

@dylanjeffers
Copy link
Copy Markdown
Contributor

Adds contest page
Adds contest comments
Adds contest text-posts
Adds follow contest

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 17, 2026

⚠️ No Changeset found

Latest commit: 2a88f8e

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

github-actions bot commented Apr 17, 2026

🌐 Web preview ready

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

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

dylanjeffers and others added 4 commits April 20, 2026 13:58
- Phase 1: comments with entity_type='Event' (py indexer + Go api)
- Phase 2: follow-event via subscriptions.entity_type
- Phase 3: dedicated /contest page + routing
- Phase 4: ContestCommentsSection feed + compose
- Phase 5: track page teaser (dead code deleted)
- 70 new tests (Python + Go + web vitest)
Two narrow fixes that surfaced while driving remix-contest flows from
Node (audius-cmd):

- Storage.uploadFile passed the CrossPlatformFile wrapper straight to
  tus-js-client, which in Node only accepts Buffer/ReadStream. Unwrap
  NodeFile.buffer before constructing the tus.Upload so Node callers
  that send `{buffer, name, type}` (the shape the zod schema validates)
  actually get uploaded.
- CommentsApi.createCommentWithEntityManager hardcoded entity_type to
  'Track' for anything other than 'FanClub'. The zod schema already
  accepts 'Event' for remix-contest comments, so thread it through
  instead of silently coercing it to 'Track'.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Adds `audius-cmd event create|follow|unfollow` so remix-contest flows
can be driven end-to-end from the CLI (create an event on a track,
subscribe/unsubscribe fans) instead of via ad-hoc scripts.

Also catches up the existing commands to SDK changes that had drifted
past audius-cmd:

- `track upload` now uses the two-step `uploadTrackFiles` +
  `publishTrack` flow introduced with TUS uploads; the single-step
  `uploadTrack` no longer exists.
- `comment create` now calls `createCommentWithEntityManager` directly
  (`postComment` is gone) and accepts `Event` as an entity type so
  remix-contest comments can be posted through the CLI. The arg parser
  is also relaxed to accept either a hashid or a numeric id, matching
  the output of the new `event create`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@dylanjeffers dylanjeffers force-pushed the new-remix-page-rebase branch from 0f1f2e8 to 2a88f8e Compare April 20, 2026 21:57
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