Skip to content

Commit 984e8ee

Browse files
authored
Rename to jupyterlab-diff (#20)
* Rename to `jupyterlab-diff` * lint
1 parent bbf793a commit 984e8ee

File tree

14 files changed

+69
-69
lines changed

14 files changed

+69
-69
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
python -m pip install .[test]
3737
3838
jupyter labextension list
39-
jupyter labextension list 2>&1 | grep -ie "jupyterlab-cell-diff.*OK"
39+
jupyter labextension list 2>&1 | grep -ie "jupyterlab-diff.*OK"
4040
python -m jupyterlab.browser_check
4141
4242
- name: Package the extension
@@ -77,7 +77,7 @@ jobs:
7777
pip install "jupyterlab>=4.0.0,<5" jupyterlab_cell_diff*.whl
7878
7979
jupyter labextension list
80-
jupyter labextension list 2>&1 | grep -ie "jupyterlab-cell-diff.*OK"
80+
jupyter labextension list 2>&1 | grep -ie "jupyterlab-diff.*OK"
8181
python -m jupyterlab.browser_check --no-browser-test
8282
8383
check_links:

CHANGELOG.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,75 +4,75 @@
44

55
## 0.5.1
66

7-
([Full Changelog](https://github.com/jupyter-ai-contrib/jupyterlab-cell-diff/compare/v0.5.0...04e46da359755617d98a10311c0604fd331c72cb))
7+
([Full Changelog](https://github.com/jupyter-ai-contrib/jupyterlab-diff/compare/v0.5.0...04e46da359755617d98a10311c0604fd331c72cb))
88

99
### Bugs fixed
1010

11-
- Fix gutter styling with dark themes [#14](https://github.com/jupyter-ai-contrib/jupyterlab-cell-diff/pull/14) ([@jtpio](https://github.com/jtpio))
11+
- Fix gutter styling with dark themes [#14](https://github.com/jupyter-ai-contrib/jupyterlab-diff/pull/14) ([@jtpio](https://github.com/jtpio))
1212

1313
### Documentation improvements
1414

15-
- Document command arguments [#15](https://github.com/jupyter-ai-contrib/jupyterlab-cell-diff/pull/15) ([@jtpio](https://github.com/jtpio))
15+
- Document command arguments [#15](https://github.com/jupyter-ai-contrib/jupyterlab-diff/pull/15) ([@jtpio](https://github.com/jtpio))
1616

1717
### Contributors to this release
1818

19-
([GitHub contributors page for this release](https://github.com/jupyter-ai-contrib/jupyterlab-cell-diff/graphs/contributors?from=2025-09-17&to=2025-09-23&type=c))
19+
([GitHub contributors page for this release](https://github.com/jupyter-ai-contrib/jupyterlab-diff/graphs/contributors?from=2025-09-17&to=2025-09-23&type=c))
2020

21-
[@jtpio](https://github.com/search?q=repo%3Ajupyter-ai-contrib%2Fjupyterlab-cell-diff+involves%3Ajtpio+updated%3A2025-09-17..2025-09-23&type=Issues)
21+
[@jtpio](https://github.com/search?q=repo%3Ajupyter-ai-contrib%2Fjupyterlab-diff+involves%3Ajtpio+updated%3A2025-09-17..2025-09-23&type=Issues)
2222

2323
<!-- <END NEW CHANGELOG ENTRY> -->
2424

2525
## 0.5.0
2626

27-
([Full Changelog](https://github.com/jupyter-ai-contrib/jupyterlab-cell-diff/compare/v0.4.2...787f10383f9ce4eb2b6d781b57ddd808b859b14c))
27+
([Full Changelog](https://github.com/jupyter-ai-contrib/jupyterlab-diff/compare/v0.4.2...787f10383f9ce4eb2b6d781b57ddd808b859b14c))
2828

2929
### New features added
3030

31-
- Allow diffing with `@codemirror/merge` [#6](https://github.com/jupyter-ai-contrib/jupyterlab-cell-diff/pull/6) ([@jtpio](https://github.com/jtpio))
31+
- Allow diffing with `@codemirror/merge` [#6](https://github.com/jupyter-ai-contrib/jupyterlab-diff/pull/6) ([@jtpio](https://github.com/jtpio))
3232

3333
### Enhancements made
3434

35-
- Localize user-facing strings with `ITranslator` [#8](https://github.com/jupyter-ai-contrib/jupyterlab-cell-diff/pull/8) ([@jtpio](https://github.com/jtpio))
35+
- Localize user-facing strings with `ITranslator` [#8](https://github.com/jupyter-ai-contrib/jupyterlab-diff/pull/8) ([@jtpio](https://github.com/jtpio))
3636

3737
### Maintenance and upkeep improvements
3838

39-
- Drop support for `nbdime` diffs [#12](https://github.com/jupyter-ai-contrib/jupyterlab-cell-diff/pull/12) ([@jtpio](https://github.com/jtpio))
40-
- Fix links after the move to the `jupyter-ai-contrib` organization [#7](https://github.com/jupyter-ai-contrib/jupyterlab-cell-diff/pull/7) ([@jtpio](https://github.com/jtpio))
41-
- Delete Untitled.ipynb [#4](https://github.com/jupyter-ai-contrib/jupyterlab-cell-diff/pull/4) ([@jtpio](https://github.com/jtpio))
39+
- Drop support for `nbdime` diffs [#12](https://github.com/jupyter-ai-contrib/jupyterlab-diff/pull/12) ([@jtpio](https://github.com/jtpio))
40+
- Fix links after the move to the `jupyter-ai-contrib` organization [#7](https://github.com/jupyter-ai-contrib/jupyterlab-diff/pull/7) ([@jtpio](https://github.com/jtpio))
41+
- Delete Untitled.ipynb [#4](https://github.com/jupyter-ai-contrib/jupyterlab-diff/pull/4) ([@jtpio](https://github.com/jtpio))
4242

4343
### Contributors to this release
4444

45-
([GitHub contributors page for this release](https://github.com/jupyter-ai-contrib/jupyterlab-cell-diff/graphs/contributors?from=2025-01-03&to=2025-09-17&type=c))
45+
([GitHub contributors page for this release](https://github.com/jupyter-ai-contrib/jupyterlab-diff/graphs/contributors?from=2025-01-03&to=2025-09-17&type=c))
4646

47-
[@jtpio](https://github.com/search?q=repo%3Ajupyter-ai-contrib%2Fjupyterlab-cell-diff+involves%3Ajtpio+updated%3A2025-01-03..2025-09-17&type=Issues)
47+
[@jtpio](https://github.com/search?q=repo%3Ajupyter-ai-contrib%2Fjupyterlab-diff+involves%3Ajtpio+updated%3A2025-01-03..2025-09-17&type=Issues)
4848

4949
## 0.4.2
5050

51-
([Full Changelog](https://github.com/jupyter-ai-contrib/jupyterlab-cell-diff/compare/v0.4.1...822c684ae378d6c22af60940bf38d0f7c2a89ab4))
51+
([Full Changelog](https://github.com/jupyter-ai-contrib/jupyterlab-diff/compare/v0.4.1...822c684ae378d6c22af60940bf38d0f7c2a89ab4))
5252

5353
### Bugs fixed
5454

55-
- add logic to remove the 'compare' button [#2](https://github.com/jupyter-ai-contrib/jupyterlab-cell-diff/pull/2) ([@Zsailer](https://github.com/Zsailer))
55+
- add logic to remove the 'compare' button [#2](https://github.com/jupyter-ai-contrib/jupyterlab-diff/pull/2) ([@Zsailer](https://github.com/Zsailer))
5656

5757
### Contributors to this release
5858

59-
([GitHub contributors page for this release](https://github.com/jupyter-ai-contrib/jupyterlab-cell-diff/graphs/contributors?from=2025-01-03&to=2025-01-03&type=c))
59+
([GitHub contributors page for this release](https://github.com/jupyter-ai-contrib/jupyterlab-diff/graphs/contributors?from=2025-01-03&to=2025-01-03&type=c))
6060

61-
[@Zsailer](https://github.com/search?q=repo%3AZsailer%2Fjupyterlab-cell-diff+involves%3AZsailer+updated%3A2025-01-03..2025-01-03&type=Issues)
61+
[@Zsailer](https://github.com/search?q=repo%3AZsailer%2Fjupyterlab-diff+involves%3AZsailer+updated%3A2025-01-03..2025-01-03&type=Issues)
6262

6363
## 0.4.1
6464

65-
([Full Changelog](https://github.com/jupyter-ai-contrib/jupyterlab-cell-diff/compare/v0.4.0...8a4b27aaef88370762f7173b94d472be7b230e52))
65+
([Full Changelog](https://github.com/jupyter-ai-contrib/jupyterlab-diff/compare/v0.4.0...8a4b27aaef88370762f7173b94d472be7b230e52))
6666

6767
### Enhancements made
6868

69-
- Remove old diffs when a new diff is created [#1](https://github.com/jupyter-ai-contrib/jupyterlab-cell-diff/pull/1) ([@Zsailer](https://github.com/Zsailer))
69+
- Remove old diffs when a new diff is created [#1](https://github.com/jupyter-ai-contrib/jupyterlab-diff/pull/1) ([@Zsailer](https://github.com/Zsailer))
7070

7171
### Contributors to this release
7272

73-
([GitHub contributors page for this release](https://github.com/jupyter-ai-contrib/jupyterlab-cell-diff/graphs/contributors?from=2024-12-20&to=2025-01-03&type=c))
73+
([GitHub contributors page for this release](https://github.com/jupyter-ai-contrib/jupyterlab-diff/graphs/contributors?from=2024-12-20&to=2025-01-03&type=c))
7474

75-
[@Zsailer](https://github.com/search?q=repo%3AZsailer%2Fjupyterlab-cell-diff+involves%3AZsailer+updated%3A2024-12-20..2025-01-03&type=Issues)
75+
[@Zsailer](https://github.com/search?q=repo%3Ajupyter-ai-contrib%2Fjupyterlab-diff+involves%3AZsailer+updated%3A2024-12-20..2025-01-03&type=Issues)
7676

7777
## 0.4.0
7878

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ pip uninstall jupyterlab_cell_diff
4545

4646
In development mode, you will also need to remove the symlink created by `jupyter labextension develop`
4747
command. To find its location, you can run `jupyter labextension list` to figure out where the `labextensions`
48-
folder is located. Then you can remove the symlink named `jupyterlab-cell-diff` within that folder.
48+
folder is located. Then you can remove the symlink named `jupyterlab-diff` within that folder.
4949

5050
### Packaging the extension
5151

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# jupyterlab-cell-diff
1+
# jupyterlab-diff
22

3-
[![Github Actions Status](https://github.com/jupyter-ai-contrib/jupyterlab-cell-diff/workflows/Build/badge.svg)](https://github.com/jupyter-ai-contrib/jupyterlab-cell-diff/actions/workflows/build.yml)
3+
[![Github Actions Status](https://github.com/jupyter-ai-contrib/jupyterlab-diff/workflows/Build/badge.svg)](https://github.com/jupyter-ai-contrib/jupyterlab-diff/actions/workflows/build.yml)
44

55
A JupyterLab extension for showing cell diffs with multiple diffing strategies.
66

@@ -20,8 +20,8 @@ pip install jupyterlab_cell_diff
2020

2121
```bash
2222
# Clone the repository
23-
git clone https://github.com/jupyter-ai-contrib/jupyterlab-cell-diff.git
24-
cd jupyterlab-cell-diff
23+
git clone https://github.com/jupyter-ai-contrib/jupyterlab-diff.git
24+
cd jupyterlab-diff
2525

2626
# Install the extension in development mode
2727
pip install -e .
@@ -34,9 +34,9 @@ jupyter labextension develop . --overwrite
3434

3535
The extension provides commands to show diffs in multiple formats:
3636

37-
- `jupyterlab-cell-diff:split-cell-diff` - Show cell diff using split view (side-by-side comparison)
38-
- `jupyterlab-cell-diff:unified-cell-diff` - Show cell diff using unified view
39-
- `jupyterlab-cell-diff:unified-file-diff` - Show file diff using unified view for regular Python files and other text files
37+
- `jupyterlab-diff:split-cell-diff` - Show cell diff using split view (side-by-side comparison)
38+
- `jupyterlab-diff:unified-cell-diff` - Show cell diff using unified view
39+
- `jupyterlab-diff:unified-file-diff` - Show file diff using unified view for regular Python files and other text files
4040

4141
https://github.com/user-attachments/assets/0dacd7f0-5963-4ebe-81da-2958f0117071
4242

@@ -45,7 +45,7 @@ https://github.com/user-attachments/assets/0dacd7f0-5963-4ebe-81da-2958f0117071
4545
#### Split Cell Diff (Side-by-side View)
4646

4747
```typescript
48-
app.commands.execute('jupyterlab-cell-diff:split-cell-diff', {
48+
app.commands.execute('jupyterlab-diff:split-cell-diff', {
4949
cellId: 'cell-id',
5050
originalSource: 'print("Hello")',
5151
newSource: 'print("Hello, World!")',
@@ -57,7 +57,7 @@ app.commands.execute('jupyterlab-cell-diff:split-cell-diff', {
5757
#### Unified Cell Diff
5858

5959
```typescript
60-
app.commands.execute('jupyterlab-cell-diff:unified-cell-diff', {
60+
app.commands.execute('jupyterlab-diff:unified-cell-diff', {
6161
cellId: 'cell-id',
6262
originalSource: 'print("Hello")',
6363
newSource: 'print("Hello, World!")',
@@ -68,7 +68,7 @@ app.commands.execute('jupyterlab-cell-diff:unified-cell-diff', {
6868
#### Unified File Diff
6969

7070
```typescript
71-
app.commands.execute('jupyterlab-cell-diff:unified-file-diff', {
71+
app.commands.execute('jupyterlab-diff:unified-file-diff', {
7272
filePath: '/path/to/file.py',
7373
originalSource: 'print("Hello")',
7474
newSource: 'print("Hello, World!")',
@@ -78,7 +78,7 @@ app.commands.execute('jupyterlab-cell-diff:unified-file-diff', {
7878

7979
### Command Arguments
8080

81-
#### `jupyterlab-cell-diff:split-cell-diff` (Split View)
81+
#### `jupyterlab-diff:split-cell-diff` (Split View)
8282

8383
| Argument | Type | Required | Description |
8484
| ------------------- | --------- | -------- | ------------------------------------------------------------------------------------ |
@@ -89,7 +89,7 @@ app.commands.execute('jupyterlab-cell-diff:unified-file-diff', {
8989
| `notebookPath` | `string` | No | Path to the notebook containing the cell. If not provided, uses the current notebook |
9090
| `openDiff` | `boolean` | No | Whether to open the diff widget automatically (default: `true`) |
9191

92-
#### `jupyterlab-cell-diff:unified-cell-diff` (Unified View)
92+
#### `jupyterlab-diff:unified-cell-diff` (Unified View)
9393

9494
| Argument | Type | Required | Description |
9595
| ------------------- | --------- | -------- | ------------------------------------------------------------------------------------ |
@@ -99,7 +99,7 @@ app.commands.execute('jupyterlab-cell-diff:unified-file-diff', {
9999
| `showActionButtons` | `boolean` | No | Whether to show action buttons for chunk acceptance (default: `true`) |
100100
| `notebookPath` | `string` | No | Path to the notebook containing the cell. If not provided, uses the current notebook |
101101

102-
#### `jupyterlab-cell-diff:unified-file-diff` (File Diff)
102+
#### `jupyterlab-diff:unified-file-diff` (File Diff)
103103

104104
| Argument | Type | Required | Description |
105105
| ------------------- | --------- | -------- | --------------------------------------------------------------------- |

jupyterlab_cell_diff/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111

1212

1313
def _jupyter_labextension_paths():
14-
return [{"src": "labextension", "dest": "jupyterlab-cell-diff"}]
14+
return [{"src": "labextension", "dest": "jupyterlab-diff"}]

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
2-
"name": "jupyterlab-cell-diff",
2+
"name": "jupyterlab-diff",
33
"version": "0.5.1",
44
"description": "A JupyterLab Extension for showing cell (git) diffs.",
55
"keywords": [
66
"jupyter",
77
"jupyterlab",
88
"jupyterlab-extension"
99
],
10-
"homepage": "https://github.com/jupyter-ai-contrib/jupyterlab-cell-diff",
10+
"homepage": "https://github.com/jupyter-ai-contrib/jupyterlab-diff",
1111
"bugs": {
12-
"url": "https://github.com/jupyter-ai-contrib/jupyterlab-cell-diff/issues"
12+
"url": "https://github.com/jupyter-ai-contrib/jupyterlab-diff/issues"
1313
},
1414
"license": "BSD-3-Clause",
1515
"author": {
@@ -27,7 +27,7 @@
2727
"style": "style/index.css",
2828
"repository": {
2929
"type": "git",
30-
"url": "https://github.com/jupyter-ai-contrib/jupyterlab-cell-diff.git"
30+
"url": "https://github.com/jupyter-ai-contrib/jupyterlab-diff.git"
3131
},
3232
"scripts": {
3333
"build": "jlpm build:lib && jlpm build:labextension:dev",

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ artifacts = ["jupyterlab_cell_diff/labextension"]
3939
exclude = [".github", "binder"]
4040

4141
[tool.hatch.build.targets.wheel.shared-data]
42-
"jupyterlab_cell_diff/labextension" = "share/jupyter/labextensions/jupyterlab-cell-diff"
43-
"install.json" = "share/jupyter/labextensions/jupyterlab-cell-diff/install.json"
42+
"jupyterlab_cell_diff/labextension" = "share/jupyter/labextensions/jupyterlab-diff"
43+
"install.json" = "share/jupyter/labextensions/jupyterlab-diff/install.json"
4444

4545
[tool.hatch.build.hooks.version]
4646
path = "jupyterlab_cell_diff/_version.py"

src/diff/cell.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export async function createCodeMirrorSplitDiffWidget(
106106
trans
107107
});
108108

109-
diffWidget.addClass('jupyterlab-cell-diff');
109+
diffWidget.addClass('jupyterlab-diff');
110110
diffWidget.addToFooter();
111111

112112
return diffWidget;

src/plugin.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import { CodeMirrorEditor } from '@jupyterlab/codemirror';
2323
/**
2424
* The translation namespace for the plugin.
2525
*/
26-
const TRANSLATION_NAMESPACE = 'jupyterlab-cell-diff';
26+
const TRANSLATION_NAMESPACE = 'jupyterlab-diff';
2727

2828
/**
2929
* Find a notebook by path using the notebook tracker
@@ -67,7 +67,7 @@ export function findCell(
6767
* Split cell diff plugin - shows side-by-side comparison
6868
*/
6969
const splitCellDiffPlugin: JupyterFrontEndPlugin<void> = {
70-
id: 'jupyterlab-cell-diff:split-cell-diff-plugin',
70+
id: 'jupyterlab-diff:split-cell-diff-plugin',
7171
description: 'Show cell diff using side-by-side split view',
7272
requires: [ICellFooterTracker, INotebookTracker],
7373
optional: [ITranslator],
@@ -81,7 +81,7 @@ const splitCellDiffPlugin: JupyterFrontEndPlugin<void> = {
8181
const { commands } = app;
8282
const trans = (translator ?? nullTranslator).load(TRANSLATION_NAMESPACE);
8383

84-
commands.addCommand('jupyterlab-cell-diff:split-cell-diff', {
84+
commands.addCommand('jupyterlab-diff:split-cell-diff', {
8585
label: trans.__('Show Cell Diff (Split View)'),
8686
describedBy: {
8787
args: {
@@ -177,7 +177,7 @@ const splitCellDiffPlugin: JupyterFrontEndPlugin<void> = {
177177
* Unified cell diff plugin
178178
*/
179179
const unifiedCellDiffPlugin: JupyterFrontEndPlugin<void> = {
180-
id: 'jupyterlab-cell-diff:unified-cell-diff-plugin',
180+
id: 'jupyterlab-diff:unified-cell-diff-plugin',
181181
description: 'Show cell diff using unified view',
182182
requires: [ICellFooterTracker, INotebookTracker],
183183
optional: [ITranslator],
@@ -194,7 +194,7 @@ const unifiedCellDiffPlugin: JupyterFrontEndPlugin<void> = {
194194
// Track active unified diff managers to avoid creating duplicates
195195
const cellDiffManagers = new Map<string, UnifiedCellDiffManager>();
196196

197-
commands.addCommand('jupyterlab-cell-diff:unified-cell-diff', {
197+
commands.addCommand('jupyterlab-diff:unified-cell-diff', {
198198
label: trans.__('Show Cell Diff (Unified)'),
199199
describedBy: {
200200
args: {
@@ -292,7 +292,7 @@ const unifiedCellDiffPlugin: JupyterFrontEndPlugin<void> = {
292292
* Unified file diff plugin
293293
*/
294294
const unifiedFileDiffPlugin: JupyterFrontEndPlugin<void> = {
295-
id: 'jupyterlab-cell-diff:unified-file-diff-plugin',
295+
id: 'jupyterlab-diff:unified-file-diff-plugin',
296296
description: 'Show file diff using unified view',
297297
requires: [IEditorTracker],
298298
optional: [ITranslator],
@@ -308,7 +308,7 @@ const unifiedFileDiffPlugin: JupyterFrontEndPlugin<void> = {
308308
// Track active unified diff managers to avoid creating duplicates
309309
const fileDiffManagers = new Map<string, UnifiedFileDiffManager>();
310310

311-
commands.addCommand('jupyterlab-cell-diff:unified-file-diff', {
311+
commands.addCommand('jupyterlab-diff:unified-file-diff', {
312312
label: trans.__('Diff File (Unified)'),
313313
describedBy: {
314314
args: {

src/widget.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export abstract class BaseDiffWidget extends Widget {
8282
return;
8383
}
8484

85-
footer.removeWidget('jupyterlab-cell-diff');
85+
footer.removeWidget('jupyterlab-diff');
8686
footer.removeToolbarItem('accept-diff');
8787
footer.removeToolbarItem('reject-diff');
8888
footer.removeToolbarItem('toggle-diff');
@@ -178,7 +178,7 @@ export abstract class BaseDiffWidget extends Widget {
178178
const cellId = this._cell.id;
179179
const footer = this._cellFooterTracker.getFooter(cellId);
180180
if (footer) {
181-
footer.removeWidget('jupyterlab-cell-diff');
181+
footer.removeWidget('jupyterlab-diff');
182182
footer.removeToolbarItem('accept-diff');
183183
footer.removeToolbarItem('reject-diff');
184184
footer.removeToolbarItem('toggle-diff');

0 commit comments

Comments
 (0)