Skip to content

Conversation

@zaelgohary
Copy link
Contributor

Changes

  • Add contracts check service, edit main.dart to call backgroundFetchHeadlessTask instead of checkNodeStatus, remove finish logic from inside the background service, edit notification service, edit notification dialogue, add more logs

Related Issues

Tested Scenarios

A list of scenarios tried to match the deliverables

@AlaaElattar
Copy link
Contributor

  • I tried the notification dialog multiple times but it just open the app and no dialog appears.

@AlaaElattar
Copy link
Contributor

  • can u please resolve the conflict ?

@zaelgohary zaelgohary marked this pull request as draft June 3, 2025 07:30
@zaelgohary zaelgohary marked this pull request as ready for review June 3, 2025 11:08
@zaelgohary zaelgohary requested a review from AlaaElattar June 3, 2025 11:08
logger.i(
'[ContractsCheck] Contracts in grace period: ${allContractsInGracePeriod.length}. Contract Notifications enabled: $contractNotificationsEnabled');

if (contractNotificationsEnabled) {
Copy link
Contributor

Choose a reason for hiding this comment

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

  • I think we may include more info about contract to be user-friendly, like farm or node. what do u think ?

Copy link
Contributor Author

@zaelgohary zaelgohary Jun 19, 2025

Choose a reason for hiding this comment

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

Surely can be done but there's a contract page where users can check all their contracts details. Maybe we can refer to the contracts page but after its PR is merged? Or redirect to the contract details page on notification click?

Copy link
Contributor

Choose a reason for hiding this comment

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

That's a good idae

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I opened the issue below. If all works well, we can approve this PR.

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