Skip to content

Commit f92ae54

Browse files
authored
Merge pull request #569 from EducationalTools/react-rewrite
Rebuild from scratch
2 parents ccec101 + ad14db1 commit f92ae54

File tree

4,771 files changed

+19484
-715333
lines changed

Some content is hidden

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

4,771 files changed

+19484
-715333
lines changed

.coderabbit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ reviews:
55
poem: false
66
profile: chill
77
path_instructions:
8-
- path: '**/*.*'
8+
- path: "**/*.*"
99
instructions: |
1010
Do not correct spelling errors or grammar mistakes.
1111
auto_review:
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
description: apply when interacting with PostHog/analytics tasks
3+
globs:
4+
alwaysApply: true
5+
---
6+
7+
Never hallucinate an API key. Instead, always use the API key populated in the .env file.
8+
9+
# Feature flags
10+
11+
A given feature flag should be used in as few places as possible. Do not increase the risk of undefined behavior by scattering the same feature flag across multiple areas of code. If the same feature flag needs to be introduced at multiple callsites, flag this for the developer to inspect carefully.
12+
13+
If a job requires creating new feature flag names, make them as clear and descriptive as possible.
14+
15+
If using TypeScript, use an enum to store flag names. If using JavaScript, store flag names as strings to an object declared as a constant, to simulate an enum. Use a consistent naming convention for this storage. enum/const object members should be written UPPERCASE_WITH_UNDERSCORE.
16+
17+
Gate flag-dependent code on a check that verifies the flag's values are valid and expected.
18+
19+
# Custom properties
20+
21+
If a custom property for a person or event is at any point referenced in two or more files or two or more callsites in the same file, use an enum or const object, as above in feature flags.
22+
23+
# Naming
24+
25+
Before creating any new event or property names, consult with the developer for any existing naming convention. Consistency in naming is essential, and additional context may exist outside this project. Similarly, be careful about any changes to existing event and property names, as this may break reporting and distort data for the project.
26+
27+

.cursor/setup-worktree-unix.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
set -e
3+
4+
# Install dependencies
5+
bun install
6+
7+
# Copy environment file
8+
cp "$ROOT_WORKTREE_PATH/.env.local" .env.local
9+
10+
echo "Worktree setup complete!"

.cursor/setup-worktree-windows.ps1

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
$ErrorActionPreference = 'Stop'
2+
3+
# Install dependencies
4+
bun install
5+
6+
# Copy environment file
7+
Copy-Item "$env:ROOT_WORKTREE_PATH\.env.local" .env.local
8+
9+
Write-Host "Worktree setup complete!"

.cursor/worktrees.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"setup-worktree-unix": "setup-worktree-unix.sh",
3+
"setup-worktree-windows": "setup-worktree-windows.ps1",
4+
"setup-worktree": ["bun install"]
5+
}

.dockerignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.react-router
2+
build
3+
node_modules
4+
README.md

.env.example

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1-
CONVEX_DEPLOYMENT=dev:something
2-
PUBLIC_CONVEX_URL=https://something.convex.cloud
1+
VITE_CONVEX_URL=https://xxxxxxx-xxxxxxxx-xxx.convex.cloud
2+
VITE_CONVEX_SITE_URL=https://xxxxxxx-xxxxxxxx-xxx.convex.site
3+
4+
VITE_PUBLIC_POSTHOG_KEY=phc_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
5+
VITE_PUBLIC_POSTHOG_HOST=https://xxxxxxxxxxxxxxxxxx

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Bug Report
22
description: File a bug report.
3-
title: '[Bug] <brief description here>'
4-
type: 'Bug'
3+
title: "[Bug] <brief description here>"
4+
type: "Bug"
55
body:
66
- type: markdown
77
attributes:

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Feature request
22
description: Suggest an idea for this project
3-
title: '[Feature] <feature name here>'
4-
type: 'Feature'
3+
title: "[Feature] <feature name here>"
4+
type: "Feature"
55
body:
66
- type: textarea
77
id: problem

.github/ISSUE_TEMPLATE/gmae_request.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Gmae request
22
description: Request a gmae to be added
3-
title: '[Gmae Request] <name here>'
4-
labels: ['gmae']
5-
type: 'Feature'
3+
title: "[Gmae Request] <name here>"
4+
labels: ["gmae"]
5+
type: "Feature"
66
body:
77
- type: input
88
id: gmae-link
@@ -20,13 +20,13 @@ body:
2020
required: false
2121
- type: checkboxes
2222
attributes:
23-
label: 'Important'
23+
label: "Important"
2424
options:
25-
- label: 'I have edited the title to add the name of the gmae'
25+
- label: "I have edited the title to add the name of the gmae"
2626
required: true
2727
- label: "I haven't deleted [Gmae Request] from the title"
2828
required: true
29-
- label: 'I have checked [other issues](https://github.com/EducationalTools/src/issues?q=is%3Aissue%20label%3Agmae%20type%3AFeature) before sending this one.'
29+
- label: "I have checked [other issues](https://github.com/EducationalTools/src/issues?q=is%3Aissue%20label%3Agmae%20type%3AFeature) before sending this one."
3030
required: true
31-
- label: 'I have actually checked if the gmae already exists on the site'
31+
- label: "I have actually checked if the gmae already exists on the site"
3232
required: true

0 commit comments

Comments
 (0)