Feat/watchlist sorting#1584
Conversation
Summary of ChangesHello @seferturan, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request delivers a significant enhancement by enabling sorting capabilities for watchlist items, directly addressing issue #1479. The changes encompass an update to the Trakt API client, a comprehensive refactoring of watchlist data fetching parameters to support explicit sorting criteria, and the integration of new UI components to allow users to interact with these sorting options. The update also includes improvements to URL generation for various list types, ensuring consistent navigation and state management. A temporary fix for a reversed sort direction from the backend is in place, marked for future resolution. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
ade47f7 to
ec8d965
Compare
|
Here's the code health analysis summary for commits Analysis Summary
Code Coverage Report
|
There was a problem hiding this comment.
Code Review
This pull request introduces sorting functionality for watchlist items, addressing issue #1479. It involves significant refactoring of URL generation and sorting logic across several Svelte components and utility functions. The changes are generally well-structured and adhere to the repository's naming conventions and TypeScript standards. A FIXME comment highlights a known issue with the backend regarding sort direction, which is temporarily handled in the frontend. All original comments have been retained as they do not contradict any provided rules.
ec8d965 to
7efd2a1
Compare
|
@seferturan You might already be aware of that, but that inverse direction problem happens on all lists if I'm not mistaken |
|
@CanePlayz, that was indeed an issue, but in v3 the list items should be sorted in the correct direction. |
|
Drafting this for now until backend sorting is changed. |
Pull request was converted to draft
I see what my issue is. When opening a list in v3, the defined sorting direction is just not reflected properly.
|
7efd2a1 to
5a9d104
Compare
|
@CanePlayz, that's due to v2 inverting the sort setting 😅 In the list settings it seems to be set to |
@seferturan Sorry for having to ask again, I'm just a bit lost on this issue.
It seems to be set to And v2 sorts ascending. v3 doesn't. Edit: Ohh, was that related to the API issue and will be fixed soon? |



🎶 Notes 🎶
👀 Example 👀
Screen.Recording.2026-01-23.at.12.57.50.mov