Skip to content

Commit 785c2f8

Browse files
Merge pull request #166 from RedisInsight/feature/demo
Feature/demo
2 parents ba6ccd9 + a5b5459 commit 785c2f8

File tree

42 files changed

+207
-244
lines changed

Some content is hidden

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

42 files changed

+207
-244
lines changed

.circleci/config.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ jobs:
182182
- run:
183183
name: Build .vsix package
184184
command: |
185-
packagePath=./release/redis-insight-vsc-extension-linux-x64.vsix
185+
packagePath=./release/redis-for-vscode-extension-linux-x64.vsix
186186
yarn download:backend
187187
188188
if [ << parameters.env >> == 'prod' ]; then
@@ -194,7 +194,7 @@ jobs:
194194
- persist_to_workspace:
195195
root: .
196196
paths:
197-
- release/redis-insight-vsc-*.vsix
197+
- release/redis-for-*.vsix
198198
- save_cache:
199199
<<: *uiDepsCacheKey
200200
paths:
@@ -227,7 +227,7 @@ jobs:
227227
- run:
228228
name: Build .vsix package
229229
command: |
230-
packagePath=./release/redis-insight-vsc-extension-mac
230+
packagePath=./release/redis-for-vscode-extension-mac
231231
232232
if [ << parameters.target >> ]; then
233233
yarn download:backend << parameters.target >>
@@ -253,7 +253,7 @@ jobs:
253253
- persist_to_workspace:
254254
root: .
255255
paths:
256-
- release/redis-insight-vsc-*.vsix
256+
- release/redis-for-*.vsix
257257

258258
windows:
259259
executor:
@@ -285,7 +285,7 @@ jobs:
285285
- run:
286286
name: Build .vsix package
287287
command: |
288-
packagePath=./release/redis-insight-vsc-extension-win-x64.vsix
288+
packagePath=./release/redis-for-vscode-extension-win-x64.vsix
289289
yarn download:backend
290290
291291
if [ << parameters.env >> == 'prod' ]; then
@@ -299,7 +299,7 @@ jobs:
299299
- persist_to_workspace:
300300
root: .
301301
paths:
302-
- release/redis-insight-vsc-*.vsix
302+
- release/redis-for-*.vsix
303303

304304
# Release jobs
305305
store-build-artifacts:

.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ NODE_ENV='production'
66
RI_BASE_APP_URL='http://localhost'
77
RI_APP_PORT=5541
88
RI_APP_PREFIX='api'
9-
RI_APP_FOLDER_NAME='.redis-insight-vsc'
10-
RI_CDN_PATH='https://s3.amazonaws.com/redisinsight.download/public/releases/2.54.0-vsc/web'
9+
RI_APP_FOLDER_NAME='.redis-for-vscode'
10+
RI_CDN_PATH='https://s3.amazonaws.com/redisinsight.download/public/releases/2.54.0-vsc/web-mini'
1111
RI_WITHOUT_BACKEND=false
1212
RI_STDOUT_LOGGER=false
1313
RI_AUTO_BOOTSTRAP=false

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Temporary repository to work on the VS Code extension
1010
1. Chose one of the options in the select control and click on the green play icon. Options:
1111
a. `Run Dev Extension` - start 2 background dev tasks and the debug vscode instance with extension
1212
b. `Run only Extension` - start only the debug vscode instance with extension
13-
1. In the opened Visual studio code instance, click the Redis Insight icon in the sidebar
13+
1. In the opened Visual studio code instance, click the Redis for VS Code icon in the sidebar
1414

1515

1616

l10n/bundle.l10n.json

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
2-
"Redis Insight - Add new key": "Redis Insight - Add new key",
3-
"Redis Insight - Add Database connection": "Redis Insight - Add Database connection",
4-
"Redis Insight - Settings": "Redis Insight - Settings",
5-
"Redis Insight - EULA": "Redis Insight - EULA",
6-
"Redis Insight - Welcome": "Redis Insight - Welcome",
7-
"Redis Insight - Edit Database connection": "Redis Insight - Edit Database connection",
2+
"Redis for VS Code - Add new key": "Redis for VS Code - Add new key",
3+
"Redis for VS Code - Add Database connection": "Redis for VS Code - Add Database connection",
4+
"Redis for VS Code - Settings": "Redis for VS Code - Settings",
5+
"Redis for VS Code - EULA": "Redis for VS Code - EULA",
6+
"Redis for VS Code - Welcome": "Redis for VS Code - Welcome",
7+
"Redis for VS Code - Edit Database connection": "Redis for VS Code - Edit Database connection",
88
"now": "now",
99
"< 1 min": "< 1 min",
1010
"Last Refresh": "Last Refresh",
1111
"- Welcome": "- Welcome",
12-
"About Redis Insight": "About Redis Insight",
13-
"Take your productivity to the next level when developing with Redis or Redis Stack! Use Redis Insight to visualize and optimize Redis data.": "Take your productivity to the next level when developing with Redis or Redis Stack! Use Redis Insight to visualize and optimize Redis data.",
14-
"A powerful desktop manager, Redis Insight provides an intuitive and efficient UI for Redis and Redis Stack and supports CLI interaction in a fully-featured desktop UI client.": "A powerful desktop manager, Redis Insight provides an intuitive and efficient UI for Redis and Redis Stack and supports CLI interaction in a fully-featured desktop UI client.",
12+
"About Redis for VS Code": "About Redis for VS Code",
13+
"Take your productivity to the next level when developing with Redis or Redis Stack! Use Redis for VS Code to visualize and optimize Redis data.": "Take your productivity to the next level when developing with Redis or Redis Stack! Use Redis for VS Code to visualize and optimize Redis data.",
14+
"A powerful desktop manager, Redis for VS Code provides an intuitive and efficient UI for Redis and Redis Stack and supports CLI interaction in a fully-featured desktop UI client.": "A powerful desktop manager, Redis for VS Code provides an intuitive and efficient UI for Redis and Redis Stack and supports CLI interaction in a fully-featured desktop UI client.",
1515
"Start": "Start",
1616
"Connect your database": "Connect your database",
1717
"Create new database": "Create new database",
@@ -42,7 +42,7 @@
4242
"Key Name": "Key Name",
4343
" will be deleted.": " will be deleted.",
4444
"Delete": "Delete",
45-
"will be deleted from Redis Insight.": "will be deleted from Redis Insight.",
45+
"will be deleted from Redis for VS Code.": "will be deleted from Redis for VS Code.",
4646
"Key Size": "Key Size",
4747
"Key Size: ": "Key Size: ",
4848
"Length": "Length",
@@ -52,6 +52,7 @@
5252
"Member:": "Member:",
5353
"Score": "Score",
5454
"Use CLI to edit the score": "Use CLI to edit the score",
55+
"Enter Score": "Enter Score",
5556
"Edit value": "Edit value",
5657
"Empty": "Empty",
5758
"loading...": "loading...",
@@ -74,8 +75,8 @@
7475
"Element": "Element",
7576
"Push to tail": "Push to tail",
7677
"Push to head": "Push to head",
77-
"Add Fields": "Add Fields",
7878
"Show TTL per row": "Show TTL per row",
79+
"Add Fields": "Add Fields",
7980
"Field": "Field",
8081
"Value": "Value",
8182
"TTL": "TTL",
@@ -87,8 +88,8 @@
8788
"- EULA and Privacy settings": "- EULA and Privacy settings",
8889
"Use recommended settings": "Use recommended settings",
8990
"Privacy Settings": "Privacy Settings",
90-
"To optimize your experience, Redis Insight uses third-party tools.\n All data collected is anonymized and will not be used for any purpose without your consent.": "To optimize your experience, Redis Insight uses third-party tools.\n All data collected is anonymized and will not be used for any purpose without your consent.",
91-
"To use Redis Insight, please accept the terms and conditions: ": "To use Redis Insight, please accept the terms and conditions: ",
91+
"To optimize your experience, Redis for VS Code uses third-party tools.\n All data collected is anonymized and will not be used for any purpose without your consent.": "To optimize your experience, Redis for VS Code uses third-party tools.\n All data collected is anonymized and will not be used for any purpose without your consent.",
92+
"To use Redis for VS Code, please accept the terms and conditions: ": "To use Redis for VS Code, please accept the terms and conditions: ",
9293
"Server Side Public License": "Server Side Public License",
9394
"Notice: To avoid automatic execution of malicious code, when adding new Workbench plugins, use files from trusted authors only.": "Notice: To avoid automatic execution of malicious code, when adding new Workbench plugins, use files from trusted authors only.",
9495
"Add Redis database": "Add Redis database",
@@ -110,13 +111,13 @@
110111
"free up-to-date": "free up-to-date",
111112
" Redis database.": " Redis database.",
112113
"Database has been added": "Database has been added",
113-
" has been added to Redis Insight.": " has been added to Redis Insight.",
114+
" has been added to Redis for VS Code.": " has been added to Redis for VS Code.",
114115
"Database has been edited": "Database has been edited",
115-
" has been edited to Redis Insight.": " has been edited to Redis Insight.",
116+
" has been edited to Redis for VS Code.": " has been edited to Redis for VS Code.",
116117
"Database has been deleted": "Database has been deleted",
117-
" has been deleted to Redis Insight.": " has been deleted to Redis Insight.",
118+
" has been deleted to Redis for VS Code.": " has been deleted to Redis for VS Code.",
118119
"Databases have been deleted": "Databases have been deleted",
119-
" databases have been deleted from Redis Insight:": " databases have been deleted from Redis Insight:",
120+
" databases have been deleted from Redis for VS Code:": " databases have been deleted from Redis for VS Code:",
120121
"Key has been added": "Key has been added",
121122
" has been added.": " has been added.",
122123
"{0} has been deleted.": "{0} has been deleted.",
@@ -134,9 +135,9 @@
134135
"Library has been deleted": "Library has been deleted",
135136
"Library has been added": "Library has been added",
136137
"API keys have been removed": "API keys have been removed",
137-
"All API keys have been removed from Redis Insight.": "All API keys have been removed from Redis Insight.",
138+
"All API keys have been removed from Redis for VS Code.": "All API keys have been removed from Redis for VS Code.",
138139
"API Key has been removed": "API Key has been removed",
139-
"{0} has been removed from Redis Insight.": "{0} has been removed from Redis Insight.",
140+
"{0} has been removed from Redis for VS Code.": "{0} has been removed from Redis for VS Code.",
140141
"Database already exists": "Database already exists",
141142
"No new database connections have been added.": "No new database connections have been added.",
142143
"Non-printable characters have been detected": "Non-printable characters have been detected",
@@ -236,16 +237,16 @@
236237
"Context: Use Profiler tool available in the Redis Insight application to see all the requests processed by the server."
237238
]
238239
},
239-
"Redis Insight does not support /Context: Redis Insight does not support \"RESP3\" at the moment, but we are working on it.": {
240-
"message": "Redis Insight does not support ",
240+
"Redis for VS Code does not support /Context: Redis for VS Code does not support \"RESP3\" at the moment, but we are working on it.": {
241+
"message": "Redis for VS Code does not support ",
241242
"comment": [
242-
"Context: Redis Insight does not support \"RESP3\" at the moment, but we are working on it."
243+
"Context: Redis for VS Code does not support \"RESP3\" at the moment, but we are working on it."
243244
]
244245
},
245-
" at the moment, but we are working on it./Context: Redis Insight does not support \"RESP3\" at the moment, but we are working on it.": {
246+
" at the moment, but we are working on it./Context: Redis for VS Code does not support \"RESP3\" at the moment, but we are working on it.": {
246247
"message": " at the moment, but we are working on it.",
247248
"comment": [
248-
"Context: Redis Insight does not support \"RESP3\" at the moment, but we are working on it."
249+
"Context: Redis for VS Code does not support \"RESP3\" at the moment, but we are working on it."
249250
]
250251
},
251252
"Upload": "Upload",
@@ -308,7 +309,7 @@
308309
"Enter Username": "Enter Username",
309310
"Enter Password": "Enter Password",
310311
"Privacy": "Privacy",
311-
"To optimize your experience, Redis Insight uses third-party tools. All data collected is anonymized and will not be used for any purpose without your consent.": "To optimize your experience, Redis Insight uses third-party tools. All data collected is anonymized and will not be used for any purpose without your consent.",
312+
"To optimize your experience, Redis for VS Code uses third-party tools. All data collected is anonymized and will not be used for any purpose without your consent.": "To optimize your experience, Redis for VS Code uses third-party tools. All data collected is anonymized and will not be used for any purpose without your consent.",
312313
"Analytics": "Analytics",
313314
"Add": "Add",
314315
"Release Notes": "Release Notes",

package.json

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"name": "redis-insight-vsc-plugin",
3-
"productName": "Redis Insight VSCode plugin",
4-
"version": "0.0.1",
2+
"name": "redis-for-vscode",
3+
"productName": "Redis for VS Code",
4+
"version": "0.0.2",
55
"private": true,
6-
"description": "Redis Insight Visual Studio Code plugin",
6+
"description": "Redis for VS Code",
77
"main": "dist/extension.js",
88
"l10n": "./l10n",
99
"publisher": "redis",
@@ -18,7 +18,7 @@
1818
"activitybar": [
1919
{
2020
"id": "ri-sidebar-view",
21-
"title": "Redis Insight",
21+
"title": "Redis for VS Code",
2222
"icon": "dist/webviews/resources/redisinsight.svg"
2323
}
2424
],
@@ -35,60 +35,60 @@
3535
{
3636
"type": "webview",
3737
"id": "ri-sidebar",
38-
"name": "Redis Insight",
38+
"name": "Redis for VS Code",
3939
"icon": "dist/webviews/resources/redisinsight.svg",
40-
"contextualTitle": "Redis Insight"
40+
"contextualTitle": "Redis for VS Code"
4141
}
4242
],
4343
"ri-panel-view": [
4444
{
4545
"type": "webview",
4646
"id": "ri-panel",
47-
"when": "RedisInsight.showCliPanel",
47+
"when": "RedisForVSCode.showCliPanel",
4848
"name": "Redis CLI"
4949
}
5050
]
5151
},
5252
"commands": [
5353
{
54-
"command": "RedisInsight.addCli",
54+
"command": "RedisForVSCode.addCli",
5555
"title": "Add CLI",
56-
"category": "Redis Insight",
56+
"category": "Redis for VS Code",
5757
"icon": "$(add)"
5858
},
5959
{
60-
"command": "RedisInsight.openSettings",
61-
"title": "Open Redis Insight settings",
62-
"category": "Redis Insight",
60+
"command": "RedisForVSCode.openSettings",
61+
"title": "Open Redis for VS Code settings",
62+
"category": "Redis for VS Code",
6363
"icon": "$(settings-gear)"
6464
},
6565
{
66-
"command": "RedisInsight.openEula",
67-
"title": "Open Redis Insight eula",
68-
"category": "Redis Insight",
66+
"command": "RedisForVSCode.openEula",
67+
"title": "Open Redis for VS Code eula",
68+
"category": "Redis for VS Code",
6969
"icon": "$(settings-gear)"
7070
},
7171
{
72-
"command": "RedisInsight.addDatabase",
72+
"command": "RedisForVSCode.addDatabase",
7373
"title": "Add Redis database",
74-
"category": "Redis Insight",
74+
"category": "Redis for VS Code",
7575
"icon": "$(add)"
7676
}
7777
],
7878
"menus": {
7979
"view/title": [
8080
{
81-
"command": "RedisInsight.addDatabase",
81+
"command": "RedisForVSCode.addDatabase",
8282
"group": "navigation",
8383
"when": "view == ri-sidebar && !ri.openEula"
8484
},
8585
{
86-
"command": "RedisInsight.openSettings",
86+
"command": "RedisForVSCode.openSettings",
8787
"group": "navigation",
8888
"when": "view == ri-sidebar && !ri.openEula"
8989
},
9090
{
91-
"command": "RedisInsight.openEula",
91+
"command": "RedisForVSCode.openEula",
9292
"group": "navigation",
9393
"when": "view == ri-sidebar && ri.openEula"
9494
}
@@ -126,7 +126,7 @@
126126
},
127127
"vsce": {
128128
"yarn": true,
129-
"packagePath": "./release/redis-insight-vsc-extension.vsix"
129+
"packagePath": "./release/redis-for-vscode-extension.vsix"
130130
},
131131
"msw": {
132132
"workerDirectory": "./src/webviews/test/public"
@@ -141,14 +141,15 @@
141141
},
142142
"repository": {
143143
"type": "git",
144-
"url": "git+https://github.com/RedisInsight/RedisInsight-VSCode-extension.git"
144+
"url": "git+https://github.com/RedisInsight/Redis-for-VS-Code.git"
145145
},
146146
"bugs": {
147-
"url": "https://github.com/RedisInsight/RedisInsight-VSCode-extension/issues"
147+
"url": "https://github.com/RedisInsight/Redis-for-VS-Code/issues"
148148
},
149149
"keywords": [
150-
"redis insight",
150+
"Redis for VS Code",
151151
"redis",
152+
"redis insight",
152153
"vsc",
153154
"visual studio code",
154155
"plugin",
@@ -157,7 +158,7 @@
157158
"typescript",
158159
"vite"
159160
],
160-
"homepage": "https://github.com/RedisInsight/RedisInsight-VSCode-extension#readme",
161+
"homepage": "https://github.com/RedisInsight/Redis-for-VS-Code#readme",
161162
"devDependencies": {
162163
"@bithero/monaco-editor-vite-plugin": "^1.0.2",
163164
"@githubocto/tailwind-vscode": "^1.0.5",

src/Webview.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ abstract class Webview {
9292
window.appInfo=${JSON.stringify(appInfo)};
9393
</script>
9494
95-
<title>Redis Insight Webview</title>
95+
<title>Redis for VS Code Webview</title>
9696
</head>
9797
<body>
9898
<div id="root" data-route="${this._opts.route}"></div>
@@ -153,7 +153,7 @@ export class WebviewPanel extends Webview implements vscode.Disposable {
153153
// Listen for when the panel is disposed
154154
// This happens when the user closes the panel or when the panel is closed programmatically
155155
this.panel.onDidDispose(() => {
156-
vscode.commands.executeCommand('RedisInsight.resetSelectedKey')
156+
vscode.commands.executeCommand('RedisForVSCode.resetSelectedKey')
157157
this.dispose()
158158
}, null, this._disposables)
159159

0 commit comments

Comments
 (0)