Commit Graph

115 Commits

Author SHA1 Message Date
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
b907855513 Refactor line number rendering in App.tsx 2026-02-01 03:28:53 +01:00
0024acdf40 Update line height calculation and management in App.tsx 2026-02-01 03:28:40 +01:00
9936fd2c0f Optimize scroll handling in App.tsx 2026-02-01 03:28:09 +01:00
1c9af949b4 Implement line number calculation and visibility tracking in App.tsx 2026-02-01 03:28:05 +01:00
3a2569daad Add state variables for line height and visible range in App.tsx 2026-02-01 03:28:05 +01:00
28edef621c Add FenwickTree class to src/App.tsx 2026-02-01 03:27:23 +01:00
6701d7fed9 Swap functionality of new folder and open text buttons in App.tsx 2026-02-01 03:15:19 +01:00
5b93cf2916 Replace icon glyphs with images in App.tsx 2026-02-01 03:14:09 +01:00
a7d69afc8b Update icon imports and add new icons in App.tsx 2026-02-01 03:13:27 +01:00
5c82bb9f89 Add new text button and expand sidebar functionality in App.tsx 2026-02-01 02:53:48 +01:00
3ef4b7e514 Refactor sidebar layout and button functionality in App.tsx 2026-02-01 02:53:29 +01:00
25561dd7f8 Refactor sidebar layout and button handling in App.tsx 2026-02-01 02:50:16 +01:00
fe9910a220 Reorganize workspace layout and add new text button styling 2026-02-01 02:46:39 +01:00
ecf860c3a7 Update sidebar collapse button styling and structure 2026-02-01 02:43:48 +01:00
85ed81de10 Refactor sidebar buttons in App.tsx 2026-02-01 02:40:52 +01:00
1d2f45af5b Move folder expansion logic to moveTextToFolder callback 2026-02-01 02:08:44 +01:00
c66fee4541 Ensure folder children are only displayed if they exist 2026-02-01 02:08:41 +01:00
dee929998c Wrap folder toggle and icon in a div 2026-02-01 02:00:22 +01:00
e4aa205ab2 Add folder icon and update component structure 2026-02-01 01:58:57 +01:00
12088163dc Update folder rendering to handle entries by parent 2026-02-01 01:55:58 +01:00
d78911d17e Refactor sidebar entry types and sorting logic in App.tsx 2026-02-01 01:55:54 +01:00
4d61e4d5cc Update createText function call to remove sortOrder parameter 2026-02-01 01:51:56 +01:00
3970a30f59 Remove unused parameters in move functions 2026-02-01 01:51:56 +01:00
4baeb10e6d Remove unused variables in App.tsx 2026-02-01 01:50:46 +01:00
bdb67d4093 Remove unused functions getNextTextSortOrder and getNextFolderSortOrder in src/App.tsx 2026-02-01 01:50:39 +01:00
45d7cd940d Simplify sorting logic in App.tsx 2026-02-01 01:50:32 +01:00
4ae8f6dfc2 Add delete button for folder items 2026-02-01 01:09:52 +01:00