@instructure/platform-institutional-tagging 6.0.0 → 6.1.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/__tests__/CategoryActionButtons.test.d.ts +2 -0
- package/dist/__tests__/CategoryActionButtons.test.d.ts.map +1 -0
- package/dist/__tests__/Tag.test.d.ts +2 -0
- package/dist/__tests__/Tag.test.d.ts.map +1 -0
- package/dist/__tests__/TagDetailHeader.test.d.ts +2 -0
- package/dist/__tests__/TagDetailHeader.test.d.ts.map +1 -0
- package/dist/__tests__/TagDetailsFields.test.d.ts +2 -0
- package/dist/__tests__/TagDetailsFields.test.d.ts.map +1 -0
- package/dist/__tests__/useAddPeople.test.d.ts +2 -0
- package/dist/__tests__/useAddPeople.test.d.ts.map +1 -0
- package/dist/__tests__/useAllCategories.test.d.ts +2 -0
- package/dist/__tests__/useAllCategories.test.d.ts.map +1 -0
- package/dist/__tests__/useAllTagNames.test.d.ts +2 -0
- package/dist/__tests__/useAllTagNames.test.d.ts.map +1 -0
- package/dist/__tests__/useEditCategoryForm.test.d.ts +2 -0
- package/dist/__tests__/useEditCategoryForm.test.d.ts.map +1 -0
- package/dist/__tests__/useFetchTagUsers.test.d.ts +2 -0
- package/dist/__tests__/useFetchTagUsers.test.d.ts.map +1 -0
- package/dist/__tests__/useNewCategoryPopover.test.d.ts +2 -0
- package/dist/__tests__/useNewCategoryPopover.test.d.ts.map +1 -0
- package/dist/components/Alert/AlertProvider.d.ts.map +1 -1
- package/dist/components/AppContainer/GenericStoryWrapper.d.ts +1 -0
- package/dist/components/AppContainer/GenericStoryWrapper.d.ts.map +1 -1
- package/dist/components/Category/BottomSection.d.ts.map +1 -1
- package/dist/components/Category/Category.d.ts.map +1 -1
- package/dist/components/Category/CategoryInfoPills.d.ts.map +1 -1
- package/dist/components/Category/CategoryList.d.ts.map +1 -1
- package/dist/components/Category/CategoryListItem.d.ts.map +1 -1
- package/dist/components/Category/TagArea.d.ts.map +1 -1
- package/dist/components/Category/TopSection.d.ts.map +1 -1
- package/dist/components/Category/styles.d.ts +3 -2
- package/dist/components/Category/styles.d.ts.map +1 -1
- package/dist/components/Category/types.d.ts +0 -6
- package/dist/components/Category/types.d.ts.map +1 -1
- package/dist/components/NewCategoryButton/NewCategoryButton.d.ts.map +1 -1
- package/dist/components/NewCategoryButton/useNewCategoryPopover.d.ts +3 -0
- package/dist/components/NewCategoryButton/useNewCategoryPopover.d.ts.map +1 -1
- package/dist/components/Tag/Tag.d.ts +2 -0
- package/dist/components/Tag/Tag.d.ts.map +1 -1
- package/dist/components/Tag/styles.d.ts +4 -1
- package/dist/components/Tag/styles.d.ts.map +1 -1
- package/dist/constants/hooks.d.ts +2 -0
- package/dist/constants/hooks.d.ts.map +1 -0
- package/dist/constants/i18n.d.ts +39 -4
- package/dist/constants/i18n.d.ts.map +1 -1
- package/dist/constants/index.d.ts +1 -0
- package/dist/constants/index.d.ts.map +1 -1
- package/dist/contexts/AlertContext.d.ts +1 -0
- package/dist/contexts/AlertContext.d.ts.map +1 -1
- package/dist/contexts/CategoryContext.d.ts.map +1 -1
- package/dist/contexts/ModalContext.d.ts +1 -1
- package/dist/contexts/ModalContext.d.ts.map +1 -1
- package/dist/graphql/queries.d.ts +2 -0
- package/dist/graphql/queries.d.ts.map +1 -1
- package/dist/hooks/useAccountTagsScreen.d.ts.map +1 -1
- package/dist/hooks/useAddPeople.d.ts +5 -0
- package/dist/hooks/useAddPeople.d.ts.map +1 -0
- package/dist/hooks/useAddPeopleModal.d.ts +5 -0
- package/dist/hooks/useAddPeopleModal.d.ts.map +1 -0
- package/dist/hooks/useAllCategories.d.ts +3 -0
- package/dist/hooks/useAllCategories.d.ts.map +1 -0
- package/dist/hooks/useAllTagNames.d.ts +2 -0
- package/dist/hooks/useAllTagNames.d.ts.map +1 -0
- package/dist/hooks/useArchiveTag.d.ts.map +1 -1
- package/dist/hooks/useCreateCategory.d.ts.map +1 -1
- package/dist/hooks/useFetchAccountUsers.d.ts +9 -0
- package/dist/hooks/useFetchAccountUsers.d.ts.map +1 -0
- package/dist/hooks/useFetchExistingTagUserIds.d.ts +5 -0
- package/dist/hooks/useFetchExistingTagUserIds.d.ts.map +1 -0
- package/dist/hooks/useFetchTagUsers.d.ts +3 -1
- package/dist/hooks/useFetchTagUsers.d.ts.map +1 -1
- package/dist/hooks/useFetchTagsForCategory.d.ts.map +1 -1
- package/dist/hooks/useMoveTag.d.ts.map +1 -1
- package/dist/hooks/useRemoveTagUser.d.ts.map +1 -1
- package/dist/hooks/useRestoreTag.d.ts.map +1 -1
- package/dist/index.js +6732 -6039
- package/dist/modals/AddPeopleModal/AddPeopleModal.d.ts +8 -0
- package/dist/modals/AddPeopleModal/AddPeopleModal.d.ts.map +1 -0
- package/dist/modals/AddPeopleModal/ManualUserSearch.d.ts +13 -0
- package/dist/modals/AddPeopleModal/ManualUserSearch.d.ts.map +1 -0
- package/dist/modals/AddPeopleModal/index.d.ts +2 -0
- package/dist/modals/AddPeopleModal/index.d.ts.map +1 -0
- package/dist/modals/AddPeopleModal/styles.d.ts +5 -0
- package/dist/modals/AddPeopleModal/styles.d.ts.map +1 -0
- package/dist/modals/CategoryModal/EditCategoryModal.d.ts +9 -0
- package/dist/modals/CategoryModal/EditCategoryModal.d.ts.map +1 -0
- package/dist/modals/CategoryModal/hooks/index.d.ts +2 -0
- package/dist/modals/CategoryModal/hooks/index.d.ts.map +1 -0
- package/dist/modals/CategoryModal/hooks/useEditCategoryForm.d.ts +18 -0
- package/dist/modals/CategoryModal/hooks/useEditCategoryForm.d.ts.map +1 -0
- package/dist/modals/CategoryModal/index.d.ts +2 -0
- package/dist/modals/CategoryModal/index.d.ts.map +1 -0
- package/dist/modals/GenericModal/ModalProvider.d.ts.map +1 -1
- package/dist/modals/TagModal/CreateTagModal.d.ts +1 -0
- package/dist/modals/TagModal/CreateTagModal.d.ts.map +1 -1
- package/dist/modals/TagModal/EditTagModal.d.ts +1 -0
- package/dist/modals/TagModal/EditTagModal.d.ts.map +1 -1
- package/dist/modals/TagModal/fields/CategoryField.d.ts +2 -0
- package/dist/modals/TagModal/fields/CategoryField.d.ts.map +1 -1
- package/dist/modals/TagModal/fields/CategoryNameAutocomplete.d.ts +12 -0
- package/dist/modals/TagModal/fields/CategoryNameAutocomplete.d.ts.map +1 -0
- package/dist/modals/TagModal/fields/TagDetailsFields.d.ts +1 -0
- package/dist/modals/TagModal/fields/TagDetailsFields.d.ts.map +1 -1
- package/dist/modals/TagModal/fields/index.d.ts +1 -0
- package/dist/modals/TagModal/fields/index.d.ts.map +1 -1
- package/dist/modals/TagModal/hooks/useCategoryFormFields.d.ts +2 -0
- package/dist/modals/TagModal/hooks/useCategoryFormFields.d.ts.map +1 -1
- package/dist/modals/TagModal/hooks/useCreateTagForm.d.ts +2 -0
- package/dist/modals/TagModal/hooks/useCreateTagForm.d.ts.map +1 -1
- package/dist/modals/TagModal/hooks/useEditTagForm.d.ts +3 -0
- package/dist/modals/TagModal/hooks/useEditTagForm.d.ts.map +1 -1
- package/dist/modals/TagModal/styles.d.ts +0 -1
- package/dist/modals/TagModal/styles.d.ts.map +1 -1
- package/dist/modals/styles.d.ts +2 -0
- package/dist/modals/styles.d.ts.map +1 -0
- package/dist/screens/AccountTags/AccountTags.d.ts.map +1 -1
- package/dist/screens/TagDetail/TagDetail.d.ts +0 -2
- package/dist/screens/TagDetail/TagDetail.d.ts.map +1 -1
- package/dist/screens/TagDetail/TagDetailHeader.d.ts.map +1 -1
- package/dist/screens/TagDetail/TagDetailUserTable.d.ts +5 -0
- package/dist/screens/TagDetail/TagDetailUserTable.d.ts.map +1 -1
- package/dist/skeletons/UserSearchSkeleton.d.ts +2 -0
- package/dist/skeletons/UserSearchSkeleton.d.ts.map +1 -0
- package/dist/skeletons/styles.d.ts +4 -2
- package/dist/skeletons/styles.d.ts.map +1 -1
- package/dist/stories/Category.stories.d.ts +4 -0
- package/dist/stories/Category.stories.d.ts.map +1 -1
- package/dist/stories/Tag.stories.d.ts +5 -0
- package/dist/stories/Tag.stories.d.ts.map +1 -1
- package/dist/types/context.d.ts +7 -0
- package/dist/types/context.d.ts.map +1 -1
- package/dist/types/user.d.ts +1 -0
- package/dist/types/user.d.ts.map +1 -1
- package/dist/utils/gqlMappers.d.ts.map +1 -1
- package/dist/utils/permissionMenu.d.ts +14 -0
- package/dist/utils/permissionMenu.d.ts.map +1 -0
- package/locales/en.json +39 -4
- package/package.json +4 -2
package/locales/en.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"accountTags": "Account tags",
|
|
3
3
|
"active": "Active",
|
|
4
|
+
"add": "Add",
|
|
4
5
|
"archive": "Archive",
|
|
5
6
|
"cancel": "Cancel",
|
|
6
7
|
"close": "Close",
|
|
@@ -20,13 +21,17 @@
|
|
|
20
21
|
"restoreTagDescription": "Once you restore this tag, it will become active immediately. Do you also want to restore previous account associations? This will affect %{count} people.",
|
|
21
22
|
"save": "Save",
|
|
22
23
|
"search": "Search",
|
|
24
|
+
"searchAndFilter": "Search and filter",
|
|
25
|
+
"searchPeople": "Search or select people",
|
|
23
26
|
"sisId": "SIS ID",
|
|
24
27
|
"title": "Institutional Tagging",
|
|
25
28
|
"view": "View",
|
|
29
|
+
"addPeopleFailed": "Failed to add people to tag.",
|
|
30
|
+
"addPeopleRequired": "Select at least one person.",
|
|
26
31
|
"archiveTagFailed": "Failed to archive tag.",
|
|
27
32
|
"archiveTagNotFound": "Tag not found or already archived.",
|
|
28
33
|
"archiveTagUnprocessable": "This tag cannot be archived in its current state.",
|
|
29
|
-
"
|
|
34
|
+
"categoryNameAlreadyExists": "A category with this name already exists.",
|
|
30
35
|
"categoryNameRequired": "Category name is required.",
|
|
31
36
|
"categoryRequired": "Category is required.",
|
|
32
37
|
"loadCategories": "Failed to load categories: %{errorMessage}",
|
|
@@ -42,6 +47,7 @@
|
|
|
42
47
|
"tagMoveNotFound": "Tag not found.",
|
|
43
48
|
"tagNameRequired": "Tag name is required.",
|
|
44
49
|
"categoryCreated": "Category created",
|
|
50
|
+
"categoryUpdated": "Category changes saved",
|
|
45
51
|
"tagArchived": "Tag archived",
|
|
46
52
|
"tagDeleted": "Tag deleted",
|
|
47
53
|
"tagMoved": "Tag moved to %{categoryName}",
|
|
@@ -50,6 +56,7 @@
|
|
|
50
56
|
"tagUpdated": "Tag changes saved",
|
|
51
57
|
"userRemovedFromTag": "User removed from tag",
|
|
52
58
|
"addPeople": "Add people",
|
|
59
|
+
"addPeopleToTag": "Add people to tag",
|
|
53
60
|
"addTag": "Add tag",
|
|
54
61
|
"addTags": "Add tags",
|
|
55
62
|
"archiveTag": "Archive tag",
|
|
@@ -59,27 +66,35 @@
|
|
|
59
66
|
"moveTags": "Move tags",
|
|
60
67
|
"moveTo": "Move to",
|
|
61
68
|
"newTag": "New tag",
|
|
69
|
+
"noResultsFound": "No results found",
|
|
70
|
+
"removeSelectedUser": "Remove %{userName}",
|
|
62
71
|
"removeUserFromTag": "Remove user from tag",
|
|
63
72
|
"restoreTag": "Restore tag",
|
|
64
73
|
"sortPeople": "Sort people",
|
|
65
|
-
"tagActions": "
|
|
74
|
+
"tagActions": "Actions for %{tagName} tag",
|
|
66
75
|
"tagDescriptionLabel": "Tag description",
|
|
67
76
|
"tagDescriptionPlaceholder": "Briefly describe this tag",
|
|
68
77
|
"tagFieldGroupLabel": "Tag details",
|
|
69
78
|
"tagNameLabel": "Tag name",
|
|
79
|
+
"tagNameNoMatches": "No matching tags",
|
|
70
80
|
"tagNamePlaceholder": "Name this tag",
|
|
71
81
|
"viewTagDetails": "View tag details",
|
|
82
|
+
"addTagToCategory": "Add tag to %{categoryName} category",
|
|
72
83
|
"category": "Category",
|
|
73
84
|
"categoryArchived": "Archived",
|
|
74
85
|
"categoryDescriptionLabel": "Category description",
|
|
75
86
|
"categoryDescriptionPlaceholder": "Briefly describe this category",
|
|
76
87
|
"categoryMenuLabel": "Actions for %{category}",
|
|
88
|
+
"categoryMoreOptions": "More options for %{categoryName} category",
|
|
77
89
|
"categoryNameLabel": "Category name",
|
|
78
|
-
"
|
|
90
|
+
"categoryNameNoMatches": "No matching categories",
|
|
91
|
+
"categoryNamePlaceholder": "Enter a new category name",
|
|
79
92
|
"categoryPlaceholder": "Select a category",
|
|
80
93
|
"collapseAll": "Collapse all",
|
|
94
|
+
"collapseCategory": "Collapse %{categoryName} category",
|
|
81
95
|
"createNewCategoryOption": "Create new category",
|
|
82
|
-
"
|
|
96
|
+
"editCategory": "Edit category",
|
|
97
|
+
"expandCategory": "Expand %{categoryName} category",
|
|
83
98
|
"expendAll": "Expand all",
|
|
84
99
|
"newCategory": "New category",
|
|
85
100
|
"newCategoryDescriptionLabel": "Description",
|
|
@@ -88,8 +103,28 @@
|
|
|
88
103
|
"sortCategories": "Sort categories",
|
|
89
104
|
"sortCategoriesAscending": "Sort categories: ascending",
|
|
90
105
|
"sortCategoriesDescending": "Sort categories: descending",
|
|
106
|
+
"selectedPeople": {
|
|
107
|
+
"one": "%{count} person selected",
|
|
108
|
+
"other": "%{count} people selected"
|
|
109
|
+
},
|
|
110
|
+
"addPeopleSuccess": {
|
|
111
|
+
"one": "%{count} person added to %{tagName}",
|
|
112
|
+
"other": "%{count} people added to %{tagName}"
|
|
113
|
+
},
|
|
114
|
+
"tagAssociationCount": {
|
|
115
|
+
"one": "%{count} associated user with tag: %{tagName}",
|
|
116
|
+
"other": "%{count} associated users with tag: %{tagName}"
|
|
117
|
+
},
|
|
91
118
|
"tagsSelected": {
|
|
92
119
|
"one": "%{count} tag selected",
|
|
93
120
|
"other": "%{count} tags selected"
|
|
121
|
+
},
|
|
122
|
+
"categoryAssociationCount": {
|
|
123
|
+
"one": "%{count} associated user with category: %{categoryName}",
|
|
124
|
+
"other": "%{count} associated users with category: %{categoryName}"
|
|
125
|
+
},
|
|
126
|
+
"categoryTagCount": {
|
|
127
|
+
"one": "%{count} tag in %{categoryName} category",
|
|
128
|
+
"other": "%{count} tags in %{categoryName} category"
|
|
94
129
|
}
|
|
95
130
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/platform-institutional-tagging",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.1.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -33,12 +33,14 @@
|
|
|
33
33
|
"@instructure/ui-pagination": "^10.5.0",
|
|
34
34
|
"@instructure/ui-pill": "^10.5.0",
|
|
35
35
|
"@instructure/ui-popover": "^10.5.0",
|
|
36
|
+
"@instructure/ui-select": "^10.5.0",
|
|
36
37
|
"@instructure/ui-simple-select": "^10.5.0",
|
|
38
|
+
"@instructure/ui-tag": "^10.5.0",
|
|
39
|
+
"@instructure/ui-table": "^10.5.0",
|
|
37
40
|
"@instructure/ui-text": "^10.5.0",
|
|
38
41
|
"@instructure/ui-text-area": "^10.5.0",
|
|
39
42
|
"@instructure/ui-text-input": "^10.5.0",
|
|
40
43
|
"@instructure/ui-themes": "^10.5.0",
|
|
41
|
-
"@instructure/ui-table": "^10.5.0",
|
|
42
44
|
"@instructure/ui-truncate-text": "^10.5.0",
|
|
43
45
|
"@tanstack/react-query": "^5.0.0",
|
|
44
46
|
"react": "^18.0.0",
|