This repository was archived by the owner on Aug 1, 2025. It is now read-only.
Commit 3b847cb
authored
Improve Cody Console in JetBrains (#8192)
# PR Summary: Improve Cody Console in JetBrains
## Overview
Enhanced the JetBrains Cody Console with multi-channel support,
filtering capabilities, and improved UI.
## Key Changes
### JetBrains Console Improvements
- **Multi-channel support**: Console now creates separate tabs for
different channels
- **Message filtering**: Added toggle to show only errors and warnings
- **Custom toolbar**: Added clear and filter actions to each console tab
- **Message storage**: Console now stores messages for filtering and
refreshing
- **Better error handling**: Improved message categorisation and display
### VSCode/Core Logging Fixes
- **Log level fix**: Upgraded VSCode output channels to use proper log
levels
- **Telemetry logging fix**: Added `NotAuthenticated` tier to telemetry;
previously serialisation failing when user was not authenticated and
`tier` was `undefined`
## Test plan
1. Run `/gradlew :customRunIDE` and wait for Cody to start.
2. Open `Problems` view. You should notice two Cody tabs:
<img width="1792" height="598" alt="image"
src="https://github.com/user-attachments/assets/f3ff1d46-4485-454d-b82f-8a10641a2896"
/>
3. You can try to generate some errors (e.g. network errors, byt
disabling WiFi and asking Cody some questions) and try how the error
filtering works.1 parent 1f6b485 commit 3b847cb
3 files changed
Lines changed: 102 additions & 31 deletions
File tree
- jetbrains/src/main/kotlin/com/sourcegraph/cody/error
- vscode/src
Lines changed: 90 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| 12 | + | |
10 | 13 | | |
11 | | - | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
16 | | - | |
| 18 | + | |
17 | 19 | | |
18 | | - | |
19 | 20 | | |
20 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
24 | 40 | | |
25 | | - | |
26 | | - | |
27 | | - | |
| 41 | + | |
| 42 | + | |
28 | 43 | | |
29 | | - | |
30 | | - | |
| 44 | + | |
| 45 | + | |
31 | 46 | | |
32 | | - | |
| 47 | + | |
33 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
34 | 72 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
40 | 107 | | |
| 108 | + | |
| 109 | + | |
41 | 110 | | |
42 | 111 | | |
43 | 112 | | |
44 | | - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
45 | 117 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 118 | + | |
| 119 | + | |
52 | 120 | | |
53 | 121 | | |
54 | 122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | | - | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
32 | | - | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
97 | 99 | | |
98 | 100 | | |
99 | 101 | | |
100 | | - | |
| 102 | + | |
101 | 103 | | |
102 | 104 | | |
103 | 105 | | |
| |||
0 commit comments