diff --git a/frontend/src/components/RecipesView.vue b/frontend/src/components/RecipesView.vue
index 0c4f579..f0c5029 100644
--- a/frontend/src/components/RecipesView.vue
+++ b/frontend/src/components/RecipesView.vue
@@ -75,6 +75,8 @@
{{ activeLevel.description }}
+
+
@@ -604,6 +606,7 @@ import RecipeBrowserPanel from './RecipeBrowserPanel.vue'
import SavedRecipesPanel from './SavedRecipesPanel.vue'
import CommunityFeedPanel from './CommunityFeedPanel.vue'
import BuildYourOwnTab from './BuildYourOwnTab.vue'
+import OrchUsagePill from './OrchUsagePill.vue'
import type { ForkResult } from '../stores/community'
import type { RecipeSuggestion, GroceryLink } from '../services/api'
import { recipesAPI } from '../services/api'
diff --git a/frontend/src/components/SettingsView.vue b/frontend/src/components/SettingsView.vue
index f6085b9..14c4a0e 100644
--- a/frontend/src/components/SettingsView.vue
+++ b/frontend/src/components/SettingsView.vue
@@ -63,6 +63,22 @@
+
+
+
Cook History
@@ -159,9 +175,11 @@ import { ref, computed, onMounted } from 'vue'
import { useSettingsStore } from '../stores/settings'
import { useRecipesStore } from '../stores/recipes'
import { householdAPI, type HouseholdStatus } from '../services/api'
+import { useOrchUsage } from '../composables/useOrchUsage'
const settingsStore = useSettingsStore()
const recipesStore = useRecipesStore()
+const { enabled: orchPillEnabled, setEnabled: setOrchPillEnabled } = useOrchUsage()
const sortedCookLog = computed(() =>
[...recipesStore.cookLog].sort((a, b) => b.cookedAt - a.cookedAt)
@@ -450,4 +468,17 @@ onMounted(async () => {
font-size: var(--font-size-xs);
color: var(--color-text-muted);
}
+
+.orch-pill-toggle {
+ cursor: pointer;
+ align-items: center;
+ color: var(--color-text);
+}
+
+.orch-pill-toggle input[type="checkbox"] {
+ accent-color: var(--color-primary);
+ width: 1rem;
+ height: 1rem;
+ flex-shrink: 0;
+}
diff --git a/frontend/tsconfig.app.json b/frontend/tsconfig.app.json
index 8d16e42..d493206 100644
--- a/frontend/tsconfig.app.json
+++ b/frontend/tsconfig.app.json
@@ -3,6 +3,10 @@
"compilerOptions": {
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
"types": ["vite/client"],
+ "baseUrl": ".",
+ "paths": {
+ "@/*": ["src/*"]
+ },
/* Linting */
"strict": true,
diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts
index 7e4bca6..c8dd6dd 100644
--- a/frontend/vite.config.ts
+++ b/frontend/vite.config.ts
@@ -1,9 +1,15 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
+import { fileURLToPath, URL } from 'node:url'
export default defineConfig({
plugins: [vue()],
base: process.env.VITE_BASE_URL ?? '/',
+ resolve: {
+ alias: {
+ '@': fileURLToPath(new URL('./src', import.meta.url)),
+ },
+ },
build: {
rollupOptions: {
output: {