Commit Graph

559 Commits

Author SHA1 Message Date
6a7736ea5b Improve useFileContent hook tests 2025-06-04 18:11:37 +02:00
dfd9d5b70c Simplify useAdminData tests 2025-06-04 17:54:57 +02:00
f37c024d65 Simplify theme tests 2025-06-04 17:03:24 +02:00
3f2aaa34e5 Add CreateWorkspaceModal and DeleteWorkspaceModal tests 2025-06-01 15:19:50 +02:00
bc17005eca Add DeleteUserModal and EditUserModal tests 2025-06-01 13:58:06 +02:00
9d7f312527 Implement CreateUserModal tests 2025-06-01 11:49:05 +02:00
8deededc05 Add DeleteAccountModal and EmailPasswordModal tests 2025-05-31 21:59:00 +02:00
e642b73556 Add data-testid attributes for improved testing in modals 2025-05-31 20:23:15 +02:00
e279cd4535 Add DeleteFileModal and CommitMessageModal tests with accessibility improvements 2025-05-31 20:00:34 +02:00
2964963f98 Add tests for CreateFileModal component and improve form handling 2025-05-29 22:03:28 +02:00
e01ae5b815 Add tests for LoginPage component and improve accessibility features 2025-05-29 20:04:58 +02:00
57b9d4cc89 Add frontend tests workflow and update paths for Go and TypeScript workflows 2025-05-29 17:12:42 +02:00
37c49dc0cc Add tests for WorkspaceDataContext 2025-05-29 16:52:03 +02:00
33d45568ec Add tests for AuthContext, ModalContext and ThemeContext 2025-05-29 16:25:42 +02:00
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
3c6e767954 Merge pull request #51 from lordmathis/chore/readme-update
Chore/readme update
v0.5.0
2025-05-25 16:40:55 +02:00
44c3271e1d Update frontend builder to use Node.js 24-slim 2025-05-25 16:34:57 +02:00
3eaf79f2a7 Add TypeScript check badge to README 2025-05-25 16:25:19 +02:00
fbfab22666 Merge pull request #50 from lordmathis/feat/typescript
Migrate frontend to typescript
2025-05-25 16:11:34 +02:00
47b88cb93a Potential fix for code scanning alert no. 7: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-05-25 16:07:48 +02:00
63f3679e1f Merge branch 'main' into feat/typescript 2025-05-25 16:03:18 +02:00
694f842178 Merge pull request #49 from lordmathis/workspace_context
Workspace context
2025-05-25 15:58:16 +02:00
3926a2726e Fix cache dependency path in TypeScript workflow 2025-05-25 15:54:13 +02:00
ca602bd0bd Refactor TypeScript workflow to set working directory in defaults 2025-05-25 15:51:31 +02:00
f3f2deea35 Update default DBURL to use sqlite:// format in DefaultConfig 2025-05-25 15:39:47 +02:00
fe2a466a4f Add URL decoding for workspace and file paths in handlers 2025-05-25 15:33:07 +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
ab3cb56aa1 Add IF NOT EXISTS clause to index creation for sessions and workspaces tables 2025-05-24 14:05:58 +02:00
f511dafad2 Refactor ESLint config 2025-05-24 00:15:10 +02:00