Skip to content

Commit

Permalink
- improve: UI improvements (#375)
Browse files Browse the repository at this point in the history
* - fix: coming soon label

* - fix: overflow text in vector fs names

* - fix: galxe quests labels
  • Loading branch information
agallardol authored Jul 18, 2024
1 parent a81a21e commit 105398f
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const VectorFileDetails = () => {
}
/>
</div>
<p className="text-lg font-medium text-white">
<p className="text-lg font-medium text-white break-words">
{selectedFile?.name}
<Badge className="text-gray-80 ml-2 bg-gray-400 text-xs uppercase">
{selectedFile?.vr_header?.resource_source?.Standard?.FileRef
Expand Down
4 changes: 2 additions & 2 deletions apps/shinkai-desktop/src/pages/galxe-subscriptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,10 @@ export const GalxeSusbcriptions = () => {
const { mutateAsync: validateQuest, isPending } =
useGalxeRegisterShinkaiDesktopInstallationMutation({
onSuccess: () => {
toast.success('Your Quest has been validated');
toast.success('Your Quest has been updated');
},
onError: (error) => {
toast.error('Error validating Quest', {
toast.error('Error updating Quest', {
description: error?.response?.data?.message ?? error.message,
});
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const VectorFileDetails = () => {
}
/>
</div>
<p className="text-lg font-medium text-white">
<p className="text-lg font-medium text-white break-words">
{selectedFile?.name}
<Badge className="text-gray-80 ml-2 bg-gray-400 text-xs uppercase">
{selectedFile?.vr_header?.resource_source?.Standard?.FileRef
Expand Down
4 changes: 2 additions & 2 deletions libs/shinkai-i18n/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@
"delete": "Delete",
"update": "Update",
"moreOptions": "More Options",
"comingSoon": "Coming soon - Early July",
"comingSoon": "Coming soon - Late August",
"noThanks": "No, Thanks",
"iAgree": "I Agree",
"getStarted": "Get Started",
Expand Down Expand Up @@ -427,7 +427,7 @@
}
},
"galxe": {
"label": "Galxe Validation",
"label": "Galxe Quest",
"goToGalxeQuest": "Check our Galxe Quest",
"form": {
"evmAddress": "EVM Address",
Expand Down
4 changes: 2 additions & 2 deletions libs/shinkai-i18n/locales/es-ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"cancel": "Cancelar",
"clearSearch": "Limpiar búsqueda",
"clickToUpload": "Haz clic para subir o arrastra y suelta",
"comingSoon": "Próximamente - Principios de Julio",
"comingSoon": "Próximamente - Finales de Agosto",
"connect": "Conectar",
"continue": "Continuar",
"copy": "Copiar",
Expand Down Expand Up @@ -164,7 +164,7 @@
"signature": "Firma"
},
"goToGalxeQuest": "Ver nuestra Búsqueda Galxe",
"label": "Validación Galxe",
"label": "Quest de Galxe",
"success": {
"registerDesktopInstallation": "Tu instalación de Shinkai Desktop se registró exitosamente. Puede tardar algunas horas en registrarse en la búsqueda Galxe."
}
Expand Down
4 changes: 2 additions & 2 deletions libs/shinkai-i18n/locales/id-ID.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"cancel": "Batal",
"clearSearch": "Hapus Pencarian",
"clickToUpload": "Klik untuk mengunggah atau seret dan lepas",
"comingSoon": "Segera hadir - Awal Juli",
"comingSoon": "Segera hadir - Akhir Agustus",
"connect": "Hubungkan",
"continue": "Lanjutkan",
"copy": "Salin",
Expand Down Expand Up @@ -164,7 +164,7 @@
"signature": "Tanda Tangan"
},
"goToGalxeQuest": "Periksa Galxe Quest kami",
"label": "Validasi Galxe",
"label": "Pencarian Galxe",
"success": {
"registerDesktopInstallation": "Instalasi Desktop Shinkai Anda berhasil terdaftar. Mungkin memerlukan beberapa jam untuk terdaftar dalam quest Galxe."
}
Expand Down
4 changes: 2 additions & 2 deletions libs/shinkai-i18n/locales/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"cancel": "キャンセル",
"clearSearch": "検索をクリア",
"clickToUpload": "クリックしてアップロードするか、ドラッグアンドドロップ",
"comingSoon": "近日公開 - 7月上旬",
"comingSoon": "近日公開 - 8月末",
"connect": "接続",
"continue": "続行",
"copy": "コピー",
Expand Down Expand Up @@ -164,7 +164,7 @@
"signature": "署名"
},
"goToGalxeQuest": "Galxeクエストを確認",
"label": "Galxe検証",
"label": "Galxeクエスト",
"success": {
"registerDesktopInstallation": "Shinkai Desktopのインストールが正常に登録されました。Galxeクエストに登録されるまで数時間かかる場合があります。"
}
Expand Down
4 changes: 2 additions & 2 deletions libs/shinkai-i18n/locales/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"cancel": "取消",
"clearSearch": "清除搜索",
"clickToUpload": "点击上传或拖放",
"comingSoon": "即将到来 - 七月初",
"comingSoon": "即将到来 - 八月底",
"connect": "连接",
"continue": "继续",
"copy": "复制",
Expand Down Expand Up @@ -164,7 +164,7 @@
"signature": "签名"
},
"goToGalxeQuest": "查看我们的Galxe任务",
"label": "Galxe验证",
"label": "Galxe 任务",
"success": {
"registerDesktopInstallation": "您的Shinkai Desktop安装已成功注册。可能需要几个小时才能在Galxe任务中注册。"
}
Expand Down
4 changes: 2 additions & 2 deletions libs/shinkai-i18n/src/lib/default/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ export default {
delete: 'Delete',
update: 'Update',
moreOptions: 'More Options',
comingSoon: 'Coming soon - Early July',
comingSoon: 'Coming soon - Late August',
noThanks: 'No, Thanks',
iAgree: 'I Agree',
getStarted: 'Get Started',
Expand Down Expand Up @@ -454,7 +454,7 @@ export default {
},
},
galxe: {
label: 'Galxe Validation',
label: 'Galxe Quest',
goToGalxeQuest: 'Check our Galxe Quest',
form: {
evmAddress: 'EVM Address',
Expand Down

0 comments on commit 105398f

Please sign in to comment.