diff --git a/.woodpecker/ci.yml b/.woodpecker/ci.yml index 889d735c..7b106d7d 100644 --- a/.woodpecker/ci.yml +++ b/.woodpecker/ci.yml @@ -1,46 +1,38 @@ steps: # =========================================== - # PR VALIDATION: Parallel type checks (PRs only) + # PR VALIDATION: Only typecheck changed projects # =========================================== typecheck-backend: image: code.cannabrands.app/creationshop/node:20 commands: + - npm config set cache /npm-cache/backend --global - cd backend - npm ci --prefer-offline - npx tsc --noEmit + volumes: + - npm-cache:/npm-cache depends_on: [] when: event: pull_request + path: + include: ['backend/**'] typecheck-cannaiq: image: code.cannabrands.app/creationshop/node:20 commands: + - npm config set cache /npm-cache/cannaiq --global - cd cannaiq - npm ci --prefer-offline - npx tsc --noEmit + volumes: + - npm-cache:/npm-cache depends_on: [] when: event: pull_request + path: + include: ['cannaiq/**'] - typecheck-findadispo: - image: code.cannabrands.app/creationshop/node:20 - commands: - - cd findadispo/frontend - - npm ci --prefer-offline - - npx tsc --noEmit 2>/dev/null || true - depends_on: [] - when: - event: pull_request - - typecheck-findagram: - image: code.cannabrands.app/creationshop/node:20 - commands: - - cd findagram/frontend - - npm ci --prefer-offline - - npx tsc --noEmit 2>/dev/null || true - depends_on: [] - when: - event: pull_request + # findadispo/findagram typechecks skipped - they have || true anyway # =========================================== # AUTO-MERGE: Merge PR after all checks pass @@ -62,8 +54,6 @@ steps: depends_on: - typecheck-backend - typecheck-cannaiq - - typecheck-findadispo - - typecheck-findagram when: event: pull_request diff --git a/cannaiq/index.html b/cannaiq/index.html index 64c80c2d..352f0ad1 100755 --- a/cannaiq/index.html +++ b/cannaiq/index.html @@ -2,7 +2,7 @@ - + CannaIQ - Cannabis Menu Intelligence Platform diff --git a/cannaiq/public/favicon.svg b/cannaiq/public/favicon.svg new file mode 100644 index 00000000..5a498b0b --- /dev/null +++ b/cannaiq/public/favicon.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/cannaiq/src/components/Layout.tsx b/cannaiq/src/components/Layout.tsx index 468410cf..5959bf55 100755 --- a/cannaiq/src/components/Layout.tsx +++ b/cannaiq/src/components/Layout.tsx @@ -2,7 +2,6 @@ import { ReactNode, useEffect, useState, useRef } from 'react'; import { useNavigate, useLocation, Link } from 'react-router-dom'; import { useAuthStore } from '../store/authStore'; import { api } from '../lib/api'; -import { StateSelector } from './StateSelector'; import { LayoutDashboard, Building2, @@ -140,7 +139,7 @@ export function Layout({ children }: LayoutProps) { <> {/* Logo/Brand */}
-
+
@@ -155,14 +154,10 @@ export function Layout({ children }: LayoutProps) {

)}
-
+

{user?.email}

- {/* State Selector */} -
- -
{/* Navigation */}