Commit Graph

  • f71ed9285b test(auth): add token store reset after each test feature/frontend-form-validation Ilia Mashkov 2026-04-02 12:48:20 +03:00
  • 6516172a6b test(auth): add token store reset after each test Ilia Mashkov 2026-04-02 12:47:48 +03:00
  • f98ccf468c test(auth): wrap component rendering in act() Ilia Mashkov 2026-04-02 12:47:22 +03:00
  • 4d95159c4f feat(RegisterForm): add custom input and button components support with component as prop pattern Ilia Mashkov 2026-04-02 12:46:45 +03:00
  • e7ac79049d chore: rewrite LoginForm to use defaults from separate files Ilia Mashkov 2026-04-02 12:46:15 +03:00
  • 85763e568f feat(auth): add separate default input component Ilia Mashkov 2026-04-02 12:45:32 +03:00
  • 98e3133d88 feat(auth): add separate default button component Ilia Mashkov 2026-04-02 12:45:25 +03:00
  • 8d283064a0 feat(LoginForm): use component as prop pattern to add customizable input and button components Ilia Mashkov 2026-03-31 12:54:43 +03:00
  • a6f4b993dd feat(auth): set the token after login/register/logout Ilia Mashkov 2026-03-31 12:53:41 +03:00
  • 3d7eb850ec fix(auth): remove unnecessary token header setup Ilia Mashkov 2026-03-31 12:52:43 +03:00
  • 69d026afce feat(auth): add selectors for email and password Ilia Mashkov 2026-03-31 12:51:41 +03:00
  • 87511398fb test: change mocks to comply with the new validation Ilia Mashkov 2026-03-25 10:43:47 +03:00
  • 542de6c540 chore: delete empty lines between test cases Ilia Mashkov 2026-03-25 10:43:09 +03:00
  • 6d81eaba4b feat(auth): add validatePassword function with requirements for min and max characters amount, presence of at least one uppercase letter, one lowercase letter, one digit and one special symbol; cover it with tests Ilia Mashkov 2026-03-25 10:34:54 +03:00
  • 5b49398665 feat(auth): add an RFC complient validation function for an email address; cover it with tests Ilia Mashkov 2026-03-25 10:18:55 +03:00
  • 6751c7fc04 Merge pull request 'feature/login-and-register-forms' (#2) from feature/login-and-register-forms into main main ilia 2026-03-24 18:00:41 +00:00
  • 83fbf83bae feat(RegisterForm): add basic RegisterFormComponent with test coverage and storybook placeholder Ilia Mashkov 2026-03-24 20:57:35 +03:00
  • 576665f32b test(LoginForm): clarify test case names Ilia Mashkov 2026-03-24 20:42:37 +03:00
  • 4d854d08a3 test(LoginForm): replace setState with userEvent.type for authenticity Ilia Mashkov 2026-03-24 20:29:16 +03:00
  • 70bcf7fdcf feat(LoginForm): add isLoading check to LoginForm, add new test cases Ilia Mashkov 2026-03-24 20:03:34 +03:00
  • c006a94c4d feat(auth): add selectStatusIsLoading selector to get information whether auth store status equals "loading" Ilia Mashkov 2026-03-24 19:57:27 +03:00
  • e4630a7fcb feat(LoginForm): create LoginForm component with basic logic, test coverage and storybook placeholder Ilia Mashkov 2026-03-24 19:30:45 +03:00
  • c41f02f505 chore: export modules Ilia Mashkov 2026-03-24 19:29:37 +03:00
  • 683443673e chore: remove unused code Ilia Mashkov 2026-03-24 19:28:55 +03:00
  • 1f20f11852 chore: install storybook Ilia Mashkov 2026-03-24 19:28:20 +03:00
  • c378f7c83a refactor(auth): rewrite store actions, remove arguments, add checks validation and status checks; add test cases Ilia Mashkov 2026-03-24 13:04:58 +03:00
  • 8cea93220b feat(auth): create selectors for authStore; cover them with tests Ilia Mashkov 2026-03-24 13:02:58 +03:00
  • b871bf27de feat(auth): add formData to the auth store; add corresponding setEmail and setPassword actions Ilia Mashkov 2026-03-24 11:15:23 +03:00
  • db42c87489 Merge pull request 'feature/state-and-data-fetching' (#1) from feature/state-and-data-fetching into main ilia 2026-03-24 08:02:19 +00:00
  • 6a2a826a11 refactor: create separate shared store for auth token and refresh action Ilia Mashkov 2026-03-24 09:26:10 +03:00
  • fd5b50a6f2 test(auth): write basic unit tests for authStore actions Ilia Mashkov 2026-03-18 09:58:30 +03:00
  • 51fc64d8c3 feat(auth): add accessToken field to the store Ilia Mashkov 2026-03-18 09:57:59 +03:00
  • 2afbd73a31 fix(auth): fix circular import problem by changing the way the authHttpClient gets accessToken; replace individual calls mocks with the common ones Ilia Mashkov 2026-03-18 09:10:17 +03:00
  • b75e805f54 feat(auth): add refresh action to authStore Ilia Mashkov 2026-03-17 14:18:49 +03:00
  • 226874bbec feat(auth): add refresh api call call Ilia Mashkov 2026-03-17 14:15:32 +03:00
  • ed718eea71 feat(auth): add accessToken field to authStore and setup beforeRequest hook to add this token to headers Ilia Mashkov 2026-03-17 14:08:29 +03:00
  • 11b84ddc5d feat(auth): add error field to store and remove unused actions Ilia Mashkov 2026-03-17 13:41:55 +03:00
  • 98146a7996 chore: rename file Ilia Mashkov 2026-03-17 13:39:32 +03:00
  • 55451d3eb4 feat(auth): add basic implementation of login/register/logout store actions Ilia Mashkov 2026-03-17 12:26:13 +03:00
  • aa77f4b311 feat(callApi): create callApi helper to call ky callbacks and use Go-like pattern to return [data, error] tuple Ilia Mashkov 2026-03-17 12:25:23 +03:00
  • 638e198d02 feat(auth): create logout api call with basic test coverage and msw mock Ilia Mashkov 2026-03-17 10:14:57 +03:00
  • 2f863bc5ba feat(auth): create register api call with basic test coverage and msw mock Ilia Mashkov 2026-03-17 10:08:38 +03:00
  • 701dc981d2 chore: add export/input shortcuts Ilia Mashkov 2026-03-17 10:02:25 +03:00
  • 9302013632 feat(auth): create login api call with basic test coverage and msw mock Ilia Mashkov 2026-03-17 10:00:51 +03:00
  • a36922e1c7 feat(auth): create extended api config placeholder Ilia Mashkov 2026-03-17 09:59:37 +03:00
  • 7cf8d463f6 chore: add msw package to intercept requests and mock responces Ilia Mashkov 2026-03-16 18:45:57 +03:00
  • a98a9c2c79 feat(Auth): create useAuthStore hook representing auth store using zustand Ilia Mashkov 2026-03-16 18:31:53 +03:00
  • 5acb326c03 feat(api): create base api using ky Ilia Mashkov 2026-03-16 18:30:49 +03:00
  • 3214fe716d feat(Auth): split AuthStore type to State and Actions Ilia Mashkov 2026-03-16 18:29:56 +03:00
  • 31f9bac50b chore: add testing packages Ilia Mashkov 2026-03-16 18:29:03 +03:00
  • 6bfcc4db24 chore: add testing packages Ilia Mashkov 2026-03-16 18:28:41 +03:00
  • fa3f461add feature(auth): create types Ilia Mashkov 2026-03-16 13:30:09 +03:00
  • 7ab2d3b812 chore: setup absolute imports Ilia Mashkov 2026-03-16 13:20:53 +03:00
  • d28ecef77c feat: fill the expose section of the federation config Ilia Mashkov 2026-03-16 12:56:22 +03:00
  • 85d296942b chore: install zustand for state management and ky for data fetching Ilia Mashkov 2026-03-16 12:55:35 +03:00
  • 5267c35d15 feat(User): create User interface Ilia Mashkov 2026-03-16 12:54:52 +03:00
  • 8916fd759e chore: initial commit with basic module federation setup in vite config Ilia Mashkov 2026-03-12 21:07:00 +03:00