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

Have plaintext URLs for federated communities and users. #317

Closed
StaticallyTypedRice opened this issue Dec 26, 2020 · 2 comments
Closed

Comments

@StaticallyTypedRice
Copy link

When a user or community is local, its URL is /u/user_name and /c/community_name, respectively, but for a non-local user or comminity, it's /user/12345 or /community/12345, where the number is the user or community ID. I think it would be better if federated user and community URLs could be expressed as something like /u/user_name@lemmy.example.com and /c/community_name@lemmy.example.com to make them human readable and editable. I think the @ character is a good fit because it's already used in the web client for representing federated users and communities, and it isn't converted to URL encoded form in my testing in Firefox and Chromium, so a URL containing it won't have to be encoded as %something to work.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@Nutomic Nutomic transferred this issue from LemmyNet/lemmy Dec 26, 2020
@Nutomic Nutomic transferred this issue from LemmyNet/lemmy-ui Apr 22, 2021
@dessalines
Copy link
Member

This is doable, and will require both some front end and back end work. But I do like it better than the current one.

@Nutomic
Copy link
Member

Nutomic commented Jul 15, 2021

I searched the code for occurences of /c/ and /u/. Besides some tests/comments, the only ones are in activitypub and rss feed code, which only handle local users and dont need to be changed. So it was my mistake to move this issue to the backend repo, only lemmy-ui needs to be changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants