Skip to content

Conversation

@ice-damocles
Copy link
Contributor

@ice-damocles ice-damocles commented Jan 5, 2026

Description

  • Display "Creator token is live" dialog when someone buy user token for the first time
  • Subscribes to 31175 in Global Subscription

Task ID

ION-4905, ION-5027

Type of Change

  • New feature

Copilot AI review requested due to automatic review settings January 5, 2026 06:21
@ice-damocles ice-damocles requested review from a team and ice-orion as code owners January 5, 2026 06:21
@ice-morpheus ice-morpheus enabled auto-merge (squash) January 5, 2026 06:21
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a "Creator token is live" dialog feature that displays when someone buys a user's token for the first time. The implementation subscribes to Nostr event kind 31175 (CommunityTokenDefinitionEntity) globally and shows a celebration dialog to the token creator when the first purchase occurs.

Key Changes:

  • Added localization strings for the new dialog across 11 languages
  • Implemented a new dialog component with gradient styling and share functionality
  • Created an event handler to detect first-buy events and trigger the dialog
  • Extended GradientBorderPainter to support background colors

Reviewed changes

Copilot reviewed 17 out of 17 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
lib/l10n/app_*.arb Added localized title and subtitle strings for the creator token live dialog
lib/app/features/tokenized_communities/views/creator_token_is_live_dialog.dart New dialog component displaying creator token live notification with share functionality
lib/app/features/tokenized_communities/providers/community_token_definition_handler.r.dart Event handler that detects first-buy events and triggers the dialog via UI event queue
lib/app/features/ion_connect/providers/global_subscription.r.dart Registered kind 31175 (CommunityTokenDefinitionEntity) in global subscription
lib/app/features/ion_connect/providers/events_management_service.r.dart Registered the community token definition handler in the events management service
lib/app/components/gradient_border_painter/gradient_border_painter.dart Extended painter to optionally render background color behind gradient border

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ice-morpheus ice-morpheus force-pushed the feat/creator-token-is-live-dialog branch 8 times, most recently from 1e05538 to 8beef78 Compare January 5, 2026 16:57
ice-tychon
ice-tychon previously approved these changes Jan 5, 2026
@ice-morpheus ice-morpheus force-pushed the feat/creator-token-is-live-dialog branch from 8beef78 to c3310d0 Compare January 5, 2026 21:03
@ice-damocles ice-damocles force-pushed the feat/creator-token-is-live-dialog branch from 578e112 to 1a54226 Compare January 6, 2026 01:17
@ice-morpheus ice-morpheus force-pushed the feat/creator-token-is-live-dialog branch from 1a54226 to 777774f Compare January 6, 2026 08:49
ice-kreios
ice-kreios previously approved these changes Jan 6, 2026
@ice-damocles ice-damocles force-pushed the feat/creator-token-is-live-dialog branch from 777774f to 8508697 Compare January 8, 2026 08:16
@ice-morpheus ice-morpheus force-pushed the feat/creator-token-is-live-dialog branch 5 times, most recently from a649d11 to 0f31d88 Compare January 8, 2026 12:15
@ice-morpheus ice-morpheus force-pushed the feat/creator-token-is-live-dialog branch 6 times, most recently from 9fab019 to 912b8a2 Compare January 16, 2026 09:41
@ice-morpheus ice-morpheus force-pushed the feat/creator-token-is-live-dialog branch 2 times, most recently from 16e2b2e to 46c80d2 Compare January 16, 2026 10:26
@ice-damocles ice-damocles dismissed stale reviews from ice-kreios and ice-cerberus via f02fce8 January 16, 2026 11:19
@ice-morpheus ice-morpheus force-pushed the feat/creator-token-is-live-dialog branch from f02fce8 to 1081eb8 Compare January 16, 2026 12:52
@ice-morpheus ice-morpheus force-pushed the feat/creator-token-is-live-dialog branch from 1081eb8 to 407cbac Compare January 16, 2026 13:14
@ice-morpheus ice-morpheus merged commit 3545da3 into master Jan 16, 2026
5 checks passed
@ice-morpheus ice-morpheus deleted the feat/creator-token-is-live-dialog branch January 16, 2026 13:33
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.

8 participants