Skip to content

refactor: Use selectors for nft controller state access#6820

Merged
cryptodev-2s merged 1 commit intomainfrom
use-selectors-for-nft-controllers-state-access
Jul 18, 2023
Merged

refactor: Use selectors for nft controller state access#6820
cryptodev-2s merged 1 commit intomainfrom
use-selectors-for-nft-controllers-state-access

Conversation

@cryptodev-2s
Copy link
Copy Markdown
Contributor

Description

Nft controller Redux state is now accessed excusively through selectors. This makes future state changes easier to manage.

Most of these changes consist of replacing the direct access to NftController State, by selectors.

Issue

Relates to https://github.com/MetaMask/mobile-planning/issues/1062

Checklist

  • There is a related GitHub issue
  • Tests are included if applicable
  • Any added code is fully documented

@cryptodev-2s cryptodev-2s added the No QA Needed Apply this label when your PR does not need any QA effort. label Jul 17, 2023
@cryptodev-2s cryptodev-2s self-assigned this Jul 17, 2023
@cryptodev-2s cryptodev-2s requested a review from a team as a code owner July 17, 2023 13:58
@cryptodev-2s cryptodev-2s changed the title refactor: Use selectors for token nft controller state access refactor: Use selectors for nft controller state access Jul 17, 2023
@github-actions
Copy link
Copy Markdown
Contributor

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 force-pushed the use-selectors-for-nft-controllers-state-access branch 2 times, most recently from eaa0bf5 to 5ab41d0 Compare July 17, 2023 13:59
@cryptodev-2s
Copy link
Copy Markdown
Contributor Author

@cryptodev-2s cryptodev-2s force-pushed the use-selectors-for-nft-controllers-state-access branch from 5ab41d0 to 1916d2d Compare July 17, 2023 17:17
@cryptodev-2s cryptodev-2s requested a review from mcmire July 17, 2023 17:17
@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug C 1 Bug
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

78.6% 78.6% Coverage
0.0% 0.0% Duplication

Copy link
Copy Markdown
Member

@mikesposito mikesposito left a comment

Choose a reason for hiding this comment

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

LGTM!
I linked the issue to this PR

Copy link
Copy Markdown
Contributor

@Cal-L Cal-L 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 merged commit 303afd3 into main Jul 18, 2023
@cryptodev-2s cryptodev-2s deleted the use-selectors-for-nft-controllers-state-access branch July 18, 2023 17:35
@github-actions github-actions bot locked and limited conversation to collaborators Jul 18, 2023
@cryptodev-2s cryptodev-2s added the release-7.4.0 Issue or pull request that will be included in release 7.4.0 label Jul 18, 2023
@metamaskbot metamaskbot added the release-7.5.0 Issue or pull request that will be included in release 7.5.0 label Jul 18, 2023
@hesterbruikman hesterbruikman removed the release-7.4.0 Issue or pull request that will be included in release 7.4.0 label Aug 4, 2023
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.5.0 Issue or pull request that will be included in release 7.5.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants