jupyterlab_claude_code_extension 1.2.38 → 1.2.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +2 -2
- package/lib/widget.js +1 -0
- package/package.json +1 -1
- package/src/index.ts +2 -2
- package/src/widget.ts +1 -0
- package/style/base.css +10 -1
package/lib/index.js
CHANGED
|
@@ -33,8 +33,8 @@ const plugin = {
|
|
|
33
33
|
}
|
|
34
34
|
const widget = new ClaudeCodeSessionsWidget(app, status.root_dir || '', terminalTracker, fileBrowser);
|
|
35
35
|
// Read the sidebar setting before docking so we add the widget to the
|
|
36
|
-
// user's preferred side on first paint. Default to
|
|
37
|
-
let currentSidebar = '
|
|
36
|
+
// user's preferred side on first paint. Default to right.
|
|
37
|
+
let currentSidebar = 'right';
|
|
38
38
|
if (settingRegistry) {
|
|
39
39
|
try {
|
|
40
40
|
const settings = await settingRegistry.load(PLUGIN_ID);
|
package/lib/widget.js
CHANGED
|
@@ -1082,6 +1082,7 @@ export class ClaudeCodeSessionsWidget extends Widget {
|
|
|
1082
1082
|
? 'Remove from Favorites'
|
|
1083
1083
|
: 'Add to Favorites';
|
|
1084
1084
|
},
|
|
1085
|
+
icon: starFilledIcon,
|
|
1085
1086
|
execute: () => {
|
|
1086
1087
|
if (this._activeSession) {
|
|
1087
1088
|
void this._toggleFavourite(this._activeSession);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jupyterlab_claude_code_extension",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.40",
|
|
4
4
|
"description": "Browse, resume, and manage your Claude Code CLI sessions from a JupyterLab side panel. One click reactivates the right terminal - no duplicate tabs, live remote-control indicator, and favourites for the projects you keep coming back to.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jupyter",
|
package/src/index.ts
CHANGED
|
@@ -63,8 +63,8 @@ const plugin: JupyterFrontEndPlugin<void> = {
|
|
|
63
63
|
);
|
|
64
64
|
|
|
65
65
|
// Read the sidebar setting before docking so we add the widget to the
|
|
66
|
-
// user's preferred side on first paint. Default to
|
|
67
|
-
let currentSidebar: 'left' | 'right' = '
|
|
66
|
+
// user's preferred side on first paint. Default to right.
|
|
67
|
+
let currentSidebar: 'left' | 'right' = 'right';
|
|
68
68
|
|
|
69
69
|
if (settingRegistry) {
|
|
70
70
|
try {
|
package/src/widget.ts
CHANGED
|
@@ -1252,6 +1252,7 @@ export class ClaudeCodeSessionsWidget extends Widget {
|
|
|
1252
1252
|
this._activeSession?.favourite
|
|
1253
1253
|
? 'Remove from Favorites'
|
|
1254
1254
|
: 'Add to Favorites',
|
|
1255
|
+
icon: starFilledIcon,
|
|
1255
1256
|
execute: () => {
|
|
1256
1257
|
if (this._activeSession) {
|
|
1257
1258
|
void this._toggleFavourite(this._activeSession);
|
package/style/base.css
CHANGED
|
@@ -344,8 +344,17 @@
|
|
|
344
344
|
* the cell which works for its own icons; for ours we additionally shift
|
|
345
345
|
* the SVG to the cell middle so the trash glyph aligns with "Remove from
|
|
346
346
|
* Claude" instead of hanging.
|
|
347
|
+
*
|
|
348
|
+
* Exclude separator rows: JL draws the separator as a border-top on an
|
|
349
|
+
* ::after inside every cell of the row (icon + label + shortcut), so all
|
|
350
|
+
* segments must share one baseline to read as a single line. Applying
|
|
351
|
+
* vertical-align:middle to the separator's icon cell offsets its segment
|
|
352
|
+
* from the label cell's baseline default, breaking the divider under the
|
|
353
|
+
* icon column.
|
|
347
354
|
*/
|
|
348
|
-
.jp-ClaudeSessionsContextMenu
|
|
355
|
+
.jp-ClaudeSessionsContextMenu
|
|
356
|
+
.lm-Menu-item:not([data-type='separator'])
|
|
357
|
+
.lm-Menu-itemIcon {
|
|
349
358
|
vertical-align: middle;
|
|
350
359
|
}
|
|
351
360
|
|