Commit Graph

142 Commits

Author SHA1 Message Date
57cff46ccd Add Ollama model loading and text conversion functionality 2026-02-01 05:09:49 +01:00
1215ab8fae Add Ollama integration and state management in App.tsx 2026-02-01 05:09:41 +01:00
d9ee24e7cb Update delete logic for text and folders 2026-02-01 04:39:59 +01:00
3a30d6799e Refactor delete text and folder actions in App.tsx 2026-02-01 04:39:52 +01:00
a47eab7a03 Add quick delete functionality for texts and folders 2026-02-01 04:39:44 +01:00
a433510f05 Add folder child count and empty check logic in App.tsx 2026-02-01 04:39:28 +01:00
4413a57c0d Update theme logic in App.tsx 2026-02-01 04:36:11 +01:00
7f2fe4a823 Change option values for theme selection in App.tsx 2026-02-01 04:35:11 +01:00
497738eb73 Update theme state type and logic in App.tsx 2026-02-01 04:35:10 +01:00
3f026499c0 Update state initialization logic in App.tsx 2026-02-01 04:34:44 +01:00
742eecb873 Update editor configuration to consider splitView 2026-02-01 04:31:39 +01:00
864b3f4c88 Add split view toggle to settings panel in App.tsx 2026-02-01 04:29:43 +01:00
7bee133a9c Update App.tsx to handle markdown preview and split view states 2026-02-01 04:29:38 +01:00
fefa100175 Include splitView in the dependency array for requestMeasure 2026-02-01 04:29:31 +01:00
cf92325bed Add split view state and update localStorage handling 2026-02-01 04:29:31 +01:00
7e2964e9f9 Remove unused import in src/App.tsx 2026-02-01 04:25:16 +01:00
2f84b8bce1 Remove unused tab keymap functionality in App.tsx 2026-02-01 04:24:10 +01:00
485e8b4ed8 Reorder imports in App.tsx for consistency 2026-02-01 04:19:24 +01:00
4cc25c1f87 Remove unused CSS import in App.tsx 2026-02-01 04:16:03 +01:00
f4baeeca3d Update keymap configuration in App.tsx 2026-02-01 04:12:15 +01:00
2265ae70b5 Add editorReady state and update dependencies 2026-02-01 04:10:26 +01:00
27ca21094d Prevent default behavior for save shortcut in editor 2026-02-01 04:10:26 +01:00
9671f63828 Refactor editor setup and add tab keymap functionality 2026-02-01 04:09:24 +01:00
fd734a7c64 Import CodeMirror styles in App.tsx 2026-02-01 04:03:20 +01:00
3456700ccd Add effect to request editor measure on state changes 2026-02-01 04:01:56 +01:00
7921384ddf Replace textarea with div for CodeMirror in App.tsx 2026-02-01 04:00:33 +01:00
b843b72670 Update App.tsx to use editorView and compartments for line numbers and editable state 2026-02-01 04:00:21 +01:00
14ed5afe7b Add useEffect to initialize CodeMirror editor in App.tsx 2026-02-01 03:59:56 +01:00
34d8434fb3 Update App.tsx with new refs for editor components 2026-02-01 03:59:56 +01:00
9ecbe6ec65 Update App.tsx with CodeMirror imports and configurations 2026-02-01 03:59:44 +01:00
28809839f2 Use markdownHtml for dangerouslySetInnerHTML in App.tsx 2026-02-01 03:53:02 +01:00
97a3871a8d Add markdownHtml memoization in App.tsx 2026-02-01 03:53:02 +01:00
8c1cf0e6a0 Add useEffect to refresh line numbers in App.tsx 2026-02-01 03:51:30 +01:00
6c528d6fb0 Import refreshLineNumbers in App.tsx 2026-02-01 03:51:30 +01:00
a1f129a9cb No actual change detected in this commit 2026-02-01 03:51:03 +01:00
44b00e4a13 Import and use appendLineNumbers and removeLineNumbers functions 2026-02-01 03:51:03 +01:00
18ae1c3d3b Remove onScroll event listener from textarea 2026-02-01 03:51:03 +01:00
15a1b22c91 Remove unused handleTextareaScroll function 2026-02-01 03:51:03 +01:00
afe8a39085 Simplify and optimize App.tsx by removing line numbers and improving markdown preview handling 2026-02-01 03:49:47 +01:00
ddba57d28b Refactor line number handling in App.tsx 2026-02-01 03:49:27 +01:00
10c6043e4e Simplify handleTextareaScroll and remove unused memoized functions in App.tsx 2026-02-01 03:49:09 +01:00
574e7899a5 Remove unused state and ref variables in App.tsx 2026-02-01 03:49:09 +01:00
3ed9de1c54 Remove line number measure element from App.tsx 2026-02-01 03:32:27 +01:00
dd288313b9 Simplify line measurement logic in App.tsx 2026-02-01 03:32:27 +01:00
699b55b8fd Remove unused measureRef from App.tsx 2026-02-01 03:32:27 +01:00
997c8767e6 Optimize line metrics computation in App.tsx 2026-02-01 03:32:11 +01:00
b5a6b556c9 Update visible range calculation in App.tsx 2026-02-01 03:32:11 +01:00
51e8fea77b Refactor line calculation logic in App.tsx 2026-02-01 03:31:21 +01:00
7e170dfe85 Update refs and remove unused variables in App.tsx 2026-02-01 03:31:21 +01:00
78758331bb Remove unused FenwickTree class from src/App.tsx 2026-02-01 03:30:53 +01:00