Skip to content

feat: add announcements feature to exchange module - #1717

Merged
i5hi merged 2 commits into
developfrom
exchange-announcements
Jan 5, 2026
Merged

feat: add announcements feature to exchange module#1717
i5hi merged 2 commits into
developfrom
exchange-announcements

Conversation

@mocodesmo

Copy link
Copy Markdown
Contributor
  • Introduced GetAnnouncementsUsecase for fetching announcements.
  • Updated ExchangeLocator to register the new use case.
  • Implemented listAnnouncements method in ExchangeUserRepository.
  • Added API call in BullbitcoinApiDatasource to retrieve announcements.
  • Enhanced ExchangeCubit to load and manage announcements state.
  • Integrated AnnouncementBanner in ExchangeHomeScreen for display.

- Introduced GetAnnouncementsUsecase for fetching announcements.
- Updated ExchangeLocator to register the new use case.
- Implemented listAnnouncements method in ExchangeUserRepository.
- Added API call in BullbitcoinApiDatasource to retrieve announcements.
- Enhanced ExchangeCubit to load and manage announcements state.
- Integrated AnnouncementBanner in ExchangeHomeScreen for display.
@ethicnology

Copy link
Copy Markdown
Member

@claude can you give your opinion on this PR ?

@ethicnology ethicnology left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

MJ's back 💪

);
if (apiKey == null) {
throw ApiKeyException(
'API key not found. Please login to your Bull Bitcoin account.',

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Text should go in the localizations files

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm not sure but I think this is an error that doesn't reach the user level, so only in logs

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

none of the APIKeyExceptions are localised (35 occurrences) .
@i5hi pls confirm what to do here

@i5hi
i5hi merged commit 0da726b into develop Jan 5, 2026
1 check passed
@thibistaken
thibistaken deleted the exchange-announcements branch March 19, 2026 08:51
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.

3 participants