Commit Graph

130 Commits

Author SHA1 Message Date
19771dd094 Add tests for API and Models type guards 2025-05-29 13:10:20 +02:00
2211f85193 Add tests for apiCall function 2025-05-29 11:57:50 +02:00
5ed3e96350 Refactor admin API types and add validation functions for WorkspaceStats and FileCountStats 2025-05-29 11:15:53 +02:00
d814c365ea Refactor hooks and hook tests error handling and state management 2025-05-28 22:01:27 +02:00
907dffe362 Refactor tests in useGitOperations and useWorkspaceOperations to handle undefined values gracefully 2025-05-28 21:04:43 +02:00
b38792a47f Add ESLint rule override for test files 2025-05-28 20:59:59 +02:00
6a8b359c84 Add tests for useWorkspaceOperations hook functionality 2025-05-28 20:41:12 +02:00
3e482c546c Add tests for useUserAdmin hook functionality 2025-05-28 19:44:00 +02:00
ae35172c2a Add tests for useFileNavigation hook functionality 2025-05-28 18:39:41 +02:00
05c3111f8b Fix error message casing for email already exists in useProfileSettings tests 2025-05-28 18:39:33 +02:00
1532896b27 Add tests for useProfileSettings hook functionality 2025-05-27 21:52:21 +02:00
00edb9e5a6 Add tests for useLastOpenedFile hook functionality 2025-05-27 21:43:20 +02:00
9cefe12872 Improve tests and add useGitOps hook test 2025-05-27 21:33:02 +02:00
942ff17c4f Add tests for useFileContent and useFileOperations hooks 2025-05-26 21:53:52 +02:00
e9abe14364 Add tests for remarkWikiLinks functionality 2025-05-26 20:58:26 +02:00
49cac03db8 Implement utils tests 2025-05-26 20:35:02 +02:00
e5569fc4a5 Initial vitest setup 2025-05-26 20:02:53 +02:00
63f3679e1f Merge branch 'main' into feat/typescript 2025-05-25 16:03:18 +02:00
d2c4a84c32 Refactor API call to include CSRF token handling for non-GET requests 2025-05-25 12:46:51 +02:00
ecc1fe9989 Fix logout button 2025-05-25 12:34:36 +02:00
a724bc44e9 Refactor workspace context usage to improve structure and introduce ThemeContext 2025-05-25 12:11:03 +02:00
6cf118280a Update Workspace interface for optional properties 2025-05-24 20:43:10 +02:00
34ac76b87d Fix async handling for API response in updateProfile and workspace functions 2025-05-24 14:10:35 +02:00
07e0647174 Refactor type guards for LoginResponse and UserRole to improve validation logic 2025-05-24 14:10:13 +02:00
f511dafad2 Refactor ESLint config 2025-05-24 00:15:10 +02:00
15538b243d Refactor theme styles for hover, accordion, and workspace components 2025-05-24 00:12:31 +02:00
e43efc736a Refactor type definitions in AuthenticatedContent and App components 2025-05-23 23:48:45 +02:00
623f619f88 Fix more lint issues 2025-05-23 23:29:29 +02:00
2519d46061 Refactor Node component to destructure props and improve onNodeClick handling 2025-05-23 23:21:58 +02:00
78de42d195 Fix various eslint issues 2025-05-23 23:03:05 +02:00
ad2334c414 Refactor imports and handle async operations in components 2025-05-23 22:13:25 +02:00
646a897b93 Fix some lint issues 2025-05-22 22:00:37 +02:00
32218e5595 Refactor types 2025-05-22 21:24:39 +02:00
2f181d0f7f Run npm lint:fix 2025-05-18 16:57:48 +02:00
16fbbec992 Configure eslint 2025-05-18 16:56:09 +02:00
60ab01b0c8 Fix type-check issues 2025-05-18 16:36:20 +02:00
3619cf4ed4 Update ts configuration 2025-05-18 15:51:44 +02:00
bfc5cc2d29 Migrate edito components 2025-05-18 15:19:58 +02:00
db75bdcc89 Migrate file components 2025-05-18 14:39:17 +02:00
834a7b1e7e Migrate layout 2025-05-18 13:08:03 +02:00
a8a525531e Migrate navigation to ts 2025-05-18 12:33:42 +02:00
9125cbdad3 Migrate workspace settings to ts 2025-05-18 12:21:18 +02:00
7044e42e94 Migrate admin dashboard to ts 2025-05-18 11:53:17 +02:00
c478e8e8a1 Migrate account settings 2025-05-16 22:57:47 +02:00
924d710b2f Migrate all modals to ts 2025-05-12 21:26:07 +02:00
b7be5a46a2 Migrate useUserAdmin 2025-05-11 15:44:27 +02:00
5fcd24db3e Migrate useProfileSettings hook 2025-05-11 15:36:30 +02:00
c6d46df7a0 Migrate useLastOpenedFile hook 2025-05-11 15:09:11 +02:00
32cb89d329 Migrate useGitOperations 2025-05-11 13:01:43 +02:00
f3691d4dbf Migrate useFileOperations 2025-05-11 12:55:18 +02:00