@drodil/backstage-plugin-qeta-react 3.28.1 → 3.29.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.
- package/dist/components/AnswerCard/AnswerCard.esm.js +77 -41
- package/dist/components/AnswerCard/AnswerCard.esm.js.map +1 -1
- package/dist/components/AnswersContainer/AnswersContainer.esm.js +16 -8
- package/dist/components/AnswersContainer/AnswersContainer.esm.js.map +1 -1
- package/dist/components/ArticleContent/ArticleContent.esm.js +2 -2
- package/dist/components/ArticleContent/ArticleContent.esm.js.map +1 -1
- package/dist/components/AuthorBox/AuthorBox.esm.js +49 -33
- package/dist/components/AuthorBox/AuthorBox.esm.js.map +1 -1
- package/dist/components/Buttons/AddToCollectionButton.esm.js +17 -2
- package/dist/components/Buttons/AddToCollectionButton.esm.js.map +1 -1
- package/dist/components/Buttons/ButtonContainer.esm.js +1 -0
- package/dist/components/Buttons/ButtonContainer.esm.js.map +1 -1
- package/dist/components/CollectionForm/CollectionForm.esm.js +78 -14
- package/dist/components/CollectionForm/CollectionForm.esm.js.map +1 -1
- package/dist/components/CollectionsGrid/CollectionsGrid.esm.js +19 -21
- package/dist/components/CollectionsGrid/CollectionsGrid.esm.js.map +1 -1
- package/dist/components/CommentSection/CommentListItem.esm.js +22 -3
- package/dist/components/CommentSection/CommentListItem.esm.js.map +1 -1
- package/dist/components/CommentSection/CommentSection.esm.js +52 -12
- package/dist/components/CommentSection/CommentSection.esm.js.map +1 -1
- package/dist/components/EntitiesGrid/EntitiesGrid.esm.js +26 -24
- package/dist/components/EntitiesGrid/EntitiesGrid.esm.js.map +1 -1
- package/dist/components/EntitiesGrid/EntitiesGridItem.esm.js +48 -50
- package/dist/components/EntitiesGrid/EntitiesGridItem.esm.js.map +1 -1
- package/dist/components/FilterPanel/DateRangeFilter.esm.js +28 -20
- package/dist/components/FilterPanel/DateRangeFilter.esm.js.map +1 -1
- package/dist/components/FilterPanel/FilterPanel.esm.js +34 -1
- package/dist/components/FilterPanel/FilterPanel.esm.js.map +1 -1
- package/dist/components/FollowedLists/FollowedCollectionsList.esm.js +1 -1
- package/dist/components/FollowedLists/FollowedCollectionsList.esm.js.map +1 -1
- package/dist/components/FollowedLists/FollowedEntitiesList.esm.js +1 -1
- package/dist/components/FollowedLists/FollowedEntitiesList.esm.js.map +1 -1
- package/dist/components/FollowedLists/FollowedTagsList.esm.js +1 -1
- package/dist/components/FollowedLists/FollowedTagsList.esm.js.map +1 -1
- package/dist/components/FollowedLists/FollowedUsersList.esm.js +1 -1
- package/dist/components/FollowedLists/FollowedUsersList.esm.js.map +1 -1
- package/dist/components/GridItemStyles/useGridItemStyles.esm.js +68 -0
- package/dist/components/GridItemStyles/useGridItemStyles.esm.js.map +1 -0
- package/dist/components/HeaderImageInput/HeaderImageInput.esm.js +171 -36
- package/dist/components/HeaderImageInput/HeaderImageInput.esm.js.map +1 -1
- package/dist/components/HomePageCards/ImpactCard.esm.js +52 -15
- package/dist/components/HomePageCards/ImpactCard.esm.js.map +1 -1
- package/dist/components/HomePageCards/PostsCard.esm.js +2 -0
- package/dist/components/HomePageCards/PostsCard.esm.js.map +1 -1
- package/dist/components/LeftMenu/LeftMenu.esm.js +46 -13
- package/dist/components/LeftMenu/LeftMenu.esm.js.map +1 -1
- package/dist/components/Links/Links.esm.js +6 -0
- package/dist/components/Links/Links.esm.js.map +1 -1
- package/dist/components/MarkdownRenderer/MarkdownRenderer.esm.js +88 -31
- package/dist/components/MarkdownRenderer/MarkdownRenderer.esm.js.map +1 -1
- package/dist/components/PostForm/EntitiesInput.esm.js +4 -6
- package/dist/components/PostForm/EntitiesInput.esm.js.map +1 -1
- package/dist/components/PostForm/PostForm.esm.js +98 -26
- package/dist/components/PostForm/PostForm.esm.js.map +1 -1
- package/dist/components/PostForm/TagInput.esm.js.map +1 -1
- package/dist/components/PostHighlightList/PostHighlightList.esm.js +99 -19
- package/dist/components/PostHighlightList/PostHighlightList.esm.js.map +1 -1
- package/dist/components/PostsContainer/PostList.esm.js +11 -2
- package/dist/components/PostsContainer/PostList.esm.js.map +1 -1
- package/dist/components/PostsContainer/PostListItem.esm.js +240 -137
- package/dist/components/PostsContainer/PostListItem.esm.js.map +1 -1
- package/dist/components/PostsContainer/PostsContainer.esm.js +68 -57
- package/dist/components/PostsContainer/PostsContainer.esm.js.map +1 -1
- package/dist/components/PostsGrid/PostsGrid.esm.js +20 -13
- package/dist/components/PostsGrid/PostsGrid.esm.js.map +1 -1
- package/dist/components/PostsGrid/PostsGridContent.esm.js +2 -1
- package/dist/components/PostsGrid/PostsGridContent.esm.js.map +1 -1
- package/dist/components/PostsGrid/PostsGridItem.esm.js +211 -51
- package/dist/components/PostsGrid/PostsGridItem.esm.js.map +1 -1
- package/dist/components/QetaPagination/QetaPagination.esm.js +4 -2
- package/dist/components/QetaPagination/QetaPagination.esm.js.map +1 -1
- package/dist/components/QuestionCard/QuestionCard.esm.js +69 -40
- package/dist/components/QuestionCard/QuestionCard.esm.js.map +1 -1
- package/dist/components/SearchBar/SearchBar.esm.js +74 -19
- package/dist/components/SearchBar/SearchBar.esm.js.map +1 -1
- package/dist/components/StatsChart/StatsChart.esm.js +176 -64
- package/dist/components/StatsChart/StatsChart.esm.js.map +1 -1
- package/dist/components/SuggestionsCard/SuggestionsCard.esm.js +94 -16
- package/dist/components/SuggestionsCard/SuggestionsCard.esm.js.map +1 -1
- package/dist/components/SummaryStatsGrid/SummaryStatsGrid.esm.js +80 -27
- package/dist/components/SummaryStatsGrid/SummaryStatsGrid.esm.js.map +1 -1
- package/dist/components/TagsAndEntities/EntityChip.esm.js +7 -0
- package/dist/components/TagsAndEntities/EntityChip.esm.js.map +1 -1
- package/dist/components/TagsAndEntities/TagChip.esm.js +6 -0
- package/dist/components/TagsAndEntities/TagChip.esm.js.map +1 -1
- package/dist/components/TagsGrid/TagGridItem.esm.js +84 -83
- package/dist/components/TagsGrid/TagGridItem.esm.js.map +1 -1
- package/dist/components/TagsGrid/TagsGrid.esm.js +39 -36
- package/dist/components/TagsGrid/TagsGrid.esm.js.map +1 -1
- package/dist/components/TopRankingUsersCard/TopRankingUsersCard.esm.js +96 -44
- package/dist/components/TopRankingUsersCard/TopRankingUsersCard.esm.js.map +1 -1
- package/dist/components/UsersGrid/UsersGrid.esm.js +10 -10
- package/dist/components/UsersGrid/UsersGrid.esm.js.map +1 -1
- package/dist/components/UsersGrid/UsersGridItem.esm.js +80 -77
- package/dist/components/UsersGrid/UsersGridItem.esm.js.map +1 -1
- package/dist/components/Utility/QetaGridHeader.esm.js +36 -0
- package/dist/components/Utility/QetaGridHeader.esm.js.map +1 -0
- package/dist/components/Utility/RightList.esm.js +19 -8
- package/dist/components/Utility/RightList.esm.js.map +1 -1
- package/dist/components/ViewToggle/ViewToggle.esm.js +33 -0
- package/dist/components/ViewToggle/ViewToggle.esm.js.map +1 -0
- package/dist/hooks/useTooltipStyles.esm.js +23 -0
- package/dist/hooks/useTooltipStyles.esm.js.map +1 -0
- package/dist/index.d.ts +105 -24
- package/dist/index.esm.js +1 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/translation.esm.js +96 -27
- package/dist/translation.esm.js.map +1 -1
- package/dist/utils/utils.esm.js +18 -3
- package/dist/utils/utils.esm.js.map +1 -1
- package/package.json +3 -2
package/dist/translation.esm.js
CHANGED
|
@@ -18,19 +18,26 @@ const qetaTranslationRef = createTranslationRef({
|
|
|
18
18
|
collection: "collection",
|
|
19
19
|
score: "{{score}} score",
|
|
20
20
|
comments: "Comments",
|
|
21
|
+
answers: "answers",
|
|
22
|
+
votes: "votes",
|
|
23
|
+
views: "views",
|
|
24
|
+
postStats: "Post stats",
|
|
21
25
|
anonymousAuthor: "Anonymous",
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
search: "Search",
|
|
27
|
+
readMore: "Read more",
|
|
28
|
+
clear: "Clear search",
|
|
29
|
+
answersCount_zero: "No answers",
|
|
30
|
+
answersCount_one: "{{count}} answer",
|
|
31
|
+
answersCount_other: "{{count}} answers",
|
|
32
|
+
viewsCount_zero: "Viewed {{count}} times",
|
|
33
|
+
viewsCount_one: "Viewed {{count}} time",
|
|
34
|
+
viewsCount_other: "Viewed {{count}} times",
|
|
28
35
|
viewsShort_zero: "0 views",
|
|
29
36
|
viewsShort_one: "{{count}} view",
|
|
30
37
|
viewsShort_other: "{{count}} views",
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
38
|
+
votesCount_zero: "0 votes",
|
|
39
|
+
votesCount_one: "{{count}} vote",
|
|
40
|
+
votesCount_other: "{{count}} votes",
|
|
34
41
|
posts_zero: "No {{itemType}}s",
|
|
35
42
|
posts_one: "{{count}} {{itemType}}",
|
|
36
43
|
posts_other: "{{count}} {{itemType}}s",
|
|
@@ -64,42 +71,69 @@ const qetaTranslationRef = createTranslationRef({
|
|
|
64
71
|
anonymousCheckbox: {
|
|
65
72
|
tooltip: "By enabling this, other users won't be able to see you as an author",
|
|
66
73
|
answerAnonymously: "Answer anonymously",
|
|
67
|
-
postAnonymously: "Post anonymously"
|
|
74
|
+
postAnonymously: "Post anonymously",
|
|
75
|
+
info: "Your name will not be shown to others."
|
|
68
76
|
},
|
|
69
77
|
fileInput: {
|
|
70
78
|
label: "Header image",
|
|
71
79
|
helperText: "URL of the header image to be used",
|
|
72
80
|
uploadHeaderImage: "Upload image",
|
|
73
|
-
preview: "Preview image"
|
|
81
|
+
preview: "Preview image",
|
|
82
|
+
dropHere: "Drop your image here",
|
|
83
|
+
dragAndDrop: "Drag and drop an image here",
|
|
84
|
+
supportedFormats: "Supported formats: {{formats}}",
|
|
85
|
+
selectFile: "Select File",
|
|
86
|
+
imageLoadError: "Could not load image. Please check the URL."
|
|
74
87
|
},
|
|
75
88
|
collectionForm: {
|
|
76
|
-
errorPosting: "Could not
|
|
89
|
+
errorPosting: "Could not post collection",
|
|
77
90
|
titleInput: {
|
|
78
91
|
label: "Title",
|
|
79
|
-
helperText: "
|
|
92
|
+
helperText: "Title of the collection",
|
|
93
|
+
placeholder: "e.g. Questions about Backstage"
|
|
80
94
|
},
|
|
81
95
|
descriptionInput: {
|
|
82
|
-
|
|
96
|
+
label: "Description",
|
|
97
|
+
placeholder: "Describe your collection in detail. What topics does it cover?",
|
|
98
|
+
markdownHelp: "Markdown help"
|
|
83
99
|
},
|
|
84
100
|
submit: {
|
|
85
101
|
existingCollection: "Save",
|
|
86
|
-
newCollection: "Create"
|
|
87
|
-
}
|
|
102
|
+
newCollection: "Create Collection"
|
|
103
|
+
},
|
|
104
|
+
submitting: "Creating...",
|
|
105
|
+
tips_1: "Choose a clear and descriptive title that reflects the collection's purpose",
|
|
106
|
+
tips_2: "Provide a detailed description of what topics or questions the collection will contain",
|
|
107
|
+
tips_3: "Use markdown formatting to describe your collection with headings, lists, and links"
|
|
88
108
|
},
|
|
89
109
|
postForm: {
|
|
90
110
|
errorPosting: "Could not post {{type}}",
|
|
91
111
|
uploadHeaderImage: "Upload header image",
|
|
92
112
|
titleInput: {
|
|
93
113
|
label: "Title",
|
|
94
|
-
helperText: "Write good title for your {{type}} that people can understand"
|
|
114
|
+
helperText: "Write good title for your {{type}} that people can understand",
|
|
115
|
+
placeholder: "e.g. How do I deploy a Backstage plugin?"
|
|
95
116
|
},
|
|
96
117
|
contentInput: {
|
|
97
|
-
|
|
118
|
+
label: "Your {{type}}",
|
|
119
|
+
placeholder_question: "Describe your problem in detail. What have you tried? What did you expect to happen?",
|
|
120
|
+
placeholder_article: "Write your article content here. Use headings, lists, and images to organize your information.",
|
|
121
|
+
markdownHelp: "Markdown help"
|
|
98
122
|
},
|
|
99
123
|
submit: {
|
|
100
124
|
existingPost: "Save",
|
|
101
125
|
newPost: "Post"
|
|
102
|
-
}
|
|
126
|
+
},
|
|
127
|
+
successPosting: "Your {{type}} was posted successfully!",
|
|
128
|
+
submitting: "Posting...",
|
|
129
|
+
tips_question_1: "Describe your problem in detail.",
|
|
130
|
+
tips_question_2: "Include what you have tried and what you expected to happen.",
|
|
131
|
+
tips_question_3: "Share error messages, logs, or screenshots if possible.",
|
|
132
|
+
tips_question_4: "Use code blocks for code or configuration.",
|
|
133
|
+
tips_article_1: "Write a clear and engaging introduction.",
|
|
134
|
+
tips_article_2: "Organize your content with headings and lists.",
|
|
135
|
+
tips_article_3: "Add images or diagrams to illustrate your points.",
|
|
136
|
+
tips_article_4: "Cite sources or link to relevant documentation."
|
|
103
137
|
},
|
|
104
138
|
answerForm: {
|
|
105
139
|
errorPosting: "Could not post answer",
|
|
@@ -114,12 +148,12 @@ const qetaTranslationRef = createTranslationRef({
|
|
|
114
148
|
entitiesInput: {
|
|
115
149
|
label: "Entities",
|
|
116
150
|
placeholder: "Type or select entities",
|
|
117
|
-
helperText: "Add up to {{max}} entities
|
|
151
|
+
helperText: "Add up to {{max}} entities"
|
|
118
152
|
},
|
|
119
153
|
tagsInput: {
|
|
120
154
|
label: "Tags",
|
|
121
155
|
placeholder: "Type or select tags",
|
|
122
|
-
helperText: "Add up to {{max}} tags
|
|
156
|
+
helperText: "Add up to {{max}} tags",
|
|
123
157
|
allowAddHelperText: "You can create new tags by typing the tag and pressing enter"
|
|
124
158
|
},
|
|
125
159
|
askPage: {
|
|
@@ -127,7 +161,10 @@ const qetaTranslationRef = createTranslationRef({
|
|
|
127
161
|
existingQuestion: "Edit question",
|
|
128
162
|
entityQuestion: "Ask a question about {{entity}}",
|
|
129
163
|
newQuestion: "Ask a question"
|
|
130
|
-
}
|
|
164
|
+
},
|
|
165
|
+
templateSelection: "Select a template for your question",
|
|
166
|
+
questionForm: "Ask a question",
|
|
167
|
+
selectTemplate: "Select a template for your question"
|
|
131
168
|
},
|
|
132
169
|
writePage: {
|
|
133
170
|
title: {
|
|
@@ -148,7 +185,9 @@ const qetaTranslationRef = createTranslationRef({
|
|
|
148
185
|
addToCollectionButton: {
|
|
149
186
|
title: "Collections",
|
|
150
187
|
manage: "Add or remove this post from collections",
|
|
151
|
-
close: "Close"
|
|
188
|
+
close: "Close",
|
|
189
|
+
removed: "Removed from collection {{collection}}",
|
|
190
|
+
added: "Added to collection {{collection}}"
|
|
152
191
|
},
|
|
153
192
|
writeArticleButton: {
|
|
154
193
|
title: "Write an article"
|
|
@@ -230,6 +269,7 @@ const qetaTranslationRef = createTranslationRef({
|
|
|
230
269
|
},
|
|
231
270
|
suggestionsCard: {
|
|
232
271
|
title: "Suggestions",
|
|
272
|
+
noSuggestions: "No suggestions",
|
|
233
273
|
noCorrectAnswer: 'Your question "{{title}}" does not have a correct answer',
|
|
234
274
|
newQuestion: 'Do you have an answer for "{{title}}"?',
|
|
235
275
|
newArticle: 'You might like to read "{{title}}"'
|
|
@@ -240,6 +280,7 @@ const qetaTranslationRef = createTranslationRef({
|
|
|
240
280
|
impactCard: {
|
|
241
281
|
title: "Your impact",
|
|
242
282
|
views: "views",
|
|
283
|
+
error: "Failed to load impact data",
|
|
243
284
|
contributions: "Your contributions helped {{lastWeek}} people this week"
|
|
244
285
|
},
|
|
245
286
|
rightMenu: {
|
|
@@ -344,6 +385,7 @@ const qetaTranslationRef = createTranslationRef({
|
|
|
344
385
|
notFound: "Could not find the question",
|
|
345
386
|
sortAnswers: {
|
|
346
387
|
label: "Sort answers",
|
|
388
|
+
menuLabel: "Sort answers menu",
|
|
347
389
|
default: "Default",
|
|
348
390
|
createdDesc: "Created (desc)",
|
|
349
391
|
createdAsc: "Created (asc)",
|
|
@@ -360,7 +402,8 @@ const qetaTranslationRef = createTranslationRef({
|
|
|
360
402
|
authorBox: {
|
|
361
403
|
postedAtTime: "Posted",
|
|
362
404
|
updatedAtTime: "Updated",
|
|
363
|
-
updatedBy: "by"
|
|
405
|
+
updatedBy: "by",
|
|
406
|
+
answeredAtTime: "Answered"
|
|
364
407
|
},
|
|
365
408
|
favorite: {
|
|
366
409
|
remove: "Remove this post from favorites",
|
|
@@ -372,6 +415,10 @@ const qetaTranslationRef = createTranslationRef({
|
|
|
372
415
|
aria: "Copy link to clipboard",
|
|
373
416
|
copied: "Link copied to clipboard"
|
|
374
417
|
},
|
|
418
|
+
code: {
|
|
419
|
+
aria: "Copy code to clipboard",
|
|
420
|
+
copied: "Code copied to clipboard"
|
|
421
|
+
},
|
|
375
422
|
voteButtons: {
|
|
376
423
|
answer: {
|
|
377
424
|
markCorrect: "Mark this answer correct",
|
|
@@ -392,7 +439,7 @@ const qetaTranslationRef = createTranslationRef({
|
|
|
392
439
|
to: "To date",
|
|
393
440
|
invalidRange: "Date range invalid, 'To date' should be greater than 'From date'",
|
|
394
441
|
range: {
|
|
395
|
-
label: "
|
|
442
|
+
label: "Posted",
|
|
396
443
|
default: "Select",
|
|
397
444
|
last7days: "Last 7 days",
|
|
398
445
|
last30days: "Last 30 days",
|
|
@@ -569,7 +616,10 @@ const qetaTranslationRef = createTranslationRef({
|
|
|
569
616
|
questions: "Questions",
|
|
570
617
|
answers: "Answers",
|
|
571
618
|
collections: "Collections",
|
|
572
|
-
articles: "Articles"
|
|
619
|
+
articles: "Articles",
|
|
620
|
+
followUser: "Follow {{name}}",
|
|
621
|
+
profilePicture: "Profile picture of {{name}}",
|
|
622
|
+
profileHeader: "User profile"
|
|
573
623
|
},
|
|
574
624
|
stats: {
|
|
575
625
|
noStats: "No statistics available. Check back later!",
|
|
@@ -581,7 +631,22 @@ const qetaTranslationRef = createTranslationRef({
|
|
|
581
631
|
articles: "Articles",
|
|
582
632
|
followers: "Followers",
|
|
583
633
|
users: "Users",
|
|
584
|
-
tags: "Tags"
|
|
634
|
+
tags: "Tags",
|
|
635
|
+
barChart: "Bar Chart",
|
|
636
|
+
lineChart: "Line Chart",
|
|
637
|
+
chartType: "Chart Type",
|
|
638
|
+
tooltip: "Chart Tooltip",
|
|
639
|
+
dateAxis: "Date Axis",
|
|
640
|
+
valueAxis: "Value Axis",
|
|
641
|
+
totalViews: "Total views",
|
|
642
|
+
totalQuestions: "Total questions",
|
|
643
|
+
totalAnswers: "Total answers",
|
|
644
|
+
totalComments: "Total comments",
|
|
645
|
+
totalVotes: "Total votes",
|
|
646
|
+
totalUsers: "Total users",
|
|
647
|
+
totalTags: "Total tags",
|
|
648
|
+
totalArticles: "Total articles",
|
|
649
|
+
totalFollowers: "Total followers"
|
|
585
650
|
},
|
|
586
651
|
collectionButton: {
|
|
587
652
|
follow: "Follow",
|
|
@@ -604,6 +669,10 @@ const qetaTranslationRef = createTranslationRef({
|
|
|
604
669
|
follow: "Follow",
|
|
605
670
|
unfollow: "Unfollow",
|
|
606
671
|
tooltip: "By following a user, you will get notified when ever a new post by that user is posted"
|
|
672
|
+
},
|
|
673
|
+
viewToggle: {
|
|
674
|
+
listView: "List View",
|
|
675
|
+
gridView: "Grid View"
|
|
607
676
|
}
|
|
608
677
|
}
|
|
609
678
|
});
|
|
@@ -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 collection: 'collection',\n score: '{{score}} score',\n comments: 'Comments',\n anonymousAuthor: 'Anonymous',\n answers_zero: 'No answers',\n answers_one: '{{count}} answer',\n answers_other: '{{count}} answers',\n views_zero: 'Viewed {{count}} times',\n views_one: 'Viewed {{count}} time',\n views_other: 'Viewed {{count}} times',\n viewsShort_zero: '0 views',\n viewsShort_one: '{{count}} view',\n viewsShort_other: '{{count}} views',\n votes_zero: '0 votes',\n votes_one: '{{count}} vote',\n votes_other: '{{count}} votes',\n posts_zero: 'No {{itemType}}s',\n posts_one: '{{count}} {{itemType}}',\n posts_other: '{{count}} {{itemType}}s',\n collections_zero: 'No collections',\n collections_one: '{{count}} collection',\n collections_other: '{{count}} collections',\n 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 unsaved_changes:\n 'You have unsaved changes. Are you sure you want to leave?',\n loading: 'Loading...',\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 },\n fileInput: {\n label: 'Header image',\n helperText: 'URL of the header image to be used',\n uploadHeaderImage: 'Upload image',\n preview: 'Preview image',\n },\n collectionForm: {\n errorPosting: 'Could not create collection',\n titleInput: {\n label: 'Title',\n helperText: 'Name of the colleciton',\n },\n descriptionInput: {\n placeholder: 'Collection description, what does it contain?',\n },\n submit: {\n existingCollection: 'Save',\n newCollection: 'Create',\n },\n },\n postForm: {\n errorPosting: 'Could not post {{type}}',\n uploadHeaderImage: 'Upload header image',\n titleInput: {\n label: 'Title',\n helperText:\n 'Write good title for your {{type}} that people can understand',\n },\n contentInput: {\n placeholder: 'Your {{type}}',\n },\n submit: {\n existingPost: 'Save',\n newPost: 'Post',\n },\n },\n answerForm: {\n errorPosting: 'Could not post answer',\n contentInput: {\n placeholder: 'Your answer',\n },\n submit: {\n existingAnswer: 'Save',\n newAnswer: 'Post',\n },\n },\n entitiesInput: {\n label: 'Entities',\n placeholder: 'Type or select entities',\n helperText: 'Add up to {{max}} entities this question relates to',\n },\n tagsInput: {\n label: 'Tags',\n placeholder: 'Type or select tags',\n helperText: 'Add up to {{max}} tags to categorize your question',\n allowAddHelperText:\n 'You can create new tags by typing the tag and pressing enter',\n },\n askPage: {\n title: {\n existingQuestion: 'Edit question',\n entityQuestion: 'Ask a question about {{entity}}',\n newQuestion: 'Ask a question',\n },\n },\n writePage: {\n title: {\n existingArticle: 'Edit article',\n entityArticle: 'Write an article about {{entity}}',\n newArticle: 'New article',\n },\n },\n collectionCreatePage: {\n title: {\n existingCollection: 'Edit collection',\n newCollection: 'New collection',\n },\n },\n askQuestionButton: {\n title: 'Ask a question',\n },\n addToCollectionButton: {\n title: 'Collections',\n manage: 'Add or remove this post from collections',\n close: 'Close',\n },\n writeArticleButton: {\n title: 'Write an article',\n },\n createCollectionButton: {\n title: 'Create 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 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 },\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 deleteButton: 'Delete',\n cancelButton: 'Cancel',\n },\n favoritePage: {\n title: 'Favorited posts',\n },\n leftMenu: {\n buttonLabel: 'Menu',\n home: 'Home',\n questions: 'Questions',\n articles: 'Articles',\n profile: 'Profile',\n tags: 'Tags',\n entities: 'Entities',\n favoriteQuestions: 'Favorites',\n statistics: 'Statistics',\n collections: 'Collections',\n content: 'Content',\n community: 'Community',\n users: 'Users',\n manage: 'Manage',\n moderate: 'Moderate',\n },\n moderatorPage: {\n title: 'Moderate',\n tools: 'Tools',\n templates: 'Templates',\n templatesInfo:\n 'Templates can be used to prefill question content for the user',\n },\n suggestionsCard: {\n title: 'Suggestions',\n noCorrectAnswer:\n 'Your question \"{{title}}\" does not have a correct answer',\n newQuestion: 'Do you have an answer for \"{{title}}\"?',\n newArticle: 'You might like to read \"{{title}}\"',\n },\n homePage: {\n title: 'Home',\n },\n impactCard: {\n title: 'Your impact',\n views: 'views',\n contributions: 'Your contributions helped {{lastWeek}} people this week',\n },\n rightMenu: {\n followedEntities: 'Followed entities',\n followedTags: 'Followed tags',\n followedCollections: 'Followed collections',\n followedUsers: 'Followed users',\n },\n highlights: {\n loadError: 'Failed to load questions',\n own: {\n title: 'Your latest questions',\n noQuestionsLabel: 'No questions',\n },\n hotQuestions: {\n title: 'Hot questions',\n noQuestionsLabel: 'No questions',\n },\n hotArticles: {\n title: 'Hot articles',\n noArticlesLabel: 'No articles',\n },\n unanswered: {\n title: 'Unanswered questions',\n noQuestionsLabel: 'No unanswered questions',\n },\n incorrect: {\n title: 'Questions without correct answer',\n noQuestionsLabel: 'No questions without correct answers',\n },\n },\n questionsPage: {\n title: 'All questions',\n },\n articlesPage: {\n title: 'All articles',\n },\n userLink: {\n anonymous: 'Anonymous',\n you: 'You',\n },\n articlePage: {\n notFound: 'Could not find the article',\n errorLoading: 'Could not load article',\n editButton: 'Edit this article',\n deleteButton: 'Delete this article',\n },\n templateList: {\n errorLoading: 'Could not load templates',\n editButton: 'Edit',\n deleteButton: 'Delete',\n createButton: 'Create',\n errorPosting: 'Could not post template',\n noTemplates: 'No templates',\n noTemplatesDescription: 'Create a new template to get started',\n titleInput: {\n label: 'Title',\n helperText: 'Name of the template',\n },\n descriptionInput: {\n label: 'Description',\n helperText: 'Template description, what is it used for?',\n },\n questionTitleInput: {\n label: 'Default question title',\n helperText:\n 'Question title to be used when creating a question with this template',\n },\n questionContentInput: {\n placeholder:\n 'Question content to be used when creating a question with this template',\n },\n submit: {\n existingTemplate: 'Save',\n newTemplate: 'Create',\n },\n },\n templateSelectList: {\n selectButton: 'Choose',\n title: 'Create a question from template',\n genericQuestion: 'Generic question',\n genericQuestionDescription: 'Create a generic question',\n },\n pagination: {\n defaultTooltip: 'Number of items',\n },\n collectionsPage: {\n title: 'Collections',\n search: {\n label: 'Search 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 notFound: 'Could not find the question',\n sortAnswers: {\n label: 'Sort answers',\n default: 'Default',\n createdDesc: 'Created (desc)',\n createdAsc: 'Created (asc)',\n scoreDesc: 'Score (desc)',\n scoreAsc: 'Score (asc)',\n commentsDesc: 'Comments (desc)',\n commentsAsc: 'Comments (asc)',\n authorDesc: 'Author (desc)',\n authorAsc: 'Author (asc)',\n updatedDesc: 'Updated (desc)',\n updatedAsc: 'Updated (asc)',\n },\n },\n authorBox: {\n postedAtTime: 'Posted',\n updatedAtTime: 'Updated',\n updatedBy: 'by',\n },\n favorite: {\n remove: 'Remove this post from favorites',\n add: 'Mark this post as favorite',\n },\n link: {\n post: 'Copy link to this post to clipboard',\n answer: 'Copy link to this answer to clipboard',\n aria: 'Copy link to clipboard',\n copied: 'Link 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: 'Date range',\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 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 trend: 'Trend',\n answers: 'Answers',\n updated: 'Updated',\n },\n order: {\n label: 'Order',\n asc: 'Ascending',\n desc: 'Descending',\n },\n filters: {\n label: 'Filters',\n entity: {\n label: 'Entity',\n placeholder: 'Type or select entity',\n },\n tag: {\n label: 'Tag',\n placeholder: 'Type or select tag',\n },\n },\n },\n postsList: {\n errorLoading: 'Could not load {{itemType}}s',\n postsPerPage: '{{itemType}}s per page',\n },\n postsContainer: {\n title: {\n by: `{{itemType}}s by`,\n about: '{{itemType}}s about',\n tagged: `{{itemType}} tagged with {{tags}}`,\n favorite: 'Your favorite {{itemType}}s',\n },\n search: {\n label: 'Search {{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 },\n stats: {\n noStats: 'No statistics available. Check back later!',\n questions: 'Questions',\n answers: 'Answers',\n comments: 'Comments',\n votes: 'Votes',\n views: 'Views',\n articles: 'Articles',\n followers: 'Followers',\n users: 'Users',\n tags: 'Tags',\n },\n collectionButton: {\n follow: 'Follow',\n unfollow: 'Unfollow',\n tooltip:\n 'By following a collection, you will get notified when ever a new post is added to the collection',\n },\n tagButton: {\n follow: 'Follow',\n unfollow: 'Unfollow',\n edit: 'Edit',\n 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 },\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,UAAY,EAAA,YAAA;AAAA,MACZ,KAAO,EAAA,iBAAA;AAAA,MACP,QAAU,EAAA,UAAA;AAAA,MACV,eAAiB,EAAA,WAAA;AAAA,MACjB,YAAc,EAAA,YAAA;AAAA,MACd,WAAa,EAAA,kBAAA;AAAA,MACb,aAAe,EAAA,mBAAA;AAAA,MACf,UAAY,EAAA,wBAAA;AAAA,MACZ,SAAW,EAAA,uBAAA;AAAA,MACX,WAAa,EAAA,wBAAA;AAAA,MACb,eAAiB,EAAA,SAAA;AAAA,MACjB,cAAgB,EAAA,gBAAA;AAAA,MAChB,gBAAkB,EAAA,iBAAA;AAAA,MAClB,UAAY,EAAA,SAAA;AAAA,MACZ,SAAW,EAAA,gBAAA;AAAA,MACX,WAAa,EAAA,iBAAA;AAAA,MACb,UAAY,EAAA,kBAAA;AAAA,MACZ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.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 collection: 'collection',\n score: '{{score}} score',\n comments: 'Comments',\n answers: 'answers',\n votes: 'votes',\n views: 'views',\n postStats: 'Post stats',\n anonymousAuthor: 'Anonymous',\n search: 'Search',\n readMore: 'Read more',\n clear: 'Clear search',\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 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 unsaved_changes:\n 'You have unsaved changes. Are you sure you want to leave?',\n loading: 'Loading...',\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 uploadHeaderImage: 'Upload header image',\n titleInput: {\n label: 'Title',\n helperText:\n 'Write good title for your {{type}} that people can understand',\n placeholder: 'e.g. How do I deploy a Backstage plugin?',\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 markdownHelp: 'Markdown help',\n },\n submit: {\n existingPost: 'Save',\n newPost: 'Post',\n },\n successPosting: 'Your {{type}} was posted successfully!',\n submitting: 'Posting...',\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 },\n answerForm: {\n errorPosting: 'Could not post answer',\n contentInput: {\n placeholder: 'Your answer',\n },\n submit: {\n existingAnswer: 'Save',\n newAnswer: 'Post',\n },\n },\n entitiesInput: {\n label: 'Entities',\n placeholder: 'Type or select entities',\n helperText: 'Add up to {{max}} entities',\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 },\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 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 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 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 },\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 deleteButton: 'Delete',\n cancelButton: 'Cancel',\n },\n favoritePage: {\n title: 'Favorited posts',\n },\n leftMenu: {\n buttonLabel: 'Menu',\n home: 'Home',\n questions: 'Questions',\n articles: 'Articles',\n profile: 'Profile',\n tags: 'Tags',\n entities: 'Entities',\n favoriteQuestions: 'Favorites',\n statistics: 'Statistics',\n collections: 'Collections',\n content: 'Content',\n community: 'Community',\n users: 'Users',\n manage: 'Manage',\n moderate: 'Moderate',\n },\n moderatorPage: {\n title: 'Moderate',\n tools: 'Tools',\n templates: 'Templates',\n templatesInfo:\n 'Templates can be used to prefill question content for the user',\n },\n suggestionsCard: {\n title: 'Suggestions',\n noSuggestions: 'No suggestions',\n noCorrectAnswer:\n 'Your question \"{{title}}\" does not have a correct answer',\n newQuestion: 'Do you have an answer for \"{{title}}\"?',\n newArticle: 'You might like to read \"{{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 },\n rightMenu: {\n followedEntities: 'Followed entities',\n followedTags: 'Followed tags',\n followedCollections: 'Followed collections',\n followedUsers: 'Followed users',\n },\n highlights: {\n loadError: 'Failed to load questions',\n own: {\n title: 'Your latest questions',\n noQuestionsLabel: 'No questions',\n },\n hotQuestions: {\n title: 'Hot questions',\n noQuestionsLabel: 'No questions',\n },\n hotArticles: {\n title: 'Hot articles',\n noArticlesLabel: 'No articles',\n },\n unanswered: {\n title: 'Unanswered questions',\n noQuestionsLabel: 'No unanswered questions',\n },\n incorrect: {\n title: 'Questions without correct answer',\n noQuestionsLabel: 'No questions without correct answers',\n },\n },\n questionsPage: {\n title: 'All questions',\n },\n articlesPage: {\n title: 'All articles',\n },\n userLink: {\n anonymous: 'Anonymous',\n you: 'You',\n },\n articlePage: {\n notFound: 'Could not find the article',\n errorLoading: 'Could not load article',\n editButton: 'Edit this article',\n deleteButton: 'Delete this article',\n },\n templateList: {\n errorLoading: 'Could not load templates',\n editButton: 'Edit',\n deleteButton: 'Delete',\n createButton: 'Create',\n errorPosting: 'Could not post template',\n noTemplates: 'No templates',\n noTemplatesDescription: 'Create a new template to get started',\n titleInput: {\n label: 'Title',\n helperText: 'Name of the template',\n },\n descriptionInput: {\n label: 'Description',\n helperText: 'Template description, what is it used for?',\n },\n questionTitleInput: {\n label: 'Default question title',\n helperText:\n 'Question title to be used when creating a question with this template',\n },\n questionContentInput: {\n placeholder:\n 'Question content to be used when creating a question with this template',\n },\n submit: {\n existingTemplate: 'Save',\n newTemplate: 'Create',\n },\n },\n templateSelectList: {\n selectButton: 'Choose',\n title: 'Create a question from template',\n genericQuestion: 'Generic question',\n genericQuestionDescription: 'Create a generic question',\n },\n pagination: {\n defaultTooltip: 'Number of items',\n },\n collectionsPage: {\n title: 'Collections',\n search: {\n label: 'Search 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 notFound: 'Could not find the question',\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 },\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 },\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 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 trend: 'Trend',\n answers: 'Answers',\n updated: 'Updated',\n },\n order: {\n label: 'Order',\n asc: 'Ascending',\n desc: 'Descending',\n },\n filters: {\n label: 'Filters',\n entity: {\n label: 'Entity',\n placeholder: 'Type or select entity',\n },\n tag: {\n label: 'Tag',\n placeholder: 'Type or select tag',\n },\n },\n },\n postsList: {\n errorLoading: 'Could not load {{itemType}}s',\n postsPerPage: '{{itemType}}s per page',\n },\n postsContainer: {\n title: {\n by: `{{itemType}}s by`,\n about: '{{itemType}}s about',\n tagged: `{{itemType}} tagged with {{tags}}`,\n favorite: 'Your favorite {{itemType}}s',\n },\n search: {\n label: 'Search {{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 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 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 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,UAAY,EAAA,YAAA;AAAA,MACZ,KAAO,EAAA,iBAAA;AAAA,MACP,QAAU,EAAA,UAAA;AAAA,MACV,OAAS,EAAA,SAAA;AAAA,MACT,KAAO,EAAA,OAAA;AAAA,MACP,KAAO,EAAA,OAAA;AAAA,MACP,SAAW,EAAA,YAAA;AAAA,MACX,eAAiB,EAAA,WAAA;AAAA,MACjB,MAAQ,EAAA,QAAA;AAAA,MACR,QAAU,EAAA,WAAA;AAAA,MACV,KAAO,EAAA,cAAA;AAAA,MACP,iBAAmB,EAAA,YAAA;AAAA,MACnB,gBAAkB,EAAA,kBAAA;AAAA,MAClB,kBAAoB,EAAA,mBAAA;AAAA,MACpB,eAAiB,EAAA,wBAAA;AAAA,MACjB,cAAgB,EAAA,uBAAA;AAAA,MAChB,gBAAkB,EAAA,wBAAA;AAAA,MAClB,eAAiB,EAAA,SAAA;AAAA,MACjB,cAAgB,EAAA,gBAAA;AAAA,MAChB,gBAAkB,EAAA,iBAAA;AAAA,MAClB,eAAiB,EAAA,SAAA;AAAA,MACjB,cAAgB,EAAA,gBAAA;AAAA,MAChB,gBAAkB,EAAA,iBAAA;AAAA,MAClB,UAAY,EAAA,k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AA,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/dist/utils/utils.esm.js
CHANGED
|
@@ -105,12 +105,27 @@ const useConfirmNavigationIfEdited = (edited) => {
|
|
|
105
105
|
window.addEventListener("beforeunload", handleBeforeUnload);
|
|
106
106
|
if ("navigation" in window && window.navigation) {
|
|
107
107
|
window.navigation.addEventListener("navigate", handleLocationChange);
|
|
108
|
+
return () => {
|
|
109
|
+
window.removeEventListener("beforeunload", handleBeforeUnload);
|
|
110
|
+
window.navigation.removeEventListener("navigate", handleLocationChange);
|
|
111
|
+
};
|
|
108
112
|
}
|
|
113
|
+
window.addEventListener("popstate", handleLocationChange);
|
|
114
|
+
const originalPushState = window.history.pushState;
|
|
115
|
+
const originalReplaceState = window.history.replaceState;
|
|
116
|
+
window.history.pushState = (...args) => {
|
|
117
|
+
originalPushState.apply(window.history, args);
|
|
118
|
+
handleLocationChange(new PopStateEvent("navigate", { state: args[0] }));
|
|
119
|
+
};
|
|
120
|
+
window.history.replaceState = (...args) => {
|
|
121
|
+
originalReplaceState.apply(window.history, args);
|
|
122
|
+
handleLocationChange(new PopStateEvent("navigate", { state: args[0] }));
|
|
123
|
+
};
|
|
109
124
|
return () => {
|
|
110
125
|
window.removeEventListener("beforeunload", handleBeforeUnload);
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
126
|
+
window.removeEventListener("popstate", handleLocationChange);
|
|
127
|
+
window.history.pushState = originalPushState;
|
|
128
|
+
window.history.replaceState = originalReplaceState;
|
|
114
129
|
};
|
|
115
130
|
}, [edited, msg]);
|
|
116
131
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.esm.js","sources":["../../src/utils/utils.ts"],"sourcesContent":["import { Entity, stringifyEntityRef } from '@backstage/catalog-model';\nimport { Filters } from '../components/FilterPanel/FilterPanel';\nimport FileType from 'file-type';\nimport { ErrorApi } from '@backstage/core-plugin-api';\nimport { QetaApi } from '@drodil/backstage-plugin-qeta-common';\nimport { useEffect } from 'react';\nimport { useTranslationRef } from '@backstage/core-plugin-api/alpha';\nimport { qetaTranslationRef } from '../translation.ts';\n\nexport const imageUpload = (opts: {\n qetaApi: QetaApi;\n errorApi: ErrorApi;\n onImageUpload?: (id: number) => void;\n postId?: number;\n answerId?: number;\n collectionId?: number;\n}) => {\n const { qetaApi, errorApi, onImageUpload, postId, answerId, collectionId } =\n opts;\n // eslint-disable-next-line func-names\n return async function* (data: ArrayBuffer) {\n const fileType = await FileType.fromBuffer(data);\n\n const mimeType = fileType ? fileType.mime : 'text/plain';\n const attachment = await qetaApi.postAttachment(\n new Blob([data], { type: mimeType }),\n { postId, answerId, collectionId },\n );\n if ('errors' in attachment) {\n errorApi.post({\n name: 'Upload failed',\n message: attachment.errors?.map(e => e.message).join(', ') ?? '',\n });\n return false;\n }\n onImageUpload?.(attachment.id);\n yield attachment.locationUri;\n return true;\n };\n};\n\nexport const formatEntityName = (username?: string) => {\n if (!username) {\n return '';\n }\n const plainName = username.split(/[/:]+/).pop();\n return plainName\n ?.split(/[_.-]+/)\n .map(a => a.charAt(0).toUpperCase() + a.slice(1))\n .join(' ');\n};\n\nexport const getEntityTitle = (\n entity: Entity,\n opts?: { withType: boolean },\n): string => {\n const { withType } = opts || { withType: true };\n const stringified = stringifyEntityRef(entity);\n return `${\n entity.metadata.title ?? formatEntityName(stringified) ?? stringified\n }${withType && entity.spec?.type ? ` (${entity.spec.type})` : ''}`;\n};\n\nexport const formatDate = (localDate: Date) => {\n let date: any = localDate.getDate();\n let month: any = localDate.getMonth() + 1;\n if (date < 10) {\n date = `0${date}`;\n }\n\n if (month < 10) {\n month = `0${month}`;\n }\n return `${localDate.getFullYear()}-${month}-${date}`;\n};\n\nexport type FiltersWithDateRange = Filters & {\n fromDate: string;\n toDate: string;\n};\n\nexport const getFiltersWithDateRange = (filters: Filters) => {\n let filtersWithDateRange: FiltersWithDateRange;\n const to = new Date();\n const from = new Date(to);\n if (filters.dateRange) {\n let fromDate = '';\n let toDate = '';\n\n switch (filters.dateRange) {\n case '7-days':\n toDate = formatDate(to);\n from.setDate(to.getDate() - 6);\n fromDate = formatDate(from);\n break;\n\n case '30-days':\n toDate = formatDate(to);\n from.setDate(to.getDate() - 29);\n fromDate = formatDate(from);\n break;\n default:\n if (filters.dateRange.indexOf('--') > 0) {\n fromDate = filters.dateRange.split('--')[0];\n toDate = filters.dateRange.split('--')[1];\n }\n break;\n }\n if (fromDate && toDate) {\n filtersWithDateRange = { ...filters, fromDate, toDate };\n delete filtersWithDateRange.dateRange;\n return filtersWithDateRange;\n }\n }\n\n if ('dateRange' in filters) {\n delete filters.dateRange;\n }\n\n return filters;\n};\n\nexport const useConfirmNavigationIfEdited = (edited: boolean) => {\n const { t } = useTranslationRef(qetaTranslationRef);\n const msg = t('common.unsaved_changes');\n useEffect(() => {\n const handleBeforeUnload = (event: BeforeUnloadEvent) => {\n if (edited) {\n event.preventDefault();\n event.returnValue = msg; // Included for legacy support, e.g. Chrome/Edge < 119\n }\n };\n\n const handleLocationChange = (event: any) => {\n if (edited) {\n // eslint-disable-next-line no-alert\n const response = window.confirm(msg);\n if (!response) {\n event.preventDefault();\n }\n }\n };\n\n window.addEventListener('beforeunload', handleBeforeUnload);\n if ('navigation' in window && window.navigation) {\n // @ts-ignore\n window.navigation.addEventListener('navigate', handleLocationChange);\n }\n\n return () => {\n window.removeEventListener('beforeunload', handleBeforeUnload);\n if ('navigation' in window && window.navigation) {\n // @ts-ignore\n window.navigation.removeEventListener('navigate', handleLocationChange);\n }\n };\n }, [edited, msg]);\n};\n"],"names":[],"mappings":";;;;;;AASa,MAAA,WAAA,GAAc,CAAC,IAOtB,KAAA;AACJ,EAAA,MAAM,EAAE,OAAS,EAAA,QAAA,EAAU,eAAe,MAAQ,EAAA,QAAA,EAAU,cAC1D,GAAA,IAAA;AAEF,EAAA,OAAO,iBAAiB,IAAmB,EAAA;AACzC,IAAA,MAAM,QAAW,GAAA,MAAM,QAAS,CAAA,UAAA,CAAW,IAAI,CAAA;AAE/C,IAAM,MAAA,QAAA,GAAW,QAAW,GAAA,QAAA,CAAS,IAAO,GAAA,YAAA;AAC5C,IAAM,MAAA,UAAA,GAAa,MAAM,OAAQ,CAAA,cAAA;AAAA,MAC/B,IAAI,KAAK,CAAC,IAAI,GAAG,EAAE,IAAA,EAAM,UAAU,CAAA;AAAA,MACnC,EAAE,MAAQ,EAAA,QAAA,EAAU,YAAa;AAAA,KACnC;AACA,IAAA,IAAI,YAAY,UAAY,EAAA;AAC1B,MAAA,QAAA,CAAS,IAAK,CAAA;AAAA,QACZ,IAAM,EAAA,eAAA;AAAA,QACN,OAAA,EAAS,UAAW,CAAA,MAAA,EAAQ,GAAI,CAAA,CAAA,CAAA,KAAK,EAAE,OAAO,CAAA,CAAE,IAAK,CAAA,IAAI,CAAK,IAAA;AAAA,OAC/D,CAAA;AACD,MAAO,OAAA,KAAA;AAAA;AAET,IAAA,aAAA,GAAgB,WAAW,EAAE,CAAA;AAC7B,IAAA,MAAM,UAAW,CAAA,WAAA;AACjB,IAAO,OAAA,IAAA;AAAA,GACT;AACF;AAEa,MAAA,gBAAA,GAAmB,CAAC,QAAsB,KAAA;AACrD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esContent":["import { Entity, stringifyEntityRef } from '@backstage/catalog-model';\nimport { Filters } from '../components/FilterPanel/FilterPanel';\nimport FileType from 'file-type';\nimport { ErrorApi } from '@backstage/core-plugin-api';\nimport { QetaApi } from '@drodil/backstage-plugin-qeta-common';\nimport { useEffect } from 'react';\nimport { useTranslationRef } from '@backstage/core-plugin-api/alpha';\nimport { qetaTranslationRef } from '../translation.ts';\n\nexport const imageUpload = (opts: {\n qetaApi: QetaApi;\n errorApi: ErrorApi;\n onImageUpload?: (id: number) => void;\n postId?: number;\n answerId?: number;\n collectionId?: number;\n}) => {\n const { qetaApi, errorApi, onImageUpload, postId, answerId, collectionId } =\n opts;\n // eslint-disable-next-line func-names\n return async function* (data: ArrayBuffer) {\n const fileType = await FileType.fromBuffer(data);\n\n const mimeType = fileType ? fileType.mime : 'text/plain';\n const attachment = await qetaApi.postAttachment(\n new Blob([data], { type: mimeType }),\n { postId, answerId, collectionId },\n );\n if ('errors' in attachment) {\n errorApi.post({\n name: 'Upload failed',\n message: attachment.errors?.map(e => e.message).join(', ') ?? '',\n });\n return false;\n }\n onImageUpload?.(attachment.id);\n yield attachment.locationUri;\n return true;\n };\n};\n\nexport const formatEntityName = (username?: string) => {\n if (!username) {\n return '';\n }\n const plainName = username.split(/[/:]+/).pop();\n return plainName\n ?.split(/[_.-]+/)\n .map(a => a.charAt(0).toUpperCase() + a.slice(1))\n .join(' ');\n};\n\nexport const getEntityTitle = (\n entity: Entity,\n opts?: { withType: boolean },\n): string => {\n const { withType } = opts || { withType: true };\n const stringified = stringifyEntityRef(entity);\n return `${\n entity.metadata.title ?? formatEntityName(stringified) ?? stringified\n }${withType && entity.spec?.type ? ` (${entity.spec.type})` : ''}`;\n};\n\nexport const formatDate = (localDate: Date) => {\n let date: any = localDate.getDate();\n let month: any = localDate.getMonth() + 1;\n if (date < 10) {\n date = `0${date}`;\n }\n\n if (month < 10) {\n month = `0${month}`;\n }\n return `${localDate.getFullYear()}-${month}-${date}`;\n};\n\nexport type FiltersWithDateRange = Filters & {\n fromDate: string;\n toDate: string;\n};\n\nexport const getFiltersWithDateRange = (filters: Filters) => {\n let filtersWithDateRange: FiltersWithDateRange;\n const to = new Date();\n const from = new Date(to);\n if (filters.dateRange) {\n let fromDate = '';\n let toDate = '';\n\n switch (filters.dateRange) {\n case '7-days':\n toDate = formatDate(to);\n from.setDate(to.getDate() - 6);\n fromDate = formatDate(from);\n break;\n\n case '30-days':\n toDate = formatDate(to);\n from.setDate(to.getDate() - 29);\n fromDate = formatDate(from);\n break;\n default:\n if (filters.dateRange.indexOf('--') > 0) {\n fromDate = filters.dateRange.split('--')[0];\n toDate = filters.dateRange.split('--')[1];\n }\n break;\n }\n if (fromDate && toDate) {\n filtersWithDateRange = { ...filters, fromDate, toDate };\n delete filtersWithDateRange.dateRange;\n return filtersWithDateRange;\n }\n }\n\n if ('dateRange' in filters) {\n delete filters.dateRange;\n }\n\n return filters;\n};\n\nexport const useConfirmNavigationIfEdited = (edited: boolean) => {\n const { t } = useTranslationRef(qetaTranslationRef);\n const msg = t('common.unsaved_changes');\n\n useEffect(() => {\n const handleBeforeUnload = (event: BeforeUnloadEvent) => {\n if (edited) {\n event.preventDefault();\n event.returnValue = msg; // Included for legacy support, e.g. Chrome/Edge < 119\n }\n };\n\n const handleLocationChange = (event: any) => {\n if (edited) {\n // eslint-disable-next-line no-alert\n const response = window.confirm(msg);\n if (!response) {\n event.preventDefault();\n }\n }\n };\n\n window.addEventListener('beforeunload', handleBeforeUnload);\n\n // Modern browsers with Navigation API\n if ('navigation' in window && window.navigation) {\n // @ts-ignore\n window.navigation.addEventListener('navigate', handleLocationChange);\n\n return () => {\n window.removeEventListener('beforeunload', handleBeforeUnload);\n // @ts-ignore\n window.navigation.removeEventListener('navigate', handleLocationChange);\n };\n }\n\n // Fallback: Use popstate + history monitoring\n window.addEventListener('popstate', handleLocationChange);\n\n const originalPushState = window.history.pushState;\n const originalReplaceState = window.history.replaceState;\n\n window.history.pushState = (...args) => {\n originalPushState.apply(window.history, args);\n handleLocationChange(new PopStateEvent('navigate', { state: args[0] }));\n };\n\n window.history.replaceState = (...args) => {\n originalReplaceState.apply(window.history, args);\n handleLocationChange(new PopStateEvent('navigate', { state: args[0] }));\n };\n\n return () => {\n window.removeEventListener('beforeunload', handleBeforeUnload);\n window.removeEventListener('popstate', handleLocationChange);\n window.history.pushState = originalPushState;\n window.history.replaceState = originalReplaceState;\n };\n }, [edited, msg]);\n};\n"],"names":[],"mappings":";;;;;;AASa,MAAA,WAAA,GAAc,CAAC,IAOtB,KAAA;AACJ,EAAA,MAAM,EAAE,OAAS,EAAA,QAAA,EAAU,eAAe,MAAQ,EAAA,QAAA,EAAU,cAC1D,GAAA,IAAA;AAEF,EAAA,OAAO,iBAAiB,IAAmB,EAAA;AACzC,IAAA,MAAM,QAAW,GAAA,MAAM,QAAS,CAAA,UAAA,CAAW,IAAI,CAAA;AAE/C,IAAM,MAAA,QAAA,GAAW,QAAW,GAAA,QAAA,CAAS,IAAO,GAAA,YAAA;AAC5C,IAAM,MAAA,UAAA,GAAa,MAAM,OAAQ,CAAA,cAAA;AAAA,MAC/B,IAAI,KAAK,CAAC,IAAI,GAAG,EAAE,IAAA,EAAM,UAAU,CAAA;AAAA,MACnC,EAAE,MAAQ,EAAA,QAAA,EAAU,YAAa;AAAA,KACnC;AACA,IAAA,IAAI,YAAY,UAAY,EAAA;AAC1B,MAAA,QAAA,CAAS,IAAK,CAAA;AAAA,QACZ,IAAM,EAAA,eAAA;AAAA,QACN,OAAA,EAAS,UAAW,CAAA,MAAA,EAAQ,GAAI,CAAA,CAAA,CAAA,KAAK,EAAE,OAAO,CAAA,CAAE,IAAK,CAAA,IAAI,CAAK,IAAA;AAAA,OAC/D,CAAA;AACD,MAAO,OAAA,KAAA;AAAA;AAET,IAAA,aAAA,GAAgB,WAAW,EAAE,CAAA;AAC7B,IAAA,MAAM,UAAW,CAAA,WAAA;AACjB,IAAO,OAAA,IAAA;AAAA,GACT;AACF;AAEa,MAAA,gB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AAA,YAAA;AAE5C,IAAO,MAAA,CAAA,OAAA,CAAQ,SAAY,GAAA,CAAA,GAAI,IAAS,KAAA;AACtC,MAAkB,iBAAA,CAAA,KAAA,CAAM,MAAO,CAAA,OAAA,EAAS,IAAI,CAAA;AAC5C,MAAqB,oBAAA,CAAA,IAAI,cAAc,UAAY,EAAA,EAAE,OAAO,IAAK,CAAA,CAAC,CAAE,EAAC,CAAC,CAAA;AAAA,KACxE;AAEA,IAAO,MAAA,CAAA,OAAA,CAAQ,YAAe,GAAA,CAAA,GAAI,IAAS,KAAA;AACzC,MAAqB,oBAAA,CAAA,KAAA,CAAM,MAAO,CAAA,OAAA,EAAS,IAAI,CAAA;AAC/C,MAAqB,oBAAA,CAAA,IAAI,cAAc,UAAY,EAAA,EAAE,OAAO,IAAK,CAAA,CAAC,CAAE,EAAC,CAAC,CAAA;AAAA,KACxE;AAEA,IAAA,OAAO,MAAM;AACX,MAAO,MAAA,CAAA,mBAAA,CAAoB,gBAAgB,kBAAkB,CAAA;AAC7D,MAAO,MAAA,CAAA,mBAAA,CAAoB,YAAY,oBAAoB,CAAA;AAC3D,MAAA,MAAA,CAAO,QAAQ,SAAY,GAAA,iBAAA;AAC3B,MAAA,MAAA,CAAO,QAAQ,YAAe,GAAA,oBAAA;AAAA,KAChC;AAAA,GACC,EAAA,CAAC,MAAQ,EAAA,GAAG,CAAC,CAAA;AAClB;;;;"}
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"frontend",
|
|
8
8
|
"backstage.io"
|
|
9
9
|
],
|
|
10
|
-
"version": "3.
|
|
10
|
+
"version": "3.29.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.0",
|
|
58
58
|
"@backstage/plugin-permission-react": "^0.4.34",
|
|
59
59
|
"@backstage/plugin-signals-react": "^0.0.13",
|
|
60
|
-
"@drodil/backstage-plugin-qeta-common": "^3.
|
|
60
|
+
"@drodil/backstage-plugin-qeta-common": "^3.29.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",
|
|
@@ -69,6 +69,7 @@
|
|
|
69
69
|
"i18next": "^23.16.2",
|
|
70
70
|
"lodash": "^4.17.21",
|
|
71
71
|
"numeral": "^2.0.6",
|
|
72
|
+
"react-dropzone": "^14.3.8",
|
|
72
73
|
"react-hook-form": "^7.46.2",
|
|
73
74
|
"react-markdown": "^9.0.1",
|
|
74
75
|
"react-mde": "^11.5.0",
|