Skip to content

Conversation

ArtemHoruzhenko
Copy link
Collaborator

@ArtemHoruzhenko ArtemHoruzhenko commented Sep 26, 2025

get db version from another selector since it might be not returned by another selector.

(): UseRedisInstanceCompatibilityReturn => {
const {
version,
} = useSelector(connectedInstanceInfoSelector)
Copy link
Member

@valkirilov valkirilov Sep 26, 2025

Choose a reason for hiding this comment

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

Ouch, this means we have different behavior for what we store in Redux, based on the environment 😔

Do you think that we can get rid of one of the selectors (not now, I'm just asking if you checked what we store in both selectors, and whether it's possible to live only with one of them).

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Something to think about. I'm looking on another solution for this currently. Let see if it will work

Copy link
Contributor

Code Coverage - Frontend unit tests

St.
Category Percentage Covered / Total
🟢 Statements 82.14% 20016/24367
🟡 Branches 67.51% 8680/12857
🟡 Functions 76.25% 5327/6986
🟢 Lines 82.57% 19597/23733

Test suite run success

5159 tests passing in 677 suites.

Report generated by 🧪jest coverage report action from 1866dd6

@ArtemHoruzhenko ArtemHoruzhenko merged commit 145fee7 into main Sep 29, 2025
44 of 50 checks passed
@ArtemHoruzhenko ArtemHoruzhenko deleted the fe/feature/RI-7508-get-version-from-another-selector branch September 29, 2025 06:14
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