phanpy icon indicating copy to clipboard operation
phanpy copied to clipboard

‌‌Provide support for the Mastodon filter v1 API for gotosocial

Open KyoSakuyo opened this issue 1 year ago • 2 comments

Describe the bug In the instance of Gotosocial, the Mastodon filter v1 API is used to achieve filtering functionality.https://github.com/superseriousbusiness/gotosocial/pull/2594

Opening the filter page of Phanpy will only display "Unable to load filters." The action of creating a filter is also not supported.

I thought this was an issue with masto.js and submitted an issue to them. Here is their reply: https://github.com/neet/masto.js/issues/1059

To Reproduce Steps to reproduce the behavior:

  1. Open filter page
  2. See error
  3. Try to edit filters
  4. See error

Expected behavior Being able to display and edit filters normally

Screenshots If applicable, add screenshots to help explain your problem. image

image

Desktop (please complete the following information):

  • Windows
  • Edge
  • Latest

Additional context Nope

KyoSakuyo avatar Mar 27 '24 06:03 KyoSakuyo

To add context that might help prioritize this: GoToSocial is still in alpha, and has implemented the v1 filter API only because it's an easier starting point, and plans to implement the v2 filter API in a followup according to this comment.

graue avatar Mar 31 '24 22:03 graue

@cheeaun This isn't needed for GoToSocial as of v16.0 which includes an implementation of the v2 Filters API. Phanpy filters work great on gts instances now.

https://github.com/superseriousbusiness/gotosocial/releases/tag/v0.16.0

zyd-n avatar Sep 12 '24 22:09 zyd-n