@ycniuqton/devlens 0.1.24 → 0.1.26
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/package.json +1 -3
- package/public/index.html +3 -0
- package/public/js/diff.js +5 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ycniuqton/devlens",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.26",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -29,7 +29,6 @@
|
|
|
29
29
|
},
|
|
30
30
|
"homepage": "https://github.com/ycniuqton/Devlens#readme",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@ycniuqton/devlens": "^0.1.13",
|
|
33
32
|
"bcryptjs": "^3.0.3",
|
|
34
33
|
"sql.js": "^1.12.0",
|
|
35
34
|
"chokidar": "^3.6.0",
|
|
@@ -39,7 +38,6 @@
|
|
|
39
38
|
"diff2html": "^3.4.47",
|
|
40
39
|
"express": "^4.18.2",
|
|
41
40
|
"express-session": "^1.19.0",
|
|
42
|
-
"ngrok": "^4.3.3",
|
|
43
41
|
"open": "^10.1.0",
|
|
44
42
|
"simple-git": "~3.33.0",
|
|
45
43
|
"ws": "^8.16.0"
|
package/public/index.html
CHANGED
|
@@ -143,6 +143,9 @@
|
|
|
143
143
|
</div>
|
|
144
144
|
</div>
|
|
145
145
|
</header>
|
|
146
|
+
<div id="diff-update-banner" style="display:none;padding:8px 16px;background:var(--accent,#4f8ef7);color:#fff;font-size:13px;cursor:pointer;text-align:center;" onclick="applyDiffUpdate()">
|
|
147
|
+
Changes detected — click to refresh
|
|
148
|
+
</div>
|
|
146
149
|
<div class="diff-container">
|
|
147
150
|
<aside id="file-list" class="file-list">
|
|
148
151
|
<div class="file-list-header">
|
package/public/js/diff.js
CHANGED
|
@@ -353,6 +353,11 @@ function renderTreeView(files) {
|
|
|
353
353
|
}
|
|
354
354
|
|
|
355
355
|
function handleDiffUpdate(payload) {
|
|
356
|
+
document.getElementById('diff-update-banner').style.display = 'block';
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
function applyDiffUpdate() {
|
|
360
|
+
document.getElementById('diff-update-banner').style.display = 'none';
|
|
356
361
|
loadDiff();
|
|
357
362
|
}
|
|
358
363
|
|