Skip to content

Commit

Permalink
Add 0.2.1 changelog (#607)
Browse files Browse the repository at this point in the history
  • Loading branch information
WithoutPants authored Jun 10, 2020
1 parent d168df1 commit 9f335b8
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
11 changes: 10 additions & 1 deletion ui/v2.5/src/components/Changelog/Changelog.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";
import { useChangelogStorage } from "src/hooks";
import Version from "./Version";
import { V010, V011, V020 } from "./versions";
import { V010, V011, V020, V021 } from "./versions";

const Changelog: React.FC = () => {
const [{ data, loading }, setOpenState] = useChangelogStorage();
Expand All @@ -21,6 +21,15 @@ const Changelog: React.FC = () => {
return (
<>
<h1 className="mb-4">Changelog:</h1>
<Version
version="v0.2.1"
date="2020-06-10"
openState={openState}
setOpenState={setVersionOpenState}
defaultOpen
>
<V021 />
</Version>
<Version
version="v0.2.0"
date="2020-06-06"
Expand Down
1 change: 1 addition & 0 deletions ui/v2.5/src/components/Changelog/versions/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export { default as V010 } from "./v010";
export { default as V011 } from "./v011";
export { default as V020 } from "./v020";
export { default as V021 } from "./v021";
11 changes: 11 additions & 0 deletions ui/v2.5/src/components/Changelog/versions/v021.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React from "react";
import ReactMarkdown from "react-markdown";

const markup = `
### 🐛 Bug fixes
* Fix max loop duration not working.
* Fix URL sanitization on non-Chrome browsers.
`;

export default () => <ReactMarkdown source={markup} />;

0 comments on commit 9f335b8

Please sign in to comment.