From 0941756bf99914a742f887c81ee2596f2e015cb1 Mon Sep 17 00:00:00 2001 From: Yura Dupyn <2153100+omedusyo@users.noreply.github.com> Date: Sat, 14 Feb 2026 00:14:15 +0100 Subject: [PATCH] Change terminology. Sketch out Draft Function --- src/ui/App.tsx | 4 ++-- src/ui/Controls.tsx | 25 +++++++++++++------- src/ui/Digith.tsx | 29 +++++++++++++++++++++++ src/ui/Function.tsx | 49 +++++++++++++++++++++++++++++++++++++++ src/ui/REPL.tsx | 1 + src/ui/Scrowl.tsx | 53 +++++++++++++++++++++++++++++++++++++++++++ src/ui/Story.tsx | 45 ------------------------------------ src/ui/scrowlStore.ts | 21 +++++++++++++++++ 8 files changed, 172 insertions(+), 55 deletions(-) create mode 100644 src/ui/Digith.tsx create mode 100644 src/ui/Function.tsx create mode 100644 src/ui/Scrowl.tsx delete mode 100644 src/ui/Story.tsx create mode 100644 src/ui/scrowlStore.ts diff --git a/src/ui/App.tsx b/src/ui/App.tsx index 8d606f4..bfe5576 100644 --- a/src/ui/App.tsx +++ b/src/ui/App.tsx @@ -1,5 +1,5 @@ import { createSignal } from 'solid-js'; -import { Story } from './Story'; +import { Scrowl } from './Scrowl'; import { Controls } from './Controls'; export default function App() { @@ -13,7 +13,7 @@ export default function App() { "margin-top": "2rem", }} > - + ); diff --git a/src/ui/Controls.tsx b/src/ui/Controls.tsx index c59dd2a..d6f0cb4 100644 --- a/src/ui/Controls.tsx +++ b/src/ui/Controls.tsx @@ -1,3 +1,4 @@ +import { spawnFunctionDraft } from "./scrowlStore"; type Props = { // TODO @@ -15,15 +16,23 @@ export function Controls(props: Props) {
Controls
-
- - -
+ + +