this post was submitted on 17 Jun 2023
103 points (100.0% liked)

Jerboa

10135 readers
70 users here now

Jerboa is a native-android client for Lemmy, built using the native android framework, Jetpack Compose.

Warning: You can submit issues, but between Lemmy and lemmy-ui, I probably won't have too much time to work on them. Learn jetpack compose like I did if you want to help make this app better.

Built With

Features

Installation / Releases

Support / Donate

Jerboa is made by Lemmy's developers, and is free, open-source software, meaning no advertising, monetizing, or venture capital, ever. Your donations directly support full-time development of the project.

Crypto

Contact

founded 2 years ago
MODERATORS
 

Title. Basically the first press seems to do nothing but the second press actually subscribes. Why is this?

top 17 comments
sorted by: hot top controversial new old
[–] [email protected] 26 points 1 year ago

So.. I'm not crazy! I'm not the only one!

[–] [email protected] 19 points 1 year ago

sometimes it also happen on the website (at least for me) so I don't think it's some jerboa bug, also note that this app is not even in beta at the moment, just give it some time.

[–] Guy_Fieris_Hair 14 points 1 year ago (2 children)

I have found that for me it is only lemmy.ml communities. When I was on lemmy.ml it always happened. I moved to lemmy.world and now it is only lemmy.ml communities that do it. Desktop or mobile. It's an instance problem, not a jerboa problem from what I can tell.

[–] cats 6 points 1 year ago (1 children)

This happens to me on lemmy.world as well, not using the app, curious that your move fixed it though. I think it might be a general lemmy issue rather than instance specific

[–] Liam_Galt 3 points 1 year ago

Yeah this is why I'm asking because I've noticed it happens across multiple different instances. If it's a known issue then eh whatever I hope they fix it but it's still quite annoying.

[–] [email protected] 4 points 1 year ago

I get it EVERYWHERE. Beehaw Lemme. World Lemme. Ml

It's a jerboa bug. Is it reported yet?

[–] [email protected] 10 points 1 year ago

Pretty sure this is an issue with Lemmy in general and not Jerboa. This happens on desktop, but weirdly not with all instances.

[–] [email protected] 9 points 1 year ago (1 children)

I could be wrong but I think the first click works, there's just no loading indicator, so then you click a second time because it's unclear if anything is happening, and then shortly afterwards the successful response from the first click comes back and it just looks like the second click did something.

[–] [email protected] 0 points 1 year ago (1 children)

These seems so simple but could be a manageable fix if it is that straightforward

[–] [email protected] 2 points 1 year ago

The simplest standard fix is to just immediately start a loading spinner that disables the button until the first request comes back or times out, then at least the user knows that something is happening. Some sites use optimistic updating though where they just assume the request will be successful, benefit being that the change happens as soon as the user clicks the button but the downside is that it may change later if the request happens to error out for some reason.

[–] Sir_Kevin 5 points 1 year ago (1 children)

I have some that say Pending indefinetly but I seem to be subscribed.

[–] boo 2 points 1 year ago

I have some that are also indefinitely pending. In my case, they seem to be on servers that aren't federated with the server my account is on. All communities on Beehaw.org are doing this. I am still able to post on them, but I'm not sure if they are showing on my front age or not.

[–] [email protected] 5 points 1 year ago
[–] [email protected] 4 points 1 year ago

I think it does send the request the first time you click, but it takes a while to get a response from another server. Try it with some communities that are local to your server and you'll notice it's not so much an issue. I'm not a Dev and not am authority on the topic, but I think it puts your request into a queue, this helps make sure that your request makes it to the requested server in the case that one of those servers is temporarily down for maintenance or updates.

What I think needs to happen is just to provide a visual response to indicate that your request is sent and awaiting a response, which doesn't usually happen until you click it a second time.

[–] [email protected] 2 points 1 year ago (1 children)

I assumed it was an intentional function on mobile. Kind of like "Are you sure?" without the pop-up. I've had to press twice for every feed I subscribed to so far, regardless of where it's hosted.

[–] bappity 1 points 1 year ago

any communities on my home instance allow pressing subscribe immediately, but any out of it have the double press issue

[–] boo 1 points 1 year ago

This is happening on the website for me, too, so it doesn't seem to be an issue with jerboa specifically.