From 3439a43880efa9c52f89bd30c9b45c6866de6da7 Mon Sep 17 00:00:00 2001
From: chyz <32403637+chyzman@users.noreply.github.com>
Date: Wed, 26 Aug 2026 14:59:15 -0400
Subject: [PATCH] Make "Open Image in New Tab" open raw image (when possible)
(#7315)
* tell search engines not to index collections because bots keep spamming them and I can basically guarantee not a single human being is using collections in a way where this will be detrimental to them (besides the advertisement spam)
* Index creator created collections
* Open raw images from open image in new tab option in context menu
---
.../components/ui/ConfirmTransferOrgModal.vue | 7 ++++++-
.../ui/ConfirmTransferProjectModal.vue | 7 ++++++-
.../components/ui/OrganizationPageHeader.vue | 1 +
apps/frontend/src/pages/[type]/[project].vue | 7 ++++++-
.../src/pages/[type]/[project]/gallery.vue | 3 +++
.../[type]/[project]/settings/gallery.vue | 3 +++
apps/frontend/src/pages/auth/authorize.vue | 2 +-
.../src/pages/collection/[collection].vue | 2 +-
.../src/pages/organization/[organization].vue | 2 +-
.../src/pages/settings/applications.vue | 2 +-
.../api-client/src/modules/labrinth/types.ts | 6 ++++++
packages/ui/src/components/base/Avatar.vue | 7 +++++++
.../components/project/ProjectPageHeader.vue | 8 +++++++-
.../project/ProjectSidebarDetails.vue | 9 ++++++++-
.../src/composables/full-image-context-menu.ts | 18 ++++++++++++++++++
packages/ui/src/composables/index.ts | 1 +
packages/utils/types.ts | 4 ++++
17 files changed, 80 insertions(+), 9 deletions(-)
create mode 100644 packages/ui/src/composables/full-image-context-menu.ts
diff --git a/apps/frontend/src/components/ui/ConfirmTransferOrgModal.vue b/apps/frontend/src/components/ui/ConfirmTransferOrgModal.vue
index fa9d3a41b0..53fb0cb0cd 100644
--- a/apps/frontend/src/components/ui/ConfirmTransferOrgModal.vue
+++ b/apps/frontend/src/components/ui/ConfirmTransferOrgModal.vue
@@ -3,7 +3,12 @@