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

4.2.0: Tips #351

Merged
merged 3 commits into from
Dec 16, 2024
Merged

4.2.0: Tips #351

merged 3 commits into from
Dec 16, 2024

Conversation

Lezek123
Copy link
Contributor

4.2.0

Affected components:

  • Migrations:
    • (A) 1733920148217-Data.js
    • views migration
  • GraphQL schema:
    • (M) Comment: added tipTier, tipAmount and sortPriority fields
    • (M) OperatorPermission: added SET_TIP_TIERS variant
    • (A) CommentTipTier: new enum
  • GraphQL server:
    • (A) tipTiers (query)
    • (A) setTipTierAmounts (mutation)
  • Processor:
    • (M) Members.MemberRemarked (event handler)
  • Config:
    • (A) COMMENT_TIP_TIERS
  • Dockerfile

Changes

  • Added support for Atlas tipping functionality:
    • added COMMENT_TIP_TIERS config variable and corresponding tipTiers query and setTipTierAmounts mutation which allow configuring the minimum amounts of JOY tokens required to obtain each tier (SILVER / GOLD / DIAMOND) when adding a video comment with a tip.
    • modified MemberRemarked event handler: processCreateCommentMessage now takes payment parameter and assigns a tipTier, tipAmount and sortPriority to a comment based on the amount of JOY paid to channel reward account.
    • updated GraphQL schema (Comment, CommentTipTier) and migrations to support new Comment fields.

Bug Fixes:

  • Dockerfile: added missing entrypoints and opentelemetry directories.

@Lezek123 Lezek123 merged commit 8e4ccbd into Joystream:master Dec 16, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant