Open platform to collect and prioritize feedback
General changes (#67)
Guilherme Oenningec9df23941de
diff --git a/app/middlewares/domain.go b/app/middlewares/domain.goindex 69c1a04b1..f6b6b7579 100644--- a/app/middlewares/domain.go+++ b/app/middlewares/domain.go@@ -57,7 +57,7 @@ func MultiTenant() web.MiddlewareFunc {return next(c)}- c.Logger().Infof("Tenant not found for '%s'.", hostname)+ c.Logger().Debugf("Tenant not found for '%s'.", hostname)return c.NoContent(http.StatusNotFound)}}diff --git a/docs/homepage.png b/docs/homepage.pngindex d7836d2e4..cc23f414e 100644Binary files a/docs/homepage.png and b/docs/homepage.png differdiff --git a/public/components/common/MultiLineText.tsx b/public/components/common/MultiLineText.tsxindex 25c608576..82c2d034c 100644--- a/public/components/common/MultiLineText.tsx+++ b/public/components/common/MultiLineText.tsx@@ -5,6 +5,7 @@ const cm = md('commonmark', { html: false, linkify: true }).enable('linkify');const linkify = md('zero', { linkify: true }).enable('linkify');interface MultiLineText {+ className?: string;text?: string;markdown?: boolean;}@@ -15,10 +16,10 @@ export const MultiLineText = (props: MultiLineText) => {}if (props.markdown) {- return <div dangerouslySetInnerHTML={{__html: cm.render(props.text)}}></div>;+ return <div className={props.className} dangerouslySetInnerHTML={{__html: cm.render(props.text)}}></div>;}- return <div>{props.text.split('\n').map((item, i) =>+ return <div className={props.className}>{props.text.split('\n').map((item, i) =><span dangerouslySetInnerHTML={{__html: linkify.renderInline(item) + '<br />'}}></span>)}</div>;};diff --git a/public/pages/ShowIdeaPage.tsx b/public/pages/ShowIdeaPage.tsxindex 091fd8aab..45e9371e2 100644--- a/public/pages/ShowIdeaPage.tsx+++ b/public/pages/ShowIdeaPage.tsx@@ -73,7 +73,7 @@ export class ShowIdeaPage extends React.Component<{}, {}> {</div></div>- <MultiLineText text={ this.idea.description } markdown={true} />+ <MultiLineText className="description" text={ this.idea.description } markdown={true} /><ShowIdeaResponse status={ this.idea.status } response={ this.idea.response } />{