Skip to content
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

feat(web): View all duplicates page #15856

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@
"asset_skipped_in_trash": "In trash",
"asset_uploaded": "Uploaded",
"asset_uploading": "Uploading...",
"asset_view_duplicates": "Click here to view duplicates of this asset",
"assets": "Assets",
"assets_added_count": "Added {count, plural, one {# asset} other {# assets}}",
"assets_added_to_album_count": "Added {count, plural, one {# asset} other {# assets}} to the album",
Expand Down Expand Up @@ -540,6 +541,7 @@
"delete_library": "Delete Library",
"delete_link": "Delete link",
"delete_others": "Delete others",
"has_duplicates": "Asset has duplicates",
"delete_shared_link": "Delete shared link",
"delete_tag": "Delete tag",
"delete_tag_confirmation_prompt": "Are you sure you want to delete {tagName} tag?",
Expand Down Expand Up @@ -572,6 +574,8 @@
"drop_files_to_upload": "Drop files anywhere to upload",
"duplicates": "Duplicates",
"duplicates_description": "Resolve each group by indicating which, if any, are duplicates",
"duplicates_description_single": "Resolve this duplicate group by indicating which, if any, are duplicates",
"duplicates_description_all": "Resolve each group by clicking on it, or use the bulk actions in the top right",
"duration": "Duration",
"edit": "Edit",
"edit_album": "Edit album",
Expand Down Expand Up @@ -1359,4 +1363,4 @@
"yes": "Yes",
"you_dont_have_any_shared_links": "You don't have any shared links",
"zoom_image": "Zoom Image"
}
}
3 changes: 3 additions & 0 deletions mobile/openapi/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions mobile/openapi/lib/api.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

92 changes: 92 additions & 0 deletions mobile/openapi/lib/api/duplicates_api.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions mobile/openapi/lib/api_client.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

107 changes: 107 additions & 0 deletions mobile/openapi/lib/model/duplicate_info_response_dto.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

92 changes: 92 additions & 0 deletions open-api/immich-openapi-specs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2444,6 +2444,83 @@
]
}
},
"/duplicates/info": {
"get": {
"operationId": "getAllDuplicatesInfo",
"parameters": [],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"items": {
"$ref": "#/components/schemas/DuplicateInfoResponseDto"
},
"type": "array"
}
}
},
"description": ""
}
},
"security": [
{
"bearer": []
},
{
"cookie": []
},
{
"api_key": []
}
],
"tags": [
"Duplicates"
]
}
},
"/duplicates/{id}": {
"get": {
"operationId": "getDuplicateById",
"parameters": [
{
"name": "id",
"required": true,
"in": "path",
"schema": {
"format": "uuid",
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/DuplicateResponseDto"
}
}
},
"description": ""
}
},
"security": [
{
"bearer": []
},
{
"cookie": []
},
{
"api_key": []
}
],
"tags": [
"Duplicates"
]
}
},
"/faces": {
"get": {
"operationId": "getFaces",
Expand Down Expand Up @@ -9024,6 +9101,21 @@
],
"type": "object"
},
"DuplicateInfoResponseDto": {
"properties": {
"duplicateId": {
"type": "string"
},
"exampleAsset": {
"$ref": "#/components/schemas/AssetResponseDto"
}
},
"required": [
"duplicateId",
"exampleAsset"
],
"type": "object"
},
"DuplicateResponseDto": {
"properties": {
"assets": {
Expand Down
Loading
Loading