Skip to content

Commit 435f913

Browse files
committed
Initial commit: RayLens - Browser-first analytical app on RayforceDB
Features: - WASM-based RayforceDB with Web Worker execution - Dashboard-style UI with drag-and-drop components - Real-time streaming data demo with Rayforce table operations - Component palette, dashboard canvas, property inspector - Data Grid with conditional highlighting - Chart components (bar, line, area, scatter, pie, heatmap) - Filter, date range, dropdown, text input controls - CSV import with native read-csv support - GitHub Pages deployment with COI service worker
0 parents  commit 435f913

49 files changed

Lines changed: 16958 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/deploy.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# Deploy RayLens to GitHub Pages
2+
name: Deploy to GitHub Pages
3+
4+
on:
5+
# Run on push to main branch
6+
push:
7+
branches: [main, master]
8+
9+
# Allow manual trigger
10+
workflow_dispatch:
11+
12+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13+
permissions:
14+
contents: read
15+
pages: write
16+
id-token: write
17+
18+
# Allow only one concurrent deployment
19+
concurrency:
20+
group: "pages"
21+
cancel-in-progress: true
22+
23+
jobs:
24+
build:
25+
runs-on: ubuntu-latest
26+
27+
steps:
28+
- name: Checkout
29+
uses: actions/checkout@v4
30+
31+
- name: Setup Node.js
32+
uses: actions/setup-node@v4
33+
with:
34+
node-version: '20'
35+
cache: 'npm'
36+
37+
- name: Install dependencies
38+
run: npm ci
39+
40+
- name: Build
41+
run: npm run build
42+
env:
43+
# Set base path for GitHub Pages (repo name)
44+
# Update this if your repo has a different name
45+
VITE_BASE_PATH: /${{ github.event.repository.name }}/
46+
47+
- name: Setup Pages
48+
uses: actions/configure-pages@v4
49+
50+
- name: Upload artifact
51+
uses: actions/upload-pages-artifact@v3
52+
with:
53+
path: './dist'
54+
55+
deploy:
56+
environment:
57+
name: github-pages
58+
url: ${{ steps.deployment.outputs.page_url }}
59+
runs-on: ubuntu-latest
60+
needs: build
61+
62+
steps:
63+
- name: Deploy to GitHub Pages
64+
id: deployment
65+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Dependencies
2+
node_modules/
3+
4+
# Build output
5+
dist/
6+
*.local
7+
8+
# Editor directories and files
9+
.vscode/*
10+
!.vscode/extensions.json
11+
.idea/
12+
*.suo
13+
*.ntvs*
14+
*.njsproj
15+
*.sln
16+
*.sw?
17+
18+
# Logs
19+
logs
20+
*.log
21+
npm-debug.log*
22+
pnpm-debug.log*
23+
yarn-debug.log*
24+
yarn-error.log*
25+
26+
# OS files
27+
.DS_Store
28+
Thumbs.db
29+
30+
# Test coverage
31+
coverage/
32+
33+
# TypeScript cache
34+
*.tsbuildinfo
35+
36+
# Environment
37+
.env
38+
.env.local
39+
.env.*.local
40+
41+
# WASM files (generated by prepare:wasm)
42+
public/rayforce/*.wasm
43+
public/rayforce/*.js
44+
45+
# Vitest
46+
.vitest/

0 commit comments

Comments
 (0)