Merged
Conversation
- Implemented a new function `getCollection` to fetch collection details from the API. - Improved error handling for both `getMovie` and `getCollection` functions, providing detailed error messages. - Ensured consistent handling of response data with type casting to `Movie` and `CollectionDetails`.
- Implementiert `addCollection` zum Hinzufügen von Sammlungen zur Datenbank. - Implementiert `getCollection` zum Abrufen einer Sammlung anhand der ID. - Fehlerbehandlung durch `catch` bei allen Datenbankoperationen für Sammlungen.
- Updated the `collections` schema to use `parts` instead of `part`, storing an array of `Movie` objects. - Changed the `overview` field to allow `null` values. - Added `Movie` type from `$lib/types/collection` to the schema for better type safety. - Updated migration files to reflect changes in the collections table structure.
- Implemented logic to check if a movie belongs to a collection and adds the collection to the database. - Added `getCollection` function to retrieve collection details based on `belongs_to_collection` ID from the movie data. - Error handling for collection addition to ensure smooth functionality. - Included collection addition to the movie addition flow for better organization and user experience.
- Added a page to display a collection and its movies by fetching data using `getCollection`. - Included dynamic background and poster images for the collection and individual movies. - Displayed a list of movies within a collection with their release dates and overview. - Implemented error handling for invalid or missing collection data. - Added a back navigation button to return to the previous page or homepage.
chore(deps): update dependency globals to ^15.13.0
chore(deps): update dependency eslint to ^9.16.0
fix(deps): update rust crate tauri-plugin-log to 2.0.3
fix(deps): update rust crate tauri-plugin-http to 2.0.4
fix(deps): update dependency @tauri-apps/plugin-log to ^2.0.1
fix(deps): update rust crate tauri-plugin-dialog to 2.0.4
chore(deps): update dependency prettier to ^3.4.2
chore(deps): update dependency eslint-plugin-svelte to ^2.46.1
Contributor
|
🎉 This PR is included in version 0.12.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.