Commit Graph
16 Commits
Author SHA1 Message Date
Kurdistan Tech Ministry abd4dc7189 feat: in-app citizenship modal + referral approvals + bot DKS link
- Add CitizenshipModal component for in-app citizenship application
  (uses connected wallet keypair, no seed phrase needed)
- Replace /citizens redirect with in-app modal in Rewards section
- Add pending approvals to ReferralContext
- Add approveReferral and getPendingApprovals to citizenship lib
- Add applyingCitizenship/applicationSuccess translations (6 langs)
- Add DKS Kurdistan bot link to telegram-bot welcome message
2026-03-02 00:50:20 +03:00
Kurdistan Tech Ministry 556b850ec2 fix: use auth.users UUID for trade role matching
telegram-auth now returns auth_user_id alongside public.users data.
TradeView uses authUserId (auth.users UUID) to match buyer_id/seller_id,
fixing missing action buttons (mark paid, confirm, cancel).
2026-02-27 01:51:14 +03:00
Kurdistan Tech Ministry 123183038f fix: show total HEZ balance in card, use RC free for send tab
- Balance card shows RC + AH + staked total with staked note
- Tokens section shows free balances only
- Send tab checks against RC free balance to prevent failed transfers
2026-02-21 15:12:08 +03:00
Kurdistan Tech Ministry 9a2f74b783 fix: show total HEZ balance across RC + AH free + AH staked 2026-02-21 14:44:51 +03:00
Kurdistan Tech Ministry c4282f5870 feat(i18n): replace all hardcoded strings with translation calls
- Add translation keys for dashboard, send, receive, history, swap,
  pools, staking, lpStaking, fees, tokens, errors, validation, time,
  and context sections to types.ts and all 6 language files
- Replace hardcoded Kurdish/Turkish strings in all wallet components
  with useTranslation() hook t() calls
- Replace hardcoded strings in non-React files (crypto, utils,
  error-tracking, wallet-storage, contexts) with standalone translate()
- Fix Turkish strings incorrectly used in Kurdish codebase
2026-02-14 18:16:08 +03:00
Kurdistan Tech Ministry 5c6a3f5e67 fix: show actual error message on reaction failure 2026-02-07 06:32:49 +03:00
Kurdistan Tech Ministry 2adf3760ce debug: add detailed logging to auth flow 2026-02-07 05:53:36 +03:00
Kurdistan Tech Ministry 4674e06251 debug: add retry auth button and increase wait time to 5s 2026-02-07 05:40:20 +03:00
Kurdistan Tech Ministry f100296525 fix: add retry mechanism for Telegram initData loading 2026-02-07 05:29:12 +03:00
Kurdistan Tech Ministry fbb6c93ca8 fix: use console.warn for debug logs 2026-02-07 04:46:28 +03:00
Kurdistan Tech Ministry 60a089daa5 debug: add early auth logging 2026-02-07 04:39:54 +03:00
Kurdistan Tech Ministry b79fb83447 debug: improve error logging 2026-02-07 04:28:38 +03:00
Kurdistan Tech Ministry 760db703c5 debug: add auth logging to troubleshoot login issue 2026-02-07 03:36:05 +03:00
Kurdistan Tech Ministry e97bc0f56b fix: add auth error display and fix retry button 2026-02-06 19:48:42 +03:00
Kurdistan Tech Ministry 3f8c8f4311 feat: add session token support for P2P cross-app auth
- AuthContext now stores and exposes sessionToken from telegram-auth
- App.tsx sends session_token instead of tg_id to P2P
- Enables secure cross-app authentication without from_miniapp method
2026-02-06 04:34:49 +03:00
Kurdistan Tech Ministry ddd28705c1 Initial commit - PezkuwiChain Telegram MiniApp 2026-02-05 10:53:13 +03:00