@drodil/backstage-plugin-qeta-react 3.51.1 → 3.52.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 (63) hide show
  1. package/dist/components/AIAnswerCard/AIAnswerCard.esm.js +1 -1
  2. package/dist/components/AnswersContainer/AnswerList.esm.js +13 -34
  3. package/dist/components/AnswersContainer/AnswerList.esm.js.map +1 -1
  4. package/dist/components/AnswersContainer/AnswersContainer.esm.js +24 -29
  5. package/dist/components/AnswersContainer/AnswersContainer.esm.js.map +1 -1
  6. package/dist/components/Badges/UserBadges.esm.js +1 -1
  7. package/dist/components/CollectionsGrid/CollectionsGrid.esm.js +21 -19
  8. package/dist/components/CollectionsGrid/CollectionsGrid.esm.js.map +1 -1
  9. package/dist/components/CollectionsGrid/CollectionsGridContent.esm.js +26 -6
  10. package/dist/components/CollectionsGrid/CollectionsGridContent.esm.js.map +1 -1
  11. package/dist/components/EntitiesGrid/EntitiesGrid.esm.js +20 -17
  12. package/dist/components/EntitiesGrid/EntitiesGrid.esm.js.map +1 -1
  13. package/dist/components/EntitiesGrid/EntitiesGridContent.esm.js +24 -4
  14. package/dist/components/EntitiesGrid/EntitiesGridContent.esm.js.map +1 -1
  15. package/dist/components/FollowedLists/FollowedEntitiesList.esm.js +1 -1
  16. package/dist/components/FollowedLists/FollowedTagsList.esm.js +1 -1
  17. package/dist/components/FollowedLists/FollowedUsersList.esm.js +1 -1
  18. package/dist/components/HomePageCards/ImpactCard.esm.js +40 -4
  19. package/dist/components/HomePageCards/ImpactCard.esm.js.map +1 -1
  20. package/dist/components/HomePageCards/PostsCard.esm.js +1 -1
  21. package/dist/components/LeftMenu/LeftMenu.esm.js +35 -40
  22. package/dist/components/LeftMenu/LeftMenu.esm.js.map +1 -1
  23. package/dist/components/Links/Links.esm.js +1 -1
  24. package/dist/components/PostHighlightList/PostHighlightList.esm.js +1 -1
  25. package/dist/components/PostsContainer/PostList.esm.js +15 -30
  26. package/dist/components/PostsContainer/PostList.esm.js.map +1 -1
  27. package/dist/components/PostsContainer/PostsContainer.esm.js +8 -12
  28. package/dist/components/PostsContainer/PostsContainer.esm.js.map +1 -1
  29. package/dist/components/PostsGrid/PostsGrid.esm.js +8 -12
  30. package/dist/components/PostsGrid/PostsGrid.esm.js.map +1 -1
  31. package/dist/components/PostsGrid/PostsGridContent.esm.js +14 -30
  32. package/dist/components/PostsGrid/PostsGridContent.esm.js.map +1 -1
  33. package/dist/components/SuggestionsCard/SuggestionsCard.esm.js +35 -5
  34. package/dist/components/SuggestionsCard/SuggestionsCard.esm.js.map +1 -1
  35. package/dist/components/TagsAndEntities/EntityChip.esm.js +1 -1
  36. package/dist/components/TagsAndEntities/TagChip.esm.js +1 -1
  37. package/dist/components/TagsAndEntities/UserChip.esm.js +1 -1
  38. package/dist/components/TagsGrid/TagsGrid.esm.js +20 -17
  39. package/dist/components/TagsGrid/TagsGrid.esm.js.map +1 -1
  40. package/dist/components/TagsGrid/TagsGridContent.esm.js +40 -12
  41. package/dist/components/TagsGrid/TagsGridContent.esm.js.map +1 -1
  42. package/dist/components/TemplateList/TemplateForm.esm.js +1 -1
  43. package/dist/components/TemplateList/TemplateList.esm.js +1 -1
  44. package/dist/components/Timeline/Timeline.esm.js +83 -0
  45. package/dist/components/Timeline/Timeline.esm.js.map +1 -0
  46. package/dist/components/Timeline/TimelineItem.esm.js +162 -0
  47. package/dist/components/Timeline/TimelineItem.esm.js.map +1 -0
  48. package/dist/components/UsersGrid/UsersGrid.esm.js +24 -13
  49. package/dist/components/UsersGrid/UsersGrid.esm.js.map +1 -1
  50. package/dist/components/UsersGrid/UsersGridContent.esm.js +24 -4
  51. package/dist/components/UsersGrid/UsersGridContent.esm.js.map +1 -1
  52. package/dist/hooks/useGridPageSize.esm.js +55 -0
  53. package/dist/hooks/useGridPageSize.esm.js.map +1 -0
  54. package/dist/hooks/usePaginatedPosts.esm.js +22 -5
  55. package/dist/hooks/usePaginatedPosts.esm.js.map +1 -1
  56. package/dist/index.d.ts +63 -31
  57. package/dist/index.esm.js +3 -0
  58. package/dist/index.esm.js.map +1 -1
  59. package/dist/translation.esm.js +32 -5
  60. package/dist/translation.esm.js.map +1 -1
  61. package/package.json +3 -2
  62. package/dist/components/QetaPagination/QetaPagination.esm.js +0 -69
  63. package/dist/components/QetaPagination/QetaPagination.esm.js.map +0 -1
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, Badge, TemplatesResponse, Article, UserResponse, AIQuery } from '@drodil/backstage-plugin-qeta-common';
5
+ import { QetaApi, TimelineItem, 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';
@@ -44,6 +44,16 @@ declare const reviewRouteRef: _backstage_core_plugin_api.SubRouteRef<undefined>;
44
44
 
45
45
  declare const qetaApiRef: _backstage_frontend_plugin_api.ApiRef<QetaApi>;
46
46
 
47
+ interface TimelineProps {
48
+ loadMore?: boolean;
49
+ limit?: number;
50
+ }
51
+ declare const Timeline: (props: TimelineProps) => react_jsx_runtime.JSX.Element;
52
+
53
+ declare const TimelineItemCard: ({ item }: {
54
+ item: TimelineItem;
55
+ }) => react_jsx_runtime.JSX.Element;
56
+
47
57
  interface TagAndEntitiesFormValues {
48
58
  tags?: string[];
49
59
  entities?: Entity[];
@@ -157,17 +167,14 @@ declare const PostList: (props: {
157
167
  loading: boolean;
158
168
  error: any;
159
169
  response?: PostsResponse;
160
- onPageChange: (page: number) => void;
161
- onPageSizeChange: (size: number) => void;
162
- page: number;
163
- pageSize: number;
164
- pageCount: number;
165
170
  entity?: string;
166
171
  tags?: string[];
167
172
  showNoQuestionsBtn?: boolean;
168
173
  entityPage?: boolean;
169
174
  type?: PostType;
170
175
  showTypeLabel?: boolean;
176
+ hasMore?: boolean;
177
+ loadNextPage?: () => void;
171
178
  }) => react_jsx_runtime.JSX.Element;
172
179
 
173
180
  interface PostListItemProps {
@@ -182,13 +189,11 @@ declare const AnswerList: (props: {
182
189
  loading: boolean;
183
190
  error: any;
184
191
  response?: AnswersResponse;
185
- onPageChange: (page: number) => void;
186
- onPageSizeChange: (size: number) => void;
187
- page: number;
188
- pageSize: number;
189
192
  entity?: string;
190
193
  tags?: string[];
191
194
  entityPage?: boolean;
195
+ hasMore?: boolean;
196
+ loadNextPage?: () => void;
192
197
  }) => react_jsx_runtime.JSX.Element;
193
198
 
194
199
  interface AnswersContainerProps {
@@ -644,6 +649,9 @@ declare const useCanReview: () => {
644
649
  loading: boolean;
645
650
  };
646
651
 
652
+ type GridType = 'posts' | 'tags' | 'entities' | 'users' | 'collections';
653
+ declare function useGridPageSize(gridType: GridType, basePageSize?: number): number;
654
+
647
655
  /** @alpha */
648
656
  declare const qetaTranslationRef: _backstage_frontend_plugin_api.TranslationRef<"qeta", {
649
657
  readonly "answer.questionTitle": "Q: {{question}}";
@@ -672,13 +680,28 @@ declare const qetaTranslationRef: _backstage_frontend_plugin_api.TranslationRef<
672
680
  readonly "statistics.topVotedAnswers.description": "People who have the highest rated answers";
673
681
  readonly "statistics.topVotedCorrectAnswers.title": "Top voted correct answers";
674
682
  readonly "statistics.topVotedCorrectAnswers.description": "People who have the highest rated correct answers";
675
- readonly "code.aria": "Copy code to clipboard";
676
- readonly "code.copied": "Code copied to clipboard";
677
683
  readonly pluginName: "Q&A";
678
684
  readonly "answerList.noAnswers": "No answers";
679
685
  readonly "answerList.errorLoading": "Could not load answers";
680
686
  readonly "answerList.limitSelect": "Answers per page";
687
+ readonly "timeline.title": "Timeline";
688
+ readonly "timeline.loadMore": "Load more";
689
+ readonly "timeline.loading": "Loading...";
690
+ readonly "timeline.postedQuestion": "posted question";
691
+ readonly "timeline.postedArticle": "posted article";
692
+ readonly "timeline.postedLink": "posted link";
693
+ readonly "timeline.updatedQuestion": "updated question";
694
+ readonly "timeline.updatedArticle": "updated article";
695
+ readonly "timeline.updatedLink": "updated link";
696
+ readonly "timeline.answered": "answered to";
697
+ readonly "timeline.commentedOnQuestion": "commented on question";
698
+ readonly "timeline.commentedOnArticle": "commented on article";
699
+ readonly "timeline.commentedOnLink": "commented on link";
700
+ readonly "timeline.createdCollection": "created collection";
701
+ readonly "timeline.noMoreItems": "No more items";
681
702
  readonly "common.post": "post";
703
+ readonly "common.answer": "answer";
704
+ readonly "common.comment": "comment";
682
705
  readonly "common.collection": "collection";
683
706
  readonly "common.favorite": "Favorite";
684
707
  readonly "common.obsolete": "Obsolete";
@@ -693,6 +716,7 @@ declare const qetaTranslationRef: _backstage_frontend_plugin_api.TranslationRef<
693
716
  readonly "common.questions": "questions";
694
717
  readonly "common.articles": "articles";
695
718
  readonly "common.search": "Search";
719
+ readonly "common.loading": "Loading...";
696
720
  readonly "common.experts": "Experts";
697
721
  readonly "common.tagExpert": "This user is an expert in this area";
698
722
  readonly "common.comments": "Comments";
@@ -737,7 +761,6 @@ declare const qetaTranslationRef: _backstage_frontend_plugin_api.TranslationRef<
737
761
  readonly "common.followersLabel_one": "follower";
738
762
  readonly "common.followersLabel_other": "followers";
739
763
  readonly "common.unsaved_changes": "You have unsaved changes. Are you sure you want to leave?";
740
- readonly "common.loading": "Loading...";
741
764
  readonly "markdownEditor.write": "Write";
742
765
  readonly "markdownEditor.preview": "Preview";
743
766
  readonly "markdownEditor.uploadingImage": "Uploading image...";
@@ -751,8 +774,8 @@ declare const qetaTranslationRef: _backstage_frontend_plugin_api.TranslationRef<
751
774
  readonly "anonymousCheckbox.tooltip": "By enabling this, other users won't be able to see you as an author";
752
775
  readonly "anonymousCheckbox.answerAnonymously": "Answer anonymously";
753
776
  readonly "anonymousCheckbox.postAnonymously": "Post anonymously";
754
- readonly "fileInput.label": "Header image";
755
777
  readonly "fileInput.preview": "Preview image";
778
+ readonly "fileInput.label": "Header image";
756
779
  readonly "fileInput.helperText": "URL of the header image to be used";
757
780
  readonly "fileInput.uploadHeaderImage": "Upload image";
758
781
  readonly "fileInput.dropHere": "Drop your image here";
@@ -857,9 +880,9 @@ declare const qetaTranslationRef: _backstage_frontend_plugin_api.TranslationRef<
857
880
  readonly "commentList.deleteLink": "delete";
858
881
  readonly "markdown.toc": "Table of contents";
859
882
  readonly "commentSection.post": "Post";
860
- readonly "commentSection.input.placeholder": "Your comment";
861
883
  readonly "commentSection.addComment": "Add a comment";
862
884
  readonly "commentSection.leaveComment": "Leave a comment";
885
+ readonly "commentSection.input.placeholder": "Your comment";
863
886
  readonly "tagChip.nonExistingTag": "This tag does not yet exist";
864
887
  readonly "editTagModal.title": "Edit tag {{tag}}";
865
888
  readonly "editTagModal.description": "Tag description";
@@ -960,16 +983,27 @@ declare const qetaTranslationRef: _backstage_frontend_plugin_api.TranslationRef<
960
983
  readonly "suggestionsCard.randomPost3": "Have you seen \"{{title}}\"?";
961
984
  readonly "suggestionsCard.randomPost4": "Join the discussion on \"{{title}}\"";
962
985
  readonly "suggestionsCard.randomPost5": "Check this out: \"{{title}}\"";
986
+ readonly "suggestionsCard.needsReview1": "\"{{title}}\" needs a content review";
987
+ readonly "suggestionsCard.needsReview2": "Please review \"{{title}}\" for accuracy";
988
+ readonly "suggestionsCard.needsReview3": "Content review needed: \"{{title}}\"";
989
+ readonly "suggestionsCard.needsReview4": "Can you verify \"{{title}}\" is still valid?";
990
+ readonly "suggestionsCard.needsReview5": "\"{{title}}\" is due for a review";
963
991
  readonly "homePage.title": "Home";
964
992
  readonly "impactCard.reputation": "Reputation";
965
993
  readonly "impactCard.title": "Your impact";
966
994
  readonly "impactCard.error": "Failed to load impact data";
967
995
  readonly "impactCard.answers": "Answers";
996
+ readonly "impactCard.links": "Links";
968
997
  readonly "impactCard.questions": "Questions";
998
+ readonly "impactCard.articles": "Articles";
969
999
  readonly "impactCard.votes": "Votes";
970
1000
  readonly "impactCard.views": "views";
971
1001
  readonly "impactCard.followers": "Followers";
972
1002
  readonly "impactCard.contributions": "Your contributions helped {{lastWeek}} people this week";
1003
+ readonly "impactCard.totalContributions": "Contributions";
1004
+ readonly "impactCard.answerScore": "Answer Score";
1005
+ readonly "impactCard.postScore": "Post Score";
1006
+ readonly "impactCard.correctAnswers": "Correct Answers";
973
1007
  readonly "userBadges.title": "Badges";
974
1008
  readonly "userBadges.error": "Failed to load badges";
975
1009
  readonly "userBadges.noBadges": "No badges earned yet";
@@ -1029,7 +1063,6 @@ declare const qetaTranslationRef: _backstage_frontend_plugin_api.TranslationRef<
1029
1063
  readonly "templateSelectList.selectButton": "Choose";
1030
1064
  readonly "templateSelectList.genericQuestion": "Generic question";
1031
1065
  readonly "templateSelectList.genericQuestionDescription": "Create a generic question";
1032
- readonly "pagination.defaultTooltip": "Number of items";
1033
1066
  readonly "collectionsPage.title": "Collections";
1034
1067
  readonly "collectionsPage.search.label": "Search collection";
1035
1068
  readonly "collectionsPage.search.placeholder": "Search...";
@@ -1063,6 +1096,8 @@ declare const qetaTranslationRef: _backstage_frontend_plugin_api.TranslationRef<
1063
1096
  readonly "authorBox.updatedBy": "by";
1064
1097
  readonly "authorBox.answeredAtTime": "Answered";
1065
1098
  readonly "authorBox.correctAnswer": "Correct answer";
1099
+ readonly "code.aria": "Copy code to clipboard";
1100
+ readonly "code.copied": "Code copied to clipboard";
1066
1101
  readonly "voteButtons.post.own": "You cannot vote your own {{type}}";
1067
1102
  readonly "voteButtons.post.good": "This {{type}} is good";
1068
1103
  readonly "voteButtons.post.bad": "This {{type}} is not good";
@@ -1106,16 +1141,16 @@ declare const qetaTranslationRef: _backstage_frontend_plugin_api.TranslationRef<
1106
1141
  readonly "filterPanel.orderBy.links": "Links";
1107
1142
  readonly "filterPanel.orderBy.questions": "Questions";
1108
1143
  readonly "filterPanel.orderBy.articles": "Articles";
1109
- readonly "filterPanel.orderBy.label": "Order by";
1110
1144
  readonly "filterPanel.orderBy.votes": "Votes";
1111
1145
  readonly "filterPanel.orderBy.clicks": "Clicks";
1112
1146
  readonly "filterPanel.orderBy.views": "Views";
1113
1147
  readonly "filterPanel.orderBy.followers": "Followers";
1148
+ readonly "filterPanel.orderBy.label": "Order by";
1114
1149
  readonly "filterPanel.orderBy.rank": "Rank";
1115
1150
  readonly "filterPanel.orderBy.trend": "Trend";
1116
1151
  readonly "filterPanel.order.label": "Order";
1117
- readonly "filterPanel.order.desc": "Descending";
1118
1152
  readonly "filterPanel.order.asc": "Ascending";
1153
+ readonly "filterPanel.order.desc": "Descending";
1119
1154
  readonly "filterPanel.filters.tag.label": "Tag";
1120
1155
  readonly "filterPanel.filters.tag.placeholder": "Type or select tag";
1121
1156
  readonly "filterPanel.filters.label": "Filters";
@@ -1124,8 +1159,8 @@ declare const qetaTranslationRef: _backstage_frontend_plugin_api.TranslationRef<
1124
1159
  readonly "postsList.errorLoading": "Could not load {{itemType}}s";
1125
1160
  readonly "postsList.postsPerPage": "{{itemType}}s per page";
1126
1161
  readonly "postsContainer.title.favorite": "Your favorite {{itemType}}s";
1127
- readonly "postsContainer.title.by": "{{itemType}}s by";
1128
1162
  readonly "postsContainer.title.about": "{{itemType}}s about";
1163
+ readonly "postsContainer.title.by": "{{itemType}}s by";
1129
1164
  readonly "postsContainer.title.tagged": "{{itemType}} tagged with {{tags}}";
1130
1165
  readonly "postsContainer.search.label": "Search {{itemType}}";
1131
1166
  readonly "postsContainer.search.placeholder": "Search...";
@@ -1192,11 +1227,14 @@ declare const qetaTranslationRef: _backstage_frontend_plugin_api.TranslationRef<
1192
1227
  readonly "stats.links": "Links";
1193
1228
  readonly "stats.questions": "Questions";
1194
1229
  readonly "stats.articles": "Articles";
1230
+ readonly "stats.tooltip": "Chart Tooltip";
1195
1231
  readonly "stats.comments": "Comments";
1196
1232
  readonly "stats.votes": "Votes";
1197
1233
  readonly "stats.views": "Views";
1198
1234
  readonly "stats.followers": "Followers";
1199
- readonly "stats.tooltip": "Chart Tooltip";
1235
+ readonly "stats.answerScore": "Answer score";
1236
+ readonly "stats.postScore": "Post score";
1237
+ readonly "stats.correctAnswers": "Correct answers";
1200
1238
  readonly "stats.noStats": "No statistics available. Check back later!";
1201
1239
  readonly "stats.barChart": "Bar Chart";
1202
1240
  readonly "stats.lineChart": "Line Chart";
@@ -1207,9 +1245,6 @@ declare const qetaTranslationRef: _backstage_frontend_plugin_api.TranslationRef<
1207
1245
  readonly "stats.totalUsers": "Total users";
1208
1246
  readonly "stats.totalTags": "Total tags";
1209
1247
  readonly "stats.totalFollowers": "Total followers";
1210
- readonly "stats.answerScore": "Answer score";
1211
- readonly "stats.postScore": "Post score";
1212
- readonly "stats.correctAnswers": "Correct answers";
1213
1248
  readonly "collectionButton.follow": "Follow";
1214
1249
  readonly "collectionButton.tooltip": "By following a collection, you will get notified when ever a new post is added to the collection";
1215
1250
  readonly "collectionButton.unfollow": "Unfollow";
@@ -1237,10 +1272,6 @@ declare const qetaTranslationRef: _backstage_frontend_plugin_api.TranslationRef<
1237
1272
  readonly "contentHealth.reviewHistory": "Review History";
1238
1273
  readonly "reviewPage.title": "Review";
1239
1274
  readonly "reviewPage.description": "Review posts that are possibly outdated.";
1240
- readonly "reviewPage.dialog.title": "Mark Post as Obsolete";
1241
- readonly "reviewPage.dialog.cancel": "Cancel";
1242
- readonly "reviewPage.dialog.commentLabel": "Comment (Optional)";
1243
- readonly "reviewPage.dialog.confirm": "Mark as Obsolete";
1244
1275
  readonly "reviewPage.table.author": "Author";
1245
1276
  readonly "reviewPage.table.score": "Health Score";
1246
1277
  readonly "reviewPage.table.created": "Created";
@@ -1250,6 +1281,10 @@ declare const qetaTranslationRef: _backstage_frontend_plugin_api.TranslationRef<
1250
1281
  readonly "reviewPage.errorLoading": "Could not load posts for review";
1251
1282
  readonly "reviewPage.actions.markValid": "Mark Valid";
1252
1283
  readonly "reviewPage.actions.markObsolete": "Mark Obsolete";
1284
+ readonly "reviewPage.dialog.title": "Mark Post as Obsolete";
1285
+ readonly "reviewPage.dialog.cancel": "Cancel";
1286
+ readonly "reviewPage.dialog.commentLabel": "Comment (Optional)";
1287
+ readonly "reviewPage.dialog.confirm": "Mark as Obsolete";
1253
1288
  }>;
1254
1289
  declare const qetaTranslations: _backstage_frontend_plugin_api.TranslationResource<"qeta">;
1255
1290
 
@@ -1265,8 +1300,6 @@ type QetaCommentSectionClassKey = 'root' | 'addCommentButton' | 'commentSection'
1265
1300
 
1266
1301
  type QetaSearchBarClassKeys = 'root' | 'input' | 'iconButton' | 'divider' | 'searchIcon' | 'loadingIcon';
1267
1302
 
1268
- type QetaPaginationClassKeys = 'root' | 'pageSizeSelect' | 'pagination';
1269
-
1270
1303
  type QetaComponentsNameToClassKey = {
1271
1304
  QetaArticleButtons: QetaArticleButtonsClassKey;
1272
1305
  QetaMarkdownContent: QetaMarkdownContentClassKey;
@@ -1277,7 +1310,6 @@ type QetaComponentsNameToClassKey = {
1277
1310
  QetaCommentList: QetaCommentListClassKey;
1278
1311
  QetaCommentSection: QetaCommentSectionClassKey;
1279
1312
  QetaSearchBar: QetaSearchBarClassKeys;
1280
- QetaPagination: QetaPaginationClassKeys;
1281
1313
  QetaQuestionCard: QuestionCardClassKeys;
1282
1314
  QetaAnswerCard: AnswerCardClassKeys;
1283
1315
  };
@@ -1285,4 +1317,4 @@ type QetaOverrides = Overrides & {
1285
1317
  [Name in keyof QetaComponentsNameToClassKey]?: Partial<StyleRules<QetaComponentsNameToClassKey[Name]>>;
1286
1318
  };
1287
1319
 
1288
- 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, ObsoleteBanner, ObsoleteModal, 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, ValidReviewModal, 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, reviewRouteRef, statisticsRouteRef, tagRouteRef, tagsRouteRef, useAI, useCanReview, useCollectionsFollow, useEntityAuthor, useEntityFollow, useIdentityApi, useIsModerator, useQetaApi, useQetaContext, useTagsFollow, useUserFollow, useUserInfo, userRouteRef, usersRouteRef, writeRouteRef };
1320
+ 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, type GridType, ImpactCard, LeftMenu, LeftMenuButton, LinkCard, MarkdownRenderer, ObsoleteBanner, ObsoleteModal, 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, Timeline, TimelineItemCard, TopRankingUsers, TrophyIcon, UpdatedByLink, UserBadges, UserFollowButton, UserLink, UsersGrid, ValidReviewModal, 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, reviewRouteRef, statisticsRouteRef, tagRouteRef, tagsRouteRef, useAI, useCanReview, useCollectionsFollow, useEntityAuthor, useEntityFollow, useGridPageSize, useIdentityApi, useIsModerator, useQetaApi, useQetaContext, useTagsFollow, useUserFollow, useUserInfo, userRouteRef, usersRouteRef, writeRouteRef };
package/dist/index.esm.js CHANGED
@@ -1,5 +1,7 @@
1
1
  export { articleRouteRef, articlesRouteRef, askRouteRef, collectionCreateRouteRef, collectionEditRouteRef, collectionRouteRef, collectionsRouteRef, createLinkRouteRef, editArticleRouteRef, editLinkRouteRef, editQuestionRouteRef, entitiesRouteRef, entityRouteRef, favoriteQuestionsRouteRef, linkRouteRef, linksRouteRef, moderatorRouteRef, qetaRouteRef, questionRouteRef, questionsRouteRef, reviewRouteRef, statisticsRouteRef, tagRouteRef, tagsRouteRef, userRouteRef, usersRouteRef, writeRouteRef } from './routes.esm.js';
2
2
  export { qetaApiRef } from './api.esm.js';
3
+ export { Timeline } from './components/Timeline/Timeline.esm.js';
4
+ export { TimelineItemCard } from './components/Timeline/TimelineItem.esm.js';
3
5
  export { PostForm } from './components/PostForm/PostForm.esm.js';
4
6
  export { PostsContainer } from './components/PostsContainer/PostsContainer.esm.js';
5
7
  export { PostList } from './components/PostsContainer/PostList.esm.js';
@@ -78,5 +80,6 @@ export { useCollectionsFollow } from './hooks/useCollectionsFollow.esm.js';
78
80
  export { useIsModerator } from './hooks/useIsModerator.esm.js';
79
81
  export { useAI } from './hooks/useAI.esm.js';
80
82
  export { useCanReview } from './hooks/useCanReview.esm.js';
83
+ export { useGridPageSize } from './hooks/useGridPageSize.esm.js';
81
84
  export { qetaTranslationRef, qetaTranslations } from './translation.esm.js';
82
85
  //# sourceMappingURL=index.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -9,6 +9,23 @@ const qetaTranslationRef = createTranslationRef({
9
9
  noAnswers: "No answers",
10
10
  limitSelect: "Answers per page"
11
11
  },
12
+ timeline: {
13
+ title: "Timeline",
14
+ loadMore: "Load more",
15
+ loading: "Loading...",
16
+ postedQuestion: "posted question",
17
+ postedArticle: "posted article",
18
+ postedLink: "posted link",
19
+ updatedQuestion: "updated question",
20
+ updatedArticle: "updated article",
21
+ updatedLink: "updated link",
22
+ answered: "answered to",
23
+ commentedOnQuestion: "commented on question",
24
+ commentedOnArticle: "commented on article",
25
+ commentedOnLink: "commented on link",
26
+ createdCollection: "created collection",
27
+ noMoreItems: "No more items"
28
+ },
12
29
  common: {
13
30
  post: "post",
14
31
  experts: "Experts",
@@ -19,6 +36,8 @@ const qetaTranslationRef = createTranslationRef({
19
36
  link: "link",
20
37
  links: "links",
21
38
  collection: "collection",
39
+ comment: "comment",
40
+ answer: "answer",
22
41
  score: "{{score}} score",
23
42
  comments: "Comments",
24
43
  answers: "answers",
@@ -393,7 +412,12 @@ const qetaTranslationRef = createTranslationRef({
393
412
  randomPost2: 'What do you think about "{{title}}"?',
394
413
  randomPost3: 'Have you seen "{{title}}"?',
395
414
  randomPost4: 'Join the discussion on "{{title}}"',
396
- randomPost5: 'Check this out: "{{title}}"'
415
+ randomPost5: 'Check this out: "{{title}}"',
416
+ needsReview1: '"{{title}}" needs a content review',
417
+ needsReview2: 'Please review "{{title}}" for accuracy',
418
+ needsReview3: 'Content review needed: "{{title}}"',
419
+ needsReview4: 'Can you verify "{{title}}" is still valid?',
420
+ needsReview5: '"{{title}}" is due for a review'
397
421
  },
398
422
  homePage: {
399
423
  title: "Home"
@@ -403,11 +427,17 @@ const qetaTranslationRef = createTranslationRef({
403
427
  views: "views",
404
428
  error: "Failed to load impact data",
405
429
  contributions: "Your contributions helped {{lastWeek}} people this week",
430
+ totalContributions: "Contributions",
406
431
  votes: "Votes",
407
432
  questions: "Questions",
408
433
  answers: "Answers",
434
+ articles: "Articles",
435
+ links: "Links",
409
436
  followers: "Followers",
410
- reputation: "Reputation"
437
+ reputation: "Reputation",
438
+ answerScore: "Answer Score",
439
+ postScore: "Post Score",
440
+ correctAnswers: "Correct Answers"
411
441
  },
412
442
  userBadges: {
413
443
  title: "Badges",
@@ -512,9 +542,6 @@ const qetaTranslationRef = createTranslationRef({
512
542
  genericQuestion: "Generic question",
513
543
  genericQuestionDescription: "Create a generic question"
514
544
  },
515
- pagination: {
516
- defaultTooltip: "Number of items"
517
- },
518
545
  collectionsPage: {
519
546
  title: "Collections",
520
547
  search: {