hey icon indicating copy to clipboard operation
hey copied to clipboard

feat: better tipping data display

Open iPaulPro opened this issue 10 months ago • 2 comments

What does this PR do?

This pull request focuses on better display of tipping and collect stats.

Related issues

Fixes #4778

Type of change

  • [x] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [x] Enhancement (non-breaking small changes to existing functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [ ] This change requires a documentation update

Explanation of the changes

  1. Filters open action counts to only reflect collects.
  2. Changes "Action" verb back to "Collect" where appropriate.
  3. Adds query to get action count and actedOn operation for tips
  4. Queries for tip action data for each publication
  5. Displays tip counts
  6. Shows solid tip icon when acted on
  7. Adds /tippers sub page for publications

Screen Shot 2024-03-26 at 1 06 18 AM

localhost_4783_posts_0xed-0x19 (2)

localhost_4783_posts_0xed-0x19 (1)

Side effects

  1. The seedAllowedTokens script was updated to use Mumbai addresses where available when running on testnet.
  2. A "solid" variant of the TipIcon was created called TipIconSolid.
  3. A new ProfileLinkSource was added when showing /tippers called tips.
  4. A new UnknownOpenActionData query was added to get the action count and operation status of the current user for unknown action modules (like tipping).

iPaulPro avatar Mar 26 '24 05:03 iPaulPro