Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
275bc56
pin instui version
thedannywahl Feb 26, 2026
d6c8c2e
rebuild cache
thedannywahl Feb 26, 2026
8db6636
clear build
thedannywahl Feb 26, 2026
47c6aff
bump instui to 11.4.0
thedannywahl Feb 26, 2026
08a7e2b
lint
thedannywahl Feb 26, 2026
4813a3f
update instui to 11.6.0, add peer deps
thedannywahl Feb 26, 2026
f433ac9
don't bundle referenced deps
thedannywahl Feb 26, 2026
f2619ae
build
thedannywahl Feb 26, 2026
0a464a9
lint
thedannywahl Feb 26, 2026
4a4dca7
aiinfo@2.11.1
thedannywahl Feb 26, 2026
5c057ed
prevent sideeffect imports
thedannywahl Feb 26, 2026
a14ac59
build
thedannywahl Feb 26, 2026
8b67073
nutritionfacts@2.11.1
thedannywahl Feb 26, 2026
826ff7d
Merge branch 'main' into packages/aiinfo/fastforward
thedannywahl Feb 26, 2026
4bc8681
merge
thedannywahl Feb 26, 2026
92aca5b
named exports only
thedannywahl Feb 26, 2026
0e38f65
rebuild
thedannywahl Feb 26, 2026
8b00a81
lint
thedannywahl Feb 26, 2026
40bf197
fix barrel imports
thedannywahl Feb 26, 2026
9012e0c
add types test to prevent drift
thedannywahl Feb 26, 2026
f2c730f
up deps
thedannywahl Feb 26, 2026
0e80dec
up deps
thedannywahl Feb 26, 2026
b7d46fa
add shared-types for Renderable
thedannywahl Feb 26, 2026
25ab1cd
prevent any external bundling
thedannywahl Feb 26, 2026
b46a406
lint
thedannywahl Feb 26, 2026
596e1bb
replicate @instructure/ui-instructure types
thedannywahl Feb 26, 2026
a7c645f
lint
thedannywahl Feb 26, 2026
082d733
build
thedannywahl Feb 26, 2026
4cfa44e
rebuild cache
thedannywahl Feb 26, 2026
44b4aac
remove shared-types
thedannywahl Feb 26, 2026
5e44ced
fix renderable declaration
thedannywahl Feb 26, 2026
b4d5f28
lint
thedannywahl Feb 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions apps/nutritionfacts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@instructure.ai/nutritionfacts",
"version": "2.1.0",
"version": "2.11.1",
"private": true,
"repository": {
"type": "git",
Expand All @@ -18,10 +18,10 @@
"update-cache": "vite-node ./scripts/updateCache.mts"
},
"dependencies": {
"@instructure/ui": "^11.2.0",
"@instructure.ai/aiinfo": "workspace:^",
"react": "^19.2.3",
"react-dom": "^19.2.3"
"@instructure/ui": "^11.6.0",
"react": "^19.2.4",
"react-dom": "^19.2.4"
},
"devDependencies": {
"@instructure.ai/shared-configs": "workspace:^"
Expand Down
8 changes: 4 additions & 4 deletions apps/roadmap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
"typecheck": "tsgo --noEmit"
},
"dependencies": {
"@instructure/ui": "^11.2.0",
"@instructure/ui-color-utils": "^11.2.0",
"react": "^19.2.3",
"react-dom": "^19.2.3"
"@instructure/ui": "^11.6.0",
"@instructure/ui-color-utils": "^11.6.0",
"react": "^19.2.4",
"react-dom": "^19.2.4"
},
"devDependencies": {
"@instructure.ai/shared-configs": "workspace:^"
Expand Down
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,24 @@
"@testing-library/react": "^16.3.1",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"@typescript/native-preview": "latest",
"@vitejs/plugin-react": "^5.1.2",
"@vitest/coverage-istanbul": "3.2.4",
"@vitest/coverage-v8": "^3.2.4",
"@typescript/native-preview": "7.0.0-dev.20260226.1",
"@vitejs/plugin-react": "^5.1.4",
"@vitest/coverage-istanbul": "4.0.18",
"@vitest/coverage-v8": "^4.0.18",
"babel-plugin-react-compiler": "^1.0.0",
"browserslist": "^4.28.1",
"istanbul-lib-report": "^3.0.1",
"istanbul-reports": "^3.2.0",
"jsdom": "^27.4.0",
"lightningcss": "^1.30.2",
"oxfmt": "^0.18.0",
"oxlint": "^1.38.0",
"oxlint-tsgolint": "^0.10.1",
"jsdom": "^28.1.0",
"lightningcss": "^1.31.1",
"oxfmt": "^0.35.0",
"oxlint": "^1.50.0",
"oxlint-tsgolint": "^0.15.0",
"react-compiler-runtime": "^1.0.0",
"tsdown": "^0.16.8",
"vite": "8.0.0-beta.5",
"vite-node": "^3.2.4",
"vitest": "^3.2.4",
"tsdown": "0.21.0-beta.2",
"vite": "8.0.0-beta.15",
"vite-node": "^5.3.0",
"vitest": "^4.0.18",
"yaml": "^2.8.2"
},
"pnpm": {
Expand All @@ -33,7 +33,7 @@
},
"version": "3.0.2",
"name": "@instructure.ai/shared-configs",
"packageManager": "pnpm@10.27.0",
"packageManager": "pnpm@10.30.2",
"private": true,
"type": "module",
"scripts": {
Expand Down
104 changes: 53 additions & 51 deletions packages/aiinfo/node/components/aiexperiences/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import {
type AiInfoFeatureProps,
type AiInformationProps,
type DataPermissionLevelsProps,
type NutritionFactsProps,
} from "@instructure/ui-instructure";
import { type AiInfoFeatureProps } from "../../types";
} from "../../types";
const FEATURE_NAME = "AI Experiences";
const UID = "aiexperiences";
const DATA_PERMISSION_LEVELS: DataPermissionLevelsProps["data"] = [
Expand Down Expand Up @@ -124,54 +124,57 @@ const NUTRITION_FACTS_DATA: NutritionFactsProps["data"] = [
],
},
];
const nutritionFacts: NutritionFactsProps = ({
closeButtonText: 'Close',
closeIconButtonScreenReaderLabel: 'Close',
featureName: FEATURE_NAME,
modalLabel: 'This is a modal for AI facts',
title: 'AI Nutrition Facts',
triggerText: 'Nutrition Facts',
data: NUTRITION_FACTS_DATA
});
const dataPermissionLevels: DataPermissionLevelsProps = ({
closeButtonText: 'Close',
closeIconButtonScreenReaderLabel: 'Close dialog',
currentFeature: FEATURE_NAME,
currentFeatureText: 'Current Feature:',
modalLabel: 'Data Permission Levels modal',
title: 'Data Permission Levels',
triggerText: 'Data Permission Levels',
data: DATA_PERMISSION_LEVELS
});
const aiInformation: AiInformationProps = ({
data: [{
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.',
featureName: 'AI Experiences',
modelName: 'Haiku 3',
modelNameText: 'Base Model',
nutritionFactsModalTriggerText: 'AI Nutrition Facts',
permissionLevel: 'LEVEL 2',
permissionLevelsModalTriggerText: 'Data Permission Levels',
permissionLevelText: 'Permission Level:',
privacyNoticeText: '',
privacyNoticeUrl: ''
}],
dataPermissionLevelsCloseButtonText: 'Close',
dataPermissionLevelsCloseIconButtonScreenReaderLabel: 'Close dialog',
dataPermissionLevelsCurrentFeature: 'AI Experiences',
dataPermissionLevelsCurrentFeatureText: 'Current Feature:',
dataPermissionLevelsModalLabel: 'Data Permission Levels modal',
dataPermissionLevelsTitle: 'Data Permission Levels',
nutritionFactsCloseButtonText: 'Close',
nutritionFactsCloseIconButtonScreenReaderLabel: 'Close',
nutritionFactsFeatureName: 'AI Experiences',
nutritionFactsModalLabel: 'This is a modal for AI facts',
nutritionFactsTitle: 'AI Nutrition Facts',
title: 'Features',
dataPermissionLevelsData: DATA_PERMISSION_LEVELS,
nutritionFactsData: NUTRITION_FACTS_DATA,
trigger: undefined
});
const nutritionFacts: NutritionFactsProps = {
closeButtonText: "Close",
closeIconButtonScreenReaderLabel: "Close",
data: NUTRITION_FACTS_DATA,
featureName: FEATURE_NAME,
modalLabel: "This is a modal for AI facts",
title: "AI Nutrition Facts",
triggerText: "Nutrition Facts",
};
const dataPermissionLevels: DataPermissionLevelsProps = {
closeButtonText: "Close",
closeIconButtonScreenReaderLabel: "Close dialog",
currentFeature: FEATURE_NAME,
currentFeatureText: "Current Feature:",
data: DATA_PERMISSION_LEVELS,
modalLabel: "Data Permission Levels modal",
title: "Data Permission Levels",
triggerText: "Data Permission Levels",
};
const aiInformation: AiInformationProps = {
data: [
{
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.",
featureName: "AI Experiences",
modelName: "Haiku 3",
modelNameText: "Base Model",
nutritionFactsModalTriggerText: "AI Nutrition Facts",
permissionLevel: "LEVEL 2",
permissionLevelText: "Permission Level:",
permissionLevelsModalTriggerText: "Data Permission Levels",
privacyNoticeText: "",
privacyNoticeUrl: "",
},
],
dataPermissionLevelsCloseButtonText: "Close",
dataPermissionLevelsCloseIconButtonScreenReaderLabel: "Close dialog",
dataPermissionLevelsCurrentFeature: "AI Experiences",
dataPermissionLevelsCurrentFeatureText: "Current Feature:",
dataPermissionLevelsData: DATA_PERMISSION_LEVELS,
dataPermissionLevelsModalLabel: "Data Permission Levels modal",
dataPermissionLevelsTitle: "Data Permission Levels",
nutritionFactsCloseButtonText: "Close",
nutritionFactsCloseIconButtonScreenReaderLabel: "Close",
nutritionFactsData: NUTRITION_FACTS_DATA,
nutritionFactsFeatureName: "AI Experiences",
nutritionFactsModalLabel: "This is a modal for AI facts",
nutritionFactsTitle: "AI Nutrition Facts",
title: "Features",
trigger: undefined,
};
const aiexperiences: AiInfoFeatureProps = {
aiInformation,
dataPermissionLevels,
Expand All @@ -183,5 +186,4 @@ const aiexperiences: AiInfoFeatureProps = {
revision: "2025.11.25",
uid: UID,
};
export { aiexperiences, nutritionFacts, dataPermissionLevels, aiInformation };
export default aiexperiences;
104 changes: 53 additions & 51 deletions packages/aiinfo/node/components/askyourdata/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import {
type AiInfoFeatureProps,
type AiInformationProps,
type DataPermissionLevelsProps,
type NutritionFactsProps,
} from "@instructure/ui-instructure";
import { type AiInfoFeatureProps } from "../../types";
} from "../../types";
const FEATURE_NAME = "Ask Your Data";
const UID = "askyourdata";
const DATA_PERMISSION_LEVELS: DataPermissionLevelsProps["data"] = [
Expand Down Expand Up @@ -124,54 +124,57 @@ const NUTRITION_FACTS_DATA: NutritionFactsProps["data"] = [
],
},
];
const nutritionFacts: NutritionFactsProps = ({
closeButtonText: 'Close',
closeIconButtonScreenReaderLabel: 'Close',
featureName: FEATURE_NAME,
modalLabel: 'This is a modal for AI facts',
title: 'AI Nutrition Facts',
triggerText: 'Nutrition Facts',
data: NUTRITION_FACTS_DATA
});
const dataPermissionLevels: DataPermissionLevelsProps = ({
closeButtonText: 'Close',
closeIconButtonScreenReaderLabel: 'Close dialog',
currentFeature: FEATURE_NAME,
currentFeatureText: 'Current Feature:',
modalLabel: 'Data Permission Levels modal',
title: 'Data Permission Levels',
triggerText: 'Data Permission Levels',
data: DATA_PERMISSION_LEVELS
});
const aiInformation: AiInformationProps = ({
data: [{
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.',
featureName: 'Ask Your Data',
modelName: 'Doowii (multiple)',
modelNameText: 'Base Model',
nutritionFactsModalTriggerText: 'AI Nutrition Facts',
permissionLevel: 'LEVEL 2',
permissionLevelsModalTriggerText: 'Data Permission Levels',
permissionLevelText: 'Permission Level:',
privacyNoticeText: '',
privacyNoticeUrl: ''
}],
dataPermissionLevelsCloseButtonText: 'Close',
dataPermissionLevelsCloseIconButtonScreenReaderLabel: 'Close dialog',
dataPermissionLevelsCurrentFeature: 'Ask Your Data',
dataPermissionLevelsCurrentFeatureText: 'Current Feature:',
dataPermissionLevelsModalLabel: 'Data Permission Levels modal',
dataPermissionLevelsTitle: 'Data Permission Levels',
nutritionFactsCloseButtonText: 'Close',
nutritionFactsCloseIconButtonScreenReaderLabel: 'Close',
nutritionFactsFeatureName: 'Ask Your Data',
nutritionFactsModalLabel: 'This is a modal for AI facts',
nutritionFactsTitle: 'AI Nutrition Facts',
title: 'Features',
dataPermissionLevelsData: DATA_PERMISSION_LEVELS,
nutritionFactsData: NUTRITION_FACTS_DATA,
trigger: undefined
});
const nutritionFacts: NutritionFactsProps = {
closeButtonText: "Close",
closeIconButtonScreenReaderLabel: "Close",
data: NUTRITION_FACTS_DATA,
featureName: FEATURE_NAME,
modalLabel: "This is a modal for AI facts",
title: "AI Nutrition Facts",
triggerText: "Nutrition Facts",
};
const dataPermissionLevels: DataPermissionLevelsProps = {
closeButtonText: "Close",
closeIconButtonScreenReaderLabel: "Close dialog",
currentFeature: FEATURE_NAME,
currentFeatureText: "Current Feature:",
data: DATA_PERMISSION_LEVELS,
modalLabel: "Data Permission Levels modal",
title: "Data Permission Levels",
triggerText: "Data Permission Levels",
};
const aiInformation: AiInformationProps = {
data: [
{
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.",
featureName: "Ask Your Data",
modelName: "Doowii (multiple)",
modelNameText: "Base Model",
nutritionFactsModalTriggerText: "AI Nutrition Facts",
permissionLevel: "LEVEL 2",
permissionLevelText: "Permission Level:",
permissionLevelsModalTriggerText: "Data Permission Levels",
privacyNoticeText: "",
privacyNoticeUrl: "",
},
],
dataPermissionLevelsCloseButtonText: "Close",
dataPermissionLevelsCloseIconButtonScreenReaderLabel: "Close dialog",
dataPermissionLevelsCurrentFeature: "Ask Your Data",
dataPermissionLevelsCurrentFeatureText: "Current Feature:",
dataPermissionLevelsData: DATA_PERMISSION_LEVELS,
dataPermissionLevelsModalLabel: "Data Permission Levels modal",
dataPermissionLevelsTitle: "Data Permission Levels",
nutritionFactsCloseButtonText: "Close",
nutritionFactsCloseIconButtonScreenReaderLabel: "Close",
nutritionFactsData: NUTRITION_FACTS_DATA,
nutritionFactsFeatureName: "Ask Your Data",
nutritionFactsModalLabel: "This is a modal for AI facts",
nutritionFactsTitle: "AI Nutrition Facts",
title: "Features",
trigger: undefined,
};
const askyourdata: AiInfoFeatureProps = {
aiInformation,
dataPermissionLevels,
Expand All @@ -183,5 +186,4 @@ const askyourdata: AiInfoFeatureProps = {
revision: "2025.09.12",
uid: UID,
};
export { askyourdata, nutritionFacts, dataPermissionLevels, aiInformation };
export default askyourdata;
Loading