TagSpaces is an offline, open source, document manager with tagging support
core: improving the ux of the new version notification
Ilian Sapundshiev9d636d1fad63
diff --git a/src/renderer/containers/PageNotification.tsx b/src/renderer/containers/PageNotification.tsxindex f1a713f2c..eaa1a2142 100644--- a/src/renderer/containers/PageNotification.tsx+++ b/src/renderer/containers/PageNotification.tsx@@ -39,10 +39,8 @@ import {const TSNotification = styled(Snackbar)(({ theme }) => {return {- root: {- '& .MuiSnackbarContent-root': {- borderRadius: AppConfig.defaultCSSRadius,- },+ '& .MuiSnackbarContent-root': {+ borderRadius: AppConfig.defaultCSSRadius,},};}) as typeof Snackbar;@@ -136,17 +134,19 @@ function PageNotification() {]}/><TSNotification- anchorOrigin={{ vertical: 'bottom', horizontal: 'right' }}- open={updateAvailable}+ anchorOrigin={{ vertical: 'bottom', horizontal: 'center' }}+ //open={updateAvailable}+ openautoHideDuration={undefined}- message={'Version ' + lastPublishedVersion + ' available.'}+ message={t('versionAvailable', {+ version: lastPublishedVersion,+ })}action={[- <TsButton key="laterButton" color="secondary" onClick={skipRelease}>+ <TsButton key="laterButton" onClick={skipRelease}>{t('core:later')}</TsButton>,<TsButtonkey="changelogButton"- color="secondary"onClick={openChangelogPage}sx={{marginLeft: AppConfig.defaultSpaceBetweenButtons,diff --git a/src/renderer/locales/en/core.json b/src/renderer/locales/en/core.jsonindex e707cb093..2db75fa51 100644--- a/src/renderer/locales/en/core.json+++ b/src/renderer/locales/en/core.json@@ -841,6 +841,7 @@"confirmDialogClosing": "Do you want to close this dialog?","clickToSelect": "Click to select","newVersionAvailable": "New version available",+ "versionAvailable": "Version {{version}} available","urlNotSupported": "URL not supported","indexing": "Indexing","fileNameTagSetting": "Place of the tags in the filename",@@ -883,7 +884,6 @@"invalidSharingLink": "Invalid Sharing Link","confirmSearchById": "Do you want to search for the file or folder by its ID?","uploadDirsNotSupported": "Uploading folders not supported!",- "confirmDescriptionReplace": "Do you want to replace description of the opened file with this {{description}}","targetLocation": "Target location","exportAsPNG": "Export as PNG","tagPreview": "Tag Preview",