jupyterlab_ai_code_assistants_extension 1.0.23 → 1.0.25
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/core/panel.js +4 -2
- package/package.json +1 -1
- package/src/__tests__/panel.spec.ts +2 -2
- package/src/core/panel.ts +4 -2
package/lib/core/panel.js
CHANGED
|
@@ -265,8 +265,10 @@ export class AssistantSessionsPanel extends Widget {
|
|
|
265
265
|
// The suffix, because with a mode in force the variants suppress
|
|
266
266
|
// themselves and this button LAUNCHES on click instead of dropping a
|
|
267
267
|
// menu - so without it the one surface that starts an approval-free
|
|
268
|
-
// session is the only one that never says so (DEF-36).
|
|
269
|
-
|
|
268
|
+
// session is the only one that never says so (DEF-36). The provider's
|
|
269
|
+
// name is deliberately absent - the panel's own tab already says which
|
|
270
|
+
// assistant this is (DEF-113).
|
|
271
|
+
newBtn.title = `New session in ${where}${this._variantSuffix()}`;
|
|
270
272
|
};
|
|
271
273
|
// Focus as well as hover, or the icon-only button's accessible name is the
|
|
272
274
|
// generic one for everybody not using a mouse.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jupyterlab_ai_code_assistants_extension",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.25",
|
|
4
4
|
"description": "Jupyterlab extension to replace individual jupyterlab_*_code_extension and integrate into one, that offers joint capability, joint settings page and individual right toolbar panels per code assistant, with the ability in settings to decide which code assistant support is on (default - all are enabled)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jupyter",
|
|
@@ -260,7 +260,7 @@ describe('the + button names and marks the launch it performs', () => {
|
|
|
260
260
|
// does. DEF-38 below is the other half.
|
|
261
261
|
newBtn().dispatchEvent(new Event('pointerenter'));
|
|
262
262
|
expect(newBtn().title).toEqual(
|
|
263
|
-
'New
|
|
263
|
+
'New session in the current folder (Skip Permissions)'
|
|
264
264
|
);
|
|
265
265
|
});
|
|
266
266
|
|
|
@@ -269,7 +269,7 @@ describe('the + button names and marks the launch it performs', () => {
|
|
|
269
269
|
// only ever read "no mode in force". No pointerenter and no focus is
|
|
270
270
|
// dispatched anywhere in this test - the only thing that may rewrite the
|
|
271
271
|
// title is `setModes` itself.
|
|
272
|
-
expect(newBtn().title).toEqual('New
|
|
272
|
+
expect(newBtn().title).toEqual('New session in the current folder');
|
|
273
273
|
panel.setModes({ skip: true });
|
|
274
274
|
expect(newBtn().title).toContain('(Skip Permissions)');
|
|
275
275
|
panel.setModes({ skip: false });
|
package/src/core/panel.ts
CHANGED
|
@@ -329,8 +329,10 @@ export class AssistantSessionsPanel extends Widget {
|
|
|
329
329
|
// The suffix, because with a mode in force the variants suppress
|
|
330
330
|
// themselves and this button LAUNCHES on click instead of dropping a
|
|
331
331
|
// menu - so without it the one surface that starts an approval-free
|
|
332
|
-
// session is the only one that never says so (DEF-36).
|
|
333
|
-
|
|
332
|
+
// session is the only one that never says so (DEF-36). The provider's
|
|
333
|
+
// name is deliberately absent - the panel's own tab already says which
|
|
334
|
+
// assistant this is (DEF-113).
|
|
335
|
+
newBtn.title = `New session in ${where}${this._variantSuffix()}`;
|
|
334
336
|
};
|
|
335
337
|
// Focus as well as hover, or the icon-only button's accessible name is the
|
|
336
338
|
// generic one for everybody not using a mouse.
|