From 5797586e7b43db55e0396b77f47f5366060ad39f Mon Sep 17 00:00:00 2001 From: DrJKL Date: Tue, 27 Jan 2026 18:27:55 -0800 Subject: [PATCH 1/2] feat: Remind Creators that they can add models that they don't have available yet --- src/locales/en/main.json | 3 ++- src/platform/assets/components/AssetBrowserModal.vue | 6 +++++- src/platform/assets/components/AssetGrid.vue | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/locales/en/main.json b/src/locales/en/main.json index d2c360f44bf..1cbe43d1000 100644 --- a/src/locales/en/main.json +++ b/src/locales/en/main.json @@ -2458,9 +2458,10 @@ "allModels": "All Models", "byType": "By type", "emptyImported": { - "canImport": "No imported models yet. Click \"Import Model\" to add your own.", + "canImport": "No imported models yet. Click \"Import\" to add your own.", "restricted": "Personal models are only available at Creator tier and above." }, + "noResultsCanImport": "Try adjusting your search or filters.\nYou can also add models using the \"Import\" button above.", "imported": "Imported", "assetCollection": "Asset collection", "assets": "Assets", diff --git a/src/platform/assets/components/AssetBrowserModal.vue b/src/platform/assets/components/AssetBrowserModal.vue index 2fd343d4214..05f0c1efcc0 100644 --- a/src/platform/assets/components/AssetBrowserModal.vue +++ b/src/platform/assets/components/AssetBrowserModal.vue @@ -211,7 +211,11 @@ const shouldShowLeftPanel = computed(() => { }) const emptyMessage = computed(() => { - if (!isImportedSelected.value) return undefined + if (!isImportedSelected.value) { + return isUploadButtonEnabled.value + ? t('assetBrowser.noResultsCanImport') + : undefined + } return isUploadButtonEnabled.value ? t('assetBrowser.emptyImported.canImport') diff --git a/src/platform/assets/components/AssetGrid.vue b/src/platform/assets/components/AssetGrid.vue index 03c624a79e7..30bb3f66c71 100644 --- a/src/platform/assets/components/AssetGrid.vue +++ b/src/platform/assets/components/AssetGrid.vue @@ -21,7 +21,7 @@

{{ emptyTitle ?? $t('assetBrowser.noAssetsFound') }}

-

+

{{ emptyMessage ?? $t('assetBrowser.tryAdjustingFilters') }}

From fa01053d2c7c15dd8ddc3a98ca70fca6583be2c1 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Wed, 28 Jan 2026 02:32:26 +0000 Subject: [PATCH 2/2] [automated] Apply ESLint and Oxfmt fixes --- src/locales/zh/main.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/locales/zh/main.json b/src/locales/zh/main.json index c7d5ab939df..aeef80dcc2c 100644 --- a/src/locales/zh/main.json +++ b/src/locales/zh/main.json @@ -2809,4 +2809,4 @@ "showMinimap": "显示小地图", "zoomToFit": "适合画面" } -} \ No newline at end of file +}