From: Azriel Lector Date: Wed, 29 Jul 2020 03:16:27 +0000 (+0800) Subject: Remove `/u/` and `/c/` schemes from UI X-Git-Url: http://these/git/%24%7BgetStaticDir%28%29%7D/styles/static/%7BpictshareAvatarThumbnail%28?a=commitdiff_plain;h=75fe38ab08b99740252d76b4aa98a3e3b941c7d0;p=lemmy.git Remove `/u/` and `/c/` schemes from UI --- diff --git a/.gitignore b/.gitignore index 236a729e..6ae0ae19 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,5 @@ ui/src/translations # ide config .idea/ + +target diff --git a/ui/src/components/community.tsx b/ui/src/components/community.tsx index e1e747ae..b29a3b4a 100644 --- a/ui/src/components/community.tsx +++ b/ui/src/components/community.tsx @@ -177,7 +177,7 @@ export class Community extends Component { get documentTitle(): string { if (this.state.community.name) { - return `/c/${this.state.community.name} - ${this.state.site.name}`; + return `!${this.state.community.name} - ${this.state.site.name}`; } else { return 'Lemmy'; } diff --git a/ui/src/components/inbox.tsx b/ui/src/components/inbox.tsx index 5fe8a650..927fee24 100644 --- a/ui/src/components/inbox.tsx +++ b/ui/src/components/inbox.tsx @@ -112,7 +112,7 @@ export class Inbox extends Component { get documentTitle(): string { if (this.state.site.name) { - return `/u/${UserService.Instance.user.name} ${i18n.t('inbox')} - ${ + return `@${UserService.Instance.user.name} ${i18n.t('inbox')} - ${ this.state.site.name }`; } else { @@ -206,7 +206,7 @@ export class Inbox extends Component { return (