ux: clearer fields
Massimo Melina committed
Jun 25, 2024 at 09:15 UTC
542da9c8c2b355ae546a6b3810aa432e0fe2fd7a
2 files changed
+3
-3
admin/src/OptionsPage.ts
+2
-2
@@ -161,8 +161,8 @@ export default function OptionsPage() {
161
},
162
{ k: 'title', md: 8, helperText: "You can see this in the tab of your browser" },
163
164
- { k: 'auto_play_seconds', comp: NumberField, xs: 6, sm: 3, min: 1, max: 10000, label: "Auto-play seconds delay" },
165
- { k: 'tile_size', comp: NumberField, xs: 6, sm: 3, min: 0, max: MAX_TILE_SIZE, label: "Default tiles size", helperText: "Zero = list mode" },
164
+ { k: 'auto_play_seconds', comp: NumberField, xs: 6, sm: 3, min: 1, max: 10000, label: "Auto-play seconds delay", helperText: md(`Default value for the [Show interface](${REPO_URL}discussions/270)`) },
165
+ { k: 'tile_size', comp: NumberField, xs: 6, sm: 3, min: 0, max: MAX_TILE_SIZE, label: "Default tiles size", helperText: wikiLink('Tiles', "To enable tiles-mode") },
166
{ k: 'theme', comp: SelectField, xs: 6, sm: 3, options: THEME_OPTIONS },
167
{ k: 'sort_by', comp: SelectField, xs: 6, sm: 3, options: SORT_BY_OPTIONS },
168
plugins/download-counter/plugin.js
+1
-1
@@ -5,7 +5,7 @@ exports.version = 6 // new format
5
exports.apiRequired = 8.89 // openDb
6
7
exports.config = {
8
- where: { frontend: true, type: 'select', defaultValue: 'menu',
8
+ where: { frontend: true, label: "Where to display counter", type: 'select', defaultValue: 'menu',
9
options: ['list', { value: 'menu', label: "file menu" }],
10
},
11
archives: { defaultValue: true, type: 'boolean', label: "Count files in zip/archives" },