0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-11 13:22:39 +00:00

Update popup to notify update

Also point to latest FAQ page on Reddit
This commit is contained in:
Trevor Buckner
2020-05-08 15:32:39 -04:00
parent a0e92b54d0
commit 9265e25c73

View File

@@ -4,7 +4,7 @@ const createClass = require('create-react-class');
const _ = require('lodash'); const _ = require('lodash');
const cx = require('classnames'); //Unused variable const cx = require('classnames'); //Unused variable
const DISMISS_KEY = 'dismiss_notification7-24-19'; const DISMISS_KEY = 'dismiss_notification5-8-2020';
const NotificationPopup = createClass({ const NotificationPopup = createClass({
getInitialState : function() { getInitialState : function() {
@@ -21,19 +21,24 @@ const NotificationPopup = createClass({
}, },
notifications : { notifications : {
psa : function(){ psa : function(){
return <li key='psa'> return <li key='markdown'>
<em>Known bug: Grey Shadow Boxes </em> <br /> <em>Markdown library update </em> <br />
The shadows around certain brew elements such as notes and statblocks might appear as a solid grey box when generating a PDF. &nbsp; We have updated the library that converts your brews from markdown to
<a target='_blank' href='https://old.reddit.com/r/homebrewery/comments/ch3v0d/psa_grey_boxesshadows_around_notes_stat_blocks_etc/'> HTML for security reasons. We have made every effort to make sure your
See this Reddit post homebrews appear just as they did before, but there's always a chance we
</a> for updates and possible workarounds. missed something. If your homebrew has started rendering incorrectly
since your last visit,&nbsp;
<a target='_blank' href={`https://www.reddit.com/r/homebrewery/submit?selftext=true&title=${encodeURIComponent('[Issue] Describe Your Issue Here')}`}>
please let us know
</a>
&nbsp;and we will try to fix your issue as soon as possible.
</li>; </li>;
}, },
faq : function(){ faq : function(){
return <li key='faq'> return <li key='faq'>
<em>Protect your work! </em> <br /> <em>Protect your work! </em> <br />
At the moment we do not save a history of your projects, so please make frequent backups of your brews! &nbsp; At the moment we do not save a history of your projects, so 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/fwhl3n/faq_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>;