-
Notifications
You must be signed in to change notification settings - Fork 2
[refactor/native/scrap-#190] scrap qa 수정 #192
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
Open
b0nsu
wants to merge
46
commits into
develop
Choose a base branch
from
refactor/native/scrap-#190
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
5b38095
fix(native): refactor sortScrapData to use a unified timestamp retrie…
b0nsu e881e15
refactor(native): replace deprecated client-side sorting with updated…
b0nsu 150ef00
refactor(native): reorganize imports and restore sortedData calculati…
b0nsu ab016bd
feat(native): add useScrapStoreSync hook for synchronizing scrap stor…
b0nsu 16141cf
refactor(native): enhance ScrapScreen by integrating useScrapStoreSyn…
b0nsu 389e76a
refactor(native): remove unused imports and cleanup delete handling i…
b0nsu d62a607
refactor(native): remove unused hooks and cleanup delete handling in …
b0nsu ae153da
refactor(native): simplify RecentScrapStore by replacing scrap detail…
b0nsu e5ef4ee
refactor(native): update ScrapDetailScreen to use addScrapId for rece…
b0nsu a5857b7
refactor(native): update SortDropdown to improve sorting options and …
b0nsu cee9453
refactor(native): enhance optimistic updates for scrap movement and d…
b0nsu a9985a7
refactor(native): update ChevronUpFilledIcon and ScrapDefaultIcon for…
b0nsu 42e501e
refactor(native): update RecentScrapCard to use ScrapListItemResp for…
b0nsu ad7b41f
refactor(native): remove border styling from TooltipPopover for clean…
b0nsu 756995b
refactor(native): update header components for improved styling and c…
b0nsu 3721079
refactor(native): integrate LoadQnaImageModal into ScrapModalsContext…
b0nsu c389481
refactor(native): integrate LoadQnaImageModal into ScrapModalsContext…
b0nsu 3211816
Merge branch 'refactor/native/scrap-#190' of https://github.com/team-…
b0nsu d64e390
refactor(native): enhance ScrapScreen with refresh control and improv…
b0nsu 73b481c
refactor(native): remove unused folder data fetching in FolderScrapSc…
b0nsu 569ba42
refactor(native): add useScrapStoreSync hook for improved state synch…
b0nsu 8aa7005
feat(native): add AnalysisSection component and integrate it into Scr…
b0nsu 94eaeac
refactor(native): update DRAG_HANDLE_WIDTH constant for improved UI c…
b0nsu 11ecf42
refactor(native): enhance ScrapDetailScreen with recent scrap ID hand…
b0nsu dd6b275
refactor(native): enhance shouldShowAnalysisSection logic to include …
b0nsu 20b37fe
refactor(native): update ApiSortKey and UISortKey types for enhanced …
b0nsu 0470fcd
refactor(native): update SearchScrapHeader and CreateFolderModal for …
b0nsu 992fede
refactor(native): update CreateFolderModal and LoadQnaImageModal to s…
b0nsu f7e5672
refactor(native): reset selectedId state when LoadQnaImageModal is cl…
b0nsu f1ce98e
refactor(native): integrate refetchScraps in AddScrapTooltip after su…
b0nsu d238708
refactor(native): improving state management for title updates
b0nsu b16a7a6
feat(native): add useGetEntireProblem and useGetEntireProblemPointing…
b0nsu aae4c16
refactor(native): enhance ScrapDetailScreen with additional data fetc…
b0nsu 9ff64b0
refactor(native): update convertScrapToGroup function to handle entir…
b0nsu ce6a50e
refactor(native): integrate folder data fetching and update folder se…
b0nsu e95e5c1
refactor(native): improve ScrapCard, ScrapHeadCard, and TrashCard com…
b0nsu e59e6b5
refactor(native): simplify ScrapGrid components by removing itemHeigh…
b0nsu 43b256a
refactor(native): remove unused useRecentScrapStore import from Scrap…
b0nsu 6e7eb72
refactor(native): adjust padding in ProblemViewer component within Po…
b0nsu a813aab
refactor(native): enhance formatToMinute function to support Korean l…
b0nsu a3d951c
feat(native): add isHovered prop to ImageWithSkeleton component for h…
b0nsu 0b65940
feat(native): add isHovered prop to ScrapFolderDefaultIcon for dynami…
b0nsu 009ad84
feat(native): implement isHovered state for TrashCard and ScrapCard c…
b0nsu c70c595
feat(native): add onOpenChange prop to TooltipPopover for handling vi…
b0nsu d7f8b8d
refactor(native): update layout in SearchResultCard component for imp…
b0nsu 839bc6b
feat(native): add new API endpoints
b0nsu 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
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
20 changes: 20 additions & 0 deletions
20
apps/native/src/apis/controller/student/study/useGetEntireProblem.ts
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,20 @@ | ||
| import { TanstackQueryClient } from '@/apis/client'; | ||
|
|
||
| const useGetEntireProblem = (problemId: number, enabled = true) => { | ||
| return TanstackQueryClient.useQuery( | ||
| 'get', | ||
| '/api/student/study/problem/entire/{problemId}', | ||
| { | ||
| params: { | ||
| path: { | ||
| problemId: problemId, | ||
| }, | ||
| }, | ||
| }, | ||
| { | ||
| enabled: enabled, | ||
| } | ||
| ); | ||
| }; | ||
|
|
||
| export default useGetEntireProblem; | ||
20 changes: 20 additions & 0 deletions
20
apps/native/src/apis/controller/student/study/useGetEntireProblemPointing.ts
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,20 @@ | ||
| import { TanstackQueryClient } from '@/apis/client'; | ||
|
|
||
| const useGetEntireProblemPointing = (problemId: number, enabled = true) => { | ||
| return TanstackQueryClient.useQuery( | ||
| 'get', | ||
| '/api/student/study/pointing/entire/{problemId}', | ||
| { | ||
| params: { | ||
| path: { | ||
| problemId: problemId, | ||
b0nsu marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| }, | ||
| }, | ||
| }, | ||
| { | ||
| enabled: enabled, | ||
| } | ||
| ); | ||
| }; | ||
|
|
||
| export default useGetEntireProblemPointing; | ||
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
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.
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.