Skip to content

Commit fd602e2

Browse files
feat: update legal page and footer tracking
- Adjust legal page component in footer to include tracking event - Update cloud SQL version in copilot instructions
1 parent 9abe18c commit fd602e2

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

.github/copilot-instructions.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -219,14 +219,14 @@ plt.savefig('plot.png', dpi=300, bbox_inches='tight')
219219

220220
The project runs on **Google Cloud Platform** (europe-west4 region):
221221

222-
| Service | Component | Purpose |
223-
|---------|-----------|---------|
224-
| **Cloud Run** | `pyplots-backend` | FastAPI API (auto-scaling, serverless) |
222+
| Service | Component | Purpose |
223+
|---------|--------------------|---------|
224+
| **Cloud Run** | `pyplots-backend` | FastAPI API (auto-scaling, serverless) |
225225
| **Cloud Run** | `pyplots-frontend` | React SPA served via nginx |
226-
| **Cloud SQL** | PostgreSQL 15 | Database (Unix socket in production) |
227-
| **Cloud Storage** | `pyplots-images` | Preview images (GCS bucket) |
228-
| **Secret Manager** | `DATABASE_URL` | Secure credential storage |
229-
| **Cloud Build** | Triggers | Auto-deploy on push to main |
226+
| **Cloud SQL** | PostgreSQL 18 | Database (Unix socket in production) |
227+
| **Cloud Storage** | `pyplots-images` | Preview images (GCS bucket) |
228+
| **Secret Manager** | `DATABASE_URL` | Secure credential storage |
229+
| **Cloud Build** | Triggers | Auto-deploy on push to main |
230230

231231
Automatic deployment on push to `main`:
232232
- `api/**`, `core/**`, `pyproject.toml` changes → Backend redeploy

app/src/components/Footer.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ export function Footer({ onTrackEvent, selectedSpec, selectedLibrary }: FooterPr
6868
<Link
6969
component={RouterLink}
7070
to="/legal"
71+
onClick={() => onTrackEvent?.('internal_link', { destination: 'legal', spec: selectedSpec, library: selectedLibrary })}
7172
sx={{
7273
color: '#9ca3af',
7374
textDecoration: 'none',

0 commit comments

Comments
 (0)