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

Extract selection logic to withIdBasedSelection() HoC #791

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

rszwajko
Copy link
Contributor

@rszwajko rszwajko commented Dec 1, 2023

Main goal of this refactoring is to re-use selection logic on VM List screen.
The existing logic has been extracted to a higher-order component.
The only functional change is/should be moving the button to the toolbar - we have a dedicated extension point for global actions.

Before

Screenshot from 2023-12-05 20-12-40

After

Screenshot from 2023-12-05 20-08-01

Copy link

sonarqubecloud bot commented Dec 5, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@rszwajko rszwajko changed the title Extract selection logic to withSelection() HoC Extract selection logic to withIdBasedSelection() HoC Dec 5, 2023
@rszwajko rszwajko requested review from yaacov, sjd78 and sgratch December 5, 2023 21:21
@rszwajko rszwajko marked this pull request as ready for review December 5, 2023 21:23
@yaacov yaacov merged commit 7336772 into kubev2v:main Dec 5, 2023
8 checks passed
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