Skip to content

Commit e873f13

Browse files
Fix new-folder name typing lag and docker name truncation regression
1 parent 22ac24b commit e873f13

9 files changed

Lines changed: 30 additions & 5 deletions

File tree

archive/folderview.plus-2026.03.19.29.txz.sha256

Lines changed: 0 additions & 1 deletion
This file was deleted.
-14 MB
Binary file not shown.

archive/folderview.plus-2026.03.20.01.txz.sha256

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
845a095b7e5861e6cd78f9651942ee46c4aa8bada0be758f4a6d7f1e6ac2ec9d folderview.plus-2026.03.21.15.txz

folderview.plus.plg

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,23 @@
66
<!ENTITY launch "Settings/FolderViewPlus">
77
<!ENTITY plugdir "/usr/local/emhttp/plugins/&name;">
88
<!ENTITY pluginURL "https://raw.githubusercontent.com/&github;/dev/folderview.plus.plg">
9-
<!ENTITY version "2026.03.21.13">
10-
<!ENTITY md5 "070d37fd307fbf86ed86ce506084cd3f">
9+
<!ENTITY version "2026.03.21.15">
10+
<!ENTITY md5 "36068849707f82654284ad3c715c164d">
1111
]>
1212

1313
<PLUGIN name="&name;" author="&author;" version="&version;" launch="&launch;" pluginURL="&pluginURL;" icon="folder-icon.png" support="https://forums.unraid.net/topic/197631-plugin-folderview-plus/" min="7.0.0">
1414
<CHANGES>
1515

16+
###2026.03.21.15
17+
- Fix: Improved new-folder editor performance by deferring heavy recompute paths while typing and making icon-manager hydration non-blocking at load.
18+
- Fix: Hardened Docker runtime name-column recovery with post-render width reflow passes and stronger width fallback to prevent severe name truncation after folder rename/create.
19+
20+
21+
###2026.03.21.14
22+
- Fix: Reduced fresh-folder editor typing lag by skipping heavy regex/member-table recompute while typing folder name.
23+
- Fix: Added post-render Docker width reflow passes and stronger folder-name width fallback to prevent newly renamed folders collapsing to 1-2 visible characters.
24+
25+
1626
###2026.03.21.13
1727
- UX: Refined settings and on-screen update messaging for clarity and consistency.
1828

src/folderview.plus/usr/local/emhttp/plugins/folderview.plus/scripts/docker.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2277,6 +2277,8 @@ const createFolders = async () => {
22772277
}, 50);
22782278
bindDockerRuntimeAppColumnResizer();
22792279
scheduleDockerRuntimeWidthReflow('render-complete', 0);
2280+
setTimeout(() => scheduleDockerRuntimeWidthReflow('render-post-80ms', 18), 80);
2281+
setTimeout(() => scheduleDockerRuntimeWidthReflow('render-post-260ms', 18), 260);
22802282

22812283
folderDebugMode = false; // Existing flag
22822284
if (FOLDER_VIEW_DEBUG_MODE) console.log('[FV3_DEBUG] createFolders: Set folderDebugMode (existing) to false.');

src/folderview.plus/usr/local/emhttp/plugins/folderview.plus/scripts/folder.js

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2854,6 +2854,13 @@ const markCleanState = () => {
28542854
updateUnsavedIndicator();
28552855
};
28562856

2857+
const markUnsavedIndicatorDirty = () => {
2858+
if (!initialSnapshot) {
2859+
return;
2860+
}
2861+
$('#unsavedIndicator').show();
2862+
};
2863+
28572864
const runEditorRecalculation = () => {
28582865
validateForm();
28592866
updateLiveSummary();
@@ -4237,7 +4244,12 @@ resetStatusColorDefaults();
42374244
void applySmartDefaultsFromParent(normalizeParentFolderId(form.parent_folder_id?.value || ''));
42384245
}
42394246
if (fieldName === 'name') {
4240-
scheduleNameDrivenRegexSync(event.type === 'change' ? 'immediate' : 'debounced');
4247+
if (event.type === 'input') {
4248+
$('#fvLiveName').text((form.name?.value || '').trim() || '(unnamed)');
4249+
markUnsavedIndicatorDirty();
4250+
return;
4251+
}
4252+
scheduleNameDrivenRegexSync('immediate');
42414253
}
42424254
scheduleEditorRecalculation(event.type === 'input' ? EDITOR_INPUT_RECALC_DEBOUNCE_MS : 0);
42434255
});

src/folderview.plus/usr/local/emhttp/plugins/folderview.plus/styles/docker.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ td.ct-name.folder-name > .folder-name-sub {
185185
flex: 1 1 auto;
186186
max-width: calc(var(--fvplus-docker-app-column-width) - 106px);
187187
max-width: calc(var(--fvplus-docker-app-column-width) - var(--fvplus-docker-folder-outer-reserved-width, 106px));
188+
max-width: max(112px, calc(var(--fvplus-docker-app-column-width) - var(--fvplus-docker-folder-outer-reserved-width, 106px)));
188189
}
189190

190191
.folder-hand {
@@ -774,6 +775,7 @@ div.folder-preview-4 span.outer {
774775

775776
.folder-outer {
776777
max-width: calc(var(--fvplus-docker-app-column-width-mobile) - 88px);
778+
max-width: max(102px, calc(var(--fvplus-docker-app-column-width-mobile) - 88px));
777779
}
778780

779781
.folder-element .ct-name {

0 commit comments

Comments
 (0)