You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: TODO.md
+123-1Lines changed: 123 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,4 +31,126 @@ The documentation sometimes uses `mathfield` and `MathfieldElement` interchangea
31
31
* Use`MathfieldElement` when referring to the JavaScript class or its static properties/methods (`MathfieldElement.computeEngine`).
32
32
* Use "mathfield" (lowercase) as a general term for an instance of the component on a page.
33
33
34
-
34
+
##Future Expansion
35
+
36
+
###Interactive Applications Architecture
37
+
38
+
**Recommended Approach:** Deploy interactive applications as separate React apps on subdomains, keeping them independent from the Docusaurus documentation site.
39
+
40
+
**Deployment Strategy:**
41
+
- Use Cloudflare for subdomain routing and CDN
42
+
- Each app deployed to its own subdirectory in the build
43
+
- DNS configuration: CNAME records for each subdomain pointing to the main domain
44
+
- Cloudflare Workers or Page Rules to route subdomains to appropriate directories
45
+
46
+
**Implementation Structure:**
47
+
```
48
+
cortexjs.io/
49
+
├── src/
50
+
│ ├── pages/ # Docusaurus pages (documentation)
51
+
│ ├── components/ # Documentation components
52
+
│ └── apps/ # Interactive applications
53
+
│ ├── editor/
54
+
│ ├── calculator/
55
+
│ ├── grapher/
56
+
│ └── notebook/
57
+
├── build/
58
+
│ ├── docs/ # Main documentation site
59
+
│ └── apps/ # Built applications
60
+
│ ├── editor/ # → editor.mathlive.io
61
+
│ ├── calculator/ # → calculator.mathlive.io
62
+
│ ├── grapher/ # → grapher.mathlive.io
63
+
│ └── notebook/ # → notebook.mathlive.io
64
+
```
65
+
66
+
###Interactive Applications
67
+
68
+
-**`editor.mathlive.io`** - LaTeX/MathLive Editor
69
+
- Split-pane interface: MathLive mathfield on one side, LaTeX editor on the other
70
+
- Bidirectional real-time synchronization between panels
71
+
- LaTeX side uses CodeMirror or Monaco Editor with LaTeX syntax highlighting
72
+
- Configurable layout: horizontal or vertical split (responsive to device/user preference)
73
+
- Future: Session saving with left sidebar for saved expressions