diff --git a/apps/web/lib/bs/.sourcedirs.json b/apps/web/lib/bs/.sourcedirs.json deleted file mode 100644 index 01b8a62..0000000 --- a/apps/web/lib/bs/.sourcedirs.json +++ /dev/null @@ -1 +0,0 @@ -{"cmt_scan":[{"also_scan_build_root":true,"build_root":"lib/bs","scan_dirs":["src/modules/client/hooks/rescript","src/modules/client/hooks/rescript/canvas"]}],"dirs":["src/modules/client/hooks/rescript","src/modules/client/hooks/rescript/canvas"],"generated":[],"pkgs":[["@rescript/react","/home/lash/Desktop/projects/new_starr_app/node_modules/.pnpm/@rescript+react@0.15.0_@rescript+runtime@12.3.0_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/@rescript/react"]],"version":2} \ No newline at end of file diff --git a/apps/web/lib/bs/build.ninja b/apps/web/lib/bs/build.ninja deleted file mode 100644 index e69de29..0000000 diff --git a/apps/web/lib/bs/compiler-info.json b/apps/web/lib/bs/compiler-info.json deleted file mode 100644 index 3131cd1..0000000 --- a/apps/web/lib/bs/compiler-info.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "version": "12.3.0", - "bsc_path": "/home/lash/Desktop/projects/new_starr_app/node_modules/.pnpm/@rescript+linux-x64@12.3.0/node_modules/@rescript/linux-x64/bin/bsc.exe", - "bsc_hash": "75e3a59c95cc953608fd3dd6ea6ed68141bba4414a20a52f114261b8a48385fa", - "rescript_config_hash": "d85ec7cb9b3b80783c8953553f7875d1b9d94eb55dcfd9a57b3ba357830c1934", - "runtime_path": "/home/lash/Desktop/projects/new_starr_app/node_modules/.pnpm/@rescript+runtime@12.3.0/node_modules/@rescript/runtime", - "generated_at": "1779801549320" -} \ No newline at end of file diff --git a/apps/web/lib/bs/src/modules/client/hooks/rescript/AnnotationPanel.ast b/apps/web/lib/bs/src/modules/client/hooks/rescript/AnnotationPanel.ast deleted file mode 100644 index ff57b58..0000000 Binary files a/apps/web/lib/bs/src/modules/client/hooks/rescript/AnnotationPanel.ast and /dev/null differ diff --git a/apps/web/lib/bs/src/modules/client/hooks/rescript/AnnotationPanel.cmi b/apps/web/lib/bs/src/modules/client/hooks/rescript/AnnotationPanel.cmi deleted file mode 100644 index 6a2b4f0..0000000 Binary files a/apps/web/lib/bs/src/modules/client/hooks/rescript/AnnotationPanel.cmi and /dev/null differ diff --git a/apps/web/lib/bs/src/modules/client/hooks/rescript/AnnotationPanel.cmj b/apps/web/lib/bs/src/modules/client/hooks/rescript/AnnotationPanel.cmj deleted file mode 100644 index 615482c..0000000 Binary files a/apps/web/lib/bs/src/modules/client/hooks/rescript/AnnotationPanel.cmj and /dev/null differ diff --git a/apps/web/lib/bs/src/modules/client/hooks/rescript/AnnotationPanel.cmt b/apps/web/lib/bs/src/modules/client/hooks/rescript/AnnotationPanel.cmt deleted file mode 100644 index 6917c82..0000000 Binary files a/apps/web/lib/bs/src/modules/client/hooks/rescript/AnnotationPanel.cmt and /dev/null differ diff --git a/apps/web/lib/bs/src/modules/client/hooks/rescript/AnnotationPanel.js b/apps/web/lib/bs/src/modules/client/hooks/rescript/AnnotationPanel.js deleted file mode 100644 index debb90b..0000000 --- a/apps/web/lib/bs/src/modules/client/hooks/rescript/AnnotationPanel.js +++ /dev/null @@ -1,58 +0,0 @@ -// Generated by ReScript, PLEASE EDIT WITH CARE - -import * as JsxRuntime from "react/jsx-runtime"; - -function AnnotationPanel(props) { - let onClose = props.onClose; - let onNoteChange = props.onNoteChange; - let note = props.note; - let lesson = props.lesson; - let noteValue = note !== undefined ? note : ""; - return JsxRuntime.jsxs("div", { - children: [ - JsxRuntime.jsxs("div", { - children: [ - JsxRuntime.jsxs("div", { - children: [ - JsxRuntime.jsx("p", { - children: "Annotation", - className: "text-xs text-muted-foreground uppercase tracking-widest font-semibold" - }), - JsxRuntime.jsx("h2", { - children: lesson.title, - className: "text-lg font-bold mt-0.5" - }) - ] - }), - JsxRuntime.jsx("button", { - children: "✕ Close", - className: "text-muted-foreground hover:text-foreground transition-colors text-sm", - onClick: param => onClose() - }) - ], - className: "flex items-center justify-between mb-4" - }), - JsxRuntime.jsx("textarea", { - className: "flex-1 w-full resize-none rounded-lg border bg-background p-4 text-sm focus:outline-none focus:ring-2 focus:ring-ring", - placeholder: "Write your notes for this lesson...", - value: noteValue, - onChange: e => { - let value = e.target.value; - onNoteChange(lesson.id, value); - } - }), - JsxRuntime.jsx("p", { - children: "Auto-saved to your browser", - className: "text-xs text-muted-foreground mt-2" - }) - ], - className: "flex flex-col h-full" - }); -} - -let make = AnnotationPanel; - -export { - make, -} -/* react/jsx-runtime Not a pure module */ diff --git a/apps/web/lib/bs/src/modules/client/hooks/rescript/AnnotationPanel.res b/apps/web/lib/bs/src/modules/client/hooks/rescript/AnnotationPanel.res deleted file mode 100644 index 6acb6d5..0000000 --- a/apps/web/lib/bs/src/modules/client/hooks/rescript/AnnotationPanel.res +++ /dev/null @@ -1,43 +0,0 @@ -@react.component -let make = ( - ~lesson: AnnotationTypes.lesson, - ~note: option, - ~onNoteChange: (string, string) => unit, - ~onClose: unit => unit, -) => { - let noteValue = switch note { - | Some(n) => n - | None => "" - } - -
-
-
-

- {React.string("Annotation")} -

-

- {React.string(lesson.title)} -

-
- -
-