@@ -307,13 +307,13 @@ import {
ConfirmModal,
DropArea,
FileButton,
+ FullImage,
IconButton,
injectProjectPageContext,
Input,
NewModal as Modal,
Textarea,
useFormatDateTime,
- useFullImageContextMenu,
} from '@modrinth/ui'
import AiImageWarningModal from '~/components/ui/AiImageWarningModal.vue'
@@ -327,8 +327,6 @@ const formatDate = useFormatDateTime({
month: 'long',
day: 'numeric',
})
-const onFullImageContextMenu = useFullImageContextMenu()
-
const {
projectV2: project,
currentMember,
diff --git a/apps/labrinth/src/models/v3/collections.rs b/apps/labrinth/src/models/v3/collections.rs
index a55d7d0ec9..5b1aae0d11 100644
--- a/apps/labrinth/src/models/v3/collections.rs
+++ b/apps/labrinth/src/models/v3/collections.rs
@@ -19,6 +19,8 @@ pub struct Collection {
/// An icon URL for the collection.
pub icon_url: Option
,
+ /// The raw icon URL for the collection.
+ pub raw_icon_url: Option,
/// Color of the collection.
pub color: Option,
@@ -46,6 +48,7 @@ impl From for Collection {
updated: c.updated,
projects: c.projects.into_iter().map(|x| x.into()).collect(),
icon_url: c.icon_url,
+ raw_icon_url: c.raw_icon_url,
color: c.color,
status: c.status,
}
diff --git a/apps/labrinth/src/models/v3/organizations.rs b/apps/labrinth/src/models/v3/organizations.rs
index f7fa699bec..09032cc44c 100644
--- a/apps/labrinth/src/models/v3/organizations.rs
+++ b/apps/labrinth/src/models/v3/organizations.rs
@@ -19,6 +19,8 @@ pub struct Organization {
/// The icon url of the organization
pub icon_url: Option,
+ /// The raw icon url of the organization
+ pub raw_icon_url: Option,
/// The color of the organization (picked from the icon)
pub color: Option,
@@ -41,6 +43,7 @@ impl Organization {
description: data.description,
members: team_members,
icon_url: data.icon_url,
+ raw_icon_url: data.raw_icon_url,
color: data.color,
moderation_notes: None,
}
diff --git a/apps/labrinth/src/routes/v3/collections.rs b/apps/labrinth/src/routes/v3/collections.rs
index b5e5d266a8..7cfba968e0 100644
--- a/apps/labrinth/src/routes/v3/collections.rs
+++ b/apps/labrinth/src/routes/v3/collections.rs
@@ -132,6 +132,7 @@ pub async fn collection_create(
created: now,
updated: now,
icon_url: None,
+ raw_icon_url: None,
color: None,
status: collection_builder.status,
projects: initial_project_ids,
diff --git a/packages/ui/src/components/base/Avatar.vue b/packages/ui/src/components/base/Avatar.vue
index 88a548da8b..5070c10e3c 100644
--- a/packages/ui/src/components/base/Avatar.vue
+++ b/packages/ui/src/components/base/Avatar.vue
@@ -1,7 +1,7 @@
-