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
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).
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;
}
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.