Skip to content

Commit 975f4b8

Browse files
authored
Merge pull request #189 from RedisInsight/main
main to release
2 parents 47b1b1e + 19f30bf commit 975f4b8

File tree

20 files changed

+116
-81
lines changed

20 files changed

+116
-81
lines changed

.circleci/config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ workflows:
401401

402402
- e2e-app-image:
403403
name: E2ETest (linux)
404-
parallelism: 1
404+
parallelism: 2
405405
requires:
406406
- Build extension - Linux (stage)
407407

@@ -510,7 +510,7 @@ workflows:
510510
# e2e tests on linux build
511511
- e2e-app-image:
512512
name: E2ETest (linux)
513-
parallelism: 1
513+
parallelism: 2
514514
requires:
515515
- Build extension - Linux (stage)
516516

@@ -545,10 +545,10 @@ workflows:
545545
env: prod
546546
<<: *prodFilter
547547

548-
# e2e desktop tests on linux build
548+
# e2e tests on linux build
549549
- e2e-app-image:
550550
name: E2ETest (Linux)
551-
parallelism: 1
551+
parallelism: 2
552552
requires:
553553
- Build extension - Linux (prod)
554554

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: "[BUG]"
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Preconditions** (Any important steps we need to know)
11+
12+
13+
**Steps to reproduce** (How to reproduce what you found step by step)
14+
15+
16+
**Actual behavior** (A short description of what you found)
17+
18+
19+
**Expected behavior** (A short description of what you expected to find)
20+
21+
22+
**Screenshots** (Paste or drag-and-drop a screenshot or a link to a recording)
23+
24+
25+
**Additional context** (Operating system, version of Redis Insight, Redis database version, Redis module version, database type, connection type, logs, or any other information)
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: Feature request
3+
about: Request a feature or submit an idea
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Problem description** (Describe the problem you would like to solve with this feature request or suggested idea).
11+
12+
13+
**How often do you encounter this problem** (Describe how frequently this problem occurs).
14+
15+
16+
**Alternatives considered** (Describe any alternative features or products you've considered).
17+
18+
19+
**Additional information** (Add any other context or details here).
1020 KB
Loading

README.md

Lines changed: 33 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,33 @@
1-
# Redis for Visual Studio Code
2-
3-
Temporary repository to work on the VS Code extension
4-
5-
### yarn is required
6-
1. `npm i -g yarn`
7-
1. `yarn install`
8-
1. Download backend for your platform using `yarn download:backend`
9-
1. Click on the VSCode sidebar `Run and Debug` icon
10-
1. Chose one of the options in the select control and click on the green play icon. Options:
11-
a. `Run Dev Extension` - start 2 background dev tasks and the debug vscode instance with extension
12-
b. `Run only Extension` - start only the debug vscode instance with extension
13-
1. In the opened Visual studio code instance, click the Redis for VS Code icon in the sidebar
14-
15-
16-
17-
### Scripts:
18-
`download:backend` - download backend for current platform
19-
`dev` - run web server with custom router in the `RI_DATA_ROUTE` env variable. Like `RI_DATA_ROUTE=settings yarn dev`
20-
`dev:sidebar` - run web server with sidebar router
21-
`l10n:collect` - auto find all new strings and add them to `./l10n/bundle.l10n.json`
22-
`storybook:dev` - run web storybook dev server
23-
`package:prod` - package plugin as *.vsix file for prod
24-
`package:stage` - package plugin as *.vsix file as prerelease build
25-
26-
`watch` - start node part of the plugin in dev mode
27-
`build` - build web part of the plugin and run in dev mode
28-
29-
### Docs for all people:
30-
[vsc toolkit storybook](https://microsoft.github.io/vscode-webview-ui-toolkit/)
31-
[vsc toolkit figma](https://www.figma.com/file/PYCyGCOqN7gCFRnoPnbgqH/Visual-Studio-Code-Toolkit-(Community)?type=design&node-id=1-2&mode=design&t=IfTmvBc9Bh8KuMTy-0)
32-
33-
### Docs for developers
34-
#### Technologies:
35-
[tailwind](https://tailwindcss.com/)
36-
[msw](https://mswjs.io/) (mock be responses)
37-
[storybook ](https://storybook.js.org/)
38-
[storybook + msw](https://github.com/mswjs/msw-storybook-addon) (mock BE response)
39-
[storybook + vitest](https://storybook.js.org/addons/@storybook/testing-react) (use stories as component for tests)
40-
[vsc icons](https://react-icons.github.io/react-icons/icons?name=vsc)
41-
42-
[vite](https://vitejs.dev/)
43-
[vitest](https://vitest.dev/)
44-
45-
#### Visual studio code
46-
[vsc extension overview](https://code.visualstudio.com/api/extension-guides/overview)
47-
[vsc extension webview ](https://code.visualstudio.com/api/extension-guides/webview)
48-
[How to Code a VSCode Extension](https://youtu.be/a5DX5pQ9p5M) (youtube)
49-
50-
51-
#### Visual studio code plugins
52-
[tailwind vsc plugin](https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss)
53-
[vitest vcs plugin](https://marketplace.visualstudio.com/items?itemName=ZixuanChen.vitest-explorer)
54-
55-
The `F5` command starts 3 tasks:
56-
* dev mode for node vsc
57-
* dev mode for web view
58-
* open a new vsc instance with the plugin
59-
60-
`F5` is a shortcut to start the "Run and Debug" => "Run Dev Extension" task
61-
62-
To run only vsc instance without background dev tasks chose:
63-
"Run and Debug" => "Run only Extension"
1+
# <img src="https://github.com/RedisInsight/Redis-for-VS-Code/blob/main/src/resources/256x256.png" alt="logo" width="25"/> Redis for VS Code
2+
3+
Redis for VS Code is the official Visual Studio Code extension that provides an intuitive and efficient GUI for Redis databases, developed by Redis.
4+
5+
![Redis for VS Code](.github/Redis_for_VS_Code_main_screen.png)
6+
7+
## Key features:
8+
* Universal Redis Support: Connect to any Redis instance, including Redis Community Edition, Redis Cloud, Redis Software, and Redis on Azure Cache.
9+
* Advanced Connectivity: Supports TLS certificates and SSH tunnels, with an option for automatic data decompression for GZIP, SNAPPY, Brotli, and more.
10+
* Data types: Supports strings, hashes, lists, sets, sorted sets, and JSON.
11+
* Human-readable data representation: Offers formatters like ASCII, JSON, Binary, Hex, 32-bit, and 64-bit vectors, and other.
12+
* Integrated Redis CLI: Leverage Redis CLI with syntax preview as you type commands.
13+
14+
For more details, check out the [release notes](https://github.com/RedisInsight/Redis-for-VS-Code/releases).
15+
16+
## Get started with Redis for VS Code
17+
18+
This repository contains the source code for the Redis for VS Code extension. To start using the extension, install it from the [Visual Studio Code Marketplace](https://marketplace.visualstudio.com/vscode).
19+
20+
## Feedback
21+
22+
We welcome your feedback and contributions to make Redis for VS Code even better. Here’s how you can get involved:
23+
24+
* Suggest a new [feature](https://github.com/RedisInsight/Redis-for-VS-Code/issues/new?assignees=&labels=&projects=&template=feature_request.md&title=)
25+
* Upvote [popular feature requests](https://github.com/RedisInsight/Redis-for-VS-Code/issues?q=is%3Aissue+is%3Aopen+sort%3Acomments-desc)
26+
* Report a [bug](https://github.com/RedisInsight/Redis-for-VS-Code/issues/new?assignees=&labels=&projects=&template=bug_report.md&title=%5BBUG%5D)
27+
28+
## Telemetry
29+
30+
Redis for VS Code includes an opt-in telemetry system to help us improve the developer experience. We respect your privacy — any data collected is anonymized. You can disable telemetry at any time via the extension’s settings page.
31+
32+
## License
33+
Redis for VS Code is licensed under the [SSPL](/LICENSE).

Redis_for_VS_Code_main_screen.png

1020 KB
Loading

tests/e2e/.mocharc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = {
2020
toConsole: false,
2121
},
2222
},
23-
retries: 0,
23+
retries: 1,
2424
timeout: 100_000,
2525
ui: 'bdd',
2626
}

tests/e2e/src/helpers/api/Eula.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export class Eula {
66
* Accept eula
77
*/
88
static async accept(): Promise<void> {
9-
const spec = { agreements: { analytics: true, notifications: true, eula: true } }
9+
const spec = { agreements: { analytics: true, notifications: true, eula: true, encryption: false } }
1010
const response = await CommonAPIRequests.sendPatchRequest(
1111
`/settings`,
1212
spec,

tests/e2e/src/helpers/common-actions/DatabasesActions.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { TreeView } from '@e2eSrc/page-objects/components'
1111
import { InnerViews } from '@e2eSrc/page-objects/components/WebView'
1212
import { AddNewDatabaseParameters } from '../types/types'
1313
import { DatabaseAPIRequests } from '../api'
14-
import { NotificationActions } from './actions'
14+
import { InputActions, NotificationActions } from './actions'
1515
import { KeyDetailsActions } from './KeyDetailsActions'
1616
import { ServerActions } from './ServerActions'
1717
import { Eula } from '../api/Eula'
@@ -85,6 +85,7 @@ export class DatabasesActions extends CommonDriverExtension {
8585
await treeView.clickDatabaseByName(databaseParameters.databaseName!)
8686
await super.driverSleep(200)
8787
}
88+
await InputActions.hoverElement(treeView.getCLIDatabaseBtnByName(databaseParameters.databaseName!),1000)
8889
}
8990

9091
/**

tests/e2e/src/helpers/common-actions/TreeViewActions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export class TreeViewActions extends CommonDriverExtension {
5151
): Promise<void> {
5252
let treeView = new TreeView()
5353
// Wait for key refresh
54-
await TreeViewActions.driverSleep(1000)
54+
await TreeViewActions.driverSleep(2000)
5555
// Verify not patterned keys
5656
await this.verifyNotPatternedKeys(delimiter)
5757

0 commit comments

Comments
 (0)