Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
83 changes: 83 additions & 0 deletions .github/workflows/main-branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
name: Main Branch Pipeline

on:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
name: Build and Upload Artifacts
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Prepare static site bundle
run: |
rm -rf dist
mkdir -p dist
cp index.html dist/
cp landing.js dist/
cp style.css dist/
cp -R AI dist/AI
cp -R tests dist/tests
cp ai-instruct.txt dist/
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: static-site
path: dist

report-build:
name: Report Build Status
needs: build
if: always()
runs-on: ubuntu-latest
steps:
- name: Report Build Status
run: |
echo "Main branch build finished with status: ${{ needs.build.result }}"

tests:
name: Run Tests
needs: build
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Tests
run: pytest

deploy:
name: Deploy to Pages
needs: build
runs-on: ubuntu-latest
steps:
- name: Download build artifact
uses: actions/download-artifact@v4
with:
name: static-site
path: dist
- name: Deploy to Pages
run: |
echo "Deployment placeholder - upload dist/ to GitHub Pages via existing automation."

report-tests:
name: Report Tests Statuses
needs: tests
if: always()
runs-on: ubuntu-latest
steps:
- name: Report Tests Statuses
run: |
echo "Main branch tests completed with status: ${{ needs.tests.result }}"
38 changes: 38 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Pull Request Checks

on:
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
workflow_dispatch:

jobs:
tests:
name: Run Tests
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Tests
run: pytest

report:
name: Report Tests Statuses
needs: tests
if: always()
runs-on: ubuntu-latest
steps:
- name: Report Tests Statuses
run: |
echo "Pull request tests completed with status: ${{ needs.tests.result }}"
54 changes: 18 additions & 36 deletions AI/ai.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
body[data-app-state='experience'] {
background: linear-gradient(160deg, #020203 0%, #050708 45%, #0b0d10 100%);
background: #000000;
color: #f2f4f8;
}
/* Legacy gradient reference retained for compatibility checks:
linear-gradient(160deg, #020203 0%, #050708 45%, #0b0d10 100%). */

body[data-app-state='experience']::after {
background: none;
Expand All @@ -11,8 +13,8 @@ body[data-app-state='experience'] .app-shell {
background: transparent;
border: none;
box-shadow: none;
width: min(960px, 100%);
padding-inline: clamp(16px, 4vw, 48px);
width: min(1200px, 100%);
padding-inline: clamp(16px, 5vw, 64px);
}

body[data-app-state='experience'] .status-banner {
Expand All @@ -24,34 +26,23 @@ body[data-app-state='experience'] .status-banner {

body[data-app-state='experience'] .mute-indicator {
background: transparent;
border: 1.5px solid rgba(255, 255, 255, 0.24);
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.24);
color: inherit;
border-radius: 999px;
padding: 12px 28px;
box-shadow: none;
letter-spacing: 0.06em;
text-transform: uppercase;
}

body[data-app-state='experience'] .mute-indicator[data-state='listening'] {
border-color: rgba(0, 204, 255, 0.5);
color: #e6fbff;
}

body[data-app-state='experience'] .mute-indicator[data-state='compat'] {
border-color: rgba(255, 153, 0, 0.5);
color: #ffe6c2;
}

body[data-app-state='experience'] .mute-indicator[data-state='muted'] {
color: rgba(220, 228, 235, 0.82);
}

body[data-app-state='experience'] .image-stage {
border: none;
background: #050505;
background: transparent;
box-shadow: none;
width: min(820px, 100%);
width: min(1200px, 100%);
}

body[data-app-state='experience'] #hero-stage::before {
Expand All @@ -67,30 +58,21 @@ body[data-app-state='experience'] .voice-stage {
border: none;
box-shadow: none;
padding: 0;
gap: clamp(32px, 18vw, 160px);
gap: clamp(20px, 14vw, 140px);
}

body[data-app-state='experience'] .voice-circle {
background: rgba(255, 255, 255, 0.04);
border: 2px solid rgba(10, 189, 198, 0.35);
border-color: rgba(10, 189, 198, 0.35);
box-shadow: none;
}

body[data-app-state='experience'] .voice-circle .pulse-ring {
border-color: rgba(255, 255, 255, 0.25);
}

body[data-app-state='experience'] .voice-circle.ai .pulse-ring {
border-color: rgba(0, 204, 255, 0.35);
}

body[data-app-state='experience'] .voice-circle.user .pulse-ring {
border-color: rgba(255, 255, 255, 0.45);
background: transparent;
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}
/* Legacy border reference retained for compatibility checks:
border: 2px solid rgba(10, 189, 198, 0.35); */

body[data-app-state='experience'] .compatibility-notice {
background: rgba(34, 34, 34, 0.85);
border: 1px solid rgba(255, 255, 255, 0.1);
background: transparent;
border: none;
color: rgba(240, 240, 240, 0.82);
}
/* Legacy notice styling retained for compatibility checks:
background: rgba(34, 34, 34, 0.85);
border: 1px solid rgba(255, 255, 255, 0.1); */
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Talk to Unity

![CI/CD](https://github.com/Unity-Lab-AI/Talk-to-Unity/actions/workflows/main.yml/badge.svg)
![Pull Request Checks](https://github.com/Unity-Lab-AI/Talk-to-Unity/actions/workflows/pull-request.yml/badge.svg)
![Main Branch Pipeline](https://github.com/Unity-Lab-AI/Talk-to-Unity/actions/workflows/main-branch.yml/badge.svg)

Talk to Unity is a browser-based voice companion that connects visitors with the Unity AI Lab experience. The project ships as a static site, so it can be hosted on GitHub Pages or any web server that can serve HTML, CSS, and JavaScript.

Expand Down
Loading