@drodil/backstage-plugin-qeta-react 3.33.0 → 3.33.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.
@@ -1 +1 @@
1
- {"version":3,"file":"PostsContainer.esm.js","sources":["../../../src/components/PostsContainer/PostsContainer.tsx"],"sourcesContent":["import {\n CommonFilterPanelProps,\n FilterPanel,\n PostFilters,\n} from '../FilterPanel/FilterPanel';\nimport { PostList } from './PostList';\nimport { AskQuestionButton } from '../Buttons/AskQuestionButton';\nimport { EntityRefLink } from '@backstage/plugin-catalog-react';\nimport { TagFollowButton } from '../Buttons/TagFollowButton';\nimport { EntityFollowButton } from '../Buttons/EntityFollowButton';\nimport { WriteArticleButton } from '../Buttons';\nimport { ViewToggle, ViewType } from '../ViewToggle/ViewToggle';\nimport { capitalize } from 'lodash';\nimport {\n PaginatedPostsProps,\n usePaginatedPosts,\n} from '../../hooks/usePaginatedPosts';\nimport { useTranslationRef } from '@backstage/core-plugin-api/alpha';\nimport { qetaTranslationRef } from '../../translation.ts';\nimport { SearchBar } from '../SearchBar/SearchBar';\nimport { Box, Button, Collapse, Grid, Typography } from '@material-ui/core';\nimport FilterList from '@material-ui/icons/FilterList';\n\nexport const PostsContainer = (\n props: PaginatedPostsProps & {\n entity?: string;\n filterPanelProps?: CommonFilterPanelProps;\n showTypeLabel?: boolean;\n view?: ViewType;\n onViewChange?: (view: ViewType) => void;\n },\n) => {\n const {\n type,\n tags,\n author,\n entity,\n showFilters,\n showTitle,\n title,\n favorite,\n showAskButton,\n showWriteButton,\n showNoQuestionsBtn,\n showTypeLabel,\n view,\n onViewChange,\n } = props;\n const {\n onSearchQueryChange,\n filters,\n response,\n loading,\n error,\n setShowFilterPanel,\n showFilterPanel,\n onFilterChange,\n onPageChange,\n onPageSizeChange,\n page,\n postsPerPage,\n pageCount,\n } = usePaginatedPosts(props);\n const { t } = useTranslationRef(qetaTranslationRef);\n\n const itemType = capitalize(t(`common.${type ?? 'post'}`, {}));\n let shownTitle = title;\n let link = undefined;\n let btn = undefined;\n if (author) {\n shownTitle = t(`postsContainer.title.by`, { itemType });\n link = <EntityRefLink entityRef={author} hideIcon defaultKind=\"user\" />;\n } else if (entity) {\n shownTitle = t(`postsContainer.title.about`, { itemType });\n link = <EntityRefLink entityRef={entity} />;\n btn = <EntityFollowButton entityRef={entity} />;\n } else if (tags) {\n shownTitle = `#${tags.join(', #')}`;\n if (tags.length === 1) {\n btn = <TagFollowButton tag={tags[0]} />;\n }\n } else if (favorite) {\n shownTitle = t('postsContainer.title.favorite', {\n itemType: itemType.toLowerCase(),\n });\n }\n\n return (\n <Box className=\"qetaPostsContainer\">\n {showTitle && (\n <Box mb={3}>\n <Grid container alignItems=\"center\" justifyContent=\"space-between\">\n <Grid item>\n <Typography\n variant=\"h5\"\n className=\"qetaPostsContainerTitle\"\n style={{ fontWeight: 500, paddingBottom: 2 }}\n >\n {shownTitle} {link} {btn}\n </Typography>\n </Grid>\n <Grid item>\n {showAskButton && (\n <AskQuestionButton\n entity={entity ?? filters.entity}\n entityPage={entity !== undefined}\n tags={tags}\n />\n )}\n {showWriteButton && (\n <WriteArticleButton\n entity={entity ?? filters.entity}\n entityPage={entity !== undefined}\n tags={tags}\n />\n )}\n </Grid>\n </Grid>\n </Box>\n )}\n <Grid container alignItems=\"flex-end\" justifyContent=\"space-between\">\n <Grid item xs={12} md={4}>\n <SearchBar\n onSearch={onSearchQueryChange}\n label={t('postsContainer.search.label', {\n itemType: itemType.toLowerCase(),\n })}\n loading={loading}\n />\n </Grid>\n </Grid>\n {response && (\n <Box mt={2} mb={2}>\n <Grid container alignItems=\"center\" justifyContent=\"space-between\">\n <Grid item>\n <Typography\n variant=\"h6\"\n className=\"qetaPostsContainerQuestionCount\"\n style={{ fontWeight: 500, paddingBottom: 2 }}\n >\n {t('common.posts', { count: response?.total ?? 0, itemType })}\n </Typography>\n </Grid>\n <Grid item>\n <Grid container spacing={1} alignItems=\"center\">\n {view && onViewChange && (\n <Grid item>\n <ViewToggle view={view} onChange={onViewChange} />\n </Grid>\n )}\n {(showFilters ?? true) && (\n <Grid item>\n <Button\n onClick={() => {\n setShowFilterPanel(!showFilterPanel);\n }}\n className=\"qetaPostsContainerFilterPanelBtn\"\n startIcon={<FilterList />}\n >\n {t('filterPanel.filterButton')}\n </Button>\n </Grid>\n )}\n </Grid>\n </Grid>\n </Grid>\n </Box>\n )}\n {(showFilters ?? true) && (\n <Collapse in={showFilterPanel}>\n <FilterPanel<PostFilters>\n onChange={onFilterChange}\n filters={filters}\n type={type}\n showEntityFilter={entity === undefined}\n {...props.filterPanelProps}\n />\n </Collapse>\n )}\n <PostList\n loading={loading}\n error={error}\n response={response}\n onPageChange={onPageChange}\n onPageSizeChange={onPageSizeChange}\n entity={entity ?? filters.entity}\n page={page}\n pageSize={postsPerPage}\n pageCount={pageCount}\n showNoQuestionsBtn={showNoQuestionsBtn}\n entityPage={entity !== undefined}\n tags={tags ?? filters.tags}\n type={type}\n showTypeLabel={showTypeLabel}\n />\n </Box>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuBa,MAAA,cAAA,GAAiB,CAC5B,KAOG,KAAA;AACH,EAAM,MAAA;AAAA,IACJ,IAAA;AAAA,IACA,IAAA;AAAA,IACA,MAAA;AAAA,IACA,MAAA;AAAA,IACA,WAAA;AAAA,IACA,SAAA;AAAA,IACA,KAAA;AAAA,IACA,QAAA;AAAA,IACA,aAAA;AAAA,IACA,eAAA;AAAA,IACA,kBAAA;AAAA,IACA,aAAA;AAAA,IACA,IAAA;AAAA,IACA;AAAA,GACE,GAAA,KAAA;AACJ,EAAM,MAAA;AAAA,IACJ,mBAAA;AAAA,IACA,OAAA;AAAA,IACA,QAAA;AAAA,IACA,OAAA;AAAA,IACA,KAAA;AAAA,IACA,kBAAA;AAAA,IACA,eAAA;AAAA,IACA,cAAA;AAAA,IACA,YAAA;AAAA,IACA,gBAAA;AAAA,IACA,IAAA;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AA;AAAA,QACA;AAAA;AAAA;AACF,GACF,EAAA,CAAA;AAEJ;;;;"}
1
+ {"version":3,"file":"PostsContainer.esm.js","sources":["../../../src/components/PostsContainer/PostsContainer.tsx"],"sourcesContent":["import {\n CommonFilterPanelProps,\n FilterPanel,\n PostFilters,\n} from '../FilterPanel/FilterPanel';\nimport { PostList } from './PostList';\nimport { AskQuestionButton } from '../Buttons/AskQuestionButton';\nimport { EntityRefLink } from '@backstage/plugin-catalog-react';\nimport { TagFollowButton } from '../Buttons/TagFollowButton';\nimport { EntityFollowButton } from '../Buttons/EntityFollowButton';\nimport { WriteArticleButton } from '../Buttons';\nimport { ViewToggle, ViewType } from '../ViewToggle/ViewToggle';\nimport { capitalize } from 'lodash';\nimport {\n PaginatedPostsProps,\n usePaginatedPosts,\n} from '../../hooks/usePaginatedPosts';\nimport { useTranslationRef } from '@backstage/core-plugin-api/alpha';\nimport { qetaTranslationRef } from '../../translation.ts';\nimport { SearchBar } from '../SearchBar/SearchBar';\nimport { Box, Button, Collapse, Grid, Typography } from '@material-ui/core';\nimport FilterList from '@material-ui/icons/FilterList';\n\nexport type PostsContainerProps = PaginatedPostsProps & {\n entity?: string;\n filterPanelProps?: CommonFilterPanelProps;\n showTypeLabel?: boolean;\n view?: ViewType;\n onViewChange?: (view: ViewType) => void;\n};\n\nexport const PostsContainer = (props: PostsContainerProps) => {\n const {\n type,\n tags,\n author,\n entity,\n showFilters,\n showTitle,\n title,\n favorite,\n showAskButton,\n showWriteButton,\n showNoQuestionsBtn,\n showTypeLabel,\n view,\n onViewChange,\n } = props;\n const {\n onSearchQueryChange,\n filters,\n response,\n loading,\n error,\n setShowFilterPanel,\n showFilterPanel,\n onFilterChange,\n onPageChange,\n onPageSizeChange,\n page,\n postsPerPage,\n pageCount,\n } = usePaginatedPosts(props);\n const { t } = useTranslationRef(qetaTranslationRef);\n\n const itemType = capitalize(t(`common.${type ?? 'post'}`, {}));\n let shownTitle = title;\n let link = undefined;\n let btn = undefined;\n if (author) {\n shownTitle = t(`postsContainer.title.by`, { itemType });\n link = <EntityRefLink entityRef={author} hideIcon defaultKind=\"user\" />;\n } else if (entity) {\n shownTitle = t(`postsContainer.title.about`, { itemType });\n link = <EntityRefLink entityRef={entity} />;\n btn = <EntityFollowButton entityRef={entity} />;\n } else if (tags) {\n shownTitle = `#${tags.join(', #')}`;\n if (tags.length === 1) {\n btn = <TagFollowButton tag={tags[0]} />;\n }\n } else if (favorite) {\n shownTitle = t('postsContainer.title.favorite', {\n itemType: itemType.toLowerCase(),\n });\n }\n\n return (\n <Box className=\"qetaPostsContainer\">\n {showTitle && (\n <Box mb={3}>\n <Grid container alignItems=\"center\" justifyContent=\"space-between\">\n <Grid item>\n <Typography\n variant=\"h5\"\n className=\"qetaPostsContainerTitle\"\n style={{ fontWeight: 500, paddingBottom: 2 }}\n >\n {shownTitle} {link} {btn}\n </Typography>\n </Grid>\n <Grid item>\n {showAskButton && (\n <AskQuestionButton\n entity={entity ?? filters.entity}\n entityPage={entity !== undefined}\n tags={tags}\n />\n )}\n {showWriteButton && (\n <WriteArticleButton\n entity={entity ?? filters.entity}\n entityPage={entity !== undefined}\n tags={tags}\n />\n )}\n </Grid>\n </Grid>\n </Box>\n )}\n <Grid container alignItems=\"flex-end\" justifyContent=\"space-between\">\n <Grid item xs={12} md={4}>\n <SearchBar\n onSearch={onSearchQueryChange}\n label={t('postsContainer.search.label', {\n itemType: itemType.toLowerCase(),\n })}\n loading={loading}\n />\n </Grid>\n </Grid>\n {response && (\n <Box mt={2} mb={2}>\n <Grid container alignItems=\"center\" justifyContent=\"space-between\">\n <Grid item>\n <Typography\n variant=\"h6\"\n className=\"qetaPostsContainerQuestionCount\"\n style={{ fontWeight: 500, paddingBottom: 2 }}\n >\n {t('common.posts', { count: response?.total ?? 0, itemType })}\n </Typography>\n </Grid>\n <Grid item>\n <Grid container spacing={1} alignItems=\"center\">\n {view && onViewChange && (\n <Grid item>\n <ViewToggle view={view} onChange={onViewChange} />\n </Grid>\n )}\n {(showFilters ?? true) && (\n <Grid item>\n <Button\n onClick={() => {\n setShowFilterPanel(!showFilterPanel);\n }}\n className=\"qetaPostsContainerFilterPanelBtn\"\n startIcon={<FilterList />}\n >\n {t('filterPanel.filterButton')}\n </Button>\n </Grid>\n )}\n </Grid>\n </Grid>\n </Grid>\n </Box>\n )}\n {(showFilters ?? true) && (\n <Collapse in={showFilterPanel}>\n <FilterPanel<PostFilters>\n onChange={onFilterChange}\n filters={filters}\n type={type}\n showEntityFilter={entity === undefined}\n {...props.filterPanelProps}\n />\n </Collapse>\n )}\n <PostList\n loading={loading}\n error={error}\n response={response}\n onPageChange={onPageChange}\n onPageSizeChange={onPageSizeChange}\n entity={entity ?? filters.entity}\n page={page}\n pageSize={postsPerPage}\n pageCount={pageCount}\n showNoQuestionsBtn={showNoQuestionsBtn}\n entityPage={entity !== undefined}\n tags={tags ?? filters.tags}\n type={type}\n showTypeLabel={showTypeLabel}\n />\n </Box>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+Ba,MAAA,cAAA,GAAiB,CAAC,KAA+B,KAAA;AAC5D,EAAM,MAAA;AAAA,IACJ,IAAA;AAAA,IACA,IAAA;AAAA,IACA,MAAA;AAAA,IACA,MAAA;AAAA,IACA,WAAA;AAAA,IACA,SAAA;AAAA,IACA,KAAA;AAAA,IACA,QAAA;AAAA,IACA,aAAA;AAAA,IACA,eAAA;AAAA,IACA,kBAAA;AAAA,IACA,aAAA;AAAA,IACA,IAAA;AAAA,IACA;AAAA,GACE,GAAA,KAAA;AACJ,EAAM,MAAA;AAAA,IACJ,mBAAA;AAAA,IACA,OAAA;AAAA,IACA,QAAA;AAAA,IACA,OAAA;AAAA,IACA,KAAA;AAAA,IACA,kBAAA;AAAA,IACA,eAAA;AAAA,IACA,cAAA;AAAA,IACA,YAAA;AAAA,IACA,gBAAA;AAAA,IACA,IAAA;AAAA,IACA,YAAA;AAAA,IACA;AAAA,GACF,GAAI,k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A;AAEJ;;;;"}
package/dist/index.d.ts CHANGED
@@ -125,13 +125,14 @@ type PaginatedPostsProps = PostFilters & {
125
125
  status?: PostStatus;
126
126
  };
127
127
 
128
- declare const PostsContainer: (props: PaginatedPostsProps & {
128
+ type PostsContainerProps = PaginatedPostsProps & {
129
129
  entity?: string;
130
130
  filterPanelProps?: CommonFilterPanelProps;
131
131
  showTypeLabel?: boolean;
132
132
  view?: ViewType;
133
133
  onViewChange?: (view: ViewType) => void;
134
- }) => react_jsx_runtime.JSX.Element;
134
+ };
135
+ declare const PostsContainer: (props: PostsContainerProps) => react_jsx_runtime.JSX.Element;
135
136
 
136
137
  declare const PostList: (props: {
137
138
  loading: boolean;
@@ -507,12 +508,6 @@ declare const useAI: () => {
507
508
 
508
509
  /** @alpha */
509
510
  declare const qetaTranslationRef: _backstage_core_plugin_api_alpha.TranslationRef<"qeta", {
510
- readonly "code.aria": "Copy code to clipboard";
511
- readonly "code.copied": "Code copied to clipboard";
512
- readonly "link.post": "Copy link to this post to clipboard";
513
- readonly "link.answer": "Copy link to this answer to clipboard";
514
- readonly "link.aria": "Copy link to clipboard";
515
- readonly "link.copied": "Link copied to clipboard";
516
511
  readonly "statistics.ranking": "User ranking 🏆";
517
512
  readonly "statistics.errorLoading": "Could not load statistics";
518
513
  readonly "statistics.notAvailable": "Statistics are unavailable";
@@ -534,19 +529,25 @@ declare const qetaTranslationRef: _backstage_core_plugin_api_alpha.TranslationRe
534
529
  readonly "ranking.bottom": "Rank this question to the bottom in this collection";
535
530
  readonly "ranking.up": "Rank this question up in this collection";
536
531
  readonly "ranking.down": "Rank this question down in this collection";
532
+ readonly "code.aria": "Copy code to clipboard";
533
+ readonly "code.copied": "Code copied to clipboard";
534
+ readonly "link.post": "Copy link to this post to clipboard";
535
+ readonly "link.answer": "Copy link to this answer to clipboard";
536
+ readonly "link.aria": "Copy link to clipboard";
537
+ readonly "link.copied": "Link copied to clipboard";
537
538
  readonly pluginName: "Q&A";
538
539
  readonly "answerList.noAnswers": "No answers";
539
540
  readonly "answerList.errorLoading": "Could not load answers";
540
541
  readonly "answerList.limitSelect": "Answers per page";
541
- readonly "common.article": "article";
542
- readonly "common.search": "Search";
543
542
  readonly "common.post": "post";
544
543
  readonly "common.collection": "collection";
545
544
  readonly "common.question": "question";
545
+ readonly "common.article": "article";
546
546
  readonly "common.draft": "Draft";
547
547
  readonly "common.deleted": "Deleted";
548
548
  readonly "common.score": "{{score}} score";
549
549
  readonly "common.answers": "answers";
550
+ readonly "common.search": "Search";
550
551
  readonly "common.experts": "Experts";
551
552
  readonly "common.tagExpert": "This user is an expert in this area";
552
553
  readonly "common.comments": "Comments";
@@ -683,8 +684,8 @@ declare const qetaTranslationRef: _backstage_core_plugin_api_alpha.TranslationRe
683
684
  readonly "commentList.editLink": "edit";
684
685
  readonly "commentList.deleteLink": "delete";
685
686
  readonly "markdown.toc": "Table of contents";
686
- readonly "commentSection.input.placeholder": "Your comment";
687
687
  readonly "commentSection.post": "Post";
688
+ readonly "commentSection.input.placeholder": "Your comment";
688
689
  readonly "commentSection.addComment": "Add a comment";
689
690
  readonly "tagChip.nonExistingTag": "This tag does not yet exist";
690
691
  readonly "editTagModal.title": "Edit tag {{tag}}";
@@ -729,20 +730,20 @@ declare const qetaTranslationRef: _backstage_core_plugin_api_alpha.TranslationRe
729
730
  readonly "leftMenu.favoriteQuestions": "Favorites";
730
731
  readonly "leftMenu.content": "Content";
731
732
  readonly "leftMenu.community": "Community";
732
- readonly "moderatorPage.title": "Moderate";
733
733
  readonly "moderatorPage.templates": "Templates";
734
+ readonly "moderatorPage.title": "Moderate";
734
735
  readonly "moderatorPage.tools": "Tools";
735
736
  readonly "moderatorPage.templatesInfo": "Templates can be used to prefill question content for the user";
736
737
  readonly "moderatorPage.deletedPosts": "Deleted posts";
737
- readonly "suggestionsCard.title": "Suggestions";
738
738
  readonly "suggestionsCard.noCorrectAnswer": "Your question \"{{title}}\" does not have a correct answer";
739
739
  readonly "suggestionsCard.newQuestion": "Do you have an answer for \"{{title}}\"?";
740
740
  readonly "suggestionsCard.newArticle": "You might like to read \"{{title}}\"";
741
741
  readonly "suggestionsCard.draftPost": "Ready to finalize draft post \"{{title}}\"?";
742
+ readonly "suggestionsCard.title": "Suggestions";
742
743
  readonly "suggestionsCard.noSuggestions": "No suggestions";
743
744
  readonly "homePage.title": "Home";
744
- readonly "impactCard.title": "Your impact";
745
745
  readonly "impactCard.error": "Failed to load impact data";
746
+ readonly "impactCard.title": "Your impact";
746
747
  readonly "impactCard.views": "views";
747
748
  readonly "impactCard.contributions": "Your contributions helped {{lastWeek}} people this week";
748
749
  readonly "rightMenu.followedEntities": "Followed entities";
@@ -802,8 +803,8 @@ declare const qetaTranslationRef: _backstage_core_plugin_api_alpha.TranslationRe
802
803
  readonly "questionPage.restoreButton": "Restore";
803
804
  readonly "questionPage.draftStatus": "This is a draft post. Please edit and publish it to make it visible to others.";
804
805
  readonly "questionPage.deletedStatus": "This post has been deleted. You can delete it permanently or restore it.";
805
- readonly "questionPage.sortAnswers.label": "Sort answers";
806
806
  readonly "questionPage.sortAnswers.default": "Default";
807
+ readonly "questionPage.sortAnswers.label": "Sort answers";
807
808
  readonly "questionPage.sortAnswers.menuLabel": "Sort answers menu";
808
809
  readonly "questionPage.sortAnswers.createdDesc": "Created (desc)";
809
810
  readonly "questionPage.sortAnswers.createdAsc": "Created (asc)";
@@ -831,8 +832,8 @@ declare const qetaTranslationRef: _backstage_core_plugin_api_alpha.TranslationRe
831
832
  readonly "datePicker.from": "From date";
832
833
  readonly "datePicker.to": "To date";
833
834
  readonly "datePicker.invalidRange": "Date range invalid, 'To date' should be greater than 'From date'";
834
- readonly "datePicker.range.label": "Posted";
835
835
  readonly "datePicker.range.default": "Select";
836
+ readonly "datePicker.range.label": "Posted";
836
837
  readonly "datePicker.range.last7days": "Last 7 days";
837
838
  readonly "datePicker.range.last30days": "Last 30 days";
838
839
  readonly "datePicker.range.custom": "Custom";
@@ -849,21 +850,21 @@ declare const qetaTranslationRef: _backstage_core_plugin_api_alpha.TranslationRe
849
850
  readonly "filterPanel.toggleEntityRelation.or": "Change to with any selected entities (OR)";
850
851
  readonly "filterPanel.toggleTagRelation.and": "Change to only with all selected tags (AND)";
851
852
  readonly "filterPanel.toggleTagRelation.or": "Change to with any selected tags (OR)";
852
- readonly "filterPanel.orderBy.label": "Order by";
853
- readonly "filterPanel.orderBy.title": "Title";
854
853
  readonly "filterPanel.orderBy.score": "Score";
855
854
  readonly "filterPanel.orderBy.created": "Created";
856
855
  readonly "filterPanel.orderBy.updated": "Updated";
857
856
  readonly "filterPanel.orderBy.answers": "Answers";
857
+ readonly "filterPanel.orderBy.label": "Order by";
858
+ readonly "filterPanel.orderBy.title": "Title";
858
859
  readonly "filterPanel.orderBy.views": "Views";
859
860
  readonly "filterPanel.orderBy.rank": "Rank";
860
861
  readonly "filterPanel.orderBy.trend": "Trend";
861
862
  readonly "filterPanel.order.label": "Order";
862
863
  readonly "filterPanel.order.desc": "Descending";
863
864
  readonly "filterPanel.order.asc": "Ascending";
864
- readonly "filterPanel.filters.label": "Filters";
865
865
  readonly "filterPanel.filters.tag.label": "Tag";
866
866
  readonly "filterPanel.filters.tag.placeholder": "Type or select tag";
867
+ readonly "filterPanel.filters.label": "Filters";
867
868
  readonly "filterPanel.filters.entity.label": "Entity";
868
869
  readonly "filterPanel.filters.entity.placeholder": "Type or select entity";
869
870
  readonly "postsList.errorLoading": "Could not load {{itemType}}s";
@@ -880,10 +881,10 @@ declare const qetaTranslationRef: _backstage_core_plugin_api_alpha.TranslationRe
880
881
  readonly "postsTable.errorLoading": "Could not load questions";
881
882
  readonly "postsTable.latest": "Latest";
882
883
  readonly "postsTable.mostViewed": "Most viewed";
883
- readonly "postsTable.cells.title": "Title";
884
884
  readonly "postsTable.cells.author": "Author";
885
885
  readonly "postsTable.cells.type": "Type";
886
886
  readonly "postsTable.cells.updated": "Last updated";
887
+ readonly "postsTable.cells.title": "Title";
887
888
  readonly "postsTable.cells.asked": "Asked";
888
889
  readonly "tagPage.search.label": "Search tag";
889
890
  readonly "tagPage.search.placeholder": "Search...";
@@ -900,8 +901,8 @@ declare const qetaTranslationRef: _backstage_core_plugin_api_alpha.TranslationRe
900
901
  readonly "entitiesPage.entities_one": "{{count}} entity";
901
902
  readonly "entitiesPage.entities_other": "{{count}} entities";
902
903
  readonly "entitiesPage.defaultTitle": "Entities";
903
- readonly "aiAnswerCard.summary": "Summary by {{name}}";
904
904
  readonly "aiAnswerCard.answer": "Answer from {{name}}";
905
+ readonly "aiAnswerCard.summary": "Summary by {{name}}";
905
906
  readonly "aiAnswerCard.loading": "Thinking...";
906
907
  readonly "aiAnswerCard.regenerate": "Regenerate this answer";
907
908
  readonly "aiAnswerCard.show": "Show";
@@ -999,4 +1000,4 @@ type QetaOverrides = Overrides & {
999
1000
  [Name in keyof QetaComponentsNameToClassKey]?: Partial<StyleRules<QetaComponentsNameToClassKey[Name]>>;
1000
1001
  };
1001
1002
 
1002
- export { AIAnswerCard, AddToCollectionButton, AnswerCard, AnswerForm, AnswerList, AnswerListItem, AnswersContainer, ArticleContent, AskQuestionButton, AuthorLink, ButtonContainer, CollectionCard, CollectionFollowButton, CollectionForm, CollectionsGrid, CreateCollectionButton, DeleteModal, DeletedBanner, DraftBanner, EntitiesGrid, EntityFollowButton, FilterPanel, FollowedCollectionsList, FollowedEntitiesList, FollowedTagsList, FollowedUsersList, ImpactCard, LeftMenu, LeftMenuButton, MarkdownRenderer, PostForm, PostHighlightList, PostList, PostListItem, PostsCard, PostsContainer, PostsGrid, PostsTable, type QetaOverrides, QuestionCard, QuestionsTable, RelativeTimeWithTooltip, SelectTemplateList, StatsChart, StatusChip, SuggestionsCard, SummaryStatsGrid, TagFollowButton, TagsGrid, TemplateList, TopRankingUsers, TrophyIcon, UpdatedByLink, UserFollowButton, UserLink, UsersGrid, ViewToggle, type ViewType, WriteArticleButton, articleRouteRef, articlesRouteRef, askRouteRef, collectionCreateRouteRef, collectionEditRouteRef, collectionRouteRef, collectionsRouteRef, editArticleRouteRef, editQuestionRouteRef, entitiesRouteRef, entityRouteRef, favoriteQuestionsRouteRef, moderatorRouteRef, qetaApiRef, qetaRouteRef, qetaTranslationRef, qetaTranslations, questionRouteRef, questionsRouteRef, statisticsRouteRef, tagRouteRef, tagsRouteRef, useAI, useCollectionsFollow, useEntityAuthor, useEntityFollow, useIdentityApi, useIsModerator, useQetaApi, useTagsFollow, useUserFollow, useUserInfo, userRouteRef, usersRouteRef, writeRouteRef };
1003
+ export { AIAnswerCard, AddToCollectionButton, AnswerCard, AnswerForm, AnswerList, AnswerListItem, AnswersContainer, ArticleContent, AskQuestionButton, AuthorLink, ButtonContainer, CollectionCard, CollectionFollowButton, CollectionForm, CollectionsGrid, CreateCollectionButton, DeleteModal, DeletedBanner, DraftBanner, EntitiesGrid, EntityFollowButton, FilterPanel, FollowedCollectionsList, FollowedEntitiesList, FollowedTagsList, FollowedUsersList, ImpactCard, LeftMenu, LeftMenuButton, MarkdownRenderer, PostForm, type PostGridProps, PostHighlightList, PostList, PostListItem, PostsCard, PostsContainer, type PostsContainerProps, PostsGrid, PostsTable, type QetaOverrides, QuestionCard, QuestionsTable, RelativeTimeWithTooltip, SelectTemplateList, StatsChart, StatusChip, SuggestionsCard, SummaryStatsGrid, TagFollowButton, TagsGrid, TemplateList, TopRankingUsers, TrophyIcon, UpdatedByLink, UserFollowButton, UserLink, UsersGrid, ViewToggle, type ViewType, WriteArticleButton, articleRouteRef, articlesRouteRef, askRouteRef, collectionCreateRouteRef, collectionEditRouteRef, collectionRouteRef, collectionsRouteRef, editArticleRouteRef, editQuestionRouteRef, entitiesRouteRef, entityRouteRef, favoriteQuestionsRouteRef, moderatorRouteRef, qetaApiRef, qetaRouteRef, qetaTranslationRef, qetaTranslations, questionRouteRef, questionsRouteRef, statisticsRouteRef, tagRouteRef, tagsRouteRef, useAI, useCollectionsFollow, useEntityAuthor, useEntityFollow, useIdentityApi, useIsModerator, useQetaApi, useTagsFollow, useUserFollow, useUserInfo, userRouteRef, usersRouteRef, writeRouteRef };
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "frontend",
8
8
  "backstage.io"
9
9
  ],
10
- "version": "3.33.0",
10
+ "version": "3.33.1",
11
11
  "main": "dist/index.esm.js",
12
12
  "types": "dist/index.d.ts",
13
13
  "prepublishOnly": "yarn tsc && yarn build",
@@ -48,16 +48,16 @@
48
48
  "tsc": "tsc"
49
49
  },
50
50
  "dependencies": {
51
- "@backstage/catalog-client": "^1.10.2",
51
+ "@backstage/catalog-client": "^1.11.0",
52
52
  "@backstage/catalog-model": "^1.7.5",
53
53
  "@backstage/config": "^1.3.3",
54
- "@backstage/core-components": "^0.17.4",
54
+ "@backstage/core-components": "^0.17.5",
55
55
  "@backstage/core-plugin-api": "^1.10.9",
56
- "@backstage/plugin-catalog-react": "^1.19.1",
56
+ "@backstage/plugin-catalog-react": "^1.20.0",
57
57
  "@backstage/plugin-permission-common": "^0.9.1",
58
58
  "@backstage/plugin-permission-react": "^0.4.36",
59
59
  "@backstage/plugin-signals-react": "^0.0.15",
60
- "@drodil/backstage-plugin-qeta-common": "^3.33.0",
60
+ "@drodil/backstage-plugin-qeta-common": "^3.33.1",
61
61
  "@jsdevtools/rehype-toc": "^3.0.2",
62
62
  "@material-ui/core": "^4.12.2",
63
63
  "@material-ui/icons": "^4.11.3",
@@ -87,8 +87,8 @@
87
87
  "react-router-dom": "6.0.0-beta.0 || ^6.3.0"
88
88
  },
89
89
  "devDependencies": {
90
- "@backstage/cli": "^0.33.1",
91
- "@backstage/test-utils": "^1.7.10",
90
+ "@backstage/cli": "^0.34.0",
91
+ "@backstage/test-utils": "^1.7.11",
92
92
  "@testing-library/dom": "^10.4.0",
93
93
  "@testing-library/jest-dom": "^5.10.1",
94
94
  "@testing-library/react": "^16.0.1",