mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2026-08-09 09:31:15 +10:00
Restore Document category and applications (#4902)
* feat: restore document category Moves existing document-focused apps into the Document category and adds its filter chip. * feat: restore document applications Restores reviewed document-focused apps removed in PR #4451. * chore: update apps list as per code review comments This also updates the link for PDF24 Creator * test: verify document category filter wiring Covers the Document filter handler and config category presence. * fix: categorize Calibre as multimedia Keeps the e-book reader in Multimedia Tools.
This commit is contained in:
+105
-6
@@ -18,7 +18,7 @@
|
|||||||
"foss": true
|
"foss": true
|
||||||
},
|
},
|
||||||
"adobe": {
|
"adobe": {
|
||||||
"category": "Multimedia Tools",
|
"category": "Document",
|
||||||
"choco": "adobereader",
|
"choco": "adobereader",
|
||||||
"content": "Adobe Acrobat Reader",
|
"content": "Adobe Acrobat Reader",
|
||||||
"description": "Adobe Acrobat Reader is a free PDF viewer with essential features for viewing, printing, and annotating PDF documents.",
|
"description": "Adobe Acrobat Reader is a free PDF viewer with essential features for viewing, printing, and annotating PDF documents.",
|
||||||
@@ -458,6 +458,15 @@
|
|||||||
"winget": "flux.flux",
|
"winget": "flux.flux",
|
||||||
"foss": false
|
"foss": false
|
||||||
},
|
},
|
||||||
|
"foxpdfreader": {
|
||||||
|
"category": "Document",
|
||||||
|
"choco": "foxitreader",
|
||||||
|
"content": "Foxit PDF Reader",
|
||||||
|
"description": "Foxit PDF Reader is a free PDF viewer with a familiar ribbon-style interface.",
|
||||||
|
"link": "https://www.foxit.com/pdf-reader/",
|
||||||
|
"winget": "Foxit.FoxitReader",
|
||||||
|
"foss": false
|
||||||
|
},
|
||||||
"geforcenow": {
|
"geforcenow": {
|
||||||
"category": "Games",
|
"category": "Games",
|
||||||
"choco": "nvidia-geforce-now",
|
"choco": "nvidia-geforce-now",
|
||||||
@@ -701,6 +710,15 @@
|
|||||||
"winget": "sylikc.JPEGView",
|
"winget": "sylikc.JPEGView",
|
||||||
"foss": true
|
"foss": true
|
||||||
},
|
},
|
||||||
|
"joplin": {
|
||||||
|
"category": "Document",
|
||||||
|
"choco": "joplin",
|
||||||
|
"content": "Joplin",
|
||||||
|
"description": "Joplin is an open-source note-taking and to-do application with synchronization capabilities.",
|
||||||
|
"link": "https://joplinapp.org/",
|
||||||
|
"winget": "Joplin.Joplin",
|
||||||
|
"foss": true
|
||||||
|
},
|
||||||
"keepassxc": {
|
"keepassxc": {
|
||||||
"category": "Utilities",
|
"category": "Utilities",
|
||||||
"choco": "keepassxc",
|
"choco": "keepassxc",
|
||||||
@@ -738,7 +756,7 @@
|
|||||||
"foss": true
|
"foss": true
|
||||||
},
|
},
|
||||||
"libreoffice": {
|
"libreoffice": {
|
||||||
"category": "Multimedia Tools",
|
"category": "Document",
|
||||||
"choco": "libreoffice-fresh",
|
"choco": "libreoffice-fresh",
|
||||||
"content": "LibreOffice",
|
"content": "LibreOffice",
|
||||||
"description": "LibreOffice is a powerful and free office suite, compatible with other major office suites.",
|
"description": "LibreOffice is a powerful and free office suite, compatible with other major office suites.",
|
||||||
@@ -882,9 +900,9 @@
|
|||||||
"foss": true
|
"foss": true
|
||||||
},
|
},
|
||||||
"naps2": {
|
"naps2": {
|
||||||
"category": "Multimedia Tools",
|
"category": "Document",
|
||||||
"choco": "naps2",
|
"choco": "naps2",
|
||||||
"content": "NAPS2 (Document Scanner)",
|
"content": "NAPS2 (Scanner)",
|
||||||
"description": "NAPS2 is a document scanning application that simplifies the process of creating electronic documents.",
|
"description": "NAPS2 is a document scanning application that simplifies the process of creating electronic documents.",
|
||||||
"link": "https://www.naps2.com/",
|
"link": "https://www.naps2.com/",
|
||||||
"winget": "Cyanfish.NAPS2",
|
"winget": "Cyanfish.NAPS2",
|
||||||
@@ -980,7 +998,7 @@
|
|||||||
"foss": true
|
"foss": true
|
||||||
},
|
},
|
||||||
"obsidian": {
|
"obsidian": {
|
||||||
"category": "Multimedia Tools",
|
"category": "Document",
|
||||||
"choco": "obsidian",
|
"choco": "obsidian",
|
||||||
"content": "Obsidian",
|
"content": "Obsidian",
|
||||||
"description": "Obsidian is a powerful note-taking and knowledge management application.",
|
"description": "Obsidian is a powerful note-taking and knowledge management application.",
|
||||||
@@ -988,6 +1006,15 @@
|
|||||||
"winget": "Obsidian.Obsidian",
|
"winget": "Obsidian.Obsidian",
|
||||||
"foss": false
|
"foss": false
|
||||||
},
|
},
|
||||||
|
"okular": {
|
||||||
|
"category": "Document",
|
||||||
|
"choco": "okular",
|
||||||
|
"content": "Okular",
|
||||||
|
"description": "Okular is a versatile document viewer with advanced features.",
|
||||||
|
"link": "https://okular.kde.org/",
|
||||||
|
"winget": "KDE.Okular",
|
||||||
|
"foss": true
|
||||||
|
},
|
||||||
"onedrive": {
|
"onedrive": {
|
||||||
"category": "Microsoft Tools",
|
"category": "Microsoft Tools",
|
||||||
"choco": "onedrive",
|
"choco": "onedrive",
|
||||||
@@ -998,7 +1025,7 @@
|
|||||||
"foss": false
|
"foss": false
|
||||||
},
|
},
|
||||||
"onlyoffice": {
|
"onlyoffice": {
|
||||||
"category": "Multimedia Tools",
|
"category": "Document",
|
||||||
"choco": "onlyoffice",
|
"choco": "onlyoffice",
|
||||||
"content": "ONLYOFFICE Desktop",
|
"content": "ONLYOFFICE Desktop",
|
||||||
"description": "ONLYOFFICE Desktop is a comprehensive office suite for document editing and collaboration.",
|
"description": "ONLYOFFICE Desktop is a comprehensive office suite for document editing and collaboration.",
|
||||||
@@ -1087,6 +1114,42 @@
|
|||||||
"winget": "Giorgiotani.Peazip",
|
"winget": "Giorgiotani.Peazip",
|
||||||
"foss": true
|
"foss": true
|
||||||
},
|
},
|
||||||
|
"pdf-xchange": {
|
||||||
|
"category": "Document",
|
||||||
|
"choco": "pdfxchangeeditor",
|
||||||
|
"content": "PDF-XChange Editor",
|
||||||
|
"description": "A comprehensive Windows-based software suite and editor for creating, viewing, editing, annotating, and signing PDF files.",
|
||||||
|
"link": "https://www.pdf-xchange.com/",
|
||||||
|
"winget": "TrackerSoftware.PDF-XChangeEditor",
|
||||||
|
"foss": false
|
||||||
|
},
|
||||||
|
"pdf24creator": {
|
||||||
|
"category": "Document",
|
||||||
|
"choco": "pdf24",
|
||||||
|
"content": "PDF24 Creator",
|
||||||
|
"description": "Free and easy-to-use online/desktop PDF tools that make you more productive",
|
||||||
|
"link": "https://tools.pdf24.org/en/creator",
|
||||||
|
"winget": "geeksoftwareGmbH.PDF24Creator",
|
||||||
|
"foss": false
|
||||||
|
},
|
||||||
|
"pdfgear": {
|
||||||
|
"category": "Document",
|
||||||
|
"choco": "pdfgear",
|
||||||
|
"content": "PDFgear",
|
||||||
|
"description": "PDFgear is a piece of full-featured PDF management software for Windows, macOS, and mobile, and it's completely free to use.",
|
||||||
|
"link": "https://www.pdfgear.com/",
|
||||||
|
"winget": "PDFgear.PDFgear",
|
||||||
|
"foss": false
|
||||||
|
},
|
||||||
|
"pdfsam": {
|
||||||
|
"category": "Document",
|
||||||
|
"choco": "pdfsam",
|
||||||
|
"content": "PDFsam Basic",
|
||||||
|
"description": "PDFsam Basic is a free and open-source tool for splitting, merging, and rotating PDF files.",
|
||||||
|
"link": "https://pdfsam.org/",
|
||||||
|
"winget": "PDFsam.PDFsam",
|
||||||
|
"foss": true
|
||||||
|
},
|
||||||
"playnite": {
|
"playnite": {
|
||||||
"category": "Games",
|
"category": "Games",
|
||||||
"choco": "playnite",
|
"choco": "playnite",
|
||||||
@@ -1339,6 +1402,15 @@
|
|||||||
"winget": "WhirlwindFX.SignalRgb",
|
"winget": "WhirlwindFX.SignalRgb",
|
||||||
"foss": false
|
"foss": false
|
||||||
},
|
},
|
||||||
|
"simplenote": {
|
||||||
|
"category": "Document",
|
||||||
|
"choco": "simplenote",
|
||||||
|
"content": "Simplenote",
|
||||||
|
"description": "Simplenote is an easy way to keep notes, lists, ideas and more.",
|
||||||
|
"link": "https://simplenote.com/",
|
||||||
|
"winget": "Automattic.Simplenote",
|
||||||
|
"foss": true
|
||||||
|
},
|
||||||
"simplewall": {
|
"simplewall": {
|
||||||
"category": "Pro Tools",
|
"category": "Pro Tools",
|
||||||
"choco": "simplewall",
|
"choco": "simplewall",
|
||||||
@@ -1384,6 +1456,15 @@
|
|||||||
"winget": "SublimeHQ.SublimeText.4",
|
"winget": "SublimeHQ.SublimeText.4",
|
||||||
"foss": false
|
"foss": false
|
||||||
},
|
},
|
||||||
|
"sumatra": {
|
||||||
|
"category": "Document",
|
||||||
|
"choco": "sumatrapdf",
|
||||||
|
"content": "Sumatra PDF",
|
||||||
|
"description": "Sumatra PDF is a lightweight and fast PDF viewer with minimalistic design.",
|
||||||
|
"link": "https://www.sumatrapdfreader.org/free-pdf-reader.html",
|
||||||
|
"winget": "SumatraPDF.SumatraPDF",
|
||||||
|
"foss": true
|
||||||
|
},
|
||||||
"sunshine": {
|
"sunshine": {
|
||||||
"category": "Selfhosted Tools",
|
"category": "Selfhosted Tools",
|
||||||
"choco": "sunshine",
|
"choco": "sunshine",
|
||||||
@@ -1726,6 +1807,15 @@
|
|||||||
"winget": "MHNexus.HxD",
|
"winget": "MHNexus.HxD",
|
||||||
"foss": false
|
"foss": false
|
||||||
},
|
},
|
||||||
|
"xournal": {
|
||||||
|
"category": "Document",
|
||||||
|
"choco": "xournalplusplus",
|
||||||
|
"content": "Xournal++",
|
||||||
|
"description": "Xournal++ is an open-source handwriting notetaking software with PDF annotation capabilities.",
|
||||||
|
"link": "https://xournalpp.github.io/",
|
||||||
|
"winget": "Xournal++.Xournal++",
|
||||||
|
"foss": true
|
||||||
|
},
|
||||||
"yarn": {
|
"yarn": {
|
||||||
"category": "Development",
|
"category": "Development",
|
||||||
"choco": "yarn",
|
"choco": "yarn",
|
||||||
@@ -1807,6 +1897,15 @@
|
|||||||
"winget": "ZedIndustries.Zed",
|
"winget": "ZedIndustries.Zed",
|
||||||
"foss": true
|
"foss": true
|
||||||
},
|
},
|
||||||
|
"zotero": {
|
||||||
|
"category": "Document",
|
||||||
|
"choco": "zotero",
|
||||||
|
"content": "Zotero",
|
||||||
|
"description": "Zotero is a free, easy-to-use tool to help you collect, organize, cite, and share your research materials.",
|
||||||
|
"link": "https://www.zotero.org/",
|
||||||
|
"winget": "DigitalScholar.Zotero",
|
||||||
|
"foss": true
|
||||||
|
},
|
||||||
"deskflow": {
|
"deskflow": {
|
||||||
"category": "Utilities",
|
"category": "Utilities",
|
||||||
"choco": "deskflow",
|
"choco": "deskflow",
|
||||||
|
|||||||
@@ -142,6 +142,7 @@ Describe "XAML document" {
|
|||||||
"WPFSearchChipBrowsers",
|
"WPFSearchChipBrowsers",
|
||||||
"WPFSearchChipCommunications",
|
"WPFSearchChipCommunications",
|
||||||
"WPFSearchChipDevelopment",
|
"WPFSearchChipDevelopment",
|
||||||
|
"WPFSearchChipDocument",
|
||||||
"WPFSearchChipGames",
|
"WPFSearchChipGames",
|
||||||
"WPFSearchChipMicrosoftTools",
|
"WPFSearchChipMicrosoftTools",
|
||||||
"WPFSearchChipMultimediaTools",
|
"WPFSearchChipMultimediaTools",
|
||||||
@@ -179,6 +180,15 @@ Describe "XAML document" {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
It "wires the Document search chip to an existing Document category" {
|
||||||
|
$mainScript = Get-Content -Path $script:mainScriptPath -Raw
|
||||||
|
$mainScript | Should -Match '\$sync\["WPFSearchChipDocument"\]\.Add_Click\(\{ Set-WinUtilAppCategoryFilter -Category "Document" \}\)'
|
||||||
|
|
||||||
|
$applications = Get-WinUtilConfigObject -Name "applications"
|
||||||
|
$categories = @($applications.PSObject.Properties | ForEach-Object { $_.Value.category } | Sort-Object -Unique)
|
||||||
|
$categories | Should -Contain "Document"
|
||||||
|
}
|
||||||
|
|
||||||
It "presents the three Updates profiles with accurate action labels" {
|
It "presents the three Updates profiles with accurate action labels" {
|
||||||
$updatesTab = $script:xaml.SelectSingleNode('//*[local-name()="TabItem"][@Name="WPFTab4"]')
|
$updatesTab = $script:xaml.SelectSingleNode('//*[local-name()="TabItem"][@Name="WPFTab4"]')
|
||||||
$profileGrid = $updatesTab.SelectSingleNode('.//*[local-name()="UniformGrid"]')
|
$profileGrid = $updatesTab.SelectSingleNode('.//*[local-name()="UniformGrid"]')
|
||||||
|
|||||||
@@ -368,6 +368,7 @@ $sync["WPFSearchChipAll"].Add_Click({ Set-WinUtilAppCategoryFilter })
|
|||||||
$sync["WPFSearchChipBrowsers"].Add_Click({ Set-WinUtilAppCategoryFilter -Category "Browsers" })
|
$sync["WPFSearchChipBrowsers"].Add_Click({ Set-WinUtilAppCategoryFilter -Category "Browsers" })
|
||||||
$sync["WPFSearchChipCommunications"].Add_Click({ Set-WinUtilAppCategoryFilter -Category "Communications" })
|
$sync["WPFSearchChipCommunications"].Add_Click({ Set-WinUtilAppCategoryFilter -Category "Communications" })
|
||||||
$sync["WPFSearchChipDevelopment"].Add_Click({ Set-WinUtilAppCategoryFilter -Category "Development" })
|
$sync["WPFSearchChipDevelopment"].Add_Click({ Set-WinUtilAppCategoryFilter -Category "Development" })
|
||||||
|
$sync["WPFSearchChipDocument"].Add_Click({ Set-WinUtilAppCategoryFilter -Category "Document" })
|
||||||
$sync["WPFSearchChipGames"].Add_Click({ Set-WinUtilAppCategoryFilter -Category "Games" })
|
$sync["WPFSearchChipGames"].Add_Click({ Set-WinUtilAppCategoryFilter -Category "Games" })
|
||||||
$sync["WPFSearchChipMicrosoftTools"].Add_Click({ Set-WinUtilAppCategoryFilter -Category "Microsoft Tools" })
|
$sync["WPFSearchChipMicrosoftTools"].Add_Click({ Set-WinUtilAppCategoryFilter -Category "Microsoft Tools" })
|
||||||
$sync["WPFSearchChipMultimediaTools"].Add_Click({ Set-WinUtilAppCategoryFilter -Category "Multimedia Tools" })
|
$sync["WPFSearchChipMultimediaTools"].Add_Click({ Set-WinUtilAppCategoryFilter -Category "Multimedia Tools" })
|
||||||
|
|||||||
@@ -1326,6 +1326,7 @@
|
|||||||
<Button Name="WPFSearchChipBrowsers" Content="Browsers" Style="{StaticResource FilterChipStyle}"/>
|
<Button Name="WPFSearchChipBrowsers" Content="Browsers" Style="{StaticResource FilterChipStyle}"/>
|
||||||
<Button Name="WPFSearchChipCommunications" Content="Communications" Style="{StaticResource FilterChipStyle}"/>
|
<Button Name="WPFSearchChipCommunications" Content="Communications" Style="{StaticResource FilterChipStyle}"/>
|
||||||
<Button Name="WPFSearchChipDevelopment" Content="Development" Style="{StaticResource FilterChipStyle}"/>
|
<Button Name="WPFSearchChipDevelopment" Content="Development" Style="{StaticResource FilterChipStyle}"/>
|
||||||
|
<Button Name="WPFSearchChipDocument" Content="Document" Style="{StaticResource FilterChipStyle}"/>
|
||||||
<Button Name="WPFSearchChipGames" Content="Games" Style="{StaticResource FilterChipStyle}"/>
|
<Button Name="WPFSearchChipGames" Content="Games" Style="{StaticResource FilterChipStyle}"/>
|
||||||
<Button Name="WPFSearchChipMicrosoftTools" Content="Microsoft Tools" Style="{StaticResource FilterChipStyle}"/>
|
<Button Name="WPFSearchChipMicrosoftTools" Content="Microsoft Tools" Style="{StaticResource FilterChipStyle}"/>
|
||||||
<Button Name="WPFSearchChipMultimediaTools" Content="Multimedia Tools" Style="{StaticResource FilterChipStyle}"/>
|
<Button Name="WPFSearchChipMultimediaTools" Content="Multimedia Tools" Style="{StaticResource FilterChipStyle}"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user