Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
5dfe24d
feat: add WebPreview component and related subcomponents for enhanced…
zhouLion Nov 11, 2025
5b2e65a
refactor: update props definition to use TypeScript interface for imp…
zhouLion Nov 11, 2025
375ade1
feat: integrate Vitest for testing and add web preview tests
zhouLion Nov 11, 2025
b1da1f0
feat: add web preview example component with navigation and console logs
zhouLion Nov 11, 2025
8e5bcf9
feat: add WebPreview documentation and installation instructions
zhouLion Nov 11, 2025
1c40055
feat: convert WebPreview component to Vue 3 and update backend route …
zhouLion Nov 12, 2025
a9fc195
feat: add GitHub Actions workflow for testing with Node.js
zhouLion Nov 13, 2025
c48b5f7
refactor: enhanced WebPreview loading slot functionality
zhouLion Nov 13, 2025
2bdf496
feat: add script to generate .code-group.md files for components
zhouLion Nov 13, 2025
bf216fe
chore: resolved conflicts and move web-preview into vibe-coding folder
zhouLion Nov 13, 2025
37dadba
chore: install Playwright 1.56.1 dependencie
zhouLion Nov 13, 2025
be03413
ci: make test github action work
zhouLion Nov 13, 2025
b279b48
chore: update Vitest configuration with path aliases for improved mod…
zhouLion Nov 13, 2025
c75a388
chore: update Vitest configuration to use shadcn-vue path aliases
zhouLion Nov 13, 2025
6fb1f26
Merge branch 'main' into zhoulion/web-preview
cwandev Nov 14, 2025
746a8df
chore: removed irrelevant script code
zhouLion Nov 16, 2025
0f73b00
chore: update WebPreviewUrl component Input class
peoray Nov 24, 2025
e500733
chore(docs): update code blocks in web-preview.md for clarity
peoray Nov 24, 2025
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
39 changes: 39 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Test

on:
pull_request:
branches:
- main
push:
branches:
- main

jobs:
test:
name: Run Tests (Node.js ${{ matrix.node-version }})
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20, 22, 24]

steps:
- name: Checkout Repo
uses: actions/checkout@v5

- name: Setup pnpm
uses: pnpm/action-setup@v4

- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: pnpm i

- name: Install Playwright Browsers
run: pnpm --filter @repo/elements exec playwright install --with-deps chromium

- name: Run Tests
run: pnpm test
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,9 @@ dist-ssr
.env
.env.*
!.env.example

# Testing
coverage
**/__screenshots__

.code-group.md
Loading