@drodil/backstage-plugin-qeta-react 3.49.1 → 3.50.0

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.
Files changed (28) hide show
  1. package/dist/components/AIAnswerCard/AIAnswerCard.esm.js +2 -2
  2. package/dist/components/AIAnswerCard/AIAnswerCard.esm.js.map +1 -1
  3. package/dist/components/AuthorBox/AuthorBoxes.esm.js +1 -3
  4. package/dist/components/AuthorBox/AuthorBoxes.esm.js.map +1 -1
  5. package/dist/components/Badges/BadgeChip.esm.js +231 -0
  6. package/dist/components/Badges/BadgeChip.esm.js.map +1 -0
  7. package/dist/components/Badges/UserBadges.esm.js +79 -0
  8. package/dist/components/Badges/UserBadges.esm.js.map +1 -0
  9. package/dist/components/Buttons/LinkButton.esm.js +4 -3
  10. package/dist/components/Buttons/LinkButton.esm.js.map +1 -1
  11. package/dist/components/DeleteModal/DeleteModal.esm.js +10 -10
  12. package/dist/components/DeleteModal/DeleteModal.esm.js.map +1 -1
  13. package/dist/components/FilterPanel/FilterPanel.esm.js +2 -1
  14. package/dist/components/FilterPanel/FilterPanel.esm.js.map +1 -1
  15. package/dist/components/HomePageCards/ImpactCard.esm.js +25 -1
  16. package/dist/components/HomePageCards/ImpactCard.esm.js.map +1 -1
  17. package/dist/components/StatsChart/StatsChart.esm.js +9 -0
  18. package/dist/components/StatsChart/StatsChart.esm.js.map +1 -1
  19. package/dist/components/UsersGrid/UsersGridItem.esm.js +38 -19
  20. package/dist/components/UsersGrid/UsersGridItem.esm.js.map +1 -1
  21. package/dist/hooks/useEntityAuthor.esm.js +9 -5
  22. package/dist/hooks/useEntityAuthor.esm.js.map +1 -1
  23. package/dist/index.d.ts +17 -2
  24. package/dist/index.esm.js +2 -0
  25. package/dist/index.esm.js.map +1 -1
  26. package/dist/translation.esm.js +11 -3
  27. package/dist/translation.esm.js.map +1 -1
  28. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"UsersGridItem.esm.js","sources":["../../../src/components/UsersGrid/UsersGridItem.tsx"],"sourcesContent":["import { UserResponse } from '@drodil/backstage-plugin-qeta-common';\nimport { useRouteRef } from '@backstage/core-plugin-api';\nimport { useEntityPresentation } from '@backstage/plugin-catalog-react';\nimport { userRouteRef } from '../../routes';\nimport { useIdentityApi } from '../../hooks';\nimport { useEntityAuthor } from '../../hooks/useEntityAuthor';\nimport {\n Avatar,\n Box,\n Card,\n CardContent,\n Grid,\n makeStyles,\n Tooltip,\n Typography,\n} from '@material-ui/core';\nimport { UserFollowButton } from '../Buttons/UserFollowButton';\nimport Visibility from '@material-ui/icons/Visibility';\nimport QuestionAnswerIcon from '@material-ui/icons/QuestionAnswer';\nimport ThumbUpIcon from '@material-ui/icons/ThumbUp';\nimport CheckCircleIcon from '@material-ui/icons/CheckCircle';\nimport DescriptionIcon from '@material-ui/icons/Description';\nimport LinkIcon from '@material-ui/icons/Link';\nimport { qetaTranslationRef } from '../../translation.ts';\nimport { useTranslationRef } from '@backstage/core-plugin-api/alpha';\nimport useGridItemStyles from '../GridItemStyles/useGridItemStyles';\nimport { ClickableLink } from '../Utility/ClickableLink';\n\nconst useStyles = makeStyles(theme => ({\n statsGrid: {\n marginTop: 'auto',\n },\n statItem: {\n padding: theme.spacing(1),\n borderRadius: theme.shape.borderRadius,\n width: '100%',\n height: '100%',\n justifyContent: 'center',\n },\n flexColumn: {\n display: 'flex',\n flexDirection: 'column',\n },\n}));\n\nexport const UsersGridItem = (props: { user: UserResponse }) => {\n const { user } = props;\n const classes = useGridItemStyles();\n const localClasses = useStyles();\n const userRoute = useRouteRef(userRouteRef);\n const { t } = useTranslationRef(qetaTranslationRef);\n const { primaryTitle, Icon } = useEntityPresentation(user.userRef);\n const {\n name,\n initials,\n user: userEntity,\n secondaryTitle,\n } = useEntityAuthor(user);\n const {\n value: currentUser,\n loading: loadingUser,\n error: userError,\n } = useIdentityApi(api => api.getBackstageIdentity(), []);\n\n const href = `${userRoute()}/${user.userRef}`;\n\n return (\n <Grid item xs={12} md={6} xl={4}>\n <Card className={classes.card}>\n <ClickableLink href={href} ariaLabel={primaryTitle}>\n <Box\n className={classes.cardHeader}\n display=\"flex\"\n alignItems=\"center\"\n >\n {Icon && (\n <Avatar\n src={userEntity?.spec?.profile?.picture}\n className=\"avatar\"\n alt={name}\n variant=\"rounded\"\n style={{ marginRight: 16 }}\n >\n {initials}\n </Avatar>\n )}\n <Box flex={1} minWidth={0}>\n <Tooltip title={secondaryTitle ?? ''} arrow>\n <Typography variant=\"h6\" noWrap>\n {primaryTitle}\n </Typography>\n </Tooltip>\n </Box>\n {!loadingUser &&\n !userError &&\n currentUser?.userEntityRef !== user.userRef ? (\n <Box\n flexShrink={0}\n onClick={e => {\n e.preventDefault();\n e.stopPropagation();\n }}\n >\n <UserFollowButton userRef={user.userRef} />\n </Box>\n ) : null}\n </Box>\n <CardContent\n className={`${classes.cardContent} ${localClasses.flexColumn}`}\n >\n <Grid container spacing={1} className={localClasses.statsGrid}>\n <Grid item xs={4}>\n <Box\n display=\"flex\"\n flexDirection=\"column\"\n alignItems=\"center\"\n className={localClasses.statItem}\n >\n <QuestionAnswerIcon fontSize=\"small\" color=\"disabled\" />\n <Typography variant=\"body2\" style={{ fontWeight: 600 }}>\n {user.totalQuestions}\n </Typography>\n <Typography variant=\"caption\" color=\"textSecondary\">\n {t('common.questions')}\n </Typography>\n </Box>\n </Grid>\n <Grid item xs={4}>\n <Box\n display=\"flex\"\n flexDirection=\"column\"\n alignItems=\"center\"\n className={localClasses.statItem}\n >\n <CheckCircleIcon fontSize=\"small\" color=\"disabled\" />\n <Typography variant=\"body2\" style={{ fontWeight: 600 }}>\n {user.totalAnswers}\n </Typography>\n <Typography variant=\"caption\" color=\"textSecondary\">\n {t('common.answers')}\n </Typography>\n </Box>\n </Grid>\n <Grid item xs={4}>\n <Box\n display=\"flex\"\n flexDirection=\"column\"\n alignItems=\"center\"\n className={localClasses.statItem}\n >\n <ThumbUpIcon fontSize=\"small\" color=\"disabled\" />\n <Typography variant=\"body2\" style={{ fontWeight: 600 }}>\n {user.totalVotes}\n </Typography>\n <Typography variant=\"caption\" color=\"textSecondary\">\n {t('common.votes')}\n </Typography>\n </Box>\n </Grid>\n <Grid item xs={4}>\n <Box\n display=\"flex\"\n flexDirection=\"column\"\n alignItems=\"center\"\n className={localClasses.statItem}\n >\n <DescriptionIcon fontSize=\"small\" color=\"disabled\" />\n <Typography variant=\"body2\" style={{ fontWeight: 600 }}>\n {user.totalArticles}\n </Typography>\n <Typography variant=\"caption\" color=\"textSecondary\">\n {t('common.articles')}\n </Typography>\n </Box>\n </Grid>\n <Grid item xs={4}>\n <Box\n display=\"flex\"\n flexDirection=\"column\"\n alignItems=\"center\"\n className={localClasses.statItem}\n >\n <Visibility fontSize=\"small\" color=\"disabled\" />\n <Typography variant=\"body2\" style={{ fontWeight: 600 }}>\n {user.totalViews}\n </Typography>\n <Typography variant=\"caption\" color=\"textSecondary\">\n {t('common.views')}\n </Typography>\n </Box>\n </Grid>\n <Grid item xs={4}>\n <Box\n display=\"flex\"\n flexDirection=\"column\"\n alignItems=\"center\"\n className={localClasses.statItem}\n >\n <LinkIcon fontSize=\"small\" color=\"disabled\" />\n <Typography variant=\"body2\" style={{ fontWeight: 600 }}>\n {user.totalLinks}\n </Typography>\n <Typography variant=\"caption\" color=\"textSecondary\">\n {t('common.links')}\n </Typography>\n </Box>\n </Grid>\n </Grid>\n </CardContent>\n </ClickableLink>\n </Card>\n </Grid>\n );\n};\n"],"names":["CheckCircleIcon","ThumbUpIcon"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA4BA,MAAM,SAAA,GAAY,WAAW,CAAU,KAAA,MAAA;AAAA,EACrC,SAAW,EAAA;AAAA,IACT,SAAW,EAAA;AAAA,GACb;AAAA,EACA,QAAU,EAAA;AAAA,IACR,OAAA,EAAS,KAAM,CAAA,OAAA,CAAQ,CAAC,CAAA;AAAA,IACxB,YAAA,EAAc,MAAM,KAAM,CAAA,YAAA;AAAA,IAC1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IAAA,EAAA,EAAK,IAAI,EAAA,IAAA,EAAC,IAAI,CACb,EAAA,QAAA,kBAAA,IAAA;AAAA,YAAC,GAAA;AAAA,YAAA;AAAA,cACC,OAAQ,EAAA,MAAA;AAAA,cACR,aAAc,EAAA,QAAA;AAAA,cACd,UAAW,EAAA,QAAA;AAAA,cACX,WAAW,YAAa,CAAA,QAAA;AAAA,cAExB,QAAA,EAAA;AAAA,gCAAA,GAAA,CAAC,QAAS,EAAA,EAAA,QAAA,EAAS,OAAQ,EAAA,KAAA,EAAM,UAAW,EAAA,CAAA;AAAA,gCAC5C,GAAA,CAAC,UAAW,EAAA,EAAA,OAAA,EAAQ,OAAQ,EAAA,KAAA,EAAO,EAAE,UAAY,EAAA,GAAA,EAC9C,EAAA,QAAA,EAAA,IAAA,CAAK,UACR,EAAA,CAAA;AAAA,gCACA,GAAA,CAAC,cAAW,OAAQ,EAAA,SAAA,EAAU,OAAM,eACjC,EAAA,QAAA,EAAA,CAAA,CAAE,cAAc,CACnB,EAAA;AAAA;AAAA;AAAA,WAEJ,EAAA;AAAA,SACF,EAAA;AAAA;AAAA;AACF,GAAA,EACF,GACF,CACF,EAAA,CAAA;AAEJ;;;;"}
1
+ {"version":3,"file":"UsersGridItem.esm.js","sources":["../../../src/components/UsersGrid/UsersGridItem.tsx"],"sourcesContent":["import { UserResponse } from '@drodil/backstage-plugin-qeta-common';\nimport { useRouteRef } from '@backstage/core-plugin-api';\nimport { useEntityPresentation } from '@backstage/plugin-catalog-react';\nimport { userRouteRef } from '../../routes';\nimport { useIdentityApi } from '../../hooks';\nimport { useEntityAuthor } from '../../hooks/useEntityAuthor';\nimport {\n Avatar,\n Box,\n Card,\n CardContent,\n Grid,\n makeStyles,\n Tooltip,\n Typography,\n} from '@material-ui/core';\nimport { UserFollowButton } from '../Buttons/UserFollowButton';\nimport Visibility from '@material-ui/icons/Visibility';\nimport QuestionAnswerIcon from '@material-ui/icons/QuestionAnswer';\nimport ThumbUpIcon from '@material-ui/icons/ThumbUp';\nimport CheckCircleIcon from '@material-ui/icons/CheckCircle';\nimport DescriptionIcon from '@material-ui/icons/Description';\nimport LinkIcon from '@material-ui/icons/Link';\nimport EmojiEvents from '@material-ui/icons/EmojiEvents';\nimport { qetaTranslationRef } from '../../translation.ts';\nimport { useTranslationRef } from '@backstage/core-plugin-api/alpha';\nimport useGridItemStyles from '../GridItemStyles/useGridItemStyles';\nimport { ClickableLink } from '../Utility/ClickableLink';\nimport { parseEntityRef, stringifyEntityRef } from '@backstage/catalog-model';\n\nconst useStyles = makeStyles(theme => ({\n statsGrid: {\n marginTop: 'auto',\n },\n statItem: {\n padding: theme.spacing(1),\n borderRadius: theme.shape.borderRadius,\n width: '100%',\n height: '100%',\n justifyContent: 'center',\n },\n flexColumn: {\n display: 'flex',\n flexDirection: 'column',\n },\n}));\n\nexport const UsersGridItem = (props: { user: UserResponse }) => {\n const { user } = props;\n const classes = useGridItemStyles();\n const localClasses = useStyles();\n const userRoute = useRouteRef(userRouteRef);\n const { t } = useTranslationRef(qetaTranslationRef);\n const entityRef = stringifyEntityRef(\n parseEntityRef(user.userRef, { defaultKind: 'user' }),\n );\n const { primaryTitle, Icon } = useEntityPresentation(entityRef);\n const {\n name,\n initials,\n user: userEntity,\n secondaryTitle,\n } = useEntityAuthor(user);\n const {\n value: currentUser,\n loading: loadingUser,\n error: userError,\n } = useIdentityApi(api => api.getBackstageIdentity(), []);\n\n const href = `${userRoute()}/${user.userRef}`;\n\n return (\n <Grid item xs={12} md={6} xl={4}>\n <Card className={classes.card}>\n <ClickableLink href={href} ariaLabel={primaryTitle}>\n <Box\n className={classes.cardHeader}\n display=\"flex\"\n alignItems=\"center\"\n >\n {Icon && (\n <Avatar\n src={userEntity?.spec?.profile?.picture}\n className=\"avatar\"\n alt={name}\n variant=\"rounded\"\n style={{ marginRight: 16 }}\n >\n {initials}\n </Avatar>\n )}\n <Box flex={1} minWidth={0}>\n <Tooltip title={secondaryTitle ?? ''} arrow>\n <Typography variant=\"h6\" noWrap>\n {primaryTitle}\n </Typography>\n </Tooltip>\n </Box>\n {!loadingUser &&\n !userError &&\n currentUser?.userEntityRef !== user.userRef ? (\n <Box\n flexShrink={0}\n onClick={e => {\n e.preventDefault();\n e.stopPropagation();\n }}\n >\n <UserFollowButton userRef={user.userRef} />\n </Box>\n ) : null}\n </Box>\n <CardContent\n className={`${classes.cardContent} ${localClasses.flexColumn}`}\n >\n <Grid container spacing={1} className={localClasses.statsGrid}>\n <Grid item xs={3}>\n <Box\n display=\"flex\"\n flexDirection=\"column\"\n alignItems=\"center\"\n className={localClasses.statItem}\n >\n <EmojiEvents fontSize=\"small\" color=\"disabled\" />\n <Typography variant=\"body2\" style={{ fontWeight: 600 }}>\n {user.reputation}\n </Typography>\n <Typography variant=\"caption\" color=\"textSecondary\">\n {t('impactCard.reputation')}\n </Typography>\n </Box>\n </Grid>\n <Grid item xs={3}>\n <Box\n display=\"flex\"\n flexDirection=\"column\"\n alignItems=\"center\"\n className={localClasses.statItem}\n >\n <QuestionAnswerIcon fontSize=\"small\" color=\"disabled\" />\n <Typography variant=\"body2\" style={{ fontWeight: 600 }}>\n {user.totalQuestions}\n </Typography>\n <Typography variant=\"caption\" color=\"textSecondary\">\n {t('common.questions')}\n </Typography>\n </Box>\n </Grid>\n <Grid item xs={3}>\n <Box\n display=\"flex\"\n flexDirection=\"column\"\n alignItems=\"center\"\n className={localClasses.statItem}\n >\n <DescriptionIcon fontSize=\"small\" color=\"disabled\" />\n <Typography variant=\"body2\" style={{ fontWeight: 600 }}>\n {user.totalArticles}\n </Typography>\n <Typography variant=\"caption\" color=\"textSecondary\">\n {t('common.articles')}\n </Typography>\n </Box>\n </Grid>\n <Grid item xs={3}>\n <Box\n display=\"flex\"\n flexDirection=\"column\"\n alignItems=\"center\"\n className={localClasses.statItem}\n >\n <LinkIcon fontSize=\"small\" color=\"disabled\" />\n <Typography variant=\"body2\" style={{ fontWeight: 600 }}>\n {user.totalLinks}\n </Typography>\n <Typography variant=\"caption\" color=\"textSecondary\">\n {t('common.links')}\n </Typography>\n </Box>\n </Grid>\n <Grid item xs={4}>\n <Box\n display=\"flex\"\n flexDirection=\"column\"\n alignItems=\"center\"\n className={localClasses.statItem}\n >\n <CheckCircleIcon fontSize=\"small\" color=\"disabled\" />\n <Typography variant=\"body2\" style={{ fontWeight: 600 }}>\n {user.totalAnswers}\n </Typography>\n <Typography variant=\"caption\" color=\"textSecondary\">\n {t('common.answers')}\n </Typography>\n </Box>\n </Grid>\n <Grid item xs={4}>\n <Box\n display=\"flex\"\n flexDirection=\"column\"\n alignItems=\"center\"\n className={localClasses.statItem}\n >\n <ThumbUpIcon fontSize=\"small\" color=\"disabled\" />\n <Typography variant=\"body2\" style={{ fontWeight: 600 }}>\n {user.totalVotes}\n </Typography>\n <Typography variant=\"caption\" color=\"textSecondary\">\n {t('common.votes')}\n </Typography>\n </Box>\n </Grid>\n <Grid item xs={4}>\n <Box\n display=\"flex\"\n flexDirection=\"column\"\n alignItems=\"center\"\n className={localClasses.statItem}\n >\n <Visibility fontSize=\"small\" color=\"disabled\" />\n <Typography variant=\"body2\" style={{ fontWeight: 600 }}>\n {user.totalViews}\n </Typography>\n <Typography variant=\"caption\" color=\"textSecondary\">\n {t('common.views')}\n </Typography>\n </Box>\n </Grid>\n </Grid>\n </CardContent>\n </ClickableLink>\n </Card>\n </Grid>\n );\n};\n"],"names":["CheckCircleIcon","ThumbUpIcon"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BA,MAAM,SAAA,GAAY,WAAW,CAAU,KAAA,MAAA;AAAA,EACrC,SAAW,EAAA;AAAA,IACT,SAAW,EAAA;AAAA,GACb;AAAA,EACA,QAAU,EAAA;AAAA,IACR,OAAA,EAAS,KAAM,CAAA,OAAA,CAAQ,CAAC,CAAA;AAAA,IACxB,YAAA,EAAc,MAAM,KAAM,CAAA,YAAA;AAAA,IAC1B,KAAO,EAAA,MAAA;AAAA,IACP,MAAQ,EAAA,MAAA;AAAA,IACR,cAAgB,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R,EAAA,CAAA;AAAA,gCACA,GAAA,CAAC,cAAW,OAAQ,EAAA,SAAA,EAAU,OAAM,eACjC,EAAA,QAAA,EAAA,CAAA,CAAE,cAAc,CACnB,EAAA;AAAA;AAAA;AAAA,WAEJ,EAAA;AAAA,SACF,EAAA;AAAA;AAAA;AACF,GAAA,EACF,GACF,CACF,EAAA,CAAA;AAEJ;;;;"}
@@ -1,4 +1,4 @@
1
- import { parseEntityRef } from '@backstage/catalog-model';
1
+ import { stringifyEntityRef, parseEntityRef } from '@backstage/catalog-model';
2
2
  import DataLoader from 'dataloader';
3
3
  import { useApi, identityApiRef } from '@backstage/core-plugin-api';
4
4
  import { catalogApiRef, useEntityPresentation } from '@backstage/plugin-catalog-react';
@@ -41,12 +41,14 @@ const useUserInfo = (entityRef, anonymous) => {
41
41
  const [user, setUser] = useState(null);
42
42
  const [initials, setInitials] = useState(null);
43
43
  const [currentUser, setCurrentUser] = useState(null);
44
- const ref = entityRef.startsWith("user:") ? entityRef : `user:${entityRef}`;
44
+ const ref = stringifyEntityRef(
45
+ parseEntityRef(entityRef, { defaultKind: "user" })
46
+ );
45
47
  const {
46
48
  primaryTitle: userName,
47
49
  secondaryTitle,
48
50
  Icon
49
- } = useEntityPresentation(ref);
51
+ } = useEntityPresentation(ref, { defaultKind: "user" });
50
52
  useEffect(() => {
51
53
  if (anonymous) {
52
54
  return;
@@ -73,8 +75,10 @@ const useUserInfo = (entityRef, anonymous) => {
73
75
  useEffect(() => {
74
76
  let displayName = userName;
75
77
  if (currentUser) {
76
- const currentUserRef = parseEntityRef(currentUser);
77
- const userRef = parseEntityRef(ref);
78
+ const currentUserRef = parseEntityRef(currentUser, {
79
+ defaultKind: "user"
80
+ });
81
+ const userRef = parseEntityRef(ref, { defaultKind: "user" });
78
82
  if (currentUserRef.name === userRef.name && currentUserRef.namespace === userRef.namespace) {
79
83
  displayName = `${t("userLink.you")}${anonymous ? ` (${t("userLink.anonymous").toLocaleLowerCase("en-US")})` : ""}`;
80
84
  } else if (anonymous) {
@@ -1 +1 @@
1
- {"version":3,"file":"useEntityAuthor.esm.js","sources":["../../src/hooks/useEntityAuthor.ts"],"sourcesContent":["import { parseEntityRef, UserEntity } from '@backstage/catalog-model';\nimport { CatalogApi } from '@backstage/catalog-client';\nimport DataLoader from 'dataloader';\nimport { identityApiRef, useApi } from '@backstage/core-plugin-api';\nimport {\n catalogApiRef,\n useEntityPresentation,\n} from '@backstage/plugin-catalog-react';\nimport { useEffect, useState } from 'react';\nimport {\n AnswerResponse,\n CollectionResponse,\n PostResponse,\n UserResponse,\n} from '@drodil/backstage-plugin-qeta-common';\nimport { useTranslationRef } from '@backstage/core-plugin-api/alpha';\nimport { qetaTranslationRef } from '../translation.ts';\n\nconst userCache: Map<string, UserEntity> = new Map();\nconst dataLoaderFactory = (catalogApi: CatalogApi) =>\n new DataLoader(\n async (entityRefs: readonly string[]) => {\n const { items } = await catalogApi.getEntitiesByRefs({\n fields: [\n 'kind',\n 'metadata.name',\n 'metadata.namespace',\n 'spec.profile.displayName',\n 'spec.profile.picture',\n ],\n entityRefs: entityRefs as string[],\n });\n\n entityRefs.forEach((entityRef, index) => {\n userCache.set(entityRef, items[index] as UserEntity);\n });\n return items;\n },\n {\n name: 'EntityAuthorLoader',\n cacheMap: new Map(),\n maxBatchSize: 100,\n batchScheduleFn: callback => {\n setTimeout(callback, 50);\n },\n },\n );\n\nexport const useUserInfo = (entityRef: string, anonymous?: boolean) => {\n const catalogApi = useApi(catalogApiRef);\n const identityApi = useApi(identityApiRef);\n const { t } = useTranslationRef(qetaTranslationRef);\n const [name, setName] = useState<string>('');\n const [user, setUser] = useState<UserEntity | null>(null);\n const [initials, setInitials] = useState<string | null>(null);\n const [currentUser, setCurrentUser] = useState<string | null>(null);\n const ref = entityRef.startsWith('user:') ? entityRef : `user:${entityRef}`;\n\n const {\n primaryTitle: userName,\n secondaryTitle,\n Icon,\n } = useEntityPresentation(ref);\n\n useEffect(() => {\n if (anonymous) {\n return;\n }\n\n if (userCache.get(ref)) {\n setUser(userCache.get(ref) as UserEntity);\n return;\n }\n\n dataLoaderFactory(catalogApi)\n .load(ref)\n .then(data => {\n if (data) {\n setUser(data as UserEntity);\n } else {\n setUser(null);\n }\n })\n .catch(() => {\n setUser(null);\n });\n }, [catalogApi, ref, anonymous]);\n\n useEffect(() => {\n identityApi.getBackstageIdentity().then(res => {\n setCurrentUser(res.userEntityRef ?? 'user:default/guest');\n });\n }, [identityApi]);\n\n useEffect(() => {\n let displayName = userName;\n if (currentUser) {\n const currentUserRef = parseEntityRef(currentUser);\n const userRef = parseEntityRef(ref);\n if (\n currentUserRef.name === userRef.name &&\n currentUserRef.namespace === userRef.namespace\n ) {\n displayName = `${t('userLink.you')}${\n anonymous\n ? ` (${t('userLink.anonymous').toLocaleLowerCase('en-US')})`\n : ''\n }`;\n } else if (anonymous) {\n displayName = t('userLink.anonymous');\n }\n } else if (anonymous) {\n displayName = t('userLink.anonymous');\n }\n setName(displayName);\n }, [ref, anonymous, currentUser, userName, t]);\n\n useEffect(() => {\n const init = (name ?? '')\n .replace(/[^a-zA-Z]/g, '')\n .split(' ')\n .map(p => p[0])\n .join('')\n .substring(0, 2)\n .toUpperCase();\n setInitials(init);\n }, [name]);\n\n return { name, initials, user, secondaryTitle, Icon };\n};\n\nexport const useEntityAuthor = (\n entity: PostResponse | AnswerResponse | CollectionResponse | UserResponse,\n) => {\n const anonymous = 'anonymous' in entity ? entity.anonymous ?? false : false;\n const author =\n // eslint-disable-next-line no-nested-ternary\n 'author' in entity\n ? entity.author\n : 'userRef' in entity\n ? entity.userRef\n : entity.owner;\n return useUserInfo(author, anonymous);\n};\n"],"names":[],"mappings":";;;;;;;;AAkBA,MAAM,SAAA,uBAAyC,GAAI,EAAA;AACnD,MAAM,iBAAA,GAAoB,CAAC,UAAA,KACzB,IAAI,UAAA;AAAA,EACF,OAAO,UAAkC,KAAA;AACvC,IAAA,MAAM,EAAE,KAAA,EAAU,GAAA,MAAM,WAAW,iBAAkB,CAA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"sourcesContent":["import {\n parseEntityRef,\n stringifyEntityRef,\n UserEntity,\n} from '@backstage/catalog-model';\nimport { CatalogApi } from '@backstage/catalog-client';\nimport DataLoader from 'dataloader';\nimport { identityApiRef, useApi } from '@backstage/core-plugin-api';\nimport {\n catalogApiRef,\n useEntityPresentation,\n} from '@backstage/plugin-catalog-react';\nimport { useEffect, useState } from 'react';\nimport {\n AnswerResponse,\n CollectionResponse,\n PostResponse,\n UserResponse,\n} from '@drodil/backstage-plugin-qeta-common';\nimport { useTranslationRef } from '@backstage/core-plugin-api/alpha';\nimport { qetaTranslationRef } from '../translation.ts';\n\nconst userCache: Map<string, UserEntity> = new Map();\nconst dataLoaderFactory = (catalogApi: CatalogApi) =>\n new DataLoader(\n async (entityRefs: readonly string[]) => {\n const { items } = await catalogApi.getEntitiesByRefs({\n fields: [\n 'kind',\n 'metadata.name',\n 'metadata.namespace',\n 'spec.profile.displayName',\n 'spec.profile.picture',\n ],\n entityRefs: entityRefs as string[],\n });\n\n entityRefs.forEach((entityRef, index) => {\n userCache.set(entityRef, items[index] as UserEntity);\n });\n return items;\n },\n {\n name: 'EntityAuthorLoader',\n cacheMap: new Map(),\n maxBatchSize: 100,\n batchScheduleFn: callback => {\n setTimeout(callback, 50);\n },\n },\n );\n\nexport const useUserInfo = (entityRef: string, anonymous?: boolean) => {\n const catalogApi = useApi(catalogApiRef);\n const identityApi = useApi(identityApiRef);\n const { t } = useTranslationRef(qetaTranslationRef);\n const [name, setName] = useState<string>('');\n const [user, setUser] = useState<UserEntity | null>(null);\n const [initials, setInitials] = useState<string | null>(null);\n const [currentUser, setCurrentUser] = useState<string | null>(null);\n const ref = stringifyEntityRef(\n parseEntityRef(entityRef, { defaultKind: 'user' }),\n );\n\n const {\n primaryTitle: userName,\n secondaryTitle,\n Icon,\n } = useEntityPresentation(ref, { defaultKind: 'user' });\n\n useEffect(() => {\n if (anonymous) {\n return;\n }\n\n if (userCache.get(ref)) {\n setUser(userCache.get(ref) as UserEntity);\n return;\n }\n\n dataLoaderFactory(catalogApi)\n .load(ref)\n .then(data => {\n if (data) {\n setUser(data as UserEntity);\n } else {\n setUser(null);\n }\n })\n .catch(() => {\n setUser(null);\n });\n }, [catalogApi, ref, anonymous]);\n\n useEffect(() => {\n identityApi.getBackstageIdentity().then(res => {\n setCurrentUser(res.userEntityRef ?? 'user:default/guest');\n });\n }, [identityApi]);\n\n useEffect(() => {\n let displayName = userName;\n if (currentUser) {\n const currentUserRef = parseEntityRef(currentUser, {\n defaultKind: 'user',\n });\n const userRef = parseEntityRef(ref, { defaultKind: 'user' });\n if (\n currentUserRef.name === userRef.name &&\n currentUserRef.namespace === userRef.namespace\n ) {\n displayName = `${t('userLink.you')}${\n anonymous\n ? ` (${t('userLink.anonymous').toLocaleLowerCase('en-US')})`\n : ''\n }`;\n } else if (anonymous) {\n displayName = t('userLink.anonymous');\n }\n } else if (anonymous) {\n displayName = t('userLink.anonymous');\n }\n setName(displayName);\n }, [ref, anonymous, currentUser, userName, t]);\n\n useEffect(() => {\n const init = (name ?? '')\n .replace(/[^a-zA-Z]/g, '')\n .split(' ')\n .map(p => p[0])\n .join('')\n .substring(0, 2)\n .toUpperCase();\n setInitials(init);\n }, [name]);\n\n return { name, initials, user, secondaryTitle, Icon };\n};\n\nexport const useEntityAuthor = (\n entity: PostResponse | AnswerResponse | CollectionResponse | UserResponse,\n) => {\n const anonymous = 'anonymous' in entity ? entity.anonymous ?? false : false;\n const author =\n // eslint-disable-next-line no-nested-ternary\n 'author' in entity\n ? entity.author\n : 'userRef' in entity\n ? entity.userRef\n : entity.owner;\n return useUserInfo(author, anonymous);\n};\n"],"names":[],"mappings":";;;;;;;;AAsBA,MAAM,SAAA,uBAAyC,GAAI,EAAA;AACnD,MAAM,iBAAA,GAAoB,CAAC,UAAA,KACzB,IAAI,UAAA;AAAA,EACF,OAAO,UAAkC,KAAA;AACvC,IAAA,MAAM,EAAE,KAAA,EAAU,GAAA,MAAM,WAAW,iBAAkB,CAAA;AAAA,MAC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,QAAQ,SAAS,CAAA;AACtC;;;;"}
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
2
2
  import { IdentityApi } from '@backstage/core-plugin-api';
3
3
  import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
4
4
  import * as _drodil_backstage_plugin_qeta_common from '@drodil/backstage-plugin-qeta-common';
5
- import { QetaApi, PostType, PostStatus, PostResponse, Template, PostsResponse, AnswersResponse, AnswerResponse, Collection, Post, PostsQuery, CollectionResponse, TagResponse, Answer, Comment, Stat, TemplatesResponse, Article, UserResponse, AIQuery } from '@drodil/backstage-plugin-qeta-common';
5
+ import { QetaApi, PostType, PostStatus, PostResponse, Template, PostsResponse, AnswersResponse, AnswerResponse, Collection, Post, PostsQuery, CollectionResponse, TagResponse, Answer, Comment, Stat, Badge, TemplatesResponse, Article, UserResponse, AIQuery } from '@drodil/backstage-plugin-qeta-common';
6
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
7
7
  import { Entity, UserEntity } from '@backstage/catalog-model';
8
8
  import * as react from 'react';
@@ -383,6 +383,15 @@ declare const StatsChart: (props: {
383
383
  error?: string;
384
384
  }) => react_jsx_runtime.JSX.Element;
385
385
 
386
+ declare const BadgeChip: ({ badge, count, }: {
387
+ badge: Badge;
388
+ count?: number;
389
+ }) => react_jsx_runtime.JSX.Element;
390
+
391
+ declare const UserBadges: ({ entityRef }: {
392
+ entityRef: string;
393
+ }) => react_jsx_runtime.JSX.Element;
394
+
386
395
  declare const TopRankingUsers: (props: {
387
396
  title?: string;
388
397
  hideTitle?: boolean;
@@ -912,6 +921,7 @@ declare const qetaTranslationRef: _backstage_frontend_plugin_api.TranslationRef<
912
921
  readonly "suggestionsCard.randomPost4": "Join the discussion on \"{{title}}\"";
913
922
  readonly "suggestionsCard.randomPost5": "Check this out: \"{{title}}\"";
914
923
  readonly "homePage.title": "Home";
924
+ readonly "impactCard.reputation": "Reputation";
915
925
  readonly "impactCard.title": "Your impact";
916
926
  readonly "impactCard.error": "Failed to load impact data";
917
927
  readonly "impactCard.answers": "Answers";
@@ -920,6 +930,9 @@ declare const qetaTranslationRef: _backstage_frontend_plugin_api.TranslationRef<
920
930
  readonly "impactCard.views": "views";
921
931
  readonly "impactCard.followers": "Followers";
922
932
  readonly "impactCard.contributions": "Your contributions helped {{lastWeek}} people this week";
933
+ readonly "userBadges.title": "Badges";
934
+ readonly "userBadges.error": "Failed to load badges";
935
+ readonly "userBadges.noBadges": "No badges earned yet";
923
936
  readonly "rightMenu.expand": "Expand sidebar";
924
937
  readonly "rightMenu.collapse": "Collapse sidebar";
925
938
  readonly "rightMenu.followedEntities": "Followed entities";
@@ -1041,6 +1054,7 @@ declare const qetaTranslationRef: _backstage_frontend_plugin_api.TranslationRef<
1041
1054
  readonly "filterPanel.orderBy.score": "Score";
1042
1055
  readonly "filterPanel.orderBy.created": "Created";
1043
1056
  readonly "filterPanel.orderBy.updated": "Updated";
1057
+ readonly "filterPanel.orderBy.reputation": "Reputation";
1044
1058
  readonly "filterPanel.orderBy.entityRef": "Name";
1045
1059
  readonly "filterPanel.orderBy.title": "Title";
1046
1060
  readonly "filterPanel.orderBy.posts": "Posts";
@@ -1129,6 +1143,7 @@ declare const qetaTranslationRef: _backstage_frontend_plugin_api.TranslationRef<
1129
1143
  readonly "stats.totalLinks": "Total links";
1130
1144
  readonly "stats.totalViews": "Total views";
1131
1145
  readonly "stats.totalVotes": "Total votes";
1146
+ readonly "stats.reputation": "Reputation";
1132
1147
  readonly "stats.users": "Users";
1133
1148
  readonly "stats.answers": "Answers";
1134
1149
  readonly "stats.links": "Links";
@@ -1200,4 +1215,4 @@ type QetaOverrides = Overrides & {
1200
1215
  [Name in keyof QetaComponentsNameToClassKey]?: Partial<StyleRules<QetaComponentsNameToClassKey[Name]>>;
1201
1216
  };
1202
1217
 
1203
- export { AIAnswerCard, AddToCollectionButton, AnswerCard, AnswerForm, AnswerList, AnswerListItem, AnswersContainer, ArticleContent, AskQuestionButton, AuthorLink, ButtonContainer, CollectionFollowButton, CollectionForm, CollectionsGrid, ContentHeader, ContentHeaderButton, ContentHeaderCard, type ContentHeaderCardProps, type ContentHeaderProps, CreateCollectionButton, CreateLinkButton, DeleteModal, DeletedBanner, DraftBanner, EntitiesGrid, EntityFollowButton, FaviconItem, FilterPanel, FollowedCollectionsList, FollowedEntitiesList, FollowedTagsList, FollowedUsersList, ImpactCard, LeftMenu, LeftMenuButton, LinkCard, MarkdownRenderer, OpenLinkButton, PostForm, type PostGridProps, PostHighlightList, PostHighlightListContainer, PostHighlightListContent, PostList, PostListItem, PostsCard, PostsContainer, type PostsContainerProps, PostsGrid, PostsTable, QetaContext, type QetaContextProps, type QetaOverrides, QetaProvider, QuestionCard, type QuestionFormValues, QuestionsTable, RelativeTimeWithTooltip, SelectTemplateList, StatsChart, StatusChip, SuggestionsCard, type TagAndEntitiesFormValues, TagFollowButton, TagsGrid, type TemplateFormValues, TemplateList, TopRankingUsers, TrophyIcon, UpdatedByLink, UserFollowButton, UserLink, UsersGrid, ViewToggle, type ViewType, WriteArticleButton, articleRouteRef, articlesRouteRef, askRouteRef, collectionCreateRouteRef, collectionEditRouteRef, collectionRouteRef, collectionsRouteRef, createLinkRouteRef, editArticleRouteRef, editLinkRouteRef, editQuestionRouteRef, entitiesRouteRef, entityRouteRef, favoriteQuestionsRouteRef, linkRouteRef, linksRouteRef, moderatorRouteRef, qetaApiRef, qetaRouteRef, qetaTranslationRef, qetaTranslations, questionRouteRef, questionsRouteRef, statisticsRouteRef, tagRouteRef, tagsRouteRef, useAI, useCollectionsFollow, useEntityAuthor, useEntityFollow, useIdentityApi, useIsModerator, useQetaApi, useQetaContext, useTagsFollow, useUserFollow, useUserInfo, userRouteRef, usersRouteRef, writeRouteRef };
1218
+ export { AIAnswerCard, AddToCollectionButton, AnswerCard, AnswerForm, AnswerList, AnswerListItem, AnswersContainer, ArticleContent, AskQuestionButton, AuthorLink, BadgeChip, ButtonContainer, CollectionFollowButton, CollectionForm, CollectionsGrid, ContentHeader, ContentHeaderButton, ContentHeaderCard, type ContentHeaderCardProps, type ContentHeaderProps, CreateCollectionButton, CreateLinkButton, DeleteModal, DeletedBanner, DraftBanner, EntitiesGrid, EntityFollowButton, FaviconItem, FilterPanel, FollowedCollectionsList, FollowedEntitiesList, FollowedTagsList, FollowedUsersList, ImpactCard, LeftMenu, LeftMenuButton, LinkCard, MarkdownRenderer, OpenLinkButton, PostForm, type PostGridProps, PostHighlightList, PostHighlightListContainer, PostHighlightListContent, PostList, PostListItem, PostsCard, PostsContainer, type PostsContainerProps, PostsGrid, PostsTable, QetaContext, type QetaContextProps, type QetaOverrides, QetaProvider, QuestionCard, type QuestionFormValues, QuestionsTable, RelativeTimeWithTooltip, SelectTemplateList, StatsChart, StatusChip, SuggestionsCard, type TagAndEntitiesFormValues, TagFollowButton, TagsGrid, type TemplateFormValues, TemplateList, TopRankingUsers, TrophyIcon, UpdatedByLink, UserBadges, UserFollowButton, UserLink, UsersGrid, ViewToggle, type ViewType, WriteArticleButton, articleRouteRef, articlesRouteRef, askRouteRef, collectionCreateRouteRef, collectionEditRouteRef, collectionRouteRef, collectionsRouteRef, createLinkRouteRef, editArticleRouteRef, editLinkRouteRef, editQuestionRouteRef, entitiesRouteRef, entityRouteRef, favoriteQuestionsRouteRef, linkRouteRef, linksRouteRef, moderatorRouteRef, qetaApiRef, qetaRouteRef, qetaTranslationRef, qetaTranslations, questionRouteRef, questionsRouteRef, statisticsRouteRef, tagRouteRef, tagsRouteRef, useAI, useCollectionsFollow, useEntityAuthor, useEntityFollow, useIdentityApi, useIsModerator, useQetaApi, useQetaContext, useTagsFollow, useUserFollow, useUserInfo, userRouteRef, usersRouteRef, writeRouteRef };
package/dist/index.esm.js CHANGED
@@ -37,6 +37,8 @@ export { RelativeTimeWithTooltip } from './components/RelativeTimeWithTooltip/Re
37
37
  export { AuthorLink, UpdatedByLink, UserLink } from './components/Links/Links.esm.js';
38
38
  export { PostsTable, QuestionsTable } from './components/PostsTable/PostsTable.esm.js';
39
39
  export { StatsChart } from './components/StatsChart/StatsChart.esm.js';
40
+ export { BadgeChip } from './components/Badges/BadgeChip.esm.js';
41
+ export { UserBadges } from './components/Badges/UserBadges.esm.js';
40
42
  export { TopRankingUsers } from './components/TopRankingUsersCard/TopRankingUsersCard.esm.js';
41
43
  export { TrophyIcon } from './components/TopRankingUsersCard/TrophyIcon.esm.js';
42
44
  export { TagsGrid } from './components/TagsGrid/TagsGrid.esm.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -386,7 +386,13 @@ const qetaTranslationRef = createTranslationRef({
386
386
  votes: "Votes",
387
387
  questions: "Questions",
388
388
  answers: "Answers",
389
- followers: "Followers"
389
+ followers: "Followers",
390
+ reputation: "Reputation"
391
+ },
392
+ userBadges: {
393
+ title: "Badges",
394
+ error: "Failed to load badges",
395
+ noBadges: "No badges earned yet"
390
396
  },
391
397
  rightMenu: {
392
398
  followedEntities: "Followed entities",
@@ -634,7 +640,8 @@ const qetaTranslationRef = createTranslationRef({
634
640
  votes: "Votes",
635
641
  tag: "Name",
636
642
  entityRef: "Name",
637
- user: "Name"
643
+ user: "Name",
644
+ reputation: "Reputation"
638
645
  },
639
646
  order: {
640
647
  label: "Order",
@@ -791,7 +798,8 @@ const qetaTranslationRef = createTranslationRef({
791
798
  totalTags: "Total tags",
792
799
  totalArticles: "Total articles",
793
800
  totalLinks: "Total links",
794
- totalFollowers: "Total followers"
801
+ totalFollowers: "Total followers",
802
+ reputation: "Reputation"
795
803
  },
796
804
  collectionButton: {
797
805
  follow: "Follow",
@@ -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 experts: 'Experts',\n tagExpert: 'This user is an expert in this area',\n question: 'question',\n article: 'article',\n articles: 'articles',\n link: 'link',\n links: 'links',\n collection: 'collection',\n score: '{{score}} score',\n comments: 'Comments',\n answers: 'answers',\n questions: 'questions',\n votes: 'votes',\n clicks: 'clicks',\n followersPlain: 'followers',\n views: 'views',\n postStats: 'Post stats',\n anonymousAuthor: 'Anonymous',\n search: 'Search',\n favorite: 'Favorite',\n readMore: 'Read more',\n clear: 'Clear search',\n cancel: 'Cancel',\n answersCount_zero: 'No answers',\n answersCount_one: '{{count}} answer',\n answersCount_other: '{{count}} answers',\n viewsCount_zero: 'Viewed {{count}} times',\n viewsCount_one: 'Viewed {{count}} time',\n viewsCount_other: 'Viewed {{count}} times',\n viewsShort_zero: '0 views',\n viewsShort_one: '{{count}} view',\n viewsShort_other: '{{count}} views',\n votesCount_zero: '0 votes',\n votesCount_one: '{{count}} vote',\n votesCount_other: '{{count}} votes',\n clicksCount_zero: '0 clicks',\n clicksCount_one: '{{count}} click',\n clicksCount_other: '{{count}} clicks',\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 entities_zero: 'No entities',\n entities_one: '{{count}} entity',\n entities_other: '{{count}} entities',\n followers_zero: 'No followers',\n followers_one: '{{count}} follower',\n followers_other: '{{count}} followers',\n postsLabel_one: '{{itemType}}',\n postsLabel_other: '{{itemType}}s',\n followersLabel_one: 'follower',\n followersLabel_other: 'followers',\n unsaved_changes:\n 'You have unsaved changes. Are you sure you want to leave?',\n loading: 'Loading...',\n draft: 'Draft',\n deleted: 'Deleted',\n },\n markdownEditor: {\n write: 'Write',\n preview: 'Preview',\n uploadingImage: 'Uploading image...',\n pasteDropSelect: 'Paste, drop or select an image',\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 answer',\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 info: 'Your name will not be shown to others.',\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 dropHere: 'Drop your image here',\n dragAndDrop: 'Drag and drop an image here',\n supportedFormats: 'Supported formats: {{formats}}',\n selectFile: 'Select File',\n imageLoadError: 'Could not load image. Please check the URL.',\n },\n collectionForm: {\n errorPosting: 'Could not post collection',\n titleInput: {\n label: 'Title',\n helperText: 'Title of the collection',\n placeholder: 'e.g. Questions about Backstage',\n },\n descriptionInput: {\n label: 'Description',\n placeholder:\n 'Describe your collection in detail. What topics does it cover?',\n markdownHelp: 'Markdown help',\n },\n submit: {\n existingCollection: 'Save',\n newCollection: 'Create Collection',\n },\n submitting: 'Creating...',\n tips_1:\n \"Choose a clear and descriptive title that reflects the collection's purpose\",\n tips_2:\n 'Provide a detailed description of what topics or questions the collection will contain',\n tips_3:\n 'Use markdown formatting to describe your collection with headings, lists, and links',\n },\n postForm: {\n errorPosting: 'Could not post {{type}}',\n errorLoading: 'Could not load {{type}}',\n uploadHeaderImage: 'Upload header image',\n titleInput: {\n label: 'Title',\n helperText:\n 'Write a good title for your {{type}} that people can understand',\n placeholder: 'e.g. How do I deploy a Backstage plugin?',\n placeholder_link: 'e.g. Backstage documentation',\n },\n contentInput: {\n label: 'Your {{type}}',\n placeholder_question:\n 'Describe your problem in detail. What have you tried? What did you expect to happen?',\n placeholder_article:\n 'Write your article content here. Use headings, lists, and images to organize your information.',\n placeholder_link: 'Why is this link useful? Who will benefit from it?',\n markdownHelp: 'Markdown help',\n },\n urlInput: {\n label: 'URL',\n helperText: 'Paste the link you want to share',\n placeholder: 'https://',\n invalid: 'Please enter a valid URL (starting with http:// or https://)',\n },\n authorInput: {\n label: 'Author',\n placeholder: 'Select author',\n },\n submit: {\n existingPost: 'Save',\n publish: 'Publish',\n },\n successPosting: 'Your {{type}} was posted successfully!',\n submitting: 'Posting...',\n savingDraft: 'Saving draft...',\n saveDraft: 'Save as draft',\n updateDraft: 'Save draft',\n draftSaved: 'Draft saved',\n tips_question_1: 'Describe your problem in detail.',\n tips_question_2:\n 'Include what you have tried and what you expected to happen.',\n tips_question_3:\n 'Share error messages, logs, or screenshots if possible.',\n tips_question_4: 'Use code blocks for code or configuration.',\n tips_article_1: 'Write a clear and engaging introduction.',\n tips_article_2: 'Organize your content with headings and lists.',\n tips_article_3: 'Add images or diagrams to illustrate your points.',\n tips_article_4: 'Cite sources or link to relevant documentation.',\n tips_link_1: 'Explain why this link is useful.',\n tips_link_2: 'Describe who will benefit from this link.',\n autoSaveDraft: 'Auto-save',\n autoSaveDraftTooltip:\n 'Automatically save your post every 3 seconds when changes are made',\n autoSaveSuccess: 'Saved automatically',\n },\n answerForm: {\n errorPosting: 'Could not post answer',\n contentInput: {\n placeholder: 'Your answer',\n },\n submitting: 'Submitting...',\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',\n minimumError: 'Please add at least {{min}} entities',\n suggestedEntities: 'Suggested entities',\n },\n tagsInput: {\n label: 'Tags',\n placeholder: 'Type or select tags',\n helperText: 'Add up to {{max}} tags',\n allowAddHelperText:\n 'You can create new tags by typing the tag and pressing enter',\n minimumError: 'Please add at least {{min}} tags',\n suggestedTags: 'Suggested tags',\n },\n askPage: {\n title: {\n existingQuestion: 'Edit question',\n entityQuestion: 'Ask a question about {{entity}}',\n newQuestion: 'Ask a question',\n },\n templateSelection: 'Select a template for your question',\n questionForm: 'Ask a question',\n selectTemplate: 'Select a template for your question',\n },\n writePage: {\n title: {\n existingArticle: 'Edit article',\n entityArticle: 'Write an article about {{entity}}',\n newArticle: 'New article',\n },\n },\n createLinkPage: {\n title: {\n existingLink: 'Edit link',\n entityLink: 'Create a link about {{entity}}',\n newLink: 'New link',\n },\n editButton: 'Edit this link',\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 removed: 'Removed from collection {{collection}}',\n added: 'Added to collection {{collection}}',\n },\n writeArticleButton: {\n title: 'Write an article',\n },\n createLinkButton: {\n title: 'Link',\n },\n createCollectionButton: {\n title: 'Create a collection',\n },\n commentList: {\n save: 'Save',\n editLink: 'edit',\n deleteLink: 'delete',\n },\n markdown: {\n toc: 'Table of contents',\n },\n commentSection: {\n input: {\n placeholder: 'Your comment',\n },\n addComment: 'Add a comment',\n leaveComment: 'Leave a comment',\n post: 'Post',\n },\n tagChip: {\n nonExistingTag: 'This tag does not yet exist',\n },\n editTagModal: {\n title: 'Edit tag {{tag}}',\n description: 'Tag description',\n errorPosting: 'Failed to edit',\n expertsLabel: 'Experts',\n expertsPlaceholder: 'Tag experts',\n saveButton: 'Save',\n cancelButton: 'Cancel',\n },\n createTagModal: {\n title: 'Create a new tag',\n tagInput: 'Tag',\n description: 'Tag description',\n errorPosting: 'Failed to create',\n createButton: 'Create',\n cancelButton: 'Cancel',\n invalidTagAlert:\n 'Invalid tag given. Tags can only contain lowercase letters, numbers, hyphens, and underscores. Tag must be less than 255 characters.',\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 tag: 'Are you sure you want to delete this tag?',\n },\n errorDeleting: 'Failed to delete',\n reason: 'Reason for deletion',\n deleteButton: 'Delete',\n cancelButton: 'Cancel',\n tagDeleted: 'Tag deleted',\n collectionDeleted: 'Collection deleted',\n questionDeleted: 'Question deleted',\n articleDeleted: 'Article deleted',\n answerDeleted: 'Answer deleted',\n linkDeleted: 'Link deleted',\n },\n favoritePage: {\n title: 'Favorited posts',\n },\n leftMenu: {\n buttonLabel: 'Menu',\n home: 'Home',\n questions: 'Questions',\n articles: 'Articles',\n links: 'Links',\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 expand: 'Expand menu',\n collapse: 'Collapse menu',\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 deletedPosts: 'Deleted posts',\n },\n suggestionsCard: {\n title: 'Suggestions',\n noSuggestions: 'No suggestions',\n noCorrectAnswer1:\n 'Your question \"{{title}}\" does not have a correct answer',\n noCorrectAnswer2: '\"{{title}}\" is still looking for a correct answer',\n noCorrectAnswer3:\n 'Please mark a correct answer for \"{{title}}\" if resolved',\n noCorrectAnswer4: 'Has \"{{title}}\" been answered yet?',\n noCorrectAnswer5: 'Could you mark the correct answer for \"{{title}}\"?',\n newQuestion1: 'Do you have an answer for \"{{title}}\"?',\n newQuestion2: 'Can you provide an answer for \"{{title}}\"?',\n newQuestion3: 'Help the community by answering \"{{title}}\"?',\n newQuestion4: 'Your expertise is needed for \"{{title}}\"',\n newQuestion5: 'Any thoughts on \"{{title}}\"?',\n newArticle1: 'You might like to read \"{{title}}\"',\n newArticle2: 'Check out this article: \"{{title}}\"',\n newArticle3: 'Recommended reading: \"{{title}}\"',\n newArticle4: 'Article suggestion: \"{{title}}\"',\n newArticle5: 'Have you read \"{{title}}\" yet?',\n newLink1: 'You might like to check this link \"{{title}}\"',\n newLink2: 'Useful resource: \"{{title}}\"',\n newLink3: 'Have you seen this link: \"{{title}}\"?',\n newLink4: 'Check this link out: \"{{title}}\"',\n newLink5: 'Link suggestion: \"{{title}}\"',\n draftPost1: 'Ready to finalize draft post \"{{title}}\"?',\n draftPost2: 'Continue working on \"{{title}}\"?',\n draftPost3: 'Don\\'t forget to publish \"{{title}}\"',\n draftPost4: 'Finish your draft \"{{title}}\"',\n draftPost5: 'Your draft \"{{title}}\" is waiting for you',\n randomPost1: 'Share your thoughts on \"{{title}}\"?',\n randomPost2: 'What do you think about \"{{title}}\"?',\n randomPost3: 'Have you seen \"{{title}}\"?',\n randomPost4: 'Join the discussion on \"{{title}}\"',\n randomPost5: 'Check this out: \"{{title}}\"',\n },\n homePage: {\n title: 'Home',\n },\n impactCard: {\n title: 'Your impact',\n views: 'views',\n error: 'Failed to load impact data',\n contributions: 'Your contributions helped {{lastWeek}} people this week',\n votes: 'Votes',\n questions: 'Questions',\n answers: 'Answers',\n followers: 'Followers',\n },\n rightMenu: {\n followedEntities: 'Followed entities',\n followedTags: 'Followed tags',\n followedCollections: 'Followed collections',\n followedUsers: 'Followed users',\n similarQuestions: 'Similar questions',\n expand: 'Expand sidebar',\n collapse: 'Collapse sidebar',\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 hotLinks: {\n title: 'Hot links',\n noLinksLabel: 'No links',\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 linksPage: {\n title: 'All links',\n },\n userLink: {\n anonymous: 'Anonymous',\n you: 'You',\n },\n articlePage: {\n notFound: 'Could not find the article',\n errorLoading: 'Could not load article',\n editButton: 'Edit this article',\n restoreButton: 'Restore this article',\n deleteButton: 'Delete this article',\n },\n linkPage: {\n notFound: 'Could not find the link',\n errorLoading: 'Could not load link',\n editButton: 'Edit this link',\n restoreButton: 'Restore this link',\n deleteButton: 'Delete this link',\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 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 searchResult: {\n created: 'Created',\n },\n questionPage: {\n errorLoading: 'Could not load question',\n editButton: 'Edit',\n restoreButton: 'Restore',\n notFound: 'Could not find the question',\n draftStatus:\n 'This is a draft post. Please edit and publish it to make it visible to others.',\n deletedStatus:\n 'This post has been deleted. You can delete it permanently or restore it.',\n answerButton: 'Answer',\n sortAnswers: {\n label: 'Sort answers',\n menuLabel: 'Sort answers menu',\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 answeredAtTime: 'Answered',\n correctAnswer: 'Correct answer',\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 copied: 'Link copied to clipboard',\n open: 'Open link in new tab',\n },\n code: {\n aria: 'Copy code to clipboard',\n copied: 'Code copied 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 post: {\n good: 'This {{type}} is good',\n bad: 'This {{type}} is not good',\n own: 'You cannot vote your own {{type}}',\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: 'Posted',\n default: 'Select',\n last7days: 'Last 7 days',\n last30days: 'Last 30 days',\n custom: 'Custom',\n },\n },\n ranking: {\n top: 'Rank this question to the top in this collection',\n bottom: 'Rank this question to the bottom in this collection',\n up: 'Rank this question up in this collection',\n down: 'Rank this question down in this collection',\n },\n filterPanel: {\n filterButton: 'Filter',\n noAnswers: {\n label: 'No answers',\n },\n drafts: {\n label: 'My drafts',\n },\n noCorrectAnswers: {\n label: 'No correct answers',\n },\n noVotes: {\n label: 'No votes',\n },\n quickFilters: {\n label: 'Quick filters',\n },\n starredEntities: {\n label: 'Starred entities',\n },\n ownedEntities: {\n label: 'Owned entities',\n },\n entitiesRelation: {\n label: 'Entities relation',\n },\n toggleEntityRelation: {\n and: 'Change to only with all selected entities (AND)',\n or: 'Change to with any selected entities (OR)',\n },\n toggleTagRelation: {\n and: 'Change to only with all selected tags (AND)',\n or: 'Change to with any selected tags (OR)',\n },\n orderBy: {\n rank: 'Rank',\n label: 'Order by',\n title: 'Title',\n created: 'Created',\n views: 'Views',\n score: 'Score',\n clicks: 'Clicks',\n trend: 'Trend',\n answers: 'Answers',\n updated: 'Updated',\n posts: 'Posts',\n articles: 'Articles',\n questions: 'Questions',\n links: 'Links',\n followers: 'Followers',\n votes: 'Votes',\n tag: 'Name',\n entityRef: 'Name',\n user: 'Name',\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 {{itemType}}',\n placeholder: 'Search...',\n },\n noItems: 'No {{itemType}}s',\n createButton: 'Go ahead and create one!',\n },\n postsTable: {\n errorLoading: 'Could not load questions',\n latest: 'Latest',\n mostViewed: 'Most viewed',\n favorites: 'Favorites',\n cells: {\n title: 'Title',\n type: 'Type',\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: 'User ranking 🏆',\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 createTag: 'Create tag',\n search: {\n label: 'Search tag',\n placeholder: 'Search...',\n },\n tags_zero: 'No tags',\n tags_one: '{{count}} tag',\n tags_other: '{{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: '{{count}} entity',\n entities_other: '{{count}} entities',\n },\n aiAnswerCard: {\n regenerate: 'Regenerate this answer',\n answer: 'Answer from {{name}}',\n summary: 'Summary by {{name}}',\n show: 'Show',\n hide: 'Hide',\n loading: 'Thinking...',\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: '{{count}} user',\n users_other: '{{count}} users',\n },\n userPage: {\n profileTab: 'Profile',\n statistics: 'Statistics',\n questions: 'Questions',\n answers: 'Answers',\n collections: 'Collections',\n articles: 'Articles',\n links: 'Links',\n followUser: 'Follow {{name}}',\n profilePicture: 'Profile picture of {{name}}',\n profileHeader: 'User profile',\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 links: 'Links',\n followers: 'Followers',\n users: 'Users',\n tags: 'Tags',\n barChart: 'Bar Chart',\n lineChart: 'Line Chart',\n chartType: 'Chart Type',\n tooltip: 'Chart Tooltip',\n dateAxis: 'Date Axis',\n valueAxis: 'Value Axis',\n totalViews: 'Total views',\n totalQuestions: 'Total questions',\n totalAnswers: 'Total answers',\n totalComments: 'Total comments',\n totalVotes: 'Total votes',\n totalUsers: 'Total users',\n totalTags: 'Total tags',\n totalArticles: 'Total articles',\n totalLinks: 'Total links',\n totalFollowers: 'Total followers',\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 delete: 'Delete',\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 viewToggle: {\n listView: 'List View',\n gridView: 'Grid View',\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;AAAA,KACf;AAAA,IACA,MAAQ,EAAA;AAAA,MACN,IAAM,EAAA,MAAA;AAAA,MACN,OAAS,EAAA,SAAA;AAAA,MACT,SAAW,EAAA,qCAAA;AAAA,MACX,QAAU,EAAA,UAAA;AAAA,MACV,OAAS,EAAA,SAAA;AAAA,MACT,QAAU,EAAA,UAAA;AAAA,MACV,IAAM,EAAA,MAAA;AAAA,MACN,KAAO,EAAA,OAAA;AAAA,MACP,UAAY,EAAA,YAAA;AAAA,MACZ,KAAO,EAAA,iBAAA;AAAA,MACP,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,EAAA,QAAA;AAAA,MACR,QAAU,EAAA,UAAA;AAAA,MACV,OACE,EAAA;AAAA,KACJ;AAAA,IACA,UAAY,EAAA;AAAA,MACV,QAAU,EAAA,WAAA;AAAA,MACV,QAAU,EAAA;AAAA;AACZ;AAEJ,CAAC;AAEM,MAAM,mBAAmB,yBAA0B,CAAA;AAAA,EACxD,GAAK,EAAA,kBAAA;AAAA,EACL,cAAc;AAChB,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 experts: 'Experts',\n tagExpert: 'This user is an expert in this area',\n question: 'question',\n article: 'article',\n articles: 'articles',\n link: 'link',\n links: 'links',\n collection: 'collection',\n score: '{{score}} score',\n comments: 'Comments',\n answers: 'answers',\n questions: 'questions',\n votes: 'votes',\n clicks: 'clicks',\n followersPlain: 'followers',\n views: 'views',\n postStats: 'Post stats',\n anonymousAuthor: 'Anonymous',\n search: 'Search',\n favorite: 'Favorite',\n readMore: 'Read more',\n clear: 'Clear search',\n cancel: 'Cancel',\n answersCount_zero: 'No answers',\n answersCount_one: '{{count}} answer',\n answersCount_other: '{{count}} answers',\n viewsCount_zero: 'Viewed {{count}} times',\n viewsCount_one: 'Viewed {{count}} time',\n viewsCount_other: 'Viewed {{count}} times',\n viewsShort_zero: '0 views',\n viewsShort_one: '{{count}} view',\n viewsShort_other: '{{count}} views',\n votesCount_zero: '0 votes',\n votesCount_one: '{{count}} vote',\n votesCount_other: '{{count}} votes',\n clicksCount_zero: '0 clicks',\n clicksCount_one: '{{count}} click',\n clicksCount_other: '{{count}} clicks',\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 entities_zero: 'No entities',\n entities_one: '{{count}} entity',\n entities_other: '{{count}} entities',\n followers_zero: 'No followers',\n followers_one: '{{count}} follower',\n followers_other: '{{count}} followers',\n postsLabel_one: '{{itemType}}',\n postsLabel_other: '{{itemType}}s',\n followersLabel_one: 'follower',\n followersLabel_other: 'followers',\n unsaved_changes:\n 'You have unsaved changes. Are you sure you want to leave?',\n loading: 'Loading...',\n draft: 'Draft',\n deleted: 'Deleted',\n },\n markdownEditor: {\n write: 'Write',\n preview: 'Preview',\n uploadingImage: 'Uploading image...',\n pasteDropSelect: 'Paste, drop or select an image',\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 answer',\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 info: 'Your name will not be shown to others.',\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 dropHere: 'Drop your image here',\n dragAndDrop: 'Drag and drop an image here',\n supportedFormats: 'Supported formats: {{formats}}',\n selectFile: 'Select File',\n imageLoadError: 'Could not load image. Please check the URL.',\n },\n collectionForm: {\n errorPosting: 'Could not post collection',\n titleInput: {\n label: 'Title',\n helperText: 'Title of the collection',\n placeholder: 'e.g. Questions about Backstage',\n },\n descriptionInput: {\n label: 'Description',\n placeholder:\n 'Describe your collection in detail. What topics does it cover?',\n markdownHelp: 'Markdown help',\n },\n submit: {\n existingCollection: 'Save',\n newCollection: 'Create Collection',\n },\n submitting: 'Creating...',\n tips_1:\n \"Choose a clear and descriptive title that reflects the collection's purpose\",\n tips_2:\n 'Provide a detailed description of what topics or questions the collection will contain',\n tips_3:\n 'Use markdown formatting to describe your collection with headings, lists, and links',\n },\n postForm: {\n errorPosting: 'Could not post {{type}}',\n errorLoading: 'Could not load {{type}}',\n uploadHeaderImage: 'Upload header image',\n titleInput: {\n label: 'Title',\n helperText:\n 'Write a good title for your {{type}} that people can understand',\n placeholder: 'e.g. How do I deploy a Backstage plugin?',\n placeholder_link: 'e.g. Backstage documentation',\n },\n contentInput: {\n label: 'Your {{type}}',\n placeholder_question:\n 'Describe your problem in detail. What have you tried? What did you expect to happen?',\n placeholder_article:\n 'Write your article content here. Use headings, lists, and images to organize your information.',\n placeholder_link: 'Why is this link useful? Who will benefit from it?',\n markdownHelp: 'Markdown help',\n },\n urlInput: {\n label: 'URL',\n helperText: 'Paste the link you want to share',\n placeholder: 'https://',\n invalid: 'Please enter a valid URL (starting with http:// or https://)',\n },\n authorInput: {\n label: 'Author',\n placeholder: 'Select author',\n },\n submit: {\n existingPost: 'Save',\n publish: 'Publish',\n },\n successPosting: 'Your {{type}} was posted successfully!',\n submitting: 'Posting...',\n savingDraft: 'Saving draft...',\n saveDraft: 'Save as draft',\n updateDraft: 'Save draft',\n draftSaved: 'Draft saved',\n tips_question_1: 'Describe your problem in detail.',\n tips_question_2:\n 'Include what you have tried and what you expected to happen.',\n tips_question_3:\n 'Share error messages, logs, or screenshots if possible.',\n tips_question_4: 'Use code blocks for code or configuration.',\n tips_article_1: 'Write a clear and engaging introduction.',\n tips_article_2: 'Organize your content with headings and lists.',\n tips_article_3: 'Add images or diagrams to illustrate your points.',\n tips_article_4: 'Cite sources or link to relevant documentation.',\n tips_link_1: 'Explain why this link is useful.',\n tips_link_2: 'Describe who will benefit from this link.',\n autoSaveDraft: 'Auto-save',\n autoSaveDraftTooltip:\n 'Automatically save your post every 3 seconds when changes are made',\n autoSaveSuccess: 'Saved automatically',\n },\n answerForm: {\n errorPosting: 'Could not post answer',\n contentInput: {\n placeholder: 'Your answer',\n },\n submitting: 'Submitting...',\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',\n minimumError: 'Please add at least {{min}} entities',\n suggestedEntities: 'Suggested entities',\n },\n tagsInput: {\n label: 'Tags',\n placeholder: 'Type or select tags',\n helperText: 'Add up to {{max}} tags',\n allowAddHelperText:\n 'You can create new tags by typing the tag and pressing enter',\n minimumError: 'Please add at least {{min}} tags',\n suggestedTags: 'Suggested tags',\n },\n askPage: {\n title: {\n existingQuestion: 'Edit question',\n entityQuestion: 'Ask a question about {{entity}}',\n newQuestion: 'Ask a question',\n },\n templateSelection: 'Select a template for your question',\n questionForm: 'Ask a question',\n selectTemplate: 'Select a template for your question',\n },\n writePage: {\n title: {\n existingArticle: 'Edit article',\n entityArticle: 'Write an article about {{entity}}',\n newArticle: 'New article',\n },\n },\n createLinkPage: {\n title: {\n existingLink: 'Edit link',\n entityLink: 'Create a link about {{entity}}',\n newLink: 'New link',\n },\n editButton: 'Edit this link',\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 removed: 'Removed from collection {{collection}}',\n added: 'Added to collection {{collection}}',\n },\n writeArticleButton: {\n title: 'Write an article',\n },\n createLinkButton: {\n title: 'Link',\n },\n createCollectionButton: {\n title: 'Create a collection',\n },\n commentList: {\n save: 'Save',\n editLink: 'edit',\n deleteLink: 'delete',\n },\n markdown: {\n toc: 'Table of contents',\n },\n commentSection: {\n input: {\n placeholder: 'Your comment',\n },\n addComment: 'Add a comment',\n leaveComment: 'Leave a comment',\n post: 'Post',\n },\n tagChip: {\n nonExistingTag: 'This tag does not yet exist',\n },\n editTagModal: {\n title: 'Edit tag {{tag}}',\n description: 'Tag description',\n errorPosting: 'Failed to edit',\n expertsLabel: 'Experts',\n expertsPlaceholder: 'Tag experts',\n saveButton: 'Save',\n cancelButton: 'Cancel',\n },\n createTagModal: {\n title: 'Create a new tag',\n tagInput: 'Tag',\n description: 'Tag description',\n errorPosting: 'Failed to create',\n createButton: 'Create',\n cancelButton: 'Cancel',\n invalidTagAlert:\n 'Invalid tag given. Tags can only contain lowercase letters, numbers, hyphens, and underscores. Tag must be less than 255 characters.',\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 tag: 'Are you sure you want to delete this tag?',\n },\n errorDeleting: 'Failed to delete',\n reason: 'Reason for deletion',\n deleteButton: 'Delete',\n cancelButton: 'Cancel',\n tagDeleted: 'Tag deleted',\n collectionDeleted: 'Collection deleted',\n questionDeleted: 'Question deleted',\n articleDeleted: 'Article deleted',\n answerDeleted: 'Answer deleted',\n linkDeleted: 'Link deleted',\n },\n favoritePage: {\n title: 'Favorited posts',\n },\n leftMenu: {\n buttonLabel: 'Menu',\n home: 'Home',\n questions: 'Questions',\n articles: 'Articles',\n links: 'Links',\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 expand: 'Expand menu',\n collapse: 'Collapse menu',\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 deletedPosts: 'Deleted posts',\n },\n suggestionsCard: {\n title: 'Suggestions',\n noSuggestions: 'No suggestions',\n noCorrectAnswer1:\n 'Your question \"{{title}}\" does not have a correct answer',\n noCorrectAnswer2: '\"{{title}}\" is still looking for a correct answer',\n noCorrectAnswer3:\n 'Please mark a correct answer for \"{{title}}\" if resolved',\n noCorrectAnswer4: 'Has \"{{title}}\" been answered yet?',\n noCorrectAnswer5: 'Could you mark the correct answer for \"{{title}}\"?',\n newQuestion1: 'Do you have an answer for \"{{title}}\"?',\n newQuestion2: 'Can you provide an answer for \"{{title}}\"?',\n newQuestion3: 'Help the community by answering \"{{title}}\"?',\n newQuestion4: 'Your expertise is needed for \"{{title}}\"',\n newQuestion5: 'Any thoughts on \"{{title}}\"?',\n newArticle1: 'You might like to read \"{{title}}\"',\n newArticle2: 'Check out this article: \"{{title}}\"',\n newArticle3: 'Recommended reading: \"{{title}}\"',\n newArticle4: 'Article suggestion: \"{{title}}\"',\n newArticle5: 'Have you read \"{{title}}\" yet?',\n newLink1: 'You might like to check this link \"{{title}}\"',\n newLink2: 'Useful resource: \"{{title}}\"',\n newLink3: 'Have you seen this link: \"{{title}}\"?',\n newLink4: 'Check this link out: \"{{title}}\"',\n newLink5: 'Link suggestion: \"{{title}}\"',\n draftPost1: 'Ready to finalize draft post \"{{title}}\"?',\n draftPost2: 'Continue working on \"{{title}}\"?',\n draftPost3: 'Don\\'t forget to publish \"{{title}}\"',\n draftPost4: 'Finish your draft \"{{title}}\"',\n draftPost5: 'Your draft \"{{title}}\" is waiting for you',\n randomPost1: 'Share your thoughts on \"{{title}}\"?',\n randomPost2: 'What do you think about \"{{title}}\"?',\n randomPost3: 'Have you seen \"{{title}}\"?',\n randomPost4: 'Join the discussion on \"{{title}}\"',\n randomPost5: 'Check this out: \"{{title}}\"',\n },\n homePage: {\n title: 'Home',\n },\n impactCard: {\n title: 'Your impact',\n views: 'views',\n error: 'Failed to load impact data',\n contributions: 'Your contributions helped {{lastWeek}} people this week',\n votes: 'Votes',\n questions: 'Questions',\n answers: 'Answers',\n followers: 'Followers',\n reputation: 'Reputation',\n },\n userBadges: {\n title: 'Badges',\n error: 'Failed to load badges',\n noBadges: 'No badges earned yet',\n },\n rightMenu: {\n followedEntities: 'Followed entities',\n followedTags: 'Followed tags',\n followedCollections: 'Followed collections',\n followedUsers: 'Followed users',\n similarQuestions: 'Similar questions',\n expand: 'Expand sidebar',\n collapse: 'Collapse sidebar',\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 hotLinks: {\n title: 'Hot links',\n noLinksLabel: 'No links',\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 linksPage: {\n title: 'All links',\n },\n userLink: {\n anonymous: 'Anonymous',\n you: 'You',\n },\n articlePage: {\n notFound: 'Could not find the article',\n errorLoading: 'Could not load article',\n editButton: 'Edit this article',\n restoreButton: 'Restore this article',\n deleteButton: 'Delete this article',\n },\n linkPage: {\n notFound: 'Could not find the link',\n errorLoading: 'Could not load link',\n editButton: 'Edit this link',\n restoreButton: 'Restore this link',\n deleteButton: 'Delete this link',\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 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 searchResult: {\n created: 'Created',\n },\n questionPage: {\n errorLoading: 'Could not load question',\n editButton: 'Edit',\n restoreButton: 'Restore',\n notFound: 'Could not find the question',\n draftStatus:\n 'This is a draft post. Please edit and publish it to make it visible to others.',\n deletedStatus:\n 'This post has been deleted. You can delete it permanently or restore it.',\n answerButton: 'Answer',\n sortAnswers: {\n label: 'Sort answers',\n menuLabel: 'Sort answers menu',\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 answeredAtTime: 'Answered',\n correctAnswer: 'Correct answer',\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 copied: 'Link copied to clipboard',\n open: 'Open link in new tab',\n },\n code: {\n aria: 'Copy code to clipboard',\n copied: 'Code copied 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 post: {\n good: 'This {{type}} is good',\n bad: 'This {{type}} is not good',\n own: 'You cannot vote your own {{type}}',\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: 'Posted',\n default: 'Select',\n last7days: 'Last 7 days',\n last30days: 'Last 30 days',\n custom: 'Custom',\n },\n },\n ranking: {\n top: 'Rank this question to the top in this collection',\n bottom: 'Rank this question to the bottom in this collection',\n up: 'Rank this question up in this collection',\n down: 'Rank this question down in this collection',\n },\n filterPanel: {\n filterButton: 'Filter',\n noAnswers: {\n label: 'No answers',\n },\n drafts: {\n label: 'My drafts',\n },\n noCorrectAnswers: {\n label: 'No correct answers',\n },\n noVotes: {\n label: 'No votes',\n },\n quickFilters: {\n label: 'Quick filters',\n },\n starredEntities: {\n label: 'Starred entities',\n },\n ownedEntities: {\n label: 'Owned entities',\n },\n entitiesRelation: {\n label: 'Entities relation',\n },\n toggleEntityRelation: {\n and: 'Change to only with all selected entities (AND)',\n or: 'Change to with any selected entities (OR)',\n },\n toggleTagRelation: {\n and: 'Change to only with all selected tags (AND)',\n or: 'Change to with any selected tags (OR)',\n },\n orderBy: {\n rank: 'Rank',\n label: 'Order by',\n title: 'Title',\n created: 'Created',\n views: 'Views',\n score: 'Score',\n clicks: 'Clicks',\n trend: 'Trend',\n answers: 'Answers',\n updated: 'Updated',\n posts: 'Posts',\n articles: 'Articles',\n questions: 'Questions',\n links: 'Links',\n followers: 'Followers',\n votes: 'Votes',\n tag: 'Name',\n entityRef: 'Name',\n user: 'Name',\n reputation: 'Reputation',\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 {{itemType}}',\n placeholder: 'Search...',\n },\n noItems: 'No {{itemType}}s',\n createButton: 'Go ahead and create one!',\n },\n postsTable: {\n errorLoading: 'Could not load questions',\n latest: 'Latest',\n mostViewed: 'Most viewed',\n favorites: 'Favorites',\n cells: {\n title: 'Title',\n type: 'Type',\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: 'User ranking 🏆',\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 createTag: 'Create tag',\n search: {\n label: 'Search tag',\n placeholder: 'Search...',\n },\n tags_zero: 'No tags',\n tags_one: '{{count}} tag',\n tags_other: '{{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: '{{count}} entity',\n entities_other: '{{count}} entities',\n },\n aiAnswerCard: {\n regenerate: 'Regenerate this answer',\n answer: 'Answer from {{name}}',\n summary: 'Summary by {{name}}',\n show: 'Show',\n hide: 'Hide',\n loading: 'Thinking...',\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: '{{count}} user',\n users_other: '{{count}} users',\n },\n userPage: {\n profileTab: 'Profile',\n statistics: 'Statistics',\n questions: 'Questions',\n answers: 'Answers',\n collections: 'Collections',\n articles: 'Articles',\n links: 'Links',\n followUser: 'Follow {{name}}',\n profilePicture: 'Profile picture of {{name}}',\n profileHeader: 'User profile',\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 links: 'Links',\n followers: 'Followers',\n users: 'Users',\n tags: 'Tags',\n barChart: 'Bar Chart',\n lineChart: 'Line Chart',\n chartType: 'Chart Type',\n tooltip: 'Chart Tooltip',\n dateAxis: 'Date Axis',\n valueAxis: 'Value Axis',\n totalViews: 'Total views',\n totalQuestions: 'Total questions',\n totalAnswers: 'Total answers',\n totalComments: 'Total comments',\n totalVotes: 'Total votes',\n totalUsers: 'Total users',\n totalTags: 'Total tags',\n totalArticles: 'Total articles',\n totalLinks: 'Total links',\n totalFollowers: 'Total followers',\n reputation: 'Reputation',\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 delete: 'Delete',\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 viewToggle: {\n listView: 'List View',\n gridView: 'Grid View',\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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AA;AAAA,MACf,UAAY,EAAA,aAAA;AAAA,MACZ,cAAgB,EAAA,iBAAA;AAAA,MAChB,UAAY,EAAA;AAAA,KACd;AAAA,IACA,gBAAkB,EAAA;AAAA,MAChB,MAAQ,EAAA,QAAA;AAAA,MACR,QAAU,EAAA,UAAA;AAAA,MACV,OACE,EAAA;AAAA,KACJ;AAAA,IACA,SAAW,EAAA;AAAA,MACT,MAAQ,EAAA,QAAA;AAAA,MACR,QAAU,EAAA,UAAA;AAAA,MACV,IAAM,EAAA,MAAA;AAAA,MACN,MAAQ,EAAA,QAAA;AAAA,MACR,OACE,EAAA;AAAA,KACJ;AAAA,IACA,YAAc,EAAA;AAAA,MACZ,MAAQ,EAAA,QAAA;AAAA,MACR,QAAU,EAAA,UAAA;AAAA,MACV,OACE,EAAA;AAAA,KACJ;AAAA,IACA,UAAY,EAAA;AAAA,MACV,MAAQ,EAAA,QAAA;AAAA,MACR,QAAU,EAAA,UAAA;AAAA,MACV,OACE,EAAA;AAAA,KACJ;AAAA,IACA,UAAY,EAAA;AAAA,MACV,QAAU,EAAA,WAAA;AAAA,MACV,QAAU,EAAA;AAAA;AACZ;AAEJ,CAAC;AAEM,MAAM,mBAAmB,yBAA0B,CAAA;AAAA,EACxD,GAAK,EAAA,kBAAA;AAAA,EACL,cAAc;AAChB,CAAC;;;;"}
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "frontend",
8
8
  "backstage.io"
9
9
  ],
10
- "version": "3.49.1",
10
+ "version": "3.50.0",
11
11
  "main": "dist/index.esm.js",
12
12
  "types": "dist/index.d.ts",
13
13
  "prepublishOnly": "yarn tsc && yarn build",
@@ -57,7 +57,7 @@
57
57
  "@backstage/plugin-permission-common": "^0.9.3",
58
58
  "@backstage/plugin-permission-react": "^0.4.39",
59
59
  "@backstage/plugin-signals-react": "^0.0.18",
60
- "@drodil/backstage-plugin-qeta-common": "^3.49.1",
60
+ "@drodil/backstage-plugin-qeta-common": "^3.50.0",
61
61
  "@jsdevtools/rehype-toc": "^3.0.2",
62
62
  "@material-ui/core": "^4.12.2",
63
63
  "@material-ui/icons": "^4.11.3",