From 187b9b533602ccca144e3ffdb024fbaded603718 Mon Sep 17 00:00:00 2001 From: Rudy Fraser Date: Thu, 25 Jun 2026 10:16:55 -0400 Subject: [PATCH] fix(merge): restore /support left-nav item and go.blacksky.community link shortener --- src/analytics/metrics/types.ts | 1 + src/lib/strings/url-helpers.ts | 4 ++-- src/view/shell/desktop/LeftNav.tsx | 14 ++++++++++++++ 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/analytics/metrics/types.ts b/src/analytics/metrics/types.ts index cbde0a5a5..4d1b68be5 100644 --- a/src/analytics/metrics/types.ts +++ b/src/analytics/metrics/types.ts @@ -133,6 +133,7 @@ export type Events = { | 'lists' | 'saved' | 'settings' + | 'support' | 'menu' surface: 'bottomBar' | 'drawer' | 'drawerHeader' | 'topBar' | 'leftNav' } diff --git a/src/lib/strings/url-helpers.ts b/src/lib/strings/url-helpers.ts index 943f12e65..c589c0129 100644 --- a/src/lib/strings/url-helpers.ts +++ b/src/lib/strings/url-helpers.ts @@ -361,11 +361,11 @@ export function createProxiedUrl(url: string): string { return url } - return `https://go.bsky.app/redirect?u=${encodeURIComponent(url)}` + return `https://go.blacksky.community/redirect?u=${encodeURIComponent(url)}` } export function isShortLink(url: string): boolean { - return url.startsWith('https://go.bsky.app/') + return url.startsWith('https://go.blacksky.community/') } export function shortLinkToHref(url: string): string { diff --git a/src/view/shell/desktop/LeftNav.tsx b/src/view/shell/desktop/LeftNav.tsx index 967f9a303..9982cb61f 100644 --- a/src/view/shell/desktop/LeftNav.tsx +++ b/src/view/shell/desktop/LeftNav.tsx @@ -57,6 +57,10 @@ import { Hashtag_Filled_Corner0_Rounded as HashtagFilledIcon, Hashtag_Stroke2_Corner0_Rounded as HashtagIcon, } from '#/components/icons/Hashtag' +import { + Heart2_Filled_Stroke2_Corner0_Rounded as HeartFilledIcon, + Heart2_Stroke2_Corner0_Rounded as HeartIcon, +} from '#/components/icons/Heart2' import { HomeOpen_Filled_Corner0_Rounded as HomeFilledIcon, HomeOpen_Stoke2_Corner0_Rounded as HomeIcon, @@ -756,6 +760,16 @@ export function DesktopLeftNav({routeName}: {routeName: string}) { active: SettingsFilledIcon, }} /> + -- knotmirror 0.0.1