Skip to content

Conversation

@TimilsinaBimal
Copy link
Owner

No description provided.

@vercel
Copy link

vercel bot commented Dec 6, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
watchly Ready Ready Preview Comment Dec 6, 2025 11:11am

@gemini-code-assist
Copy link

Summary of Changes

Hello @TimilsinaBimal, 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 overhaul to the Watchly application, transforming its user experience with a new multi-step setup wizard. This change introduces a dedicated account management system for Watchly users, allowing them to create and log into their Watchly accounts to manage personalized settings. On the backend, the architecture has been updated to store user-specific configurations directly within the generated token, simplifying manifest URLs and enhancing security. The frontend now provides a guided, intuitive flow for both new and returning users to connect their Stremio accounts and customize their Watchly experience.

Highlights

  • Multi-Step Setup Wizard: The user interface has been completely reworked into an intuitive multi-step setup wizard, guiding users through Stremio login, configuration, catalog management, and installation.
  • Watchly Account Management: Introduced a new account management system for 'Watchly' users, allowing them to create accounts with a username and password, and log in to update their settings. This decouples user settings from Stremio credentials.
  • Simplified Manifest URL: User settings are now stored directly within the generated token, eliminating the need to embed settings parameters in the manifest URL, resulting in cleaner and more secure URLs.
  • New API Endpoints: Added a /tokens/verify endpoint to check for existing Watchly accounts and updated the /tokens/ (POST and DELETE) endpoints to handle the new Watchly credentials and store user settings.
  • Enhanced Frontend Logic: The frontend JavaScript has been extensively refactored to manage the wizard's state, navigation between steps, handle new user/existing user flows, and dynamically populate/update configuration options.
Using Gemini Code Assist

The 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 /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

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 .gemini/ folder in the base of the repository. Detailed instructions can be found here.

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

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a major rework of the UI into a multi-step setup wizard, backed by a new account management system using 'Watchly' credentials. This allows settings to be stored on the server rather than in the URL, which is a significant improvement. The backend changes are extensive to support this new flow, including new endpoints and updated token derivation logic. My review identifies a critical security vulnerability related to account creation, a medium-severity issue with error handling, and a minor UI bug. Overall, this is a great enhancement, but the critical issue should be addressed before merging.

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@TimilsinaBimal TimilsinaBimal merged commit d51287e into dev Dec 6, 2025
4 checks passed
@TimilsinaBimal TimilsinaBimal deleted the feat/genre-filter branch December 6, 2025 11:24
TimilsinaBimal added a commit that referenced this pull request Dec 12, 2025
* feat: add option to rename, disable, reorder catalogs

* feat: new recommendation system based on weights

* feat: dynamic row generator

* feat: add dynamic row generator with country flag

* feat: add watched.loved row

* feat: new ui with stremio auth button

* feat: add languages selection button in ui for tmdb meta

* feat: add option to enable rpdb api key for posters

* feat: ui improvements

* chore: add vercel app env

* chore: improve recommendation weights and refactor

* chore: remove unnecessary country flags

* add workflows to bump version

* chore: bump version to 1.0.0-rc.1

* chore: bump version to 1.0.0-rc.2

* chore: use redis token from config

* fix: priotrize keywords for row generation than genre

* chore: bump version to v1.0.0-rc.3

* feat: add option to delete account

* refactor: update token deletion API to use DELETE / and implement deep cloning for catalog data in the frontend, removing conditional name handling.

* opt: improve recommendations using larger candidate pool and better similarity methods

* feat: Add genre exclusion UI, store excluded genres in user settings,and apply them during catalog generation (#21)

* feat: Add genre exclusion UI, store excluded genres in user settings, and apply them during catalog generation.

* refactor: simplify filtering recommendations by excluded genres using list comprehension

* refactor: streamline genre exclusion logic for similarity recommendations

* feat: Rework UI into a multi-step setup wizard with account management and section navigation (#22)

* feat: Rework UI into a multi-step setup wizard with Watchly account management and section navigation
* critical: check if user already exists

* refactor: remove disabled class from source code button

* feat: add translation service to translate catalog names to user language (#23)

* feat: add option to rename, enable disable catalogs (#24)

* feat: Implement user ID-based token management and Stremio user info fetching, replacing credential-derived tokens and direct login. (#25)

* refactor: code refactoring and remove legacy code and components (#26)

* feat: add option to rename, enable disable catalogs

* feat: add option to rename, enable disable catalogs

* feat: Implement user ID-based token management and Stremio user info fetching, replacing credential-derived tokens and direct login.

* feat: Implement user ID-based token management and Stremio user info fetching, replacing credential-derived tokens and direct login.

* feat: Refactor token management to use a dedicated token model, remove token salt, and streamline catalog refresh logic.

* feat: Encrypt auth keys in token store and enforce 401 for invalid tokens across endpoints.

* feat: Introduce token redaction utility and apply it to log messages for enhanced security.

* feat: Introduce token redaction utility and apply it to log messages for enhanced security.

* fernet client management

* feat: add migration script to migrate old tokens to new system

* feat: check and only update tokens that are installed from the same system

* opt: give more weight to items watched recently

* docs: add contributing guidelines and acknowledgements

* opt: optimize translation service

* chore: bump version to v1.0.0-rc.6

* feat: add gemini service to generate catalog names (#29)

* Refactor services for improved async handling and error resilience (#30)

* refactor: fetch loved and liked items at once and use that

* Refactor services for improved async handling and error resilience

* chore: bump version to v1.0.0

* feat: better bare row name generation (#32)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants