Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Allow selecting of a "home" instance and show appropriate URLs to other communities #31

Closed
neoKushan opened this issue Jun 14, 2023 · 3 comments
Labels

Comments

@neoKushan
Copy link

One of the biggest issues with Lemmy right now is that it's not easy to browse communities from other instances and subscribe to them in one-click. More often than not you can only browse an instance's communities directly from that instance, in which case you have to copy the [email protected] identifier and search for it on your home instance. It's quite a chore.

This site is wonderful for searching and browsing other instances and communities, but it suffers the same problem - you have to do the copy->paste->search dance to join the communities displayed.

Ideally, you should be able to pick whatever your home instance is (Or even just type in the base URL) and all of the various urls will be displayed as the https://my.home.instance/c/[email protected] format instead of just the [email protected] format.

It'd be a simple change but make finding and joining new communities 2 clicks instead of several.

@tgxn tgxn added the frontend label Jun 14, 2023
@jason-watkins
Copy link

Closely related to this feature would be the ability to search for communities on your own instance easily, since communities that no one has subscribed to on your community yet will give an error message even if the link is correct.

@L3v3L
Copy link

L3v3L commented Jun 15, 2023

I created this bookmarklet, maybe you can extract some code to use in this feature:

javascript: (function () {
    let instance = 'https://lemmy.pt';
    let urlencoded = encodeURIComponent(window.location.href);
    window.location.href = `${instance}/search/q/${urlencoded}/type/All/sort/TopAll/listing_type/All/community_id/0/creator_id/0/page/1`; 
})();

(note: the final url is to the search page instead of the direct community on the instance because it might not be synced up yet, searching triggers the initial sync up)

@tgxn
Copy link
Owner

tgxn commented Jun 17, 2023

Or even just type in the base URL

this was done in #41

@tgxn tgxn closed this as completed Jun 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants