Add new changelog record

This commit is contained in:
boryslevytskyi
2017-05-27 17:14:26 +03:00
parent 06193fa046
commit 6e86862d5f
4 changed files with 12 additions and 8 deletions

View File

@@ -6,7 +6,7 @@ export default class AppState {
this.uiTheme = persistData.uiTheme || 'dark';
this.debugMode = false;
this.version = 2;
this.version = 3;
this.persistedVersion = persistData.version || 0.1;
this.wasOldVersion = persistData.version && this.version > this.persistedVersion;
}

View File

@@ -4,13 +4,18 @@ import CommandLink from '../misc/CommandLink'
export default class WhatsnewResultView extends React.Component {
render() {
return <div className="changelog">
<h3>BitwiseCmd Changelog</h3>
<div className="item">
<p><span className="soft">May 20th, 2017</span> New <CommandLink text="Midnight" /> theme added. </p>
<h3>Changelog</h3>
<div className="item item-new">
<p><span className="soft date">May 27th, 2017</span> <br/>
Added support of binary number notation (e.g. <code><CommandLink text="0b10101" /></code>). </p>
</div>
<div className="item">
<p><span className="soft">May 16th, 2017</span> Complete rewrite using React. Old implementation is available at <a href="http://bitwisecmd.com/old">http://bitwisecmd.com/old</a>.</p>
<p>Please let me know if you have problems with this release by <a href="https://github.com/BorysLevytskyi/BitwiseCmd/issues">creating issue</a> in Github Repo.</p>
<p><span className="soft">May 20th, 2017</span> <br/>
New <CommandLink text="Midnight" /> theme added. </p>
</div>
<div className="item">
<p><span className="soft">May 16th, 2017</span> <br/>
Complete rewrite using React. Old implementation is available at <a href="http://bitwisecmd.com/old">http://bitwisecmd.com/old</a>. Please let me know if you have problems with this release by <a href="https://github.com/BorysLevytskyi/BitwiseCmd/issues">creating issue</a> in Github Repo.</p>
</div>
</div>;
}

View File

@@ -51,7 +51,5 @@ function executeStartupCommands() {
startupCommands = hashArgs.commands;
}
log.info('starup commands', startupCommands);
startupCommands.forEach(cmd.execute.bind(cmd));
}

View File

@@ -112,6 +112,7 @@ code { font-size: 1.2em; font-weight: bold; }
.midnight .hashLink:hover { color: #9FBAC7 }
.midnight ul.top-links li:hover { background: #132537 }
.midnight .error { color:#da586d}
.midnight .changelog .item-new .date { font-weight: bold }
/* Top Links Shrink */
@media (max-width: 800px) {