Skip to content

Commit 1d4335d

Browse files
Merge branch 'main' into conflict-main
2 parents 673f673 + d0b7ef4 commit 1d4335d

File tree

491 files changed

+13753
-4785
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

491 files changed

+13753
-4785
lines changed

.circleci/config.yml

Lines changed: 163 additions & 65 deletions
Large diffs are not rendered by default.

.eslintignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,7 @@ package.json
5757
*.css.d.ts
5858
*.sass.d.ts
5959
*.scss.d.ts
60+
61+
# temp folders - remove in future after fix all issues
62+
redisinsight/ui/src/packages/redisgraph
63+
redisinsight/ui/src/packages/redistimeseries-app

.github/redisinsight_browser.png

927 KB
Loading

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,6 @@ vendor
5858

5959
# Parcel
6060
.parcel-cache
61+
62+
# caches
63+
.temp_cache

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,28 +20,29 @@ RedisInsight is an intuitive and efficient GUI for Redis, allowing you to intera
2020

2121
### RedisInsight Highlights:
2222

23-
* Browse, filter and visualise your key-value Redis data structures
24-
* CRUD support for Lists, Hashes, Strings, Sets, Sorted Sets
23+
* Browse, filter, visualise your key-value Redis data structures and see key values in different formats (including JSON, Hex, ASCII, etc.)
24+
* CRUD support for Lists, Hashes, Strings, Sets, Sorted Sets, and Streams
2525
* CRUD support for [RedisJSON](https://oss.redis.com/redisjson/)
26-
* Profiler - analyze every command sent to Redis in real-time
27-
* Introducing Workbench - advanced command line interface with intelligent command auto-complete and complex data visualizations
26+
* Profiler - analyze every command sent to Redis in real-time
27+
* SlowLog - analyze slow operations in Redis instances based on the [Slowlog](https://github.com/RedisInsight/RedisInsight/releases#:~:text=results%20of%20the-,Slowlog,-command%20to%20analyze) command
28+
* Pub/Sub - support for [Redis pub/sub](https://redis.io/docs/manual/pubsub/), enabling subscription to channels and posting messages to channels
29+
* Bulk actions - Delete the keys in bulk based on the filters set in Browser or Tree view
30+
* Introducing Workbench - advanced command line interface with intelligent command auto-complete, complex data visualizations and support for the raw mode
2831
* Command auto-complete support for [RediSearch](https://oss.redis.com/redisearch/), [RedisJSON](https://oss.redis.com/redisjson/), [RedisGraph](https://oss.redis.com/redisgraph/), [RedisTimeSeries](https://oss.redis.com/redistimeseries/), [RedisAI](https://oss.redis.com/redisai/)
2932
* Visualizations of your [RediSearch](https://oss.redis.com/redisearch/) index, queries, and aggregations
3033
* Ability to build your own data visualization plugins
3134
* Built-in click-through guides for Redis capabilities
3235
* Oficially supported for Redis OSS, [Redis Cloud](https://redis.com/try-free/). Works with Microsoft Azure Cache for Redis (official support upcoming).
33-
* Available for macOS, Windows and Linux
36+
* Available for macOS (including M1), Windows and Linux
3437

3538
Check out the [release notes](https://docs.redis.com/latest/ri/release-notes/).
3639

3740
## Get started with RedisInsight
3841

39-
This repository includes the code for RedisInsight 2.0, Currently available in public preview. Check out the [blogpost](https://redis.com/blog/introducing-redisinsight-2/) announcing it.
40-
41-
The current GA version of RedisInsight is 1.11. You can install RedisInsight 2.0 along with the GA version.
42+
This repository includes the code for the GA version of RedisInsight 2.0. Check out the [blogpost](https://redis.com/blog/introducing-redisinsight-2/) announcing it.
4243

4344
### Installable
44-
Available to download for free from [here](https://redis.com/redis-enterprise/redis-insight/#insight-form).
45+
Available to download for free from [here](https://redis.com/redis-enterprise/redis-insight/#insight-form).
4546

4647
### Build
4748
Alternatively you can also build from source. See our wiki for instructions.

configs/webpack.config.base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export default {
5454
// 'pnpapi',
5555
'cache-manager',
5656
// 'class-validator',
57-
'fastify-static',
57+
'@fastify/static',
5858
'fastify-swagger',
5959
// 'hiredis',
6060
// 'reflect-metadata',

configs/webpack.config.web.dev.babel.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* https://webpack.js.org/concepts/hot-module-replacement/
66
*/
77

8+
import path from 'path';
89
import webpack from 'webpack';
910
import { merge } from 'webpack-merge';
1011
import ip from 'ip';
@@ -21,6 +22,18 @@ export default merge(commonConfig, {
2122

2223
mode: 'development',
2324

25+
cache: {
26+
type: 'filesystem',
27+
allowCollectingMemory: true,
28+
cacheDirectory: path.resolve(__dirname, '../.temp_cache'),
29+
name: 'webpack',
30+
maxAge: 86_400_000, // 1 day
31+
buildDependencies: {
32+
// This makes all dependencies of this file - build dependencies
33+
config: [__filename],
34+
}
35+
},
36+
2437
devtool: 'source-map',
2538

2639
entry: [

electron-builder.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@
7575
"desktop": {
7676
"Name": "RedisInsight",
7777
"Type": "Application",
78-
"Comment": "Redis GUI by Redis Ltd",
79-
"Terminal": "true"
78+
"Comment": "Redis GUI by Redis Ltd"
8079
}
8180
},
8281
"directories": {

jest.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ module.exports = {
1616
'rehype-stringify': '<rootDir>/redisinsight/__mocks__/rehypeStringify.js',
1717
'unist-util-visit': '<rootDir>/redisinsight/__mocks__/unistUtilsVisit.js',
1818
'react-children-utilities': '<rootDir>/redisinsight/__mocks__/react-children-utilities.js',
19+
d3: '<rootDir>/node_modules/d3/dist/d3.min.js',
1920
},
21+
setupFiles: [
22+
'<rootDir>/redisinsight/ui/src/setup-env.ts',
23+
],
2024
setupFilesAfterEnv: [
2125
'<rootDir>/redisinsight/ui/src/setup-tests.ts',
2226
],
@@ -35,6 +39,11 @@ module.exports = {
3539
transformIgnorePatterns: [
3640
'node_modules/(?!(monaco-editor|react-monaco-editor)/)',
3741
],
42+
// TODO: add tests for plugins
43+
modulePathIgnorePatterns: [
44+
'<rootDir>/redisinsight/ui/src/packages',
45+
'<rootDir>/redisinsight/ui/src/mocks',
46+
],
3847
coverageThreshold: {
3948
global: {
4049
statements: 70,

package.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
"start:web:public": "cross-env PUBLIC_DEV=true webpack serve --config ./configs/webpack.config.web.dev.babel.js",
3939
"test": "jest ./redisinsight/ui -w 1",
4040
"test:watch": "jest ./redisinsight/ui --watch -w 1",
41-
"test:cov": "jest ./redisinsight/ui --coverage -w 1"
41+
"test:cov": "jest ./redisinsight/ui --coverage -w 1",
42+
"type-check:ui": "tsc --project redisinsight/ui --noEmit"
4243
},
4344
"lint-staged": {
4445
"*.{js,jsx,ts,tsx}": [
@@ -106,8 +107,10 @@
106107
"@teamsupercell/typings-for-css-modules-loader": "^2.4.0",
107108
"@testing-library/jest-dom": "^5.16.4",
108109
"@testing-library/react": "^13.3.0",
110+
"@testing-library/user-event": "^14.4.3",
109111
"@types/axios": "^0.14.0",
110112
"@types/classnames": "^2.2.11",
113+
"@types/d3": "^7.4.0",
111114
"@types/date-fns": "^2.6.0",
112115
"@types/detect-port": "^1.3.0",
113116
"@types/electron-store": "^3.2.0",
@@ -119,6 +122,7 @@
119122
"@types/jsonpath": "^0.2.0",
120123
"@types/lodash": "^4.14.171",
121124
"@types/node": "14.14.10",
125+
"@types/react": "^18.0.20",
122126
"@types/react-dom": "^18.0.5",
123127
"@types/react-monaco-editor": "^0.16.0",
124128
"@types/react-redux": "^7.1.12",
@@ -174,6 +178,7 @@
174178
"mini-css-extract-plugin": "^1.3.1",
175179
"moment": "^2.29.3",
176180
"monaco-editor-webpack-plugin": "^6.0.0",
181+
"msw": "^0.45.0",
177182
"node-sass": "^6.0.1",
178183
"opencollective-postinstall": "^2.0.3",
179184
"react-hot-loader": "^4.13.0",
@@ -201,6 +206,7 @@
201206
"webpack-cli": "^4.3.0",
202207
"webpack-dev-server": "^3.11.0",
203208
"webpack-merge": "^5.4.0",
209+
"whatwg-fetch": "^3.6.2",
204210
"yarn-deduplicate": "^3.1.0"
205211
},
206212
"dependencies": {
@@ -212,6 +218,7 @@
212218
"buffer": "^6.0.3",
213219
"classnames": "^2.3.1",
214220
"connection-string": "^4.3.2",
221+
"d3": "^7.6.1",
215222
"date-fns": "^2.16.1",
216223
"detect-port": "^1.3.0",
217224
"electron-context-menu": "^3.1.0",
@@ -221,8 +228,12 @@
221228
"formik": "^2.2.9",
222229
"html-entities": "^2.3.2",
223230
"html-react-parser": "^1.2.4",
231+
"java-object-serialization": "^0.1.1",
232+
"jpickle": "^0.4.1",
224233
"jsonpath": "^1.1.1",
225234
"lodash": "^4.17.21",
235+
"php-serialize": "^4.0.2",
236+
"rawproto": "^0.7.6",
226237
"react": "^18.2.0",
227238
"react-contenteditable": "^3.3.5",
228239
"react-dom": "^18.2.0",

0 commit comments

Comments
 (0)