0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-11 15:32:47 +00:00

Update notificationPopup.jsx

This commit is contained in:
Trevor Buckner
2022-08-27 13:01:53 -04:00
parent 3271eae4df
commit cf2e6aa900

View File

@@ -22,38 +22,45 @@ const NotificationPopup = createClass({
}, },
notifications : { notifications : {
psa : function(){ psa : function(){
return <li key='psa'> return (
<>
<li key='psa'>
<em>V3.2.0 Released!</em> <br /> <em>V3.2.0 Released!</em> <br />
We are happy to announce that after nearly a year of use by our many users, We are happy to announce that after nearly a year of use by our many users,
we are making the V3 render mode the default setting for all new brews. we are making the V3 render mode the default setting for all new brews.
This mode has become quite popular, and has proven to be stable and powerful. This mode has become quite popular, and has proven to be stable and powerful.
Of course, we will always keep the option to use the Legacy renderer for any Of course, we will always keep the option to use the Legacy renderer for any
brew, which can still be accessed from the Properties menu. brew, which can still be accessed from the Properties menu.
</li>; </li>
},
refreshGoogle : function (){ <li key='stubs'>
return <li key='refreshGoogle'> <em>Change to Google Drive Storage!</em> <br />
<em>Refresh your Google Drive Credentials!</em> <br /> We have made a change to the process of tranferring brews between Google
Currently a lot of people are striking issues with their Google credentials expiring, which happens one year after the last sign in via Drive and the Homebrewery storage. Starting now, any time a brew is
Google. This can cause errors when trying to save your brews. If this happens, simply visit the&nbsp; transferred, it will keep the same links instead of generating new ones!
<a target='_blank' href='https://www.naturalcrit.com/login'> We hope this change will help reduce issues where people "lost" their work
logout page by trying to visit old links.
</a> </li>
, sign out, and then sign back in "with Google" to refresh your credentials. See&nbsp;
<a target='_blank' href='https://github.com/naturalcrit/homebrewery/discussions/1580'> <li key='googleDriveFolder'>
this discussion on Github <em>Don't delete your Homebrewery folder on Google Drive!</em> <br />
</a> for more details. We have had several reports of users losing their brews, not realizing
</li>; that they had deleted the files on their Google Drive. If you have a Homebrewery folder
}, on your Google Drive with *.txt files inside, <em>do not delete it</em>!
faq : function(){ We cannot help you recover files that you have deleted from your own
return <li key='faq'> Google Drive.
</li>
<li key='faq'>
<em>Protect your work! </em> <br /> <em>Protect your work! </em> <br />
If you opt not to use your Google Drive, keep in mind that we do not save a history of your projects. Please make frequent backups of your brews!&nbsp; If you opt not to use your Google Drive, keep in mind that we do not save a history of your projects. Please make frequent backups of your brews!&nbsp;
<a target='_blank' href='https://www.reddit.com/r/homebrewery/comments/adh6lh/faqs_psas_announcements/'> <a target='_blank' href='https://www.reddit.com/r/homebrewery/comments/adh6lh/faqs_psas_announcements/'>
See the FAQ See the FAQ
</a> to learn how to avoid losing your work! </a> to learn how to avoid losing your work!
</li>; </li>
}, </>
);
}
}, },
checkNotifications : function(){ checkNotifications : function(){
const hideDismiss = localStorage.getItem(DISMISS_KEY); const hideDismiss = localStorage.getItem(DISMISS_KEY);