this post was submitted on 13 Aug 2023
73 points (100.0% liked)

Connect for Lemmy App

69 readers
1 users here now

A community for the mobile app Connect for Lemmy.

Links

founded 1 year ago
MODERATORS
 

Hi, I wanted to get more into theme and customization improvements but a lot of great feature requests came up and I ended up just implementing those instead. I might need a better system to compile release notes soon as in the past week there have been 11 beta releases and it's a bit tedious to go through each to compile the final release notes. Probably the biggest change in this release is the way back navigation works, hopefully it's now in a state that is more intuitive instead of back activating the drawer menu.

Thank you to everyone that has taken the time to provide feedback and suggestions, even if I haven't had the time to respond I've read them all. It's really appreciated!

Also Connect turns 2 months old on Tuesday. Kind of crazy how quickly that went and how much the app has changed in that short amount of time. Thank you again to everyone that has stuck with me these past 2 months, Connect is as much your app as it is mine.

Changes

  • Changed back button behaviour and a swipe gesture to show the menu.
  • NSFW blur is now a real blur
  • [Post card] Changed the comment icon to go to comments and added an optional 'reply' icon which preserves the older behaviour
  • Added Search bar to settings since they are now a lot of settings
  • Changing sort order in list views no longer changes your sort order setting
  • Long pressing a setting will now copy its name
  • Marking posts read on scroll should now be more reliable for long posts
  • Added 'Undo Hide post' action when hiding a post
  • Added some padding to user avatars
  • Added setting to autohide comment replies
  • Increased the hitbox for the comment button to include the number
  • Added undo for the 'Hide Above' action
  • Removed a small fade in for images so they now load immediately
  • Added 'Subscribe' to the post action menu
  • Added setting for sticky bottom bars or hiding on scroll
  • Fixed an issue with the 'Saved' page now combining posts and comments correctly
  • Added experimental option to remember scroll position in comment lists
  • Added setting to hide markdown images
  • Added "copy article url" to post action menu
  • Added volume controls to video and saving so changes persist to future videos
  • Added icon to flag bot accounts (robot)
  • Improved 'Experimental post swipe navigation' to include a swipe to previous and if swipe gestures are turned off the entire page is a swipe target
  • High refresh rate defaults to on
  • Improved the 'Block' page, list of communities to block now shows all results instead of 1 page of results
  • Fixed issue within the inbox where comments could sometimes be duplicated
  • Fixed table markdown when combined with images
  • Fixed an issue with .website instance names not loading correctly

More theme customization is coming!

Links:

-kuroneko

top 29 comments
sorted by: hot top controversial new old
[–] ijeff@lemdro.id 4 points 1 year ago (1 children)

Nice! AFAIK Connect is the only app with support for community lists for other instances. Do you have anything published on how you accomplished this? It'd be great if it could be built into the Lemmy-UI and Photon web clients (https://p.lemdro.id).

[–] kuro_neko@lemmy.ca 10 points 1 year ago* (last edited 1 year ago) (1 children)

I don't but it's nothing complex. When you view the 'About Instance' page I call the ListCommunities API for that instance and get the top 50 communities then display it in a list. Here's the dart code that Connect uses:

  void _communityBrowse() async {
    // dont call this multiple times while waiting for a response
    if (isLoading) {
      return;
    }
    setState(() {
      isLoading = true; // turn on loading spinner
    });

    // Connect to the API of whichever instance is being viewed
    var lemmy = LemmyApiV3(widget.id);

    // 50 top communities from the relevant instance
    try {
      List communitiesTemp = await retry(
          2,
          () => lemmy.run(ListCommunities(
              type: PostListingType.local,
              sort: SortType.topAll,
              page: communitiesPage,
              limit: 50)));

      communities = communities + communitiesTemp;
    } on Exception catch (ex) {
      UtilError.errorMessage(this, ex);
    }

    setState(() {
      isLoading = false; // turn off loading spinner
    });

    // increment page for future invocations
    communitiesPage = communitiesPage + 1;
  }
[–] ijeff@lemdro.id 1 points 1 year ago* (last edited 1 year ago) (1 children)

Thank you! @Xylight@lemmy.xylight.dev - not sure if this is something you can implement for Photon. Connect provides a very useful list of communities on an instance, making it easy to browse through and subscribe from.

[–] Xylight@lemmy.xylight.dev 1 points 1 year ago (1 children)

Is that not just the explore page? (Globe icon)

[–] ijeff@lemdro.id 2 points 1 year ago* (last edited 1 year ago)

Similar but it shows the list for other instances, not just your home instance.

For example, if you're visiting a lemdro.id community from your lemmy.xylight.dev account you could click to see a list of communities on lemdro.id.

[–] Lem453@lemmy.ca 3 points 1 year ago

Great update! any chance we can get a way to see all hidden posts?

[–] siipale@sopuli.xyz 2 points 1 year ago (1 children)

Hi Kuro! Thanks for developing this great app. It has been very useful for former RiF user like me.

I would like to hear your opinion on the thing that has been requested for several times: function of long pressing a comment. In my opinion there should be either an option to disable long press entirely or an option to select which function it has. For example some people have requested a text selection functionality.

In addition to my initial post about this feature request I have seen two other people make posts about it, e.g. this and I've seen some mentions of it on other threads too so it seems I'm not the only one who needs this.

So please respond to this, Kuro. Have a nice day! :)

[–] kuro_neko@lemmy.ca 1 points 1 year ago

Hi, thanks for the feedback and I'll see what I can do. Any actions you'd like to see beyond 'hide' and 'copy text'?

[–] ComradeBunnie@aussie.zone 2 points 1 year ago

Great work, thank you!

I have noticed that the new "undo" hide post is flakey - either it doesn't show, or more often, it won't go away even when jumping from Frontpage into a post's comment section.

"Refreshed" is also lingering around.

Otherwise, excellent job, keep it up!

[–] El_Dorado 2 points 1 year ago (1 children)

Thanks for the hard work. I really appreciated the implementation of autoplaying gifs.

Just wanted to give some feedback. I realized the other day that connect used very large amounts of data when playing gifs. Would it be possible to have a quality adjustment setting that could be switched on on mobile.

Many thanks and best regards

[–] kuro_neko@lemmy.ca 2 points 1 year ago (1 children)

Are these gifs through Imgur or another site? I can look into if there is an alternative format available like webm which uses less bandwidth.

[–] El_Dorado 1 points 1 year ago* (last edited 1 year ago) (1 children)

Redgifs.com actually. Thanks for your time 👍

[–] kuro_neko@lemmy.ca 2 points 1 year ago (1 children)

Ok I'll take a look, thanks!

[–] El_Dorado 1 points 1 year ago

If it helps I checked again. Looking at a handful of gifs over maximum 2 minutes, consumed more than 200mb of data

[–] harl3k1n@feddit.de 2 points 1 year ago

Thanks for the great work, again!

[–] NightOwl@lemmy.one 2 points 1 year ago

Awesome updates and so happy to see copy article url.

[–] HolyFriedFish@lemm.ee 1 points 1 year ago

I love Connect more with every update!

I'm not sure this is the place to put a question/request but I actually quite liked NSFW images being a single block of color. The blur is perfectly fine, but it would be nice to have an option for a color block over NSFW images. Part of the reason I switched to Connect from Jerboa is that Jerboa's blur was so bad, I could see explicit things through it. Connect's is much better, so it's not necessary to get a color block option.

Anyway there's my two cents. Thank you for all the work you've done on this app - it really is incredible to me how much has been done, and how well it works.

[–] morphballganon@lemmynsfw.com 1 points 1 year ago

Thank you for the updates.

It seems deleting a comment immediately redirects me to all/frontpage instead of staying in the thread. Is that deliberate?

[–] Blaze@discuss.tchncs.de 1 points 1 year ago
[–] OverfedRaccoon@lemm.ee 1 points 1 year ago* (last edited 1 year ago) (1 children)

Very minor thing, but I have Frontpage as my default, but when I switch accounts or load the app, it defaults to All. I set Frontpage to default again, but still loads to All for each account. Seems to be with the new update, as it hasn't been an issue otherwise.

[–] kuro_neko@lemmy.ca 2 points 1 year ago (1 children)

Thanks for the feedback, I'll take a look!

[–] OverfedRaccoon@lemm.ee 1 points 1 year ago

I switched default to All (just to switch it off of Frontpage), then back to Frontpage. That didn't seem to change it at the time. But then I closed and reloaded, and it looks like it might have fixed it this time? It seems to default to Frontpage again. 🫠

[–] Pleonasm@programming.dev 1 points 1 year ago
  • Increased the hitbox for the comment button to include the number

Thank you, it's so much better!

[–] RxBrad@lemmings.world 1 points 1 year ago* (last edited 1 year ago) (1 children)

Struggling to find much that needs fixing anymore.

Maybe look into the somewhat overzealous padding around images in comments?

Example: (there's only a single line feed between the text and the gif)

https://lemmings.world/comment/1211452

EDIT: From this post (is there a way to link to comments and have them open in-app?) - https://lemmy.ml/post/3337579

[–] kuro_neko@lemmy.ca 2 points 1 year ago (1 children)

Thanks will take a look! Currently no but I should probably implement that too.

[–] RxBrad@lemmings.world 2 points 1 year ago* (last edited 1 year ago)

EDIT: Already fixed.. That was quick! (Well, mostly... Small images now display correctly, but large images that used to display correctly get shrunk.)

Not sure if this is just a small image thing (test image)...

...or a gif thing...

(maybe the padding is to make room to enlarge the image to fill the width, but it didn't expand?)

Because some images fill in the space just fine. Like this big one.

[–] RxBrad@lemmings.world 1 points 1 year ago* (last edited 1 year ago)

EDIT: Fixed in beta 135!

Small inline images load great now in Beta 133.

Big ones that used to fill the full width of the screen get shrunk, though.. here are some sample posts & comments for testing... (also, comment links work now! dang, that was quick!)

https://lemm.ee/post/4292979

https://lemmings.world/comment/1169206

https://lemmings.world/comment/1150217

[–] RxBrad@lemmings.world 1 points 1 year ago

I'm back on my inline picture BS for posts & comments.. 😀

Any chance we can get an option for inline pics to not have a max-height like they currently seem to have? Then bigger pics that are tall or square wouldn't get shrunk. (I say an option, because super-tall inline pics might annoy some people)

Here's a tall pic for reference...

[–] Humblyorganised88@aussie.zone 1 points 1 year ago

Just wanted to say thank you so much for all the work you've been doing, from one developer to another that's an impressive amount of changes for a release!