File tree Expand file tree Collapse file tree
src/folderview.plus/usr/local/emhttp/plugins/folderview.plus/scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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.06.4 " >
10- <!ENTITY md5 " e906454fc17b52f18e9f9e1530c1377b " >
9+ <!ENTITY version " 2026.03.06.5 " >
10+ <!ENTITY md5 " b610c5da34656583f446a7868612784c " >
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.06.5
17+ - Restore diagnostics export mode popup so users can choose `Full` or `Sanitized` export at click time.
18+ - Start diagnostics file download immediately based on the selected popup action.
19+
1620###2026.03.06.4
1721- Fix diagnostics export reliability by restoring direct-download behavior.
1822- Export now defaults to sanitized diagnostics immediately and falls back to cached/latest data if live diagnostics refresh fails.
Original file line number Diff line number Diff line change @@ -1236,7 +1236,7 @@ const repairDiagnostics = async (action) => {
12361236 }
12371237} ;
12381238
1239- const exportDiagnostics = async ( privacy = 'sanitized' ) => {
1239+ const exportDiagnosticsByMode = async ( privacy = 'sanitized' ) => {
12401240 const mode = privacy === 'full' ? 'full' : 'sanitized' ;
12411241 let diagnostics = null ;
12421242
@@ -1273,6 +1273,21 @@ const exportDiagnostics = async (privacy = 'sanitized') => {
12731273 } ) ;
12741274} ;
12751275
1276+ const exportDiagnostics = ( ) => {
1277+ swal ( {
1278+ title : 'Export diagnostics' ,
1279+ text : 'Choose export mode.\nFull includes all details. Sanitized redacts sensitive fields.' ,
1280+ type : 'warning' ,
1281+ showCancelButton : true ,
1282+ confirmButtonText : 'Full export' ,
1283+ cancelButtonText : 'Sanitized export' ,
1284+ closeOnConfirm : true ,
1285+ closeOnCancel : true
1286+ } , ( useFull ) => {
1287+ void exportDiagnosticsByMode ( useFull ? 'full' : 'sanitized' ) ;
1288+ } ) ;
1289+ } ;
1290+
12761291const checkForUpdatesNow = async ( ) => {
12771292 setUpdateStatus ( 'Checking for updates...' ) ;
12781293
You can’t perform that action at this time.
0 commit comments