@drodil/backstage-plugin-qeta-react 3.5.1 → 3.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,11 +23,16 @@ const useStyles = makeStyles(
23
23
  { name: "QetaAIAnswerCard" }
24
24
  );
25
25
  const AIAnswerCard = (props) => {
26
- const { question, draft, debounceMs = 3e3 } = props;
26
+ const { question, draft, article, style, debounceMs = 3e3 } = props;
27
27
  const [answer, setAnswer] = React.useState(void 0);
28
28
  const styles = useStyles();
29
29
  const { t } = useTranslation();
30
- const { isAIEnabled, answerExistingQuestion, answerDraftQuestion } = useAI();
30
+ const {
31
+ isAIEnabled,
32
+ answerExistingQuestion,
33
+ answerDraftQuestion,
34
+ summarizeArticle
35
+ } = useAI();
31
36
  useDebounce(
32
37
  () => {
33
38
  if (!isAIEnabled) {
@@ -37,6 +42,10 @@ const AIAnswerCard = (props) => {
37
42
  answerExistingQuestion(question.id).then((res) => {
38
43
  setAnswer(res?.answer);
39
44
  });
45
+ } else if (article) {
46
+ summarizeArticle(article.id).then((res) => {
47
+ setAnswer(res?.answer);
48
+ });
40
49
  } else if (draft && draft.title && draft.content && draft.title.length + draft.content.length > 30) {
41
50
  answerDraftQuestion(draft).then((res) => {
42
51
  setAnswer(res?.answer);
@@ -51,11 +60,11 @@ const AIAnswerCard = (props) => {
51
60
  if (!isAIEnabled || !answer) {
52
61
  return null;
53
62
  }
54
- return /* @__PURE__ */ React.createElement(Card, { className: styles.card }, /* @__PURE__ */ React.createElement(
63
+ return /* @__PURE__ */ React.createElement(Card, { className: styles.card, style }, /* @__PURE__ */ React.createElement(
55
64
  CardHeader,
56
65
  {
57
66
  avatar: /* @__PURE__ */ React.createElement(FlareIcon, null),
58
- title: /* @__PURE__ */ React.createElement(Typography, { variant: "h5" }, t("aiAnswerCard.title"))
67
+ title: /* @__PURE__ */ React.createElement(Typography, { variant: "h5" }, article ? t("aiAnswerCard.summary") : t("aiAnswerCard.answer"))
59
68
  }
60
69
  ), /* @__PURE__ */ React.createElement(CardContent, null, /* @__PURE__ */ React.createElement(MarkdownRenderer, { content: answer, className: styles.markdown })));
61
70
  };
@@ -1 +1 @@
1
- {"version":3,"file":"AIAnswerCard.esm.js","sources":["../../../src/components/AIAnswerCard/AIAnswerCard.tsx"],"sourcesContent":["import { Post } from '@drodil/backstage-plugin-qeta-common';\nimport React from 'react';\nimport {\n Card,\n CardContent,\n CardHeader,\n createStyles,\n makeStyles,\n Theme,\n Typography,\n} from '@material-ui/core';\nimport { MarkdownRenderer } from '../MarkdownRenderer';\nimport { useAI, useTranslation } from '../../hooks';\nimport FlareIcon from '@material-ui/icons/Flare';\nimport useDebounce from 'react-use/lib/useDebounce';\n\nexport type QetaAIAnswerCardClassKey = 'card';\n\nconst useStyles = makeStyles(\n (theme: Theme) =>\n createStyles({\n card: {\n marginTop: theme.spacing(3),\n backgroundColor: theme.palette.background.default,\n border: `3px solid ${theme.palette.status.ok}`,\n },\n markdown: {},\n }),\n { name: 'QetaAIAnswerCard' },\n);\n\nexport type AIAnswerCardProps = {\n question?: Post;\n draft?: {\n title: string;\n content: string;\n };\n debounceMs?: number;\n};\n\nexport const AIAnswerCard = (props: AIAnswerCardProps) => {\n const { question, draft, debounceMs = 3000 } = props;\n const [answer, setAnswer] = React.useState<string | undefined>(undefined);\n const styles = useStyles();\n const { t } = useTranslation();\n\n const { isAIEnabled, answerExistingQuestion, answerDraftQuestion } = useAI();\n\n useDebounce(\n () => {\n if (!isAIEnabled) {\n return;\n }\n\n if (question) {\n answerExistingQuestion(question.id).then(res => {\n setAnswer(res?.answer);\n });\n } else if (\n draft &&\n draft.title &&\n draft.content &&\n draft.title.length + draft.content.length > 30\n ) {\n answerDraftQuestion(draft).then(res => {\n setAnswer(res?.answer);\n });\n } else {\n setAnswer(undefined);\n }\n },\n debounceMs,\n [answerExistingQuestion, answerDraftQuestion, isAIEnabled, question, draft],\n );\n\n if (!isAIEnabled || !answer) {\n return null;\n }\n\n return (\n <Card className={styles.card}>\n <CardHeader\n avatar={<FlareIcon />}\n title={<Typography variant=\"h5\">{t('aiAnswerCard.title')}</Typography>}\n />\n <CardContent>\n <MarkdownRenderer content={answer} className={styles.markdown} />\n </CardContent>\n </Card>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;AAkBA,MAAM,SAAY,GAAA,UAAA;AAAA,EAChB,CAAC,UACC,YAAa,CAAA;AAAA,IACX,IAAM,EAAA;AAAA,MACJ,SAAA,EAAW,KAAM,CAAA,OAAA,CAAQ,CAAC,CAAA;AAAA,MAC1B,eAAA,EAAiB,KAAM,CAAA,OAAA,CAAQ,UAAW,CAAA,OAAA;AAAA,MAC1C,MAAQ,EAAA,CAAA,UAAA,EAAa,KAAM,CAAA,OAAA,CAAQ,OAAO,EAAE,CAAA,CAAA;AAAA,KAC9C;AAAA,IACA,UAAU,EAAC;AAAA,GACZ,CAAA;AAAA,EACH,EAAE,MAAM,kBAAmB,EAAA;AAC7B,CAAA,CAAA;AAWa,MAAA,YAAA,GAAe,CAAC,KAA6B,KAAA;AACxD,EAAA,MAAM,EAAE,QAAA,EAAU,KAAO,EAAA,UAAA,GAAa,KAAS,GAAA,KAAA,CAAA;AAC/C,EAAA,MAAM,CAAC,MAAQ,EAAA,SAAS,CAAI,GAAA,KAAA,CAAM,SAA6B,KAAS,CAAA,CAAA,CAAA;AACxE,EAAA,MAAM,SAAS,SAAU,EAAA,CAAA;AACzB,EAAM,MAAA,EAAE,CAAE,EAAA,GAAI,cAAe,EAAA,CAAA;AAE7B,EAAA,MAAM,EAAE,WAAA,EAAa,sBAAwB,EAAA,mBAAA,KAAwB,KAAM,EAAA,CAAA;AAE3E,EAAA,WAAA;AAAA,IACE,MAAM;AACJ,MAAA,IAAI,CAAC,WAAa,EAAA;AAChB,QAAA,OAAA;AAAA,OACF;AAEA,MAAA,IAAI,QAAU,EAAA;AACZ,QAAA,sBAAA,CAAuB,QAAS,CAAA,EAAE,CAAE,CAAA,IAAA,CAAK,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;;;;"}
1
+ {"version":3,"file":"AIAnswerCard.esm.js","sources":["../../../src/components/AIAnswerCard/AIAnswerCard.tsx"],"sourcesContent":["import { Article, Post } from '@drodil/backstage-plugin-qeta-common';\nimport React from 'react';\nimport {\n Card,\n CardContent,\n CardHeader,\n createStyles,\n makeStyles,\n Theme,\n Typography,\n} from '@material-ui/core';\nimport { MarkdownRenderer } from '../MarkdownRenderer';\nimport { useAI, useTranslation } from '../../hooks';\nimport FlareIcon from '@material-ui/icons/Flare';\nimport useDebounce from 'react-use/lib/useDebounce';\n\nexport type QetaAIAnswerCardClassKey = 'card';\n\nconst useStyles = makeStyles(\n (theme: Theme) =>\n createStyles({\n card: {\n marginTop: theme.spacing(3),\n backgroundColor: theme.palette.background.default,\n border: `3px solid ${theme.palette.status.ok}`,\n },\n markdown: {},\n }),\n { name: 'QetaAIAnswerCard' },\n);\n\nexport type AIAnswerCardProps = {\n question?: Post;\n draft?: {\n title: string;\n content: string;\n };\n article?: Article;\n debounceMs?: number;\n style?: React.CSSProperties;\n};\n\nexport const AIAnswerCard = (props: AIAnswerCardProps) => {\n const { question, draft, article, style, debounceMs = 3000 } = props;\n const [answer, setAnswer] = React.useState<string | undefined>(undefined);\n const styles = useStyles();\n const { t } = useTranslation();\n\n const {\n isAIEnabled,\n answerExistingQuestion,\n answerDraftQuestion,\n summarizeArticle,\n } = useAI();\n\n useDebounce(\n () => {\n if (!isAIEnabled) {\n return;\n }\n\n if (question) {\n answerExistingQuestion(question.id).then(res => {\n setAnswer(res?.answer);\n });\n } else if (article) {\n summarizeArticle(article.id).then(res => {\n setAnswer(res?.answer);\n });\n } else if (\n draft &&\n draft.title &&\n draft.content &&\n draft.title.length + draft.content.length > 30\n ) {\n answerDraftQuestion(draft).then(res => {\n setAnswer(res?.answer);\n });\n } else {\n setAnswer(undefined);\n }\n },\n debounceMs,\n [answerExistingQuestion, answerDraftQuestion, isAIEnabled, question, draft],\n );\n\n if (!isAIEnabled || !answer) {\n return null;\n }\n\n return (\n <Card className={styles.card} style={style}>\n <CardHeader\n avatar={<FlareIcon />}\n title={\n <Typography variant=\"h5\">\n {article ? t('aiAnswerCard.summary') : t('aiAnswerCard.answer')}\n </Typography>\n }\n />\n <CardContent>\n <MarkdownRenderer content={answer} className={styles.markdown} />\n </CardContent>\n </Card>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;AAkBA,MAAM,SAAY,GAAA,UAAA;AAAA,EAChB,CAAC,UACC,YAAa,CAAA;AAAA,IACX,IAAM,EAAA;AAAA,MACJ,SAAA,EAAW,KAAM,CAAA,OAAA,CAAQ,CAAC,CAAA;AAAA,MAC1B,eAAA,EAAiB,KAAM,CAAA,OAAA,CAAQ,UAAW,CAAA,OAAA;AAAA,MAC1C,MAAQ,EAAA,CAAA,UAAA,EAAa,KAAM,CAAA,OAAA,CAAQ,OAAO,EAAE,CAAA,CAAA;AAAA,KAC9C;AAAA,IACA,UAAU,EAAC;AAAA,GACZ,CAAA;AAAA,EACH,EAAE,MAAM,kBAAmB,EAAA;AAC7B,CAAA,CAAA;AAaa,MAAA,YAAA,GAAe,CAAC,KAA6B,KAAA;AACxD,EAAA,MAAM,EAAE,QAAU,EAAA,KAAA,EAAO,SAAS,KAAO,EAAA,UAAA,GAAa,KAAS,GAAA,KAAA,CAAA;AAC/D,EAAA,MAAM,CAAC,MAAQ,EAAA,SAAS,CAAI,GAAA,KAAA,CAAM,SAA6B,KAAS,CAAA,CAAA,CAAA;AACxE,EAAA,MAAM,SAAS,SAAU,EAAA,CAAA;AACzB,EAAM,MAAA,EAAE,CAAE,EAAA,GAAI,cAAe,EAAA,CAAA;AAE7B,EAAM,MAAA;AAAA,IACJ,WAAA;AAAA,IACA,sBAAA;AAAA,IACA,mBAAA;AAAA,IACA,gBAAA;AAAA,MACE,KAAM,EAAA,CAAA;AAEV,EAAA,WAAA;AAAA,IACE,MAAM;AACJ,MAAA,IAAI,CAAC,WAAa,EAAA;AAChB,QAAA,OAAA;AAAA,OACF;AAEA,MAA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A,EAAA,EAAW,OAAQ,EAAA,IAAA,EAAA,EACjB,OAAU,GAAA,CAAA,CAAE,sBAAsB,CAAA,GAAI,CAAE,CAAA,qBAAqB,CAChE,CAAA;AAAA,KAAA;AAAA,GAEJ,kBACC,KAAA,CAAA,aAAA,CAAA,WAAA,EAAA,IAAA,kBACE,KAAA,CAAA,aAAA,CAAA,gBAAA,EAAA,EAAiB,OAAS,EAAA,MAAA,EAAQ,SAAW,EAAA,MAAA,CAAO,QAAU,EAAA,CACjE,CACF,CAAA,CAAA;AAEJ;;;;"}
@@ -5,6 +5,7 @@ import React, { useEffect, useCallback } from 'react';
5
5
  let aiEnabled = void 0;
6
6
  let aiForQuestionEnabled = void 0;
7
7
  let aiForDraftEnabled = void 0;
8
+ let aiForSummarizeEnabled = void 0;
8
9
  const useAI = () => {
9
10
  const qetaApi = useApi(qetaApiRef);
10
11
  const [isAIEnabled, setIsAIEnabled] = React.useState(
@@ -45,7 +46,25 @@ const useAI = () => {
45
46
  },
46
47
  [qetaApi]
47
48
  );
48
- return { isAIEnabled, answerExistingQuestion, answerDraftQuestion };
49
+ const summarizeArticle = useCallback(
50
+ async (articleId) => {
51
+ if (aiForSummarizeEnabled === false) {
52
+ return null;
53
+ }
54
+ const ret = await qetaApi.getAISummaryForArticle(articleId);
55
+ if (ret === null) {
56
+ aiForSummarizeEnabled = false;
57
+ }
58
+ return ret;
59
+ },
60
+ [qetaApi]
61
+ );
62
+ return {
63
+ isAIEnabled,
64
+ answerExistingQuestion,
65
+ answerDraftQuestion,
66
+ summarizeArticle
67
+ };
49
68
  };
50
69
 
51
70
  export { useAI };
@@ -1 +1 @@
1
- {"version":3,"file":"useAI.esm.js","sources":["../../src/hooks/useAI.ts"],"sourcesContent":["import { useApi } from '@backstage/core-plugin-api';\nimport { qetaApiRef } from '../api';\nimport React, { useCallback, useEffect } from 'react';\n\nlet aiEnabled: boolean | undefined = undefined;\nlet aiForQuestionEnabled: boolean | undefined = undefined;\nlet aiForDraftEnabled: boolean | undefined = undefined;\n\nexport const useAI = () => {\n const qetaApi = useApi(qetaApiRef);\n const [isAIEnabled, setIsAIEnabled] = React.useState<boolean | undefined>(\n aiEnabled,\n );\n\n useEffect(() => {\n if (aiEnabled !== undefined) {\n return;\n }\n qetaApi.isAIEnabled().then(resp => {\n setIsAIEnabled(resp);\n aiEnabled = resp;\n });\n }, [qetaApi]);\n\n const answerExistingQuestion = useCallback(\n async (questionId: number) => {\n if (aiForQuestionEnabled === false) {\n return null;\n }\n const ret = await qetaApi.getAIAnswerForQuestion(questionId);\n if (ret === null) {\n aiForQuestionEnabled = false;\n }\n return ret;\n },\n [qetaApi],\n );\n\n const answerDraftQuestion = useCallback(\n async (draft: { title: string; content: string }) => {\n if (aiForDraftEnabled === false) {\n return null;\n }\n const ret = await qetaApi.getAIAnswerForDraft(draft.title, draft.content);\n if (ret === null) {\n aiForDraftEnabled = false;\n }\n return ret;\n },\n [qetaApi],\n );\n\n return { isAIEnabled, answerExistingQuestion, answerDraftQuestion };\n};\n"],"names":[],"mappings":";;;;AAIA,IAAI,SAAiC,GAAA,KAAA,CAAA,CAAA;AACrC,IAAI,oBAA4C,GAAA,KAAA,CAAA,CAAA;AAChD,IAAI,iBAAyC,GAAA,KAAA,CAAA,CAAA;AAEtC,MAAM,QAAQ,MAAM;AACzB,EAAM,MAAA,OAAA,GAAU,OAAO,UAAU,CAAA,CAAA;AACjC,EAAA,MAAM,CAAC,WAAA,EAAa,cAAc,CAAA,GAAI,KAAM,CAAA,QAAA;AAAA,IAC1C,SAAA;AAAA,GACF,CAAA;AAEA,EAAA,SAAA,CAAU,MAAM;AACd,IAAA,IAAI,cAAc,KAAW,CAAA,EAAA;AAC3B,MAAA,OAAA;AAAA,KACF;AACA,IAAQ,OAAA,CAAA,WAAA,EAAc,CAAA,IAAA,CAAK,CAAQ,IAAA,KAAA;AACjC,MAAA,cAAA,CAAe,IAAI,CAAA,CAAA;AACnB,MAAY,SAAA,GAAA,IAAA,CAAA;AAAA,KACb,CAAA,CAAA;AAAA,GACH,EAAG,CAAC,OAAO,CAAC,CAAA,CAAA;AAEZ,EAAA,MAAM,sBAAyB,GAAA,WAAA;AAAA,IAC7B,OAAO,UAAuB,KAAA;AAC5B,MAAA,IAAI,yBAAyB,KAAO,EAAA;AAClC,QAAO,OAAA,IAAA,CAAA;AAAA,OACT;AACA,MAAA,MAAM,GAAM,GAAA,MAAM,OAAQ,CAAA,sBAAA,CAAuB,UAAU,CAAA,CAAA;AAC3D,MAAA,IAAI,QAAQ,IAAM,EAAA;AAChB,QAAuB,oBAAA,GAAA,KAAA,CAAA;AAAA,OACzB;AACA,MAAO,OAAA,GAAA,CAAA;AAAA,KACT;AAAA,IACA,CAAC,OAAO,CAAA;AAAA,GACV,CAAA;AAEA,EAAA,MAAM,mBAAsB,GAAA,WAAA;AAAA,IAC1B,OAAO,KAA8C,KAAA;AACnD,MAAA,IAAI,sBAAsB,KAAO,EAAA;AAC/B,QAAO,OAAA,IAAA,CAAA;AAAA,OACT;AACA,MAAA,MAAM,MAAM,MAAM,OAAA,CAAQ,oBAAoB,KAAM,CAAA,KAAA,EAAO,MAAM,OAAO,CAAA,CAAA;AACxE,MAAA,IAAI,QAAQ,IAAM,EAAA;AAChB,QAAoB,iBAAA,GAAA,KAAA,CAAA;AAAA,OACtB;AACA,MAAO,OAAA,GAAA,CAAA;AAAA,KACT;AAAA,IACA,CAAC,OAAO,CAAA;AAAA,GACV,CAAA;AAEA,EAAO,OAAA,EAAE,WAAa,EAAA,sBAAA,EAAwB,mBAAoB,EAAA,CAAA;AACpE;;;;"}
1
+ {"version":3,"file":"useAI.esm.js","sources":["../../src/hooks/useAI.ts"],"sourcesContent":["import { useApi } from '@backstage/core-plugin-api';\nimport { qetaApiRef } from '../api';\nimport React, { useCallback, useEffect } from 'react';\n\nlet aiEnabled: boolean | undefined = undefined;\nlet aiForQuestionEnabled: boolean | undefined = undefined;\nlet aiForDraftEnabled: boolean | undefined = undefined;\nlet aiForSummarizeEnabled: boolean | undefined = undefined;\n\nexport const useAI = () => {\n const qetaApi = useApi(qetaApiRef);\n const [isAIEnabled, setIsAIEnabled] = React.useState<boolean | undefined>(\n aiEnabled,\n );\n\n useEffect(() => {\n if (aiEnabled !== undefined) {\n return;\n }\n qetaApi.isAIEnabled().then(resp => {\n setIsAIEnabled(resp);\n aiEnabled = resp;\n });\n }, [qetaApi]);\n\n const answerExistingQuestion = useCallback(\n async (questionId: number) => {\n if (aiForQuestionEnabled === false) {\n return null;\n }\n const ret = await qetaApi.getAIAnswerForQuestion(questionId);\n if (ret === null) {\n aiForQuestionEnabled = false;\n }\n return ret;\n },\n [qetaApi],\n );\n\n const answerDraftQuestion = useCallback(\n async (draft: { title: string; content: string }) => {\n if (aiForDraftEnabled === false) {\n return null;\n }\n const ret = await qetaApi.getAIAnswerForDraft(draft.title, draft.content);\n if (ret === null) {\n aiForDraftEnabled = false;\n }\n return ret;\n },\n [qetaApi],\n );\n\n const summarizeArticle = useCallback(\n async (articleId: number) => {\n if (aiForSummarizeEnabled === false) {\n return null;\n }\n const ret = await qetaApi.getAISummaryForArticle(articleId);\n if (ret === null) {\n aiForSummarizeEnabled = false;\n }\n return ret;\n },\n [qetaApi],\n );\n\n return {\n isAIEnabled,\n answerExistingQuestion,\n answerDraftQuestion,\n summarizeArticle,\n };\n};\n"],"names":[],"mappings":";;;;AAIA,IAAI,SAAiC,GAAA,KAAA,CAAA,CAAA;AACrC,IAAI,oBAA4C,GAAA,KAAA,CAAA,CAAA;AAChD,IAAI,iBAAyC,GAAA,KAAA,CAAA,CAAA;AAC7C,IAAI,qBAA6C,GAAA,KAAA,CAAA,CAAA;AAE1C,MAAM,QAAQ,MAAM;AACzB,EAAM,MAAA,OAAA,GAAU,OAAO,UAAU,CAAA,CAAA;AACjC,EAAA,MAAM,CAAC,WAAA,EAAa,cAAc,CAAA,GAAI,KAAM,CAAA,QAAA;AAAA,IAC1C,SAAA;AAAA,GACF,CAAA;AAEA,EAAA,SAAA,CAAU,MAAM;AACd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nC,QAAO,OAAA,IAAA,CAAA;AAAA,OACT;AACA,MAAA,MAAM,GAAM,GAAA,MAAM,OAAQ,CAAA,sBAAA,CAAuB,SAAS,CAAA,CAAA;AAC1D,MAAA,IAAI,QAAQ,IAAM,EAAA;AAChB,QAAwB,qBAAA,GAAA,KAAA,CAAA;AAAA,OAC1B;AACA,MAAO,OAAA,GAAA,CAAA;AAAA,KACT;AAAA,IACA,CAAC,OAAO,CAAA;AAAA,GACV,CAAA;AAEA,EAAO,OAAA;AAAA,IACL,WAAA;AAAA,IACA,sBAAA;AAAA,IACA,mBAAA;AAAA,IACA,gBAAA;AAAA,GACF,CAAA;AACF;;;;"}
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
2
2
  import { IdentityApi } from '@backstage/core-plugin-api';
3
3
  import * as _drodil_backstage_plugin_qeta_common from '@drodil/backstage-plugin-qeta-common';
4
- import { QetaApi, PostType, PostResponse, Template, PostsResponse, AnswersResponse, AnswerResponse, Collection, PostsQuery, CollectionResponse, Post, Answer, Comment, Stat, StatisticsResponse, UserStat, GlobalStat, TemplatesResponse } from '@drodil/backstage-plugin-qeta-common';
4
+ import { QetaApi, PostType, PostResponse, Template, PostsResponse, AnswersResponse, AnswerResponse, Collection, PostsQuery, CollectionResponse, Post, Answer, Comment, Stat, StatisticsResponse, UserStat, GlobalStat, TemplatesResponse, Article } from '@drodil/backstage-plugin-qeta-common';
5
5
  import React from 'react';
6
6
  import { Entity } from '@backstage/catalog-model';
7
7
  import { LinkProps } from '@backstage/core-components';
@@ -337,7 +337,9 @@ type AIAnswerCardProps = {
337
337
  title: string;
338
338
  content: string;
339
339
  };
340
+ article?: Article;
340
341
  debounceMs?: number;
342
+ style?: React.CSSProperties;
341
343
  };
342
344
  declare const AIAnswerCard: (props: AIAnswerCardProps) => React.JSX.Element | null;
343
345
 
@@ -530,6 +532,7 @@ declare const useTranslation: () => {
530
532
  readonly "userLink.anonymous": "Anonymous";
531
533
  readonly "articlePage.errorLoading": "Could not load article";
532
534
  readonly "articlePage.deleteButton": "Delete this article";
535
+ readonly "articlePage.notFound": "Could not find the article";
533
536
  readonly "articlePage.editButton": "Edit this article";
534
537
  readonly "templateList.errorLoading": "Could not load templates";
535
538
  readonly "templateList.errorPosting": "Could not post template";
@@ -558,6 +561,7 @@ declare const useTranslation: () => {
558
561
  readonly "collectionPage.description": "Description";
559
562
  readonly "collectionPage.info": "You can add questions and articles to the collection from question and article pages";
560
563
  readonly "questionPage.errorLoading": "Could not load question";
564
+ readonly "questionPage.notFound": "Could not find the question";
561
565
  readonly "questionPage.editButton": "Edit";
562
566
  readonly "questionPage.sortAnswers.default": "Default";
563
567
  readonly "questionPage.sortAnswers.label": "Sort answers";
@@ -641,7 +645,8 @@ declare const useTranslation: () => {
641
645
  readonly "entitiesPage.entities_zero": "No entities";
642
646
  readonly "entitiesPage.entities_one": "Showing {{count}} entity";
643
647
  readonly "entitiesPage.entities_other": "Showing {{count}} entities";
644
- readonly "aiAnswerCard.title": "Answer from AI";
648
+ readonly "aiAnswerCard.answer": "Answer from AI";
649
+ readonly "aiAnswerCard.summary": "Summary by AI";
645
650
  readonly "usersPage.title": "Users";
646
651
  readonly "usersPage.search.label": "Search user";
647
652
  readonly "usersPage.search.placeholder": "Search...";
@@ -721,6 +726,7 @@ declare const useAI: () => {
721
726
  title: string;
722
727
  content: string;
723
728
  }) => Promise<_drodil_backstage_plugin_qeta_common.AIResponse | null>;
729
+ summarizeArticle: (articleId: number) => Promise<_drodil_backstage_plugin_qeta_common.AIResponse | null>;
724
730
  };
725
731
 
726
732
  type QetaVoteButtonsClassKey = 'qetaCorrectAnswerSelected' | 'qetaCorrectAnswer' | 'voteButtonContainer';
@@ -245,6 +245,7 @@ const qetaTranslationRef = createTranslationRef({
245
245
  anonymous: "Anonymous"
246
246
  },
247
247
  articlePage: {
248
+ notFound: "Could not find the article",
248
249
  errorLoading: "Could not load article",
249
250
  editButton: "Edit this article",
250
251
  deleteButton: "Delete this article"
@@ -300,6 +301,7 @@ const qetaTranslationRef = createTranslationRef({
300
301
  questionPage: {
301
302
  errorLoading: "Could not load question",
302
303
  editButton: "Edit",
304
+ notFound: "Could not find the question",
303
305
  sortAnswers: {
304
306
  label: "Sort answers",
305
307
  default: "Default",
@@ -470,7 +472,8 @@ const qetaTranslationRef = createTranslationRef({
470
472
  entities_other: "Showing {{count}} entities"
471
473
  },
472
474
  aiAnswerCard: {
473
- title: "Answer from AI"
475
+ answer: "Answer from AI",
476
+ summary: "Summary by AI"
474
477
  },
475
478
  usersPage: {
476
479
  title: "Users",
@@ -1 +1 @@
1
- {"version":3,"file":"translation.esm.js","sources":["../src/translation.ts"],"sourcesContent":["import {\n createTranslationRef,\n createTranslationResource,\n} from '@backstage/core-plugin-api/alpha';\n\n/** @alpha */\nexport const qetaTranslationRef = createTranslationRef({\n id: 'qeta',\n messages: {\n pluginName: 'Q&A',\n answerList: {\n errorLoading: 'Could not load answers',\n noAnswers: 'No answers',\n limitSelect: 'Answers per page',\n },\n common: {\n post: 'post',\n question: 'question',\n article: 'article',\n score: '{{score}} score',\n comments: 'Comments',\n anonymousAuthor: 'Anonymous',\n answers_zero: 'No answers',\n answers_one: '{{count}} answer',\n answers_other: '{{count}} answers',\n views_zero: 'Viewed {{count}} times',\n views_one: 'Viewed {{count}} time',\n views_other: 'Viewed {{count}} times',\n viewsShort_zero: '0 views',\n viewsShort_one: '{{count}} view',\n viewsShort_other: '{{count}} views',\n votes_zero: '0 votes',\n votes_one: '{{count}} vote',\n votes_other: '{{count}} votes',\n posts_zero: 'No {{itemType}}s',\n posts_one: '{{count}} {{itemType}}',\n posts_other: '{{count}} {{itemType}}s',\n collections_zero: 'No collections',\n collections_one: '{{count}} collection',\n collections_other: '{{count}} collections',\n followers_zero: 'No followers',\n followers_one: '{{count}} follower',\n followers_other: '{{count}} followers',\n },\n answer: {\n questionTitle: 'Q: {{question}}',\n answeredTime: 'answered',\n },\n answerContainer: {\n title: {\n answersBy: 'Answers by',\n answersAbout: 'Answers about',\n answersTagged: `Answers tagged with {{tags}}`,\n },\n search: {\n label: 'Search for answers',\n placeholder: 'Search...',\n },\n },\n anonymousCheckbox: {\n tooltip:\n \"By enabling this, other users won't be able to see you as an author\",\n answerAnonymously: 'Answer anonymously',\n postAnonymously: 'Post anonymously',\n },\n fileInput: {\n label: 'Header image',\n helperText: 'URL of the header image to be used',\n uploadHeaderImage: 'Upload image',\n preview: 'Preview image',\n },\n collectionForm: {\n errorPosting: 'Could not create collection',\n titleInput: {\n label: 'Title',\n helperText: 'Name of the colleciton',\n },\n descriptionInput: {\n placeholder: 'Collection description, what does it contain?',\n },\n submit: {\n existingCollection: 'Save',\n newCollection: 'Create',\n },\n },\n postForm: {\n errorPosting: 'Could not post {{type}}',\n uploadHeaderImage: 'Upload header image',\n titleInput: {\n label: 'Title',\n helperText:\n 'Write good title for your {{type}} that people can understand',\n },\n contentInput: {\n placeholder: 'Your {{type}}',\n },\n submit: {\n existingPost: 'Save',\n newPost: 'Post',\n },\n },\n answerForm: {\n errorPosting: 'Could not post answer',\n contentInput: {\n placeholder: 'Your answer',\n },\n submit: {\n existingAnswer: 'Save',\n newAnswer: 'Post',\n },\n },\n entitiesInput: {\n label: 'Entities',\n placeholder: 'Type or select entities',\n helperText: 'Add up to {{max}} entities this question relates to',\n },\n tagsInput: {\n label: 'Tags',\n placeholder: 'Type or select tags',\n helperText: 'Add up to {{max}} tags to categorize your question',\n },\n askPage: {\n title: {\n existingQuestion: 'Edit question',\n entityQuestion: 'Ask a question about {{entity}}',\n newQuestion: 'Ask a question',\n },\n },\n writePage: {\n title: {\n existingArticle: 'Edit article',\n entityArticle: 'Write an article about {{entity}}',\n newArticle: 'New article',\n },\n },\n collectionCreatePage: {\n title: {\n existingCollection: 'Edit collection',\n newCollection: 'New collection',\n },\n },\n askQuestionButton: {\n title: 'Ask a question',\n },\n addToCollectionButton: {\n title: 'Collections',\n manage: 'Add or remove this post from collections',\n close: 'Close',\n },\n writeArticleButton: {\n title: 'Write an article',\n },\n createCollectionButton: {\n title: 'Create collection',\n },\n commentList: {\n deleteLink: 'delete',\n },\n commentSection: {\n input: {\n placeholder: 'Your comment',\n },\n addComment: 'Add comment',\n post: 'Post',\n },\n editTagModal: {\n title: 'Edit tag {{tag}}',\n description: 'Tag description',\n errorPosting: 'Failed to edit',\n saveButton: 'Save',\n cancelButton: 'Cancel',\n },\n deleteModal: {\n title: {\n question: 'Are you sure you want to delete this post?',\n answer: 'Are you sure you want to delete this answer?',\n collection: 'Are you sure you want to delete this collection?',\n },\n errorDeleting: 'Failed to delete',\n deleteButton: 'Delete',\n cancelButton: 'Cancel',\n },\n favoritePage: {\n title: 'Favorited posts',\n },\n leftMenu: {\n home: 'Home',\n questions: 'Questions',\n articles: 'Articles',\n profile: 'Profile',\n tags: 'Tags',\n entities: 'Entities',\n favoriteQuestions: 'Favorites',\n statistics: 'Statistics',\n collections: 'Collections',\n content: 'Content',\n community: 'Community',\n users: 'Users',\n manage: 'Manage',\n moderate: 'Moderate',\n },\n moderatorPage: {\n title: 'Moderate',\n tools: 'Tools',\n templates: 'Templates',\n templatesInfo:\n 'Templates can be used to prefill question content for the user',\n },\n homePage: {\n title: 'Home',\n },\n impactCard: {\n title: 'Your impact',\n views: 'views',\n contributions: 'Your contributions helped {{lastWeek}} people this week',\n },\n rightMenu: {\n followedEntities: 'Followed entities',\n followedTags: 'Followed tags',\n followedCollections: 'Followed collections',\n },\n highlights: {\n loadError: 'Failed to load questions',\n own: {\n title: 'Your latest questions',\n noQuestionsLabel: 'No questions',\n },\n hotQuestions: {\n title: 'Hot questions',\n noQuestionsLabel: 'No questions',\n },\n hotArticles: {\n title: 'Hot articles',\n noArticlesLabel: 'No articles',\n },\n unanswered: {\n title: 'Unanswered questions',\n noQuestionsLabel: 'No unanswered questions',\n },\n incorrect: {\n title: 'Questions without correct answer',\n noQuestionsLabel: 'No questions without correct answers',\n },\n },\n questionsPage: {\n title: 'All questions',\n },\n articlesPage: {\n title: 'All articles',\n },\n userLink: {\n anonymous: 'Anonymous',\n },\n articlePage: {\n errorLoading: 'Could not load article',\n editButton: 'Edit this article',\n deleteButton: 'Delete this article',\n },\n templateList: {\n errorLoading: 'Could not load templates',\n editButton: 'Edit',\n deleteButton: 'Delete',\n createButton: 'Create',\n errorPosting: 'Could not post template',\n noTemplates: 'No templates',\n noTemplatesDescription: 'Create a new template to get started',\n titleInput: {\n label: 'Title',\n helperText: 'Name of the template',\n },\n descriptionInput: {\n label: 'Description',\n helperText: 'Template description, what is it used for?',\n },\n questionTitleInput: {\n label: 'Default question title',\n helperText:\n 'Question title to be used when creating a question with this template',\n },\n questionContentInput: {\n placeholder:\n 'Question content to be used when creating a question with this template',\n },\n submit: {\n existingTemplate: 'Save',\n newTemplate: 'Create',\n },\n },\n templateSelectList: {\n selectButton: 'Choose',\n title: 'Create a question from template',\n genericQuestion: 'Generic question',\n genericQuestionDescription: 'Create a generic question',\n },\n pagination: {\n defaultTooltip: 'Number of items',\n },\n collectionsPage: {\n title: 'Collections',\n search: {\n label: 'Search for collection',\n placeholder: 'Search...',\n },\n },\n collectionPage: {\n description: 'Description',\n info: 'You can add questions and articles to the collection from question and article pages',\n },\n questionPage: {\n errorLoading: 'Could not load question',\n editButton: 'Edit',\n sortAnswers: {\n label: 'Sort answers',\n default: 'Default',\n createdDesc: 'Created (desc)',\n createdAsc: 'Created (asc)',\n scoreDesc: 'Score (desc)',\n scoreAsc: 'Score (asc)',\n commentsDesc: 'Comments (desc)',\n commentsAsc: 'Comments (asc)',\n authorDesc: 'Author (desc)',\n authorAsc: 'Author (asc)',\n updatedDesc: 'Updated (desc)',\n updatedAsc: 'Updated (asc)',\n },\n },\n authorBox: {\n postedAtTime: 'Posted',\n updatedAtTime: 'Updated',\n updatedBy: 'by',\n },\n favorite: {\n remove: 'Remove this post from favorites',\n add: 'Mark this post as favorite',\n },\n link: {\n post: 'Copy link to this post to clipboard',\n answer: 'Copy link to this answer to clipboard',\n aria: 'Copy link to clipboard',\n },\n voteButtons: {\n answer: {\n markCorrect: 'Mark this answer correct',\n markIncorrect: 'Mark this answer incorrect',\n marked: 'This answer has been marked as correct',\n good: 'This answer is good',\n bad: 'This answer is not good',\n own: 'You cannot vote your own answer',\n },\n question: {\n good: 'This post is good',\n bad: 'This post is not good',\n own: 'You cannot vote your own post',\n },\n },\n datePicker: {\n from: 'From date',\n to: 'To date',\n invalidRange:\n \"Date range invalid, 'To date' should be greater than 'From date'\",\n range: {\n label: 'Date range',\n default: 'Select',\n last7days: 'Last 7 days',\n last30days: 'Last 30 days',\n custom: 'Custom',\n },\n },\n filterPanel: {\n filterButton: 'Filter',\n noAnswers: {\n label: 'No answers',\n },\n noCorrectAnswers: {\n label: 'No correct answers',\n },\n noVotes: {\n label: 'No votes',\n },\n orderBy: {\n label: 'Order by',\n created: 'Created',\n views: 'Views',\n score: 'Score',\n answers: 'Answers',\n updated: 'Updated',\n },\n order: {\n label: 'Order',\n asc: 'Ascending',\n desc: 'Descending',\n },\n filters: {\n label: 'Filters',\n entity: {\n label: 'Entity',\n placeholder: 'Type or select entity',\n },\n tag: {\n label: 'Tag',\n placeholder: 'Type or select tag',\n },\n },\n },\n postsList: {\n errorLoading: 'Could not load {{itemType}}s',\n postsPerPage: '{{itemType}}s per page',\n },\n postsContainer: {\n title: {\n by: `{{itemType}}s by`,\n about: '{{itemType}}s about',\n tagged: `{{itemType}} tagged with {{tags}}`,\n favorite: 'Your favorite {{itemType}}s',\n },\n search: {\n label: 'Search for {{itemType}}',\n placeholder: 'Search...',\n },\n noItems: 'No {{itemType}}s',\n createButton: 'Go ahead and create one!',\n },\n questionsTable: {\n errorLoading: 'Could not load questions',\n latest: 'Latest',\n mostViewed: 'Most viewed',\n favorites: 'Favorites',\n cells: {\n title: 'Title',\n author: 'Author',\n asked: 'Asked',\n updated: 'Last updated',\n },\n },\n statistics: {\n errorLoading: 'Could not load statistics',\n notAvailable: 'Statistics are unavailable',\n ranking: 'Ranking Q&A 🏆',\n mostQuestions: {\n title: 'Most questions',\n description: 'People who have posted most questions',\n },\n mostAnswers: {\n title: 'Most answers',\n description: 'People who have posted most answers',\n },\n topVotedQuestions: {\n title: 'Top voted questions',\n description: 'People who have the highest rated questions',\n },\n topVotedAnswers: {\n title: 'Top voted answers',\n description: 'People who have the highest rated answers',\n },\n topVotedCorrectAnswers: {\n title: 'Top voted correct answers',\n description: 'People who have the highest rated correct answers',\n },\n },\n tagPage: {\n errorLoading: 'Could not load tags',\n defaultTitle: 'Tags',\n search: {\n label: 'Search tag',\n placeholder: 'Search...',\n },\n tags_zero: 'No tags',\n tags_one: 'Showing {{count}} tag',\n tags_other: 'Showing {{count}} tags',\n },\n entitiesPage: {\n errorLoading: 'Could not load entities',\n defaultTitle: 'Entities',\n search: {\n label: 'Search entity',\n placeholder: 'Search...',\n },\n entities_zero: 'No entities',\n entities_one: 'Showing {{count}} entity',\n entities_other: 'Showing {{count}} entities',\n },\n aiAnswerCard: {\n title: 'Answer from AI',\n },\n usersPage: {\n title: 'Users',\n errorLoading: 'Could not load users',\n defaultTitle: 'users',\n search: {\n label: 'Search user',\n placeholder: 'Search...',\n },\n users_zero: 'No users',\n users_one: 'Showing {{count}} users',\n users_other: 'Showing {{count}} users',\n },\n userPage: {\n profileTab: 'Profile',\n statistics: 'Statistics',\n questions: 'Questions',\n answers: 'Answers',\n collections: 'Collections',\n articles: 'Articles',\n },\n stats: {\n noStats: 'No statistics available. Check back later!',\n questions: 'Questions',\n answers: 'Answers',\n comments: 'Comments',\n votes: 'Votes',\n views: 'Views',\n articles: 'Articles',\n followers: 'Followers',\n users: 'Users',\n tags: 'Tags',\n },\n collectionButton: {\n follow: 'Follow',\n unfollow: 'Unfollow',\n tooltip:\n 'By following a collection, you will get notified when ever a new post is added to the collection',\n },\n tagButton: {\n follow: 'Follow',\n unfollow: 'Unfollow',\n edit: 'Edit',\n tooltip:\n 'By following a tag, you will get notified when ever a new post with that tag is posted',\n },\n entityButton: {\n follow: 'Follow',\n unfollow: 'Unfollow',\n tooltip:\n 'By following an entity, you will get notified when ever a new post for that entity is posted',\n },\n userButton: {\n follow: 'Follow',\n unfollow: 'Unfollow',\n tooltip:\n 'By following a user, you will get notified when ever a new post by that user is posted',\n },\n },\n});\n\nexport const qetaTranslations = createTranslationResource({\n ref: qetaTranslationRef,\n translations: {},\n});\n"],"names":[],"mappings":";;AAMO,MAAM,qBAAqB,oBAAqB,CAAA;AAAA,EACrD,EAAI,EAAA,MAAA;AAAA,EACJ,QAAU,EAAA;AAAA,IACR,UAAY,EAAA,KAAA;AAAA,IACZ,UAAY,EAAA;AAAA,MACV,YAAc,EAAA,wBAAA;AAAA,MACd,SAAW,EAAA,YAAA;AAAA,MACX,WAAa,EAAA,kBAAA;AAAA,KACf;AAAA,IACA,MAAQ,EAAA;AAAA,MACN,IAAM,EAAA,MAAA;AAAA,MACN,QAAU,EAAA,UAAA;AAAA,MACV,OAAS,EAAA,SAAA;AAAA,MACT,KAAO,EAAA,iBAAA;AAAA,MACP,QAAU,EAAA,UAAA;AAAA,MACV,eAAiB,EAAA,WAAA;AAAA,MACjB,YAAc,EAAA,YAAA;AAAA,MACd,WAAa,EAAA,kBAAA;AAAA,MACb,aAAe,EAAA,mBAAA;AAAA,MACf,UAAY,EAAA,wBAAA;AAAA,MACZ,SAAW,EAAA,uBAAA;AAAA,MACX,WAAa,EAAA,wBAAA;AAAA,MACb,eAAiB,EAAA,SAAA;AAAA,MACjB,cAAgB,EAAA,gBAAA;AAAA,MAChB,gBAAkB,EAAA,iBAAA;AAAA,MAClB,UAAY,EAAA,SAAA;AAAA,MACZ,SAAW,EAAA,gBAAA;AAAA,MACX,WAAa,EAAA,iBAAA;AAAA,MACb,UAAY,EAAA,kBAAA;AAAA,MACZ,SAAW,EAAA,wBAAA;AAAA,MACX,WAAa,EAAA,yBAAA;AAAA,MACb,gBAAkB,EAAA,gBAAA;AAAA,MAClB,eAAiB,EAAA,sBAAA;AAAA,MACjB,iBAAmB,EAAA,uBAAA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AAS,EAAA,SAAA;AAAA,MACT,WAAa,EAAA,aAAA;AAAA,MACb,QAAU,EAAA,UAAA;AAAA,KACZ;AAAA,IACA,KAAO,EAAA;AAAA,MACL,OAAS,EAAA,4CAAA;AAAA,MACT,SAAW,EAAA,WAAA;AAAA,MACX,OAAS,EAAA,SAAA;AAAA,MACT,QAAU,EAAA,UAAA;AAAA,MACV,KAAO,EAAA,OAAA;AAAA,MACP,KAAO,EAAA,OAAA;AAAA,MACP,QAAU,EAAA,UAAA;AAAA,MACV,SAAW,EAAA,WAAA;AAAA,MACX,KAAO,EAAA,OAAA;AAAA,MACP,IAAM,EAAA,MAAA;AAAA,KACR;AAAA,IACA,gBAAkB,EAAA;AAAA,MAChB,MAAQ,EAAA,QAAA;AAAA,MACR,QAAU,EAAA,UAAA;AAAA,MACV,OACE,EAAA,kGAAA;AAAA,KACJ;AAAA,IACA,SAAW,EAAA;AAAA,MACT,MAAQ,EAAA,QAAA;AAAA,MACR,QAAU,EAAA,UAAA;AAAA,MACV,IAAM,EAAA,MAAA;AAAA,MACN,OACE,EAAA,wFAAA;AAAA,KACJ;AAAA,IACA,YAAc,EAAA;AAAA,MACZ,MAAQ,EAAA,QAAA;AAAA,MACR,QAAU,EAAA,UAAA;AAAA,MACV,OACE,EAAA,8FAAA;AAAA,KACJ;AAAA,IACA,UAAY,EAAA;AAAA,MACV,MAAQ,EAAA,QAAA;AAAA,MACR,QAAU,EAAA,UAAA;AAAA,MACV,OACE,EAAA,wFAAA;AAAA,KACJ;AAAA,GACF;AACF,CAAC,EAAA;AAE+B,yBAA0B,CAAA;AAAA,EACxD,GAAK,EAAA,kBAAA;AAAA,EACL,cAAc,EAAC;AACjB,CAAC;;;;"}
1
+ {"version":3,"file":"translation.esm.js","sources":["../src/translation.ts"],"sourcesContent":["import {\n createTranslationRef,\n createTranslationResource,\n} from '@backstage/core-plugin-api/alpha';\n\n/** @alpha */\nexport const qetaTranslationRef = createTranslationRef({\n id: 'qeta',\n messages: {\n pluginName: 'Q&A',\n answerList: {\n errorLoading: 'Could not load answers',\n noAnswers: 'No answers',\n limitSelect: 'Answers per page',\n },\n common: {\n post: 'post',\n question: 'question',\n article: 'article',\n score: '{{score}} score',\n comments: 'Comments',\n anonymousAuthor: 'Anonymous',\n answers_zero: 'No answers',\n answers_one: '{{count}} answer',\n answers_other: '{{count}} answers',\n views_zero: 'Viewed {{count}} times',\n views_one: 'Viewed {{count}} time',\n views_other: 'Viewed {{count}} times',\n viewsShort_zero: '0 views',\n viewsShort_one: '{{count}} view',\n viewsShort_other: '{{count}} views',\n votes_zero: '0 votes',\n votes_one: '{{count}} vote',\n votes_other: '{{count}} votes',\n posts_zero: 'No {{itemType}}s',\n posts_one: '{{count}} {{itemType}}',\n posts_other: '{{count}} {{itemType}}s',\n collections_zero: 'No collections',\n collections_one: '{{count}} collection',\n collections_other: '{{count}} collections',\n followers_zero: 'No followers',\n followers_one: '{{count}} follower',\n followers_other: '{{count}} followers',\n },\n answer: {\n questionTitle: 'Q: {{question}}',\n answeredTime: 'answered',\n },\n answerContainer: {\n title: {\n answersBy: 'Answers by',\n answersAbout: 'Answers about',\n answersTagged: `Answers tagged with {{tags}}`,\n },\n search: {\n label: 'Search for answers',\n placeholder: 'Search...',\n },\n },\n anonymousCheckbox: {\n tooltip:\n \"By enabling this, other users won't be able to see you as an author\",\n answerAnonymously: 'Answer anonymously',\n postAnonymously: 'Post anonymously',\n },\n fileInput: {\n label: 'Header image',\n helperText: 'URL of the header image to be used',\n uploadHeaderImage: 'Upload image',\n preview: 'Preview image',\n },\n collectionForm: {\n errorPosting: 'Could not create collection',\n titleInput: {\n label: 'Title',\n helperText: 'Name of the colleciton',\n },\n descriptionInput: {\n placeholder: 'Collection description, what does it contain?',\n },\n submit: {\n existingCollection: 'Save',\n newCollection: 'Create',\n },\n },\n postForm: {\n errorPosting: 'Could not post {{type}}',\n uploadHeaderImage: 'Upload header image',\n titleInput: {\n label: 'Title',\n helperText:\n 'Write good title for your {{type}} that people can understand',\n },\n contentInput: {\n placeholder: 'Your {{type}}',\n },\n submit: {\n existingPost: 'Save',\n newPost: 'Post',\n },\n },\n answerForm: {\n errorPosting: 'Could not post answer',\n contentInput: {\n placeholder: 'Your answer',\n },\n submit: {\n existingAnswer: 'Save',\n newAnswer: 'Post',\n },\n },\n entitiesInput: {\n label: 'Entities',\n placeholder: 'Type or select entities',\n helperText: 'Add up to {{max}} entities this question relates to',\n },\n tagsInput: {\n label: 'Tags',\n placeholder: 'Type or select tags',\n helperText: 'Add up to {{max}} tags to categorize your question',\n },\n askPage: {\n title: {\n existingQuestion: 'Edit question',\n entityQuestion: 'Ask a question about {{entity}}',\n newQuestion: 'Ask a question',\n },\n },\n writePage: {\n title: {\n existingArticle: 'Edit article',\n entityArticle: 'Write an article about {{entity}}',\n newArticle: 'New article',\n },\n },\n collectionCreatePage: {\n title: {\n existingCollection: 'Edit collection',\n newCollection: 'New collection',\n },\n },\n askQuestionButton: {\n title: 'Ask a question',\n },\n addToCollectionButton: {\n title: 'Collections',\n manage: 'Add or remove this post from collections',\n close: 'Close',\n },\n writeArticleButton: {\n title: 'Write an article',\n },\n createCollectionButton: {\n title: 'Create collection',\n },\n commentList: {\n deleteLink: 'delete',\n },\n commentSection: {\n input: {\n placeholder: 'Your comment',\n },\n addComment: 'Add comment',\n post: 'Post',\n },\n editTagModal: {\n title: 'Edit tag {{tag}}',\n description: 'Tag description',\n errorPosting: 'Failed to edit',\n saveButton: 'Save',\n cancelButton: 'Cancel',\n },\n deleteModal: {\n title: {\n question: 'Are you sure you want to delete this post?',\n answer: 'Are you sure you want to delete this answer?',\n collection: 'Are you sure you want to delete this collection?',\n },\n errorDeleting: 'Failed to delete',\n deleteButton: 'Delete',\n cancelButton: 'Cancel',\n },\n favoritePage: {\n title: 'Favorited posts',\n },\n leftMenu: {\n home: 'Home',\n questions: 'Questions',\n articles: 'Articles',\n profile: 'Profile',\n tags: 'Tags',\n entities: 'Entities',\n favoriteQuestions: 'Favorites',\n statistics: 'Statistics',\n collections: 'Collections',\n content: 'Content',\n community: 'Community',\n users: 'Users',\n manage: 'Manage',\n moderate: 'Moderate',\n },\n moderatorPage: {\n title: 'Moderate',\n tools: 'Tools',\n templates: 'Templates',\n templatesInfo:\n 'Templates can be used to prefill question content for the user',\n },\n homePage: {\n title: 'Home',\n },\n impactCard: {\n title: 'Your impact',\n views: 'views',\n contributions: 'Your contributions helped {{lastWeek}} people this week',\n },\n rightMenu: {\n followedEntities: 'Followed entities',\n followedTags: 'Followed tags',\n followedCollections: 'Followed collections',\n },\n highlights: {\n loadError: 'Failed to load questions',\n own: {\n title: 'Your latest questions',\n noQuestionsLabel: 'No questions',\n },\n hotQuestions: {\n title: 'Hot questions',\n noQuestionsLabel: 'No questions',\n },\n hotArticles: {\n title: 'Hot articles',\n noArticlesLabel: 'No articles',\n },\n unanswered: {\n title: 'Unanswered questions',\n noQuestionsLabel: 'No unanswered questions',\n },\n incorrect: {\n title: 'Questions without correct answer',\n noQuestionsLabel: 'No questions without correct answers',\n },\n },\n questionsPage: {\n title: 'All questions',\n },\n articlesPage: {\n title: 'All articles',\n },\n userLink: {\n anonymous: 'Anonymous',\n },\n articlePage: {\n notFound: 'Could not find the article',\n errorLoading: 'Could not load article',\n editButton: 'Edit this article',\n deleteButton: 'Delete this article',\n },\n templateList: {\n errorLoading: 'Could not load templates',\n editButton: 'Edit',\n deleteButton: 'Delete',\n createButton: 'Create',\n errorPosting: 'Could not post template',\n noTemplates: 'No templates',\n noTemplatesDescription: 'Create a new template to get started',\n titleInput: {\n label: 'Title',\n helperText: 'Name of the template',\n },\n descriptionInput: {\n label: 'Description',\n helperText: 'Template description, what is it used for?',\n },\n questionTitleInput: {\n label: 'Default question title',\n helperText:\n 'Question title to be used when creating a question with this template',\n },\n questionContentInput: {\n placeholder:\n 'Question content to be used when creating a question with this template',\n },\n submit: {\n existingTemplate: 'Save',\n newTemplate: 'Create',\n },\n },\n templateSelectList: {\n selectButton: 'Choose',\n title: 'Create a question from template',\n genericQuestion: 'Generic question',\n genericQuestionDescription: 'Create a generic question',\n },\n pagination: {\n defaultTooltip: 'Number of items',\n },\n collectionsPage: {\n title: 'Collections',\n search: {\n label: 'Search for collection',\n placeholder: 'Search...',\n },\n },\n collectionPage: {\n description: 'Description',\n info: 'You can add questions and articles to the collection from question and article pages',\n },\n questionPage: {\n errorLoading: 'Could not load question',\n editButton: 'Edit',\n notFound: 'Could not find the question',\n sortAnswers: {\n label: 'Sort answers',\n default: 'Default',\n createdDesc: 'Created (desc)',\n createdAsc: 'Created (asc)',\n scoreDesc: 'Score (desc)',\n scoreAsc: 'Score (asc)',\n commentsDesc: 'Comments (desc)',\n commentsAsc: 'Comments (asc)',\n authorDesc: 'Author (desc)',\n authorAsc: 'Author (asc)',\n updatedDesc: 'Updated (desc)',\n updatedAsc: 'Updated (asc)',\n },\n },\n authorBox: {\n postedAtTime: 'Posted',\n updatedAtTime: 'Updated',\n updatedBy: 'by',\n },\n favorite: {\n remove: 'Remove this post from favorites',\n add: 'Mark this post as favorite',\n },\n link: {\n post: 'Copy link to this post to clipboard',\n answer: 'Copy link to this answer to clipboard',\n aria: 'Copy link to clipboard',\n },\n voteButtons: {\n answer: {\n markCorrect: 'Mark this answer correct',\n markIncorrect: 'Mark this answer incorrect',\n marked: 'This answer has been marked as correct',\n good: 'This answer is good',\n bad: 'This answer is not good',\n own: 'You cannot vote your own answer',\n },\n question: {\n good: 'This post is good',\n bad: 'This post is not good',\n own: 'You cannot vote your own post',\n },\n },\n datePicker: {\n from: 'From date',\n to: 'To date',\n invalidRange:\n \"Date range invalid, 'To date' should be greater than 'From date'\",\n range: {\n label: 'Date range',\n default: 'Select',\n last7days: 'Last 7 days',\n last30days: 'Last 30 days',\n custom: 'Custom',\n },\n },\n filterPanel: {\n filterButton: 'Filter',\n noAnswers: {\n label: 'No answers',\n },\n noCorrectAnswers: {\n label: 'No correct answers',\n },\n noVotes: {\n label: 'No votes',\n },\n orderBy: {\n label: 'Order by',\n created: 'Created',\n views: 'Views',\n score: 'Score',\n answers: 'Answers',\n updated: 'Updated',\n },\n order: {\n label: 'Order',\n asc: 'Ascending',\n desc: 'Descending',\n },\n filters: {\n label: 'Filters',\n entity: {\n label: 'Entity',\n placeholder: 'Type or select entity',\n },\n tag: {\n label: 'Tag',\n placeholder: 'Type or select tag',\n },\n },\n },\n postsList: {\n errorLoading: 'Could not load {{itemType}}s',\n postsPerPage: '{{itemType}}s per page',\n },\n postsContainer: {\n title: {\n by: `{{itemType}}s by`,\n about: '{{itemType}}s about',\n tagged: `{{itemType}} tagged with {{tags}}`,\n favorite: 'Your favorite {{itemType}}s',\n },\n search: {\n label: 'Search for {{itemType}}',\n placeholder: 'Search...',\n },\n noItems: 'No {{itemType}}s',\n createButton: 'Go ahead and create one!',\n },\n questionsTable: {\n errorLoading: 'Could not load questions',\n latest: 'Latest',\n mostViewed: 'Most viewed',\n favorites: 'Favorites',\n cells: {\n title: 'Title',\n author: 'Author',\n asked: 'Asked',\n updated: 'Last updated',\n },\n },\n statistics: {\n errorLoading: 'Could not load statistics',\n notAvailable: 'Statistics are unavailable',\n ranking: 'Ranking Q&A 🏆',\n mostQuestions: {\n title: 'Most questions',\n description: 'People who have posted most questions',\n },\n mostAnswers: {\n title: 'Most answers',\n description: 'People who have posted most answers',\n },\n topVotedQuestions: {\n title: 'Top voted questions',\n description: 'People who have the highest rated questions',\n },\n topVotedAnswers: {\n title: 'Top voted answers',\n description: 'People who have the highest rated answers',\n },\n topVotedCorrectAnswers: {\n title: 'Top voted correct answers',\n description: 'People who have the highest rated correct answers',\n },\n },\n tagPage: {\n errorLoading: 'Could not load tags',\n defaultTitle: 'Tags',\n search: {\n label: 'Search tag',\n placeholder: 'Search...',\n },\n tags_zero: 'No tags',\n tags_one: 'Showing {{count}} tag',\n tags_other: 'Showing {{count}} tags',\n },\n entitiesPage: {\n errorLoading: 'Could not load entities',\n defaultTitle: 'Entities',\n search: {\n label: 'Search entity',\n placeholder: 'Search...',\n },\n entities_zero: 'No entities',\n entities_one: 'Showing {{count}} entity',\n entities_other: 'Showing {{count}} entities',\n },\n aiAnswerCard: {\n answer: 'Answer from AI',\n summary: 'Summary by AI',\n },\n usersPage: {\n title: 'Users',\n errorLoading: 'Could not load users',\n defaultTitle: 'users',\n search: {\n label: 'Search user',\n placeholder: 'Search...',\n },\n users_zero: 'No users',\n users_one: 'Showing {{count}} users',\n users_other: 'Showing {{count}} users',\n },\n userPage: {\n profileTab: 'Profile',\n statistics: 'Statistics',\n questions: 'Questions',\n answers: 'Answers',\n collections: 'Collections',\n articles: 'Articles',\n },\n stats: {\n noStats: 'No statistics available. Check back later!',\n questions: 'Questions',\n answers: 'Answers',\n comments: 'Comments',\n votes: 'Votes',\n views: 'Views',\n articles: 'Articles',\n followers: 'Followers',\n users: 'Users',\n tags: 'Tags',\n },\n collectionButton: {\n follow: 'Follow',\n unfollow: 'Unfollow',\n tooltip:\n 'By following a collection, you will get notified when ever a new post is added to the collection',\n },\n tagButton: {\n follow: 'Follow',\n unfollow: 'Unfollow',\n edit: 'Edit',\n tooltip:\n 'By following a tag, you will get notified when ever a new post with that tag is posted',\n },\n entityButton: {\n follow: 'Follow',\n unfollow: 'Unfollow',\n tooltip:\n 'By following an entity, you will get notified when ever a new post for that entity is posted',\n },\n userButton: {\n follow: 'Follow',\n unfollow: 'Unfollow',\n tooltip:\n 'By following a user, you will get notified when ever a new post by that user is posted',\n },\n },\n});\n\nexport const qetaTranslations = createTranslationResource({\n ref: qetaTranslationRef,\n translations: {},\n});\n"],"names":[],"mappings":";;AAMO,MAAM,qBAAqB,oBAAqB,CAAA;AAAA,EACrD,EAAI,EAAA,MAAA;AAAA,EACJ,QAAU,EAAA;AAAA,IACR,UAAY,EAAA,KAAA;AAAA,IACZ,UAAY,EAAA;AAAA,MACV,YAAc,EAAA,wBAAA;AAAA,MACd,SAAW,EAAA,YAAA;AAAA,MACX,WAAa,EAAA,kBAAA;AAAA,KACf;AAAA,IACA,MAAQ,EAAA;AAAA,MACN,IAAM,EAAA,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AAA;AAAA,MAChB,MAAQ,EAAA,QAAA;AAAA,MACR,QAAU,EAAA,UAAA;AAAA,MACV,OACE,EAAA,kGAAA;AAAA,KACJ;AAAA,IACA,SAAW,EAAA;AAAA,MACT,MAAQ,EAAA,QAAA;AAAA,MACR,QAAU,EAAA,UAAA;AAAA,MACV,IAAM,EAAA,MAAA;AAAA,MACN,OACE,EAAA,wFAAA;AAAA,KACJ;AAAA,IACA,YAAc,EAAA;AAAA,MACZ,MAAQ,EAAA,QAAA;AAAA,MACR,QAAU,EAAA,UAAA;AAAA,MACV,OACE,EAAA,8FAAA;AAAA,KACJ;AAAA,IACA,UAAY,EAAA;AAAA,MACV,MAAQ,EAAA,QAAA;AAAA,MACR,QAAU,EAAA,UAAA;AAAA,MACV,OACE,EAAA,wFAAA;AAAA,KACJ;AAAA,GACF;AACF,CAAC,EAAA;AAE+B,yBAA0B,CAAA;AAAA,EACxD,GAAK,EAAA,kBAAA;AAAA,EACL,cAAc,EAAC;AACjB,CAAC;;;;"}
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "frontend",
8
8
  "backstage.io"
9
9
  ],
10
- "version": "3.5.1",
10
+ "version": "3.6.1",
11
11
  "main": "dist/index.esm.js",
12
12
  "types": "dist/index.d.ts",
13
13
  "prepublishOnly": "yarn tsc && yarn build",
@@ -56,7 +56,7 @@
56
56
  "@backstage/plugin-catalog-react": "^1.14.0",
57
57
  "@backstage/plugin-permission-react": "^0.4.27",
58
58
  "@backstage/plugin-signals-react": "^0.0.6",
59
- "@drodil/backstage-plugin-qeta-common": "^3.5.1",
59
+ "@drodil/backstage-plugin-qeta-common": "^3.6.1",
60
60
  "@material-ui/core": "^4.12.2",
61
61
  "@material-ui/icons": "^4.11.3",
62
62
  "@material-ui/lab": "4.0.0-alpha.61",