[codex] Add Redis Array support#5861
Draft
rowantrollope wants to merge 1 commit intomainfrom
Draft
Conversation
|
|
🛡️ Jit Security Scan Results✅ No security findings were detected in this PR
Security scan by Jit
|
Contributor
Code Coverage - Backend unit tests
Test suite run success3371 tests passing in 307 suites. Report generated by 🧪jest coverage report action from 39d403a |
Contributor
Code Coverage - Integration Tests
|
Contributor
Code Coverage - Frontend unit tests
Test suite run success6782 tests passing in 787 suites. Report generated by 🧪jest coverage report action from 39d403a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds end-to-end Redis Array support in Browser, including backend Array APIs, key-info handling, Redis command registration, create/read/search/edit/delete UI flows, Array key styling/filtering, and validation for unsigned 64-bit array indexes.
Also renders escaped Markdown-like Array values as Markdown in the Array details table so stored documentation/text content is readable.
Testing
git diff --check./node_modules/.bin/jest 'src/modules/browser/array/array.service.spec.ts' 'src/modules/browser/keys/key-info/strategies/array.key-info.strategy.spec.ts' 'src/modules/browser/keys/key-info/key-info.provider.spec.ts' -w 1./node_modules/.bin/jest 'redisinsight/ui/src/utils/tests/formatters/markdownText.spec.ts' 'redisinsight/ui/src/utils/tests/validations.spec.ts' -c 'jest.config.cjs' -t 'markdownText|validateArrayIndex'./node_modules/.bin/eslint --quiet redisinsight/ui/src/pages/browser/modules/key-details/components/array-details/array-details-table/ArrayDetailsTable.tsx redisinsight/ui/src/utils/formatters/markdownText.ts redisinsight/ui/src/utils/tests/formatters/markdownText.spec.ts redisinsight/api/src/modules/browser/array/array.service.ts redisinsight/api/src/modules/browser/array/dto/get.array-elements.response.ts redisinsight/api/src/modules/browser/array/array.service.spec.tsyarn build:apiyarn build:uiNo linked issue was provided.