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

fix(settings): update channel details #2022

Merged
merged 1 commit into from
Jul 9, 2024
Merged

fix(settings): update channel details #2022

merged 1 commit into from
Jul 9, 2024

Conversation

pwltr
Copy link
Collaborator

@pwltr pwltr commented Jun 28, 2024

Description

  • Add order information for CJIT channels
  • Add fee information
  • Add order expiry date for pending channels
  • Add closure reason

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactoring (improving code without creating new functionality)

Tests

  • Detox test
  • Unit test
  • No test

Screenshot / Video

Simulator Screenshot - iPhone 15 - 2024-06-28 at 11 28 26
Simulator Screenshot - iPhone 15 - 2024-06-28 at 11 30 01
Simulator Screenshot - iPhone 15 - 2024-06-28 at 11 30 46

/>
<Section
name={t('is_ready')}
testID={channel.is_channel_ready ? 'IsReadyYes' : 'IsReadyNo'}
Copy link
Collaborator

Choose a reason for hiding this comment

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

IsReadyYes is checked in e2e tests

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think it's ok to remove the test since it's only checking if the row exists. For debugging is_channel_ready hasn't really been useful so far

Copy link
Collaborator

Choose a reason for hiding this comment

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

If we are removing is_channel_ready from tests, than we need to add is_usable check.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The test was only checking if the row exists, now it will exist always (without developer mode on) so I don't see the point of testing this. @limpbrains thoughts?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Not just the row. Test was checking if LDK api return channel.is_channel_ready

@pwltr pwltr merged commit 768dab7 into master Jul 9, 2024
7 checks passed
@pwltr pwltr deleted the fix/channel-details branch July 9, 2024 11:07
This pull request was closed.
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.

2 participants