GeopJr / Tuba

Browse the Fediverse
https://tuba.geopjr.dev/
GNU General Public License v3.0
519 stars 57 forks source link

"search / hashtags / follow" doesn't seem to work #227

Closed chri2 closed 1 year ago

chri2 commented 1 year ago

os: GNOME 44 (Flatpak runtime) prefix: /app flatpak: true version: 0.2.0 (production) gtk: 4.10.3 (4.10.1) libadwaita: 1.3.2 (1.3.1) libsoup: 3.4.1 (3.4.0) libgtksourceview: 5.8.0 (5.8.0)

This doesn't seem to change anything and re-doing the above starting from the home screen will show the follow button again even though I followed the #librem5 hashtag before.

Would be a nice feature to have if there'd be e.g. in the side bar a list of followed hashtags or something like that.

GeopJr commented 1 year ago

Thanks for raising this issue!

In the future, please follow the issue templates to avoid follow up questions.

I'm having trouble reproducing it as is.

Would be a nice feature to have if there'd be e.g. in the side bar a list of followed hashtags or something like that.

It's has been added to the main branch since #116 and will be available in the next release!

chri2 commented 1 year ago

Thanks for the timely response!

I just didn't know whether this would be a bug or a feature request - will use the template that fits best next time!

First: I just tried it on fosstodon.org an it seems to work. I followed a search and nothing happens, but when I did the same again there's still been the unfollow button as I'd expect. So it seems that my following had been saved somewhere (as I just learned probably on the server). If this is what I should expect, that everything seems to work.

The instance I initially tested on is social.librem.one . As far as I know they use a somewhat altered Mastodon version that does not include local or federated timeline. The server is using Mastodon v3.1.1 and therefore seems to be somewhat outdated. Maybe it doesn't have that feature not implemented, yet.

Is that 4 days after the 0.2.0 release which the actual flatpak is based on and that is the reason I do not see anything in my sidebar change?

Logfile - this is when starting the search:

Tuba-Message: 08:49:49.126: Network.vala:34: GET: https://social.librem.one/api/v2/search?resolve=true&q=librem5
Tuba-Message: 08:49:49.836: Network.vala:34: GET: https://social.librem.one/system/accounts/avatars/000/238/093/original/4aa4d4d9453be65b.png?1617205275
Tuba-Message: 08:49:50.243: AbstractCache.vala:83: Inserting: https://social.librem.one/system/accounts/avatars/000/238/093/original/4aa4d4d9453be65b.png?1617205275

(dev.geopjr.Tuba:2): GLib-GObject-CRITICAL **: 08:49:52.608: ../gobject/gsignal.c:3669: signal name 'open' is invalid for instance '0x559406411bb0' of type 'AdwActionRow'
Tuba-Message: 08:49:52.755: Network.vala:34: GET: https://social.librem.one/api/v1/timelines/tag/librem5?limit=20
Tuba-Message: 08:49:53.406: AbstractCache.vala:83: Inserting: https://mastodon.social/users/carlosgonz/statuses/110300189428120494
Tuba-Message: 08:49:53.417: Network.vala:34: GET: https://social.librem.one/system/accounts/avatars/000/010/221/original/99c56e52754533c0.png?1582066982
Tuba-Message: 08:49:53.423: AbstractCache.vala:83: Inserting: https://social.librem.one/users/agx/statuses/110299998553543353

…and this is when clicking on follow:

Tuba-Message: 08:51:59.955: Network.vala:34: POST: https://social.librem.one/api/v1/tags/librem5/follow

(dev.geopjr.Tuba:2): Tuba-CRITICAL **: 08:52:00.871: Network.vala:51: Request "https://social.librem.one/api/v1/tags/librem5/follow" failed: 404 Not Found
GeopJr commented 1 year ago

The instance I initially tested on is social.librem.one . As far as I know they use a somewhat altered Mastodon version that does not include local or federated timeline. The server is using Mastodon v3.1.1 and therefore seems to be somewhat outdated. Maybe it doesn't have that feature not implemented, yet.

Yep... Purism's fork (Smilodon) hasn't been updated in... 3 years https://source.puri.sm/liberty/host/smilodon

Is that 4 days after the 0.2.0 release which the actual flatpak is based on and that is the reason I do not see anything in my sidebar change?

Sorry, could you elaborate I'm having a bit of trouble understanding. Is that a bug? or do you mean that there's no "Hashtags" sidebar entry? If the latter, it will be available on 0.3.0!

chri2 commented 1 year ago

Sorry, could you elaborate I'm having a bit of trouble understanding. Is that a bug? or do you mean that there's no "Hashtags" sidebar entry? If the latter, it will be available on 0.3.0!

I looked at the history of the repository and found that the changes to the sidebar to show subscribed hashtags are submited 4 days after the release of 0.2.0 :smiling_face_with_tear: .

So I guess this can be closed or relocated to Purism to update their Mastodon software...