refactor: update environment configuration and enhance notification handling

- Refactored ecosystem configuration to utilize .env for sensitive variables, improving security and flexibility.
- Replaced direct notification button implementation with a dedicated PlayerNotificationBell component for better code organization.
- Updated various screens to integrate the new notification component and adjusted prefetch settings for links to optimize performance.
- Added new translations for notifications and wallet logs to enhance user experience across multiple languages.
This commit is contained in:
2026-06-01 09:29:02 +08:00
parent 9f43d07778
commit 10bee1b857
16 changed files with 241 additions and 59 deletions

View File

@@ -29,7 +29,7 @@
"retryProgress": "正在重试({{current}}/{{total}})…"
},
"failure": {
"title": "授权失败111",
"title": "授权失败",
"subtitle": "无法完成授权,请重试。",
"detailsTitle": "失败详情",
"table": {

View File

@@ -26,6 +26,9 @@
"rules": "规则",
"wallet": "钱包"
},
"notifications": {
"empty": "暂无通知"
},
"panel": {
"home": "首页"
},
@@ -368,6 +371,7 @@
"flowsTitle": "资金流水",
"totalRecords": "共 {{total}} 条记录",
"emptyLogs": "暂无流水",
"noMoreLogs": "没有更多流水",
"balanceAfter": "变更后余额",
"wsBalanceUpdated": "余额 {{change}}{{reason}}",
"wsReason": {