From b0280b9d74647fd682333202a35bd2042f18c22e Mon Sep 17 00:00:00 2001 From: Yura Dupyn <2153100+omedusyo@users.noreply.github.com> Date: Sat, 14 Feb 2026 22:41:53 +0100 Subject: [PATCH] FunctinDigith and focusTarget scrolling --- src/ui/App.tsx | 5 +- src/ui/Controls.tsx | 12 +- src/ui/Digith.tsx | 7 +- src/ui/Function/FunctionDigith.tsx | 161 +++++++++++++++++++-- src/ui/Function/NewFunctionDraftDigith.tsx | 86 +++++------ src/ui/FunctionList.tsx | 0 src/ui/ProgramMeta.tsx | 10 ++ src/ui/Scrowl.tsx | 70 ++++++--- src/ui/Sidebar.tsx | 19 +++ src/ui/scrowlStore.ts | 99 ++++++++++++- 10 files changed, 378 insertions(+), 91 deletions(-) create mode 100644 src/ui/FunctionList.tsx create mode 100644 src/ui/ProgramMeta.tsx create mode 100644 src/ui/Sidebar.tsx diff --git a/src/ui/App.tsx b/src/ui/App.tsx index bfe5576..eabbe75 100644 --- a/src/ui/App.tsx +++ b/src/ui/App.tsx @@ -1,6 +1,5 @@ -import { createSignal } from 'solid-js'; import { Scrowl } from './Scrowl'; -import { Controls } from './Controls'; +import { Sidebar } from './Sidebar'; export default function App() { return ( @@ -14,7 +13,7 @@ export default function App() { }} > - + ); } diff --git a/src/ui/Controls.tsx b/src/ui/Controls.tsx index d6f0cb4..97d5110 100644 --- a/src/ui/Controls.tsx +++ b/src/ui/Controls.tsx @@ -1,4 +1,4 @@ -import { spawnFunctionDraft } from "./scrowlStore"; +import { spawnNewFunctionDraftDigith } from "./scrowlStore"; type Props = { // TODO @@ -6,20 +6,14 @@ type Props = { export function Controls(props: Props) { return ( -