fix(checkin): prevent visual flicker when loading check-in component
- Add initialLoaded state to track first data load completion - Set isCollapsed to null initially, determined after data loads - Show loading state on button and description text before data arrives - Remove auto-collapse effect that caused visual flicker - Add i18n translations for loading states (en/fr/ja/ru/vi/zh) Fixes issue where component would collapse/expand after data loads, causing visual flicker when navigating to personal settings page.
This commit is contained in:
@@ -2241,6 +2241,8 @@
|
||||
"每日签到可获得随机额度奖励": "L'enregistrement quotidien récompense un quota aléatoire",
|
||||
"今日已签到": "Enregistré aujourd'hui",
|
||||
"立即签到": "S'enregistrer maintenant",
|
||||
"加载中...": "Chargement...",
|
||||
"正在加载签到状态...": "Chargement du statut d'enregistrement...",
|
||||
"获取签到状态失败": "Échec de la récupération du statut d'enregistrement",
|
||||
"签到成功!获得": "Enregistrement réussi ! Reçu",
|
||||
"签到失败": "Échec de l'enregistrement",
|
||||
|
||||
Reference in New Issue
Block a user