Skip to content

Commit 2ea234d

Browse files
committed
Select input, history search, new settings
I: Scripts filter now hides history tab I: search disabled outside /scripts page F: Input density F: Table density F: search in history F: select F: multiselect
1 parent 6a987b3 commit 2ea234d

File tree

13 files changed

+312
-78
lines changed

13 files changed

+312
-78
lines changed

.github/workflows/build-and-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ jobs:
6060
release_name: La💤y Admin 🏷${{ steps.autotag.outputs.tagname }}
6161
body: |
6262
# Changelog
63+
6364
## 🚀 New Features
6465
- No new features
6566

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lazy-admin",
3-
"version": "0.4.1",
3+
"version": "0.4.2",
44
"description": "GUI for PowerShell scripts to simplify day to day IT tasks.",
55
"productName": "Lazy Admin",
66
"cordovaId": "eu.houby-studio.lazy-admin",

scripts-definitions/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,9 @@ This is only example, there are many possibilities how to write definitions.
164164
"parameters": [
165165
{
166166
"parameter": "${parameterName}",
167+
"format": "${format}",
168+
"value": "${value}",
169+
"options": "${options}",
167170
"required": ${Boolean},
168171
"type": "${inputType}",
169172
"hint": "${hint}"

scripts-definitions/base-module-example.json

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"base-module-example": {
3-
"version": "0.1.5",
3+
"version": "0.1.6",
44
"icon": "mdi-powershell",
55
"displayName": {
66
"default": "Base commands",
@@ -552,9 +552,46 @@
552552
"en-us": "Supply name of process, otherwise all processes are listed.",
553553
"cs-cz": "Zadejte název procesu, jinak se zobrazí seznam všech."
554554
}
555+
},
556+
{
557+
"parameter": "SampleSelect",
558+
"format": "-SampleSelect \"*{{SampleSelect}}*\"",
559+
"options": [
560+
"Option1",
561+
"Option2",
562+
"EmpireDidNothingWrong"
563+
],
564+
"required": false,
565+
"type": "Select",
566+
"hint": {
567+
"default": "Select one of the following options.",
568+
"en-us": "Select one of the following options.",
569+
"cs-cz": "Vyberte jednu z možností."
570+
}
571+
},
572+
{
573+
"parameter": "SampleMultiSelect",
574+
"format": "-SampleMultiSelect {{SampleMultiSelect}}",
575+
"value": [
576+
"\"EmpireDidNothingWrong\""
577+
],
578+
"options": [
579+
"\"Option1\"",
580+
"\"Option2\"",
581+
"\"EmpireDidNothingWrong\"",
582+
"\"AnotherOption\"",
583+
"\"YetAnother\""
584+
],
585+
"required": false,
586+
"type": "MultiSelect",
587+
"hint": {
588+
"default": "Select one or more of the following options.",
589+
"en-us": "Select one or more of the following options.",
590+
"cs-cz": "Vyberte jednu nebo více možností."
591+
}
555592
}
556593
],
557-
"commandBlock": "Write-Output '{{SampleString}} {{SambleNumber}} {{SampleScriptBlock}} {{SampleSwitch}} {{SampleBoolean}}'",
594+
"commandBlock": "Write-Output '{{SampleString}} {{SambleNumber}} {{SampleScriptBlock}} {{SampleSwitch}} {{SampleBoolean}} {{SampleSelect}} {{SampleMultiSelect}}'",
558595
"workflow": [
559596
{
560597
"acceptsParams": "none",

src/i18n/cs-cz/index.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,18 @@ export default {
5454
noExternalHelp: 'Pro tento příkaz neexistuje externí nápověda.\r\nMístní nápověda: {description}', // Used in: ScriptsPage.vue
5555
noDescription: 'Není vyplněna.', // Used in: ScriptsPage.vue
5656
csvExportError: 'Nepodařilo se uložit výsledky do CSV souboru.', // Used in: ScriptsPage.vue
57+
yes: 'Ano', // Used in: ScriptsPage.vue
58+
no: 'Ne', // Used in: ScriptsPage.vue
59+
type: 'Typ', // Used in: ScriptsPage.vue
60+
none: 'Není', // Used in: ScriptsPage.vue
61+
format: 'Formát', // Used in: ScriptsPage.vue
5762
updateFound: 'Stahování nejnovější verze aplikace Lazy Admin.', // Used in: FullLayout.vue
5863
updateError: 'Nepodařilo se stáhnout aktualizaci aplikace Lazy Admin.', // Used in: FullLayout.vue
5964
definitionsError: 'Chyba aktualizace definic.', // Used in: AboutPage.vue
6065
downloadCompleted: 'Stahování dokončeno, zavřete aplikaci ke spuštění aktualizace.', // Used in: FullLayout.vue
6166
alwaysConfirm: 'Vždy požadovat potvrzení před spuštěním příkazu.', // Used in: SettingsPage.vue
62-
autoClipboard: 'Automaticky vkládat výsledek příkazu do schránky.', // Used in: SettingsPage.vue
67+
inputDense: 'Zobrazovat vstupní parametry v těsném rozložení.', // Used in: SettingsPage.vue
68+
tableDense: 'Zobrazovat tabulky v těsném rozložení.', // Used in: SettingsPage.vue
6369
masterDefinition: 'Hlavní definice', // Used in: AboutPage.vue
6470
update: 'Aktualizovat', // Used in: AboutPage.vue
6571
restartRequired: 'Vyžadován restart.', // Used in: AboutPage.vue

src/i18n/en-us/index.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,18 @@ export default {
5454
noExternalHelp: 'There is no external help for this command.\r\nLocal help: {description}', // Used in: ScriptsPage.vue
5555
noDescription: 'Not available.', // Used in: ScriptsPage.vue
5656
csvExportError: 'Could not export results to CSV file.', // Used in: ScriptsPage.vue
57+
yes: 'Yes', // Used in: ScriptsPage.vue
58+
no: 'No', // Used in: ScriptsPage.vue
59+
type: 'Type', // Used in: ScriptsPage.vue
60+
none: 'None', // Used in: ScriptsPage.vue
61+
format: 'Format', // Used in: ScriptsPage.vue
5762
updateFound: 'Downloading the latest version of Lazy Admin.', // Used in: FullLayout.vue
5863
updateError: 'Could not download update for Lazy Admin application.', // Used in: FullLayout.vue
5964
definitionsError: 'Definitions update error.', // Used in: AboutPage.vue
6065
downloadCompleted: 'Download completed, close the application to start the update.', // Used in: FullLayout.vue
6166
alwaysConfirm: 'Always require confirmation before script execution.', // Used in: SettingsPage.vue
67+
inputDense: 'Display input parameters in dense layout.', // Used in: SettingsPage.vue
68+
tableDense: 'Display tables in dense layout.', // Used in: SettingsPage.vue
6269
autoClipboard: 'Automatically store command results to clipboard.', // Used in: SettingsPage.vue
6370
masterDefinition: 'Master definition', // Used in: AboutPage.vue
6471
update: 'Update', // Used in: AboutPage.vue

0 commit comments

Comments
 (0)