Skip to content

Commit 899f8fb

Browse files
Reorder settings sections and move rules to bottom
1 parent 41c35c3 commit 899f8fb

5 files changed

Lines changed: 60 additions & 31 deletions

File tree

CHANGELOG-fixes.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# FolderView Plus Changelog
22

3+
## Version 2026.03.05.5
4+
5+
- Move VMs directly below Docker in settings for a cleaner reading order.
6+
- Move Docker and VM auto-assignment rule editors into one dedicated bottom section.
7+
- Preserve existing auto-assignment behavior while improving layout clarity.
8+
39
## Version 2026.03.05.4
410

511
- Rework Docker/VM settings layout into clearer sections for actions, sorting, tables, and auto-assignment rules.
178 KB
Binary file not shown.

folderview.plus.plg

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,18 @@
66
<!ENTITY launch "Settings/FolderViewPlus">
77
<!ENTITY plugdir "/usr/local/emhttp/plugins/&name;">
88
<!ENTITY pluginURL "https://raw.githubusercontent.com/&github;/main/folderview.plus.plg">
9-
<!ENTITY version "2026.03.05.4">
10-
<!ENTITY md5 "689d0ab157bd57cdeb1f78c33aacb837">
9+
<!ENTITY version "2026.03.05.5">
10+
<!ENTITY md5 "b4f90f1ec6b356adda4fc4b69aa9277c">
1111
]>
1212

1313
<PLUGIN name="&name;" author="&author;" version="&version;" launch="&launch;" pluginURL="&pluginURL;" icon="folder-open-o" support="https://github.com/alexphillips-dev/FolderView-Plus/issues" min="7.0.0">
1414
<CHANGES>
1515

16+
###2026.03.05.5
17+
- Move VMs directly below Docker in settings for clearer top-to-bottom workflow.
18+
- Move Docker and VM auto-assignment rule editors into a single dedicated section at the bottom.
19+
- Keep existing rule behavior and IDs while improving visual grouping.
20+
1621
###2026.03.05.4
1722
- Rework Docker/VM settings layout into clearer sections: actions, sort controls, folder table, and auto-assignment rules.
1823
- Replace stretched full-width controls with grouped, consistent button rows and responsive spacing.

src/folderview.plus/usr/local/emhttp/plugins/folderview.plus/FolderViewPlus.page

Lines changed: 34 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -63,33 +63,6 @@ require_once('/usr/local/emhttp/plugins/folderview.plus/langs/script.php');
6363
</tbody>
6464
</table>
6565
</div>
66-
<div class="rules-panel">
67-
<div class="rules-header">
68-
<h3>Auto-assignment rules</h3>
69-
<span class="rules-help">Automatically place new containers into folders.</span>
70-
</div>
71-
<div class="rules-editor">
72-
<select id="docker-rule-folder"></select>
73-
<select id="docker-rule-kind" onchange="toggleRuleKindFields('docker')">
74-
<option value="name_regex">Name regex</option>
75-
<option value="label">Docker label</option>
76-
</select>
77-
<input id="docker-rule-pattern" type="text" placeholder="Regex pattern (example: ^media-)">
78-
<input id="docker-rule-label-key" type="text" placeholder="Label key (example: com.example.stack)" style="display:none;">
79-
<input id="docker-rule-label-value" type="text" placeholder="Label value (optional, blank means any value)" style="display:none;">
80-
<button class="rules-add-btn" onclick="addAutoRule('docker')"><i class="fa fa-plus"></i> Add rule</button>
81-
</div>
82-
<table class="rules-table">
83-
<thead>
84-
<tr>
85-
<th>Folder</th>
86-
<th>Match</th>
87-
<th>Action</th>
88-
</tr>
89-
</thead>
90-
<tbody id="docker-rules"></tbody>
91-
</table>
92-
</div>
9366
</div>
9467
<hr>
9568

@@ -133,9 +106,42 @@ require_once('/usr/local/emhttp/plugins/folderview.plus/langs/script.php');
133106
</tbody>
134107
</table>
135108
</div>
109+
</div>
110+
<hr>
111+
112+
<h2>Auto-assignment rules</h2>
113+
<div class="rules-bottom-grid">
136114
<div class="rules-panel">
137115
<div class="rules-header">
138-
<h3>Auto-assignment rules</h3>
116+
<h3>Docker rules</h3>
117+
<span class="rules-help">Automatically place new containers into folders.</span>
118+
</div>
119+
<div class="rules-editor">
120+
<select id="docker-rule-folder"></select>
121+
<select id="docker-rule-kind" onchange="toggleRuleKindFields('docker')">
122+
<option value="name_regex">Name regex</option>
123+
<option value="label">Docker label</option>
124+
</select>
125+
<input id="docker-rule-pattern" type="text" placeholder="Regex pattern (example: ^media-)">
126+
<input id="docker-rule-label-key" type="text" placeholder="Label key (example: com.example.stack)" style="display:none;">
127+
<input id="docker-rule-label-value" type="text" placeholder="Label value (optional, blank means any value)" style="display:none;">
128+
<button class="rules-add-btn" onclick="addAutoRule('docker')"><i class="fa fa-plus"></i> Add rule</button>
129+
</div>
130+
<table class="rules-table">
131+
<thead>
132+
<tr>
133+
<th>Folder</th>
134+
<th>Match</th>
135+
<th>Action</th>
136+
</tr>
137+
</thead>
138+
<tbody id="docker-rules"></tbody>
139+
</table>
140+
</div>
141+
142+
<div class="rules-panel">
143+
<div class="rules-header">
144+
<h3>VM rules</h3>
139145
<span class="rules-help">Automatically place new VMs into folders.</span>
140146
</div>
141147
<div class="rules-editor">
@@ -158,7 +164,6 @@ require_once('/usr/local/emhttp/plugins/folderview.plus/langs/script.php');
158164
</table>
159165
</div>
160166
</div>
161-
<hr>
162167

163168
<div id="import-preview-dialog" style="display:none;">
164169
<p><strong>Import summary</strong></p>

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,13 @@
133133
background: rgba(255, 255, 255, 0.015);
134134
}
135135

136+
.rules-bottom-grid {
137+
display: grid;
138+
grid-template-columns: 1fr;
139+
gap: 0.85rem;
140+
margin-bottom: 1rem;
141+
}
142+
136143
.rules-header {
137144
display: flex;
138145
flex-wrap: wrap;
@@ -215,6 +222,12 @@
215222
}
216223
}
217224

225+
@media (min-width: 1320px) {
226+
.rules-bottom-grid {
227+
grid-template-columns: 1fr 1fr;
228+
}
229+
}
230+
218231
@media (max-width: 760px) {
219232
.toolbar-actions > button {
220233
flex: 1 1 calc(50% - 0.5rem);

0 commit comments

Comments
 (0)