Skip to content

Conversation

@runegan
Copy link

@runegan runegan commented Apr 1, 2025

The "Show in Kitsu" action was disabled. Updated code to work with latest server, and changed logic for getting URL to work with more Kitsu entity types (Edit, Sequence, shot etc.)

Changelog Description

Restore "Show in Kitsu" launcher action for tasks, folders, and projects

Additional review information

This uses Gazu to get task url, instead of creating this ourselves. Also using Gazu to get the type of the folder, when folders are selected. The type returned is always singular, while the URL we need is plural, eg. it returns "asset" while the URL should be "assets", so we need to add an "s" there. A bit weird, but it works.

When selecting a Project, or when something something goes wrong, we open the "Shots" page, as Kitsu does not have a home page for projects. Preferably this would respect the "Homepage" setting in Kitsu, or a similar one in Ayon settings, but was out of scope for now.

Testing notes:

  1. Open launcher.
  2. Select one of: project, folder, subfolder, task
  3. Press "Show in Kitsu"

The "Show in Kitsu" action was disabled. Updated code to work with latest server, and changed logic for getting URL to work with more Kitsu entity types (Edit, Sequence, shot etc.)
@MustafaJafar MustafaJafar added the community Issues and PRs coming from the community members label Apr 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community Issues and PRs coming from the community members

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants