Commit e3eabf8
feat: 認証システムの完全リファクタリングと未登録ユーザー対応 (#22)
* remove: storybook vrt
* fix: convex clerk
* fix
* fix: initial register path
* feat: 登録状態に応じたSideMenuの表示制御機能を追加
- SideMenuコンポーネントにisRegisteredプロップを追加
- 未登録ユーザーの場合はメニュー項目を非表示に
- Storybookに未登録ユーザー用ストーリーを追加
- ログアウトアイコンをFcUndoに変更
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* refactor: 認証システムのリファクタリングとスキーマ更新
- Convex認証スキーマの更新(hasProfile → isRegistered)
- user.tsファイルの新規作成と完全なCRUD実装
- バリデーションとエラーハンドリングの改善
- ユーザー登録フローの最適化
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* feat: 未登録ユーザー専用レイアウトの追加
- (unregistered)レイアウトグループの新規作成
- join/userページの適切なレイアウトグループへの移動
- 認証レイアウトからSideMenuの条件分岐を削除
- 登録状態に応じた適切なレイアウト分離を実現
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* refactor: 不要ファイルとコードの削除・整理
- 古いauth.tsとfunctions.tsファイルの削除
- 使用されていないJWTヘルパーファイルの削除
- globals.d.tsの不要な型定義を削除
- Topコンポーネントからテスト用コードを削除
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* chore: 移動済みファイルの削除
- app/(auth)/join/user/page.tsx の削除
- (unregistered)レイアウトグループへの移動に伴う整理
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* fix
* fix: delete test
* fix: story
* fix: sub path import
* fix
* fix
* fix
* fix: edge
* fix: no turbo
* fix
* fix
* fix: edge
* fix
* remove: edge
* feat: jwt
* fix
* fix: assertion
* fix: build
* fix
* fix
* fix; wrangeler
* fix: lint
* fix: script
* fix
* fix: delete setting page
* fix: downgrade nextjs
* fix: add pnpm
* fix; edge
* lock
* fix: lint
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 9cb9846 commit e3eabf8
File tree
49 files changed
+14574
-4660
lines changed- .claude
- .github/workflows
- .serena
- .storybook
- app
- (auth)
- attendance
- mypage
- settings
- shifts
- shops/temp
- edit
- invite
- timecard
- (unregistered)
- join/user
- config
- user
- convex-seeds/seeds
- convex
- _generated
- e2e
- fixtures/setup
- scenarios
- public
- src
- components
- config
- features
- Top
- BackendTest
- register/UserForm
- layout/SideMenu
- configs
- auth
- convex
- helpers/utils/transition
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
49 files changed
+14574
-4660
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
31 | 29 | | |
32 | 30 | | |
33 | 31 | | |
34 | | - | |
35 | | - | |
| 32 | + | |
| 33 | + | |
36 | 34 | | |
37 | 35 | | |
38 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | | - | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
80 | 82 | | |
81 | 83 | | |
82 | 84 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | | - | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | 23 | | |
26 | 24 | | |
27 | 25 | | |
| |||
0 commit comments