Skip to content

Commit ecc4fcc

Browse files
authored
Packages/aiinfo/revertinstui (#204)
* manually version * reset cache * reset cache * manually reset packages * undo vite rolldown changes
1 parent 5dde3fa commit ecc4fcc

29 files changed

Lines changed: 3070 additions & 6294 deletions

File tree

apps/nutritionfacts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@instructure.ai/nutritionfacts",
3-
"version": "2.0.18",
3+
"version": "2.0.20",
44
"private": true,
55
"repository": {
66
"type": "git",

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
{
22
"devDependencies": {
3-
"@instructure/browserslist-config-instui": "^11.6.0",
4-
"@testing-library/react": "^16.3.2",
5-
"@types/react": "^19.2.14",
3+
"@instructure/browserslist-config-instui": "^11.2.0",
4+
"@testing-library/react": "^16.3.1",
5+
"@types/react": "^19.2.7",
66
"@types/react-dom": "^19.2.3",
77
"@typescript/native-preview": "latest",
8-
"@vitejs/plugin-react": "^5.1.4",
8+
"@vitejs/plugin-react": "^5.1.2",
99
"@vitest/coverage-istanbul": "3.2.4",
1010
"@vitest/coverage-v8": "^3.2.4",
1111
"babel-plugin-react-compiler": "^1.0.0",
1212
"browserslist": "^4.28.1",
1313
"istanbul-lib-report": "^3.0.1",
1414
"istanbul-reports": "^3.2.0",
1515
"jsdom": "^27.4.0",
16-
"lightningcss": "^1.31.1",
17-
"oxfmt": "latest",
18-
"oxlint": "latest",
19-
"oxlint-tsgolint": "latest",
16+
"lightningcss": "^1.30.2",
17+
"oxfmt": "^0.18.0",
18+
"oxlint": "^1.38.0",
19+
"oxlint-tsgolint": "^0.10.1",
2020
"react-compiler-runtime": "^1.0.0",
21-
"tsdown": "latest",
22-
"vite": "^8.0.0-beta.15",
21+
"tsdown": "^0.16.8",
22+
"vite": "8.0.0-beta.5",
2323
"vite-node": "^3.2.4",
2424
"vitest": "^3.2.4",
2525
"yaml": "^2.8.2"
@@ -33,7 +33,7 @@
3333
},
3434
"version": "3.0.1",
3535
"name": "@instructure.ai/shared-configs",
36-
"packageManager": "pnpm@10.30.2",
36+
"packageManager": "pnpm@10.27.0",
3737
"private": true,
3838
"type": "module",
3939
"scripts": {

packages/aiinfo/cache/cache.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
canvasInboxTranslation,2025.09.10,Translations for Inbox,"Translation of inbox messages (""Inbox AI Translation"" feature flag) across 10 languages.",AWS Translate,AWS Translate model is provided via Instructure's in-house AI Platform.,No,Other,Inbox messages,Data is not stored or reused by the model.,Does not log data,,Global,,Not Exposed,PII in inbox messages may be sent to the model but no PII is intentionally sent to the model.,Yes,Yes,Users are displayed the translated copy of their message and can edit or remove it before they send the message.,,Machine translation may not fully capture the meaning of the original message.,Enable better multi-lingual communication in learning environments.,Canvas,2,,
2-
canvasA11yCheckerTableCaptions,2026.02.25,Course Accessibility Checker: Table caption generation,A button to generate table captions (based on the contents and immediate context of the table) for tables that don't have one.,Haiku 3,Anthropic Claude models are provided via Instructure's in-house AI Platform.,No,Other,"Table to be generated caption for, along with some context (surrounding content) from the resource it's in.",Data is not stored or reused by the model.,Logs data,Usage data is logged to improve the product.,Global,,Not Exposed,"PII in source material may be sent to the model if included in the analyzed content, but no PII is intentionally sent to the model.",Yes,Yes,"Users can edit the generated table caption, and they have the option to save it or not.",,It may not always accurately capture the point of the table.,Reduce time spent on writing table captions. ,Canvas,2,,
2+
canvasA11yCheckerTableCaptions,2026.02.19,Course Accessibility Checker: Table caption generation,A button to generate table captions (based on the contents and immediate context of the table) for tables that don't have one.,Haiku 3,Anthropic Claude models are provided via Instructure's in-house AI Platform.,No,Other,"Table to be generated caption for, along with some context (surrounding content) from the resource it's in.",Data is not stored or reused by the model.,Logs data,Usage data is logged to improve the product.,Global,,Not Exposed,"PII in source material may be sent to the model if included in the analyzed content, but no PII is intentionally sent to the model.",Yes,Yes,"Users can edit the generated table caption, and they have the option to save it or not.",,It may not always accurately capture the point of the table.,Reduce time spent on writing table captions. ,Canvas,2,,
33
canvasA11yCheckerAltTextGenerator,2026.02.25,Course Accessibility Checker: Image alt text generation,"A button that generates alt text for images that don't have alt text, or there was a problem identified with it (it's too long or it's just the filename.)",Haiku 3,Anthropic Claude models are provided via Instructure's in-house AI Platform.,No,Other,Images uploaded to Canvas via RCX,Data is not stored or reused by the model.,Logs data,Usage data is logged to improve the product.,Global,,Not Exposed,"PII in source material may be sent to the model if included in the analyzed image, but no PII is intentionally sent to the model.",Yes,Yes,"Users can edit the generated alt text, and they have the option to save it or not.",,"While the model can fairly accurately describe what's on a picture, it might not always convey what the picture is meant to convey in the given context. ",Reduce time spent on writing alt text. ,Canvas,2,,
44
canvasCourseTranslation,2025.09.10,Translations for Discussions & Announcements,"Translation of Discussion threads (""Course AI Translation"" feature flag) across 10 languages.",Haiku 3,Anthropic Claude models are provided via Instructure's in-house AI Platform.,No,Course,Announcement and Discussion prompts and replies,Data is not stored or reused by the model.,Does not log data,,Global,,Not Exposed,"PII in discussion replies may be sent to the model, but no PII is intentionally sent to the model.",Yes,Yes,Untranslated content is available to review translations against,,Machine translation may not fully capture the meaning of the original message.,Improve participation for students who do not natively speak the language of instruction or other replies.,Canvas,2,,
55
IgniteAgent,2026.01.14,Agent,Ignite Agent is a faculty chat assistant capable of translating natural language requests into complex Canvas workflows.,"Haiku 3, Sonnet 3.7",Anthropic Claude models are provided via Instructure's in-house AI Platform.,No,Other,The model uses chat transcripts and information requested from the Canvas API to execute its actions.,Chat logs are retained indefinitely for troubleshooting and debugging.,Logs data,Chat logs are retained for troubleshooting and debugging purposes.,"Virginia, Oregon",,Exposed,"If requested during the the chat, user, course, and student identifiers or metadata may be shared with the model.",Yes,Yes,"The Agent only takes action based on human requests, and all write actions must be confirmed by the user.",Access to the Agent is limited to users with an Admin- or Teacher-based role. Data access and functions are scoped to the permissions available to the chat user.,The model may misinterpret user requests and require additional prompting.,"Users are able to save time by relying on the Agent to execute complex workflows, batch actions, and other time-consuming Canvas tasks.",IgniteAI,2,https://www.instructure.com/policies/artificial-intelligence-privacy,AI Privacy Policy

packages/aiinfo/node/components/aiexperiences/index.ts

Lines changed: 48 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -124,57 +124,54 @@ const NUTRITION_FACTS_DATA: NutritionFactsProps["data"] = [
124124
],
125125
},
126126
];
127-
const nutritionFacts: NutritionFactsProps = {
128-
closeButtonText: "Close",
129-
closeIconButtonScreenReaderLabel: "Close",
130-
data: NUTRITION_FACTS_DATA,
131-
featureName: FEATURE_NAME,
132-
modalLabel: "This is a modal for AI facts",
133-
title: "AI Nutrition Facts",
134-
triggerText: "Nutrition Facts",
135-
};
136-
const dataPermissionLevels: DataPermissionLevelsProps = {
137-
closeButtonText: "Close",
138-
closeIconButtonScreenReaderLabel: "Close dialog",
139-
currentFeature: FEATURE_NAME,
140-
currentFeatureText: "Current Feature:",
141-
data: DATA_PERMISSION_LEVELS,
142-
modalLabel: "Data Permission Levels modal",
143-
title: "Data Permission Levels",
144-
triggerText: "Data Permission Levels",
145-
};
146-
const aiInformation: AiInformationProps = {
147-
data: [
148-
{
149-
description:
150-
"We utilize off-the-shelf AI models and customer data as input to provide AI-powered features. No data is used for training this model.",
151-
featureName: "AI Experiences",
152-
modelName: "Haiku 3",
153-
modelNameText: "Base Model",
154-
nutritionFactsModalTriggerText: "AI Nutrition Facts",
155-
permissionLevel: "LEVEL 2",
156-
permissionLevelText: "Permission Level:",
157-
permissionLevelsModalTriggerText: "Data Permission Levels",
158-
privacyNoticeText: "",
159-
privacyNoticeUrl: "",
160-
},
161-
],
162-
dataPermissionLevelsCloseButtonText: "Close",
163-
dataPermissionLevelsCloseIconButtonScreenReaderLabel: "Close dialog",
164-
dataPermissionLevelsCurrentFeature: "AI Experiences",
165-
dataPermissionLevelsCurrentFeatureText: "Current Feature:",
166-
dataPermissionLevelsData: DATA_PERMISSION_LEVELS,
167-
dataPermissionLevelsModalLabel: "Data Permission Levels modal",
168-
dataPermissionLevelsTitle: "Data Permission Levels",
169-
nutritionFactsCloseButtonText: "Close",
170-
nutritionFactsCloseIconButtonScreenReaderLabel: "Close",
171-
nutritionFactsData: NUTRITION_FACTS_DATA,
172-
nutritionFactsFeatureName: "AI Experiences",
173-
nutritionFactsModalLabel: "This is a modal for AI facts",
174-
nutritionFactsTitle: "AI Nutrition Facts",
175-
title: "Features",
176-
trigger: undefined,
177-
};
127+
const nutritionFacts: NutritionFactsProps = ({
128+
closeButtonText: 'Close',
129+
closeIconButtonScreenReaderLabel: 'Close',
130+
featureName: FEATURE_NAME,
131+
modalLabel: 'This is a modal for AI facts',
132+
title: 'AI Nutrition Facts',
133+
triggerText: 'Nutrition Facts',
134+
data: NUTRITION_FACTS_DATA
135+
});
136+
const dataPermissionLevels: DataPermissionLevelsProps = ({
137+
closeButtonText: 'Close',
138+
closeIconButtonScreenReaderLabel: 'Close dialog',
139+
currentFeature: FEATURE_NAME,
140+
currentFeatureText: 'Current Feature:',
141+
modalLabel: 'Data Permission Levels modal',
142+
title: 'Data Permission Levels',
143+
triggerText: 'Data Permission Levels',
144+
data: DATA_PERMISSION_LEVELS
145+
});
146+
const aiInformation: AiInformationProps = ({
147+
data: [{
148+
description: 'We utilize off-the-shelf AI models and customer data as input to provide AI-powered features. No data is used for training this model.',
149+
featureName: 'AI Experiences',
150+
modelName: 'Haiku 3',
151+
modelNameText: 'Base Model',
152+
nutritionFactsModalTriggerText: 'AI Nutrition Facts',
153+
permissionLevel: 'LEVEL 2',
154+
permissionLevelsModalTriggerText: 'Data Permission Levels',
155+
permissionLevelText: 'Permission Level:',
156+
privacyNoticeText: '',
157+
privacyNoticeUrl: ''
158+
}],
159+
dataPermissionLevelsCloseButtonText: 'Close',
160+
dataPermissionLevelsCloseIconButtonScreenReaderLabel: 'Close dialog',
161+
dataPermissionLevelsCurrentFeature: 'AI Experiences',
162+
dataPermissionLevelsCurrentFeatureText: 'Current Feature:',
163+
dataPermissionLevelsModalLabel: 'Data Permission Levels modal',
164+
dataPermissionLevelsTitle: 'Data Permission Levels',
165+
nutritionFactsCloseButtonText: 'Close',
166+
nutritionFactsCloseIconButtonScreenReaderLabel: 'Close',
167+
nutritionFactsFeatureName: 'AI Experiences',
168+
nutritionFactsModalLabel: 'This is a modal for AI facts',
169+
nutritionFactsTitle: 'AI Nutrition Facts',
170+
title: 'Features',
171+
dataPermissionLevelsData: DATA_PERMISSION_LEVELS,
172+
nutritionFactsData: NUTRITION_FACTS_DATA,
173+
trigger: undefined
174+
});
178175
const aiexperiences: AiInfoFeatureProps = {
179176
aiInformation,
180177
dataPermissionLevels,

packages/aiinfo/node/components/askyourdata/index.ts

Lines changed: 48 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -124,57 +124,54 @@ const NUTRITION_FACTS_DATA: NutritionFactsProps["data"] = [
124124
],
125125
},
126126
];
127-
const nutritionFacts: NutritionFactsProps = {
128-
closeButtonText: "Close",
129-
closeIconButtonScreenReaderLabel: "Close",
130-
data: NUTRITION_FACTS_DATA,
131-
featureName: FEATURE_NAME,
132-
modalLabel: "This is a modal for AI facts",
133-
title: "AI Nutrition Facts",
134-
triggerText: "Nutrition Facts",
135-
};
136-
const dataPermissionLevels: DataPermissionLevelsProps = {
137-
closeButtonText: "Close",
138-
closeIconButtonScreenReaderLabel: "Close dialog",
139-
currentFeature: FEATURE_NAME,
140-
currentFeatureText: "Current Feature:",
141-
data: DATA_PERMISSION_LEVELS,
142-
modalLabel: "Data Permission Levels modal",
143-
title: "Data Permission Levels",
144-
triggerText: "Data Permission Levels",
145-
};
146-
const aiInformation: AiInformationProps = {
147-
data: [
148-
{
149-
description:
150-
"We utilize off-the-shelf AI models and customer data as input to provide AI-powered features. No data is used for training this model.",
151-
featureName: "Ask Your Data",
152-
modelName: "Doowii (multiple)",
153-
modelNameText: "Base Model",
154-
nutritionFactsModalTriggerText: "AI Nutrition Facts",
155-
permissionLevel: "LEVEL 2",
156-
permissionLevelText: "Permission Level:",
157-
permissionLevelsModalTriggerText: "Data Permission Levels",
158-
privacyNoticeText: "",
159-
privacyNoticeUrl: "",
160-
},
161-
],
162-
dataPermissionLevelsCloseButtonText: "Close",
163-
dataPermissionLevelsCloseIconButtonScreenReaderLabel: "Close dialog",
164-
dataPermissionLevelsCurrentFeature: "Ask Your Data",
165-
dataPermissionLevelsCurrentFeatureText: "Current Feature:",
166-
dataPermissionLevelsData: DATA_PERMISSION_LEVELS,
167-
dataPermissionLevelsModalLabel: "Data Permission Levels modal",
168-
dataPermissionLevelsTitle: "Data Permission Levels",
169-
nutritionFactsCloseButtonText: "Close",
170-
nutritionFactsCloseIconButtonScreenReaderLabel: "Close",
171-
nutritionFactsData: NUTRITION_FACTS_DATA,
172-
nutritionFactsFeatureName: "Ask Your Data",
173-
nutritionFactsModalLabel: "This is a modal for AI facts",
174-
nutritionFactsTitle: "AI Nutrition Facts",
175-
title: "Features",
176-
trigger: undefined,
177-
};
127+
const nutritionFacts: NutritionFactsProps = ({
128+
closeButtonText: 'Close',
129+
closeIconButtonScreenReaderLabel: 'Close',
130+
featureName: FEATURE_NAME,
131+
modalLabel: 'This is a modal for AI facts',
132+
title: 'AI Nutrition Facts',
133+
triggerText: 'Nutrition Facts',
134+
data: NUTRITION_FACTS_DATA
135+
});
136+
const dataPermissionLevels: DataPermissionLevelsProps = ({
137+
closeButtonText: 'Close',
138+
closeIconButtonScreenReaderLabel: 'Close dialog',
139+
currentFeature: FEATURE_NAME,
140+
currentFeatureText: 'Current Feature:',
141+
modalLabel: 'Data Permission Levels modal',
142+
title: 'Data Permission Levels',
143+
triggerText: 'Data Permission Levels',
144+
data: DATA_PERMISSION_LEVELS
145+
});
146+
const aiInformation: AiInformationProps = ({
147+
data: [{
148+
description: 'We utilize off-the-shelf AI models and customer data as input to provide AI-powered features. No data is used for training this model.',
149+
featureName: 'Ask Your Data',
150+
modelName: 'Doowii (multiple)',
151+
modelNameText: 'Base Model',
152+
nutritionFactsModalTriggerText: 'AI Nutrition Facts',
153+
permissionLevel: 'LEVEL 2',
154+
permissionLevelsModalTriggerText: 'Data Permission Levels',
155+
permissionLevelText: 'Permission Level:',
156+
privacyNoticeText: '',
157+
privacyNoticeUrl: ''
158+
}],
159+
dataPermissionLevelsCloseButtonText: 'Close',
160+
dataPermissionLevelsCloseIconButtonScreenReaderLabel: 'Close dialog',
161+
dataPermissionLevelsCurrentFeature: 'Ask Your Data',
162+
dataPermissionLevelsCurrentFeatureText: 'Current Feature:',
163+
dataPermissionLevelsModalLabel: 'Data Permission Levels modal',
164+
dataPermissionLevelsTitle: 'Data Permission Levels',
165+
nutritionFactsCloseButtonText: 'Close',
166+
nutritionFactsCloseIconButtonScreenReaderLabel: 'Close',
167+
nutritionFactsFeatureName: 'Ask Your Data',
168+
nutritionFactsModalLabel: 'This is a modal for AI facts',
169+
nutritionFactsTitle: 'AI Nutrition Facts',
170+
title: 'Features',
171+
dataPermissionLevelsData: DATA_PERMISSION_LEVELS,
172+
nutritionFactsData: NUTRITION_FACTS_DATA,
173+
trigger: undefined
174+
});
178175
const askyourdata: AiInfoFeatureProps = {
179176
aiInformation,
180177
dataPermissionLevels,

packages/aiinfo/node/components/assessmentauthoringassistance/index.ts

Lines changed: 48 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -124,57 +124,54 @@ const NUTRITION_FACTS_DATA: NutritionFactsProps["data"] = [
124124
],
125125
},
126126
];
127-
const nutritionFacts: NutritionFactsProps = {
128-
closeButtonText: "Close",
129-
closeIconButtonScreenReaderLabel: "Close",
130-
data: NUTRITION_FACTS_DATA,
131-
featureName: FEATURE_NAME,
132-
modalLabel: "This is a modal for AI facts",
133-
title: "AI Nutrition Facts",
134-
triggerText: "Nutrition Facts",
135-
};
136-
const dataPermissionLevels: DataPermissionLevelsProps = {
137-
closeButtonText: "Close",
138-
closeIconButtonScreenReaderLabel: "Close dialog",
139-
currentFeature: FEATURE_NAME,
140-
currentFeatureText: "Current Feature:",
141-
data: DATA_PERMISSION_LEVELS,
142-
modalLabel: "Data Permission Levels modal",
143-
title: "Data Permission Levels",
144-
triggerText: "Data Permission Levels",
145-
};
146-
const aiInformation: AiInformationProps = {
147-
data: [
148-
{
149-
description:
150-
"We utilize off-the-shelf AI models and customer data as input to provide AI-powered features. No data is used for training this model.",
151-
featureName: "Item Authoring",
152-
modelName: "Haiku 3",
153-
modelNameText: "Base Model",
154-
nutritionFactsModalTriggerText: "AI Nutrition Facts",
155-
permissionLevel: "LEVEL 2",
156-
permissionLevelText: "Permission Level:",
157-
permissionLevelsModalTriggerText: "Data Permission Levels",
158-
privacyNoticeText: "",
159-
privacyNoticeUrl: "",
160-
},
161-
],
162-
dataPermissionLevelsCloseButtonText: "Close",
163-
dataPermissionLevelsCloseIconButtonScreenReaderLabel: "Close dialog",
164-
dataPermissionLevelsCurrentFeature: "Item Authoring",
165-
dataPermissionLevelsCurrentFeatureText: "Current Feature:",
166-
dataPermissionLevelsData: DATA_PERMISSION_LEVELS,
167-
dataPermissionLevelsModalLabel: "Data Permission Levels modal",
168-
dataPermissionLevelsTitle: "Data Permission Levels",
169-
nutritionFactsCloseButtonText: "Close",
170-
nutritionFactsCloseIconButtonScreenReaderLabel: "Close",
171-
nutritionFactsData: NUTRITION_FACTS_DATA,
172-
nutritionFactsFeatureName: "Item Authoring",
173-
nutritionFactsModalLabel: "This is a modal for AI facts",
174-
nutritionFactsTitle: "AI Nutrition Facts",
175-
title: "Features",
176-
trigger: undefined,
177-
};
127+
const nutritionFacts: NutritionFactsProps = ({
128+
closeButtonText: 'Close',
129+
closeIconButtonScreenReaderLabel: 'Close',
130+
featureName: FEATURE_NAME,
131+
modalLabel: 'This is a modal for AI facts',
132+
title: 'AI Nutrition Facts',
133+
triggerText: 'Nutrition Facts',
134+
data: NUTRITION_FACTS_DATA
135+
});
136+
const dataPermissionLevels: DataPermissionLevelsProps = ({
137+
closeButtonText: 'Close',
138+
closeIconButtonScreenReaderLabel: 'Close dialog',
139+
currentFeature: FEATURE_NAME,
140+
currentFeatureText: 'Current Feature:',
141+
modalLabel: 'Data Permission Levels modal',
142+
title: 'Data Permission Levels',
143+
triggerText: 'Data Permission Levels',
144+
data: DATA_PERMISSION_LEVELS
145+
});
146+
const aiInformation: AiInformationProps = ({
147+
data: [{
148+
description: 'We utilize off-the-shelf AI models and customer data as input to provide AI-powered features. No data is used for training this model.',
149+
featureName: 'Item Authoring',
150+
modelName: 'Haiku 3',
151+
modelNameText: 'Base Model',
152+
nutritionFactsModalTriggerText: 'AI Nutrition Facts',
153+
permissionLevel: 'LEVEL 2',
154+
permissionLevelsModalTriggerText: 'Data Permission Levels',
155+
permissionLevelText: 'Permission Level:',
156+
privacyNoticeText: '',
157+
privacyNoticeUrl: ''
158+
}],
159+
dataPermissionLevelsCloseButtonText: 'Close',
160+
dataPermissionLevelsCloseIconButtonScreenReaderLabel: 'Close dialog',
161+
dataPermissionLevelsCurrentFeature: 'Item Authoring',
162+
dataPermissionLevelsCurrentFeatureText: 'Current Feature:',
163+
dataPermissionLevelsModalLabel: 'Data Permission Levels modal',
164+
dataPermissionLevelsTitle: 'Data Permission Levels',
165+
nutritionFactsCloseButtonText: 'Close',
166+
nutritionFactsCloseIconButtonScreenReaderLabel: 'Close',
167+
nutritionFactsFeatureName: 'Item Authoring',
168+
nutritionFactsModalLabel: 'This is a modal for AI facts',
169+
nutritionFactsTitle: 'AI Nutrition Facts',
170+
title: 'Features',
171+
dataPermissionLevelsData: DATA_PERMISSION_LEVELS,
172+
nutritionFactsData: NUTRITION_FACTS_DATA,
173+
trigger: undefined
174+
});
178175
const assessmentauthoringassistance: AiInfoFeatureProps = {
179176
aiInformation,
180177
dataPermissionLevels,

0 commit comments

Comments
 (0)