Skip to content
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
1 change: 1 addition & 0 deletions docs/backend/backend_python/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -893,6 +893,7 @@
"Images"
],
"summary": "Toggle Favourite",
"description": "Toggle the favorite status of an image.",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Spelling inconsistency: use "favourite" to match the endpoint naming.

The description uses American spelling ("favorite") while the endpoint path and request schema use British spelling ("/toggle-favourite", "ToggleFavouriteRequest"). For consistency in user-facing API documentation, the description should match the endpoint's spelling convention.

📝 Suggested fix
-        "description": "Toggle the favorite status of an image.",
+        "description": "Toggle the favourite status of an image.",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"description": "Toggle the favorite status of an image.",
"description": "Toggle the favourite status of an image.",
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/backend/backend_python/openapi.json` at line 896, The OpenAPI
description uses American spelling "favorite" but the endpoint and schema use
British spelling; update the description string for the "/toggle-favourite"
operation to use "favourite" (e.g., "Toggle the favourite status of an image.")
and check the related schema name ToggleFavouriteRequest and any other
description fields for the same consistency to ensure all user-facing docs use
"favourite".

"operationId": "toggle_favourite_images_toggle_favourite_post",
"requestBody": {
"content": {
Expand Down
36 changes: 10 additions & 26 deletions frontend/package-lock.json

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

56 changes: 50 additions & 6 deletions frontend/src-tauri/Cargo.lock

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

3 changes: 2 additions & 1 deletion frontend/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ edition = "2021"
tauri-build = { version = "2.0.6", features = [] }

[dependencies]
tauri = { version = "2.9.1", features = ["protocol-asset", "devtools"] }
tauri = { version = "2.9.1", features = ["protocol-asset", "devtools", "tray-icon"] }
reqwest = { version = "0.12", features = ["blocking"] }
walkdir = "2.3"
sysinfo = "0.37.2"
Expand All @@ -37,6 +37,7 @@ tauri-plugin-process = "2.3.1"
tauri-plugin-store = "2.4.1"
tauri-plugin-updater = "2.9.0"
tauri-plugin-opener = "2.5.2"
tauri-plugin-autostart = "2"

[features]
# This feature is used for production builds or when a dev server is not specified, DO NOT REMOVE!!
Expand Down
Loading
Loading