diff --git a/src/app/assets/svg/index.ts b/src/app/assets/svg/index.ts index b8c7efce24..961eab6467 100644 --- a/src/app/assets/svg/index.ts +++ b/src/app/assets/svg/index.ts @@ -73,6 +73,7 @@ import { ReactComponent as Reddit } from "./reddit.svg"; import { ReactComponent as Redirect } from "./redirect.svg"; import { ReactComponent as RegistrationsIllustration } from "./register.svg"; import { ReactComponent as ReplyArrow } from "./reply-arrow.svg"; +import { ReactComponent as Report } from "./report.svg"; import { ReactComponent as Reset } from "./reset.svg"; import { ReactComponent as Search } from "./search.svg"; import { ReactComponent as Send } from "./send.svg"; @@ -157,6 +158,7 @@ export const SvgCollection: any = { Redirect, RegistrationsIllustration, ReplyArrow, + Report, Reset, Search, Send, diff --git a/src/app/assets/svg/report.svg b/src/app/assets/svg/report.svg new file mode 100644 index 0000000000..2bd781f078 --- /dev/null +++ b/src/app/assets/svg/report.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/app/assets/svg/verified.svg b/src/app/assets/svg/verified.svg new file mode 100644 index 0000000000..f1786d9cc6 --- /dev/null +++ b/src/app/assets/svg/verified.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/domains/plugin/components/Comments/Comments.tsx b/src/domains/plugin/components/Comments/Comments.tsx index fff2f868ff..1849becd03 100644 --- a/src/domains/plugin/components/Comments/Comments.tsx +++ b/src/domains/plugin/components/Comments/Comments.tsx @@ -43,7 +43,6 @@ export const Comments = ({ comments, sortOptions }: CommentsProps) => { return (
-

Reviews ARK Explorer

Sort by:
diff --git a/src/domains/plugin/components/Comments/__snapshots__/Comments.test.tsx.snap b/src/domains/plugin/components/Comments/__snapshots__/Comments.test.tsx.snap index 20601b8685..21ba8aada7 100644 --- a/src/domains/plugin/components/Comments/__snapshots__/Comments.test.tsx.snap +++ b/src/domains/plugin/components/Comments/__snapshots__/Comments.test.tsx.snap @@ -5,11 +5,6 @@ exports[`Comments should handle sortBy properly 1`] = `
-

- Reviews ARK Explorer -

@@ -318,11 +313,6 @@ exports[`Comments should render properly 1`] = `
-

- Reviews ARK Explorer -

diff --git a/src/domains/plugin/components/PluginHeader/PluginHeader.tsx b/src/domains/plugin/components/PluginHeader/PluginHeader.tsx index 2a8471000a..096cb3c958 100644 --- a/src/domains/plugin/components/PluginHeader/PluginHeader.tsx +++ b/src/domains/plugin/components/PluginHeader/PluginHeader.tsx @@ -25,7 +25,7 @@ export const PluginHeader = ({ author, category, url, rating, version, size, isI ); diff --git a/src/domains/plugin/components/PluginHeader/__snapshots__/PluginHeader.test.tsx.snap b/src/domains/plugin/components/PluginHeader/__snapshots__/PluginHeader.test.tsx.snap index 15e3570a38..2e442e59fe 100644 --- a/src/domains/plugin/components/PluginHeader/__snapshots__/PluginHeader.test.tsx.snap +++ b/src/domains/plugin/components/PluginHeader/__snapshots__/PluginHeader.test.tsx.snap @@ -67,12 +67,12 @@ exports[`PluginHeader should render as installed 1`] = ` type="button" >
- alert-danger.svg + report.svg
@@ -95,28 +95,45 @@ exports[`PluginHeader should render as installed 1`] = `
Author - - ARK Ecosystem - + + ARK Ecosystem + +
+
+ + official-ark-plugin.svg + +
+
+
github.com
Rating - - 4.6 - +
+
+ + star.svg + +
+
+ + 4.6 + +
- alert-danger.svg + report.svg
Author - - ARK Ecosystem - + + ARK Ecosystem + +
+
+ + official-ark-plugin.svg + +
+
+
github.com
Rating - - 4.6 - +
+
+ + star.svg + +
+
+ + 4.6 + +
( @@ -44,21 +46,40 @@ const GridCol = ({ children, colSpan, justify, padding }: GridColProps) => { }; export const PluginSpecs = ({ author, category, url, rating, version, size }: Props) => ( -
+
- +
+ Author +
+ {author} +
+ +
+
+
- + - - + +
+ URL + {url} +
- - + +
+ Rating +
+
+ +
+ {rating} +
+
- +
diff --git a/src/domains/plugin/components/PluginHeader/components/PluginSpecs/__snapshots__/PluginSpecs.test.tsx.snap b/src/domains/plugin/components/PluginHeader/components/PluginSpecs/__snapshots__/PluginSpecs.test.tsx.snap index 633d3a214b..b7306d399c 100644 --- a/src/domains/plugin/components/PluginHeader/components/PluginSpecs/__snapshots__/PluginSpecs.test.tsx.snap +++ b/src/domains/plugin/components/PluginHeader/components/PluginSpecs/__snapshots__/PluginSpecs.test.tsx.snap @@ -3,28 +3,45 @@ exports[`PluginSpecs should render properly 1`] = `
Author - - ARK Ecosystem - + + ARK Ecosystem + +
+
+ + official-ark-plugin.svg + +
+
+
github.com
Rating - - 4.6 - +
+
+ + star.svg + +
+
+ + 4.6 + +
-
+

Reviews ARK Explorer

+
diff --git a/src/domains/plugin/pages/PluginDetails/__snapshots__/PluginDetails.test.tsx.snap b/src/domains/plugin/pages/PluginDetails/__snapshots__/PluginDetails.test.tsx.snap index ac22b65859..e2e470c12a 100644 --- a/src/domains/plugin/pages/PluginDetails/__snapshots__/PluginDetails.test.tsx.snap +++ b/src/domains/plugin/pages/PluginDetails/__snapshots__/PluginDetails.test.tsx.snap @@ -55,40 +55,57 @@ exports[`PluginDetails should render properly 1`] = ` type="button" >
- alert-danger.svg + report.svg
Author - - ARK Ecosystem - + + ARK Ecosystem + +
+
+ + official-ark-plugin.svg + +
+
+
github.com
Rating - - 4.6 - +
+
+ + star.svg + +
+
+ + 4.6 + +
+

+ Reviews ARK Explorer +

-

- Reviews ARK Explorer -

@@ -1091,12 +1125,12 @@ exports[`PluginDetails should render properly as installed 1`] = ` type="button" >
- alert-danger.svg + report.svg
@@ -1119,28 +1153,45 @@ exports[`PluginDetails should render properly as installed 1`] = `
Author - - ARK Ecosystem - + + ARK Ecosystem + +
+
+ + official-ark-plugin.svg + +
+
+
github.com
Rating - - 4.6 - +
+
+ + star.svg + +
+
+ + 4.6 + +
+

+ Reviews ARK Explorer +

-

- Reviews ARK Explorer -