-
-
Notifications
You must be signed in to change notification settings - Fork 608
Fix Issues in favourites PR #634
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
rahulharpal1603
merged 42 commits into
AOSSIE-Org:main
from
rahulharpal1603:fix/favourite-issues
Nov 15, 2025
Merged
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
967a8d0
initial_setup
DecodeX15 0cdc63b
adding backend + frontend for add and remove from favourite
DecodeX15 451c29c
fixed backend error
DecodeX15 ff2c0df
adding some ui
DecodeX15 fbc80c1
updatinng branch
DecodeX15 2eec24e
fix redirect issue
DecodeX15 f56fd66
fix lint eorrr
DecodeX15 2ca8a6b
lint
DecodeX15 d18aa76
lint
DecodeX15 e6e9aaa
add
DecodeX15 6f1fc8d
fix the refresh page problem
DecodeX15 68f350c
env issue
DecodeX15 20a4b41
adding
DecodeX15 ac4d8bc
lint fix
DecodeX15 f49e63e
update branch
DecodeX15 324fff5
adding
DecodeX15 31bd53d
resolving conflicts
DecodeX15 8d1bd30
resolved all conflicts
DecodeX15 964f66c
resolving_conflicts::
DecodeX15 079b034
branch update
DecodeX15 34c3cba
update fork
DecodeX15 7410c13
lintin
DecodeX15 0aa0c31
update
DecodeX15 e60bf8c
update
DecodeX15 e4ceda9
regarding requested changes
DecodeX15 c70b3f3
add
DecodeX15 478c2a8
chore: apply black formatting
DecodeX15 7c102b3
ad
DecodeX15 4698587
conflists
DecodeX15 0ea5985
conflicts
DecodeX15 ef52b6f
add
DecodeX15 b05919e
update
DecodeX15 58aa9f6
dad
DecodeX15 51b736e
add
DecodeX15 e0e0efa
add
DecodeX15 ecdca33
add
DecodeX15 bafd7d6
adding heart button funnction in image card
DecodeX15 c058d75
fix problem of like in the add the fav page
DecodeX15 5c448ac
Rename frontend/src/api/scripts/setup_env.sh to frontend/scripts/setu…
rahulharpal1603 bbb67e2
Rename frontend/src/api/scripts/setup_win.ps1 to frontend/scripts/set…
rahulharpal1603 09ab8be
Refactor favorite functionality: unify naming conventions, remove unu…
rahulharpal1603 077199c
Update MediaView to use ROUTES constant for favourites path
rahulharpal1603 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
Binary file not shown.
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 was deleted.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| import { imagesEndpoints } from '../apiEndpoints'; | ||
| import { apiClient } from '../axiosConfig'; | ||
| import { APIResponse } from '@/types/API'; | ||
|
|
||
| export const togglefav = async (image_id: string): Promise<APIResponse> => { | ||
| const response = await apiClient.post<APIResponse>( | ||
| imagesEndpoints.setFavourite, | ||
| { image_id }, | ||
| ); | ||
| return response.data; | ||
| }; |
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.