From 0bcb426d8a3159b1b9edda10a5a044837ecbec41 Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Thu, 6 Nov 2025 17:54:21 +0200 Subject: [PATCH] Remove target="_blank" from internal navigation links All links to internal routes should stay in the same tab to maintain user context and provide a better SPA experience. Closes #2619 --- app/features/img-upload/routes/upload.admin.tsx | 7 +------ app/features/lfg/routes/lfg.new.tsx | 4 ++-- app/features/sendouq/components/GroupCard.tsx | 8 ++------ .../tournament-bracket/components/TeamRosterInputs.tsx | 2 +- app/features/tournament/routes/to.$id.seeds.tsx | 1 - 5 files changed, 6 insertions(+), 16 deletions(-) diff --git a/app/features/img-upload/routes/upload.admin.tsx b/app/features/img-upload/routes/upload.admin.tsx index 38a3d90bf..22cc37d20 100644 --- a/app/features/img-upload/routes/upload.admin.tsx +++ b/app/features/img-upload/routes/upload.admin.tsx @@ -56,12 +56,7 @@ function ImageValidator() { - + From: {image.username} diff --git a/app/features/lfg/routes/lfg.new.tsx b/app/features/lfg/routes/lfg.new.tsx index 85cbd13fb..3b30b787d 100644 --- a/app/features/lfg/routes/lfg.new.tsx +++ b/app/features/lfg/routes/lfg.new.tsx @@ -234,7 +234,7 @@ function Languages() { {t("lfg:new.editOn")}{" "} - + {t("lfg:new.languages.sqSettingsPage")} @@ -262,7 +262,7 @@ function WeaponPool() { {t("lfg:new.editOn")}{" "} - + {t("lfg:new.weaponPool.userProfile")} diff --git a/app/features/sendouq/components/GroupCard.tsx b/app/features/sendouq/components/GroupCard.tsx index 4acdd3108..1f737d04d 100644 --- a/app/features/sendouq/components/GroupCard.tsx +++ b/app/features/sendouq/components/GroupCard.tsx @@ -302,11 +302,7 @@ function GroupMember({ ) : ( )} - + {member.inGameName ? ( <> @@ -752,7 +748,7 @@ function TierInfo({ skill }: { skill: TieredSkill | "CALCULATING" }) { {skill.tier.name} {skill.tier.isPlus ? "+" : ""} - + {t("q:looking.allTiers")} diff --git a/app/features/tournament-bracket/components/TeamRosterInputs.tsx b/app/features/tournament-bracket/components/TeamRosterInputs.tsx index 9c958913b..e281212b1 100644 --- a/app/features/tournament-bracket/components/TeamRosterInputs.tsx +++ b/app/features/tournament-bracket/components/TeamRosterInputs.tsx @@ -461,7 +461,7 @@ function TeamRosterInputsCheckboxes({ - + diff --git a/app/features/tournament/routes/to.$id.seeds.tsx b/app/features/tournament/routes/to.$id.seeds.tsx index 7592df770..24d0cb4f5 100644 --- a/app/features/tournament/routes/to.$id.seeds.tsx +++ b/app/features/tournament/routes/to.$id.seeds.tsx @@ -414,7 +414,6 @@ function RowContents({
{member.username}