-
Notifications
You must be signed in to change notification settings - Fork 2
Groups 목록, 그룹 멤버 찌르기 구현 #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 113 commits
Commits
Show all changes
117 commits
Select commit
Hold shift + click to select a range
fb27f84
Main page 일단 모킹은 가능하도록 했습니다. (#26)
Hys-Lee 76e1413
Main page mock ui관련 수정 사항 반영 (#29)
Hys-Lee c905582
Main page mock msw 동작하도록 수정 (#30)
Hys-Lee f3ca3b6
Merge remote-tracking branch 'upstream/main-page-mock' into merge-mai…
devgony 7737032
wip-1
devgony 2665cb4
extract authStore
devgony e4f7e5a
feat: fix SSR hydration mismatch using Next.js dynamic imports
devgony 3604be6
feat: implement groups page with reusable components
devgony 517cfb8
feat: update group page text styles to match Figma design
devgony b2df1d0
Merge remote-tracking branch 'upstream/main' into login-global
devgony 78e4679
remove unused
devgony e1d03d1
Merge branch 'groups' of https://github.com/devgony/10th-Motimo-FE in…
devgony 8bd70cd
generate api
devgony 7d87402
fix get access token
devgony c5afb9f
implement getJoinedGroups
devgony 0801818
refactor: Update fetchTemplate to use auth store instead of localStorage
devgony 5f1f7c0
generate api
devgony 7d5b0b0
feat: Add API service wrapper with automatic Bearer token authentication
devgony 29d251c
refactor: Implement dynamic API/SWR mapping with type safety
devgony b1fda88
refactor: Improve API service SWR integration and debugging
devgony 62d9ef2
refactor: Replace legacy SWR hooks with centralized service.ts hooks
devgony 4cb1fa1
refactor: Restructure API service architecture
devgony 5cb3029
refactor: Extract useApiQuery into separate module
devgony 2d9e42d
feat: Integrate environment variable for API baseUrl
devgony 54131ae
add env
devgony 5566c9c
fix: Use NEXT_PUBLIC_ prefix for client-side environment variables
devgony d079bb4
feat: Separate environment configurations for dev and local
devgony 7d97fae
feat: Configure local API server for npm run local
devgony f73baf9
refactor: Complete environment file separation for dev and local
devgony 67d99c8
refactor: Replace all templateFetch usage with SWR hooks and direct A…
devgony 99a16ff
remove: delete legacy templateFetch files
devgony 3dc2d45
chore: remove unused
devgony 88e6b3e
Merge remote-tracking branch 'upstream/main' into login-global
devgony 52c181b
remove .env.local from gitignore
devgony ddb84cf
tidy up
devgony 3460e43
refactor: simplify auth store initialization
devgony 2cf7d0f
feat: improve authentication handling and fix hydration issues
devgony 62b6e30
Merge remote-tracking branch 'upstream/main' into groups
devgony 64efc8c
Merge remote-tracking branch 'origin/login-global' into groups
devgony 37408c6
refactor: update group page to use new API hooks and types
devgony dbf506f
refactor: implement generic-based GroupList with type guards
devgony b8ce792
feat: add goal ID routing and error handling for GroupList
devgony 01cf882
feat: implement join random group page based on Figma design
devgony 7b713e9
add text-center, remove mt-auto
devgony 4753087
add justify-center
devgony bb5d28f
feat: add group detail page and improve group join flow
devgony 127b910
fix: escape quotes in group detail page title
devgony 1ca6937
fix: resolve type errors and template literal updates
devgony 0106b67
fix: wrap useSearchParams in Suspense boundary to fix build error
devgony 983ff1f
feat: Update environment configuration and build scripts
devgony 60688e2
fix: Add Next.js router mocking to Storybook
devgony 840e64d
feat: Complete Next.js router mocking solution for Storybook
devgony d57197c
feat: Add onboarding completion check and redirect
devgony d6dd94e
feat: Implement useOnboardingStore for centralized data management
devgony 4f595a6
Add OAuth state and onboarding completion tracking to auth store
devgony 45cfad7
Refactor auth store hydration to use useEffect hook
devgony 543c0e1
Fix due date calculation logic for month-based periods
devgony a2e462e
Add error handling for goal creation API call in onboarding
devgony 29603d4
Merge branch 'login-global' into groups
devgony 8975299
Merge branch 'groups' of https://github.com/devgony/10th-Motimo-FE in…
devgony ffa5ec8
create random group
devgony b124042
revert useEffect
devgony 165acff
Merge branch 'login-global' into groups
devgony ed18ba0
wip1
devgony cb485d5
update api
devgony f81bd20
feat: Update API hooks and fix TypeScript errors
devgony 3f785ec
feat(group): integrate API data for group details and user profile
devgony b18b326
refactor(group): improve navigation functionality and clean up compon…
devgony 7d402fe
Merge remote-tracking branch 'upstream/main' into groups
devgony 438bc7c
remove unused
devgony f0d5414
refactor(GoalCard): simplify boolean conversion
devgony 17c9647
feat(api): enhance error handling and add runtime validation in useAp…
devgony 3748d8e
remove env.local
devgony ecb4320
generate api
devgony c7a62d6
sync healthApi
devgony 2eb7cfc
feat: update API service and hooks to match latest generated API
devgony a7c9669
generate api
devgony faed449
fix: update notification hook to use page parameter instead of offset
devgony aa4eb19
feat: format lastActivityDate in GroupItem and fix navigation
devgony c91d198
Onboarding 중복 클릭 방지 가드 추가 (#43)
devgony 947a2a2
Detail page 및 메인 페이지 ui일부 수정 (#40)
Hys-Lee a9b97ed
fix: resolve TypeScript build errors in group components
devgony a12f911
Merge remote-tracking branch 'upstream/main' into groups
devgony 7941d49
improve: enhance error message construction in useApiQuery for better…
devgony b784ae8
feat: add new message notifications to group items
devgony 63c034a
remove: delete .env.production file
devgony d2374c0
fix: simplify default goal title in join random group page
devgony 46a515d
remove: replace all alert() calls with console statements
devgony 9c89fb0
feat: add Loading component with Lottie animation
devgony dede1f5
fix: update Loading component with proper asset loading and styling
devgony 9781d9f
refactor: use local import for Lottie animation instead of fetch
devgony 491174e
feat: add navigation to member page from group detail
devgony 8c166b0
feat: implement group member page with member list and leave group fu…
devgony fcbd9f8
feat: add date formatting utility and implement poke functionality
devgony 6682d6f
feat: add toast notification for poke functionality
devgony 2ed8912
feat: implement leave group functionality with confirmation and navig…
devgony 32e988e
refactor: replace browser confirm with custom Modal for leave group c…
devgony 4f408ec
feat: implement notification page with AppBar navigation and Figma de…
devgony c6d7ddd
refactor: improve BellIcon prop naming for better clarity
devgony 11371a3
refactor: improve notification page ternary logic
devgony 6b19088
feat: update NotificationIcon component with proper bell icon design
devgony fb11743
feat: implement infinite scroll for notification page
devgony b117ae7
feat: add mock data for testing infinite scroll in notifications
devgony 43f618f
refactor: extract NotificationContent component and move mock data to…
devgony 553545b
fix: resolve TypeScript errors in AppBar and notification components
devgony 3703b06
fix: improve loading UI for join random group page
devgony aa50ab0
fix: add input validation and error handling to formatDate function
devgony a35b50b
refactor: improve type safety and simplify notification content parsing
devgony 765b8e4
fix: improve timeout handling and error management in group member page
devgony 75800b6
fix: resolve TypeScript error in useRef timeout declaration
devgony 3d9d0df
fix: wrap useSearchParams in Suspense boundary for join-random page
devgony 26a4bcf
feat: add Primary story to NotificationContent Storybook
devgony 84ac867
fix: improve error handling for poke functionality
devgony 0022dce
Merge remote-tracking branch 'upstream/main' into groups
devgony ade5b43
feat: extract GroupMemberList component and add 7-day poke button logic
devgony 2870bbd
refactor: replace custom spinners with shared Loading component in on…
devgony 3835c40
fix: prevent infinite loading when entering onboarding without login
devgony File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| // Mock Next.js App Router navigation for Storybook | ||
| const mockRouter = { | ||
| push: (url: string) => { | ||
| console.log("Router.push called with:", url); | ||
| }, | ||
| replace: (url: string) => { | ||
| console.log("Router.replace called with:", url); | ||
| }, | ||
| back: () => { | ||
| console.log("Router.back called"); | ||
| }, | ||
| forward: () => { | ||
| console.log("Router.forward called"); | ||
| }, | ||
| refresh: () => { | ||
| console.log("Router.refresh called"); | ||
| }, | ||
| prefetch: (url: string) => { | ||
| console.log("Router.prefetch called with:", url); | ||
| }, | ||
| }; | ||
|
|
||
| // Export the functions that next/navigation provides | ||
| export const useRouter = () => mockRouter; | ||
|
|
||
| export const useSearchParams = () => new URLSearchParams(); | ||
|
|
||
| export const usePathname = () => "/"; | ||
|
|
||
| export const useParams = () => ({}); | ||
|
|
||
| export const notFound = () => { | ||
| console.log("notFound called"); | ||
| }; | ||
|
|
||
| export const redirect = (url: string) => { | ||
| console.log("redirect called with:", url); | ||
| }; | ||
|
|
||
| // For backward compatibility | ||
| export default { | ||
| useRouter, | ||
| useSearchParams, | ||
| usePathname, | ||
| useParams, | ||
| notFound, | ||
| redirect, | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.