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

chore: rename isprivateConnection to isPrivateConnection #11656

Merged
merged 4 commits into from
Oct 7, 2024

Conversation

cryptodev-2s
Copy link
Contributor

@cryptodev-2s cryptodev-2s commented Oct 7, 2024

Description

This PR corrects a typo in isPrivateConnection, which was previously named isprivateConnection.

Related issues

Fixes:

Manual testing steps

Screenshots/Recordings

Before

After

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

Copy link
Contributor

github-actions bot commented Oct 7, 2024

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@cryptodev-2s cryptodev-2s added No QA Needed Apply this label when your PR does not need any QA effort. and removed team-wallet-framework labels Oct 7, 2024
@cryptodev-2s cryptodev-2s changed the title refacto: fix typo in isPrivateConnection fix: rename isprivateConnection to isPrivateConnection Oct 7, 2024
Daniel-Cross
Daniel-Cross previously approved these changes Oct 7, 2024
Copy link
Contributor

@Daniel-Cross Daniel-Cross left a comment

Choose a reason for hiding this comment

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

Approved!

Copy link
Contributor

@NicolasMassart NicolasMassart left a comment

Choose a reason for hiding this comment

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

Looks good to me.

Copy link
Contributor

@NicolasMassart NicolasMassart left a comment

Choose a reason for hiding this comment

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

I initially approved but then realised that there's no unit test update for this change... Because there's no unit test. Not your fault, this funciton was not tested before.
But if you are annoyed by a case issue in the function name so much that you create a PR to update it, I would imagine that the lack of tests on this function is even more an issue for you. At least it is for me.
So ideally, given how simple this function is, and the fact we already have a test file for this utils file, you only have to add a very simple test, even AI generated, and I would approve the name change.

NidhiKJha
NidhiKJha previously approved these changes Oct 7, 2024
Copy link

sonarcloud bot commented Oct 7, 2024

Copy link
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

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

LGTM!

@Gudahtt
Copy link
Member

Gudahtt commented Oct 7, 2024

For the PR title, I'd recommend that it be changed to "chore" even though this is fixing something, because "fix" typically means bug fix, which this is not. "chore" would be better because it would communicate to the author of the changelog that this can be omitted.

Also could you please update the PR description checklist?

@cryptodev-2s cryptodev-2s changed the title fix: rename isprivateConnection to isPrivateConnection chore: rename isprivateConnection to isPrivateConnection Oct 7, 2024
Copy link
Contributor

@NicolasMassart NicolasMassart left a comment

Choose a reason for hiding this comment

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

Thank you!

Copy link
Contributor

@EtherWizard33 EtherWizard33 left a comment

Choose a reason for hiding this comment

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

LGTM

@cryptodev-2s cryptodev-2s added this pull request to the merge queue Oct 7, 2024
Merged via the queue into main with commit 17843ad Oct 7, 2024
49 checks passed
@cryptodev-2s cryptodev-2s deleted the refactor/fix-rename-is-private-connection-typo branch October 7, 2024 14:39
@github-actions github-actions bot locked and limited conversation to collaborators Oct 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
No QA Needed Apply this label when your PR does not need any QA effort. release-7.34.0 team-wallet-framework
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

7 participants