Kurdistan Tech Ministry
de6f41263c
feat: migrate staking to Asset Hub and add citizen count card
...
- HEZStakingModal: switch all staking queries/tx from RC api to assetHubApi
- Add citizen count card to Rewards overview (Hejmara Kurd Le Cihane)
- Add getCitizenCount() to fetch total citizens from People Chain
- Add translations for citizen count card (6 languages)
2026-02-21 02:55:07 +03:00
Kurdistan Tech Ministry
ef8132c82a
feat: add Start Tracking and Record Trust Score buttons to Scores tab
2026-02-20 02:27:53 +03:00
Kurdistan Tech Ministry
d2969c1062
feat: add confirmCitizenship step to Rewards section
2026-02-20 01:21:26 +03:00
Kurdistan Tech Ministry
db3ed21970
fix: show real staking score from CachedStakingDetails instead of hardcoded 0
2026-02-17 02:13:53 +03:00
Kurdistan Tech Ministry
9b97c63a26
feat: 3-state staking score UI with cached data support
2026-02-17 01:56:49 +03:00
Kurdistan Tech Ministry
9da348bdf3
feat: add i18n support with 6 languages (en, tr, krd, ar, fa, ckb)
...
- Add translation system with useTranslation hook and LanguageProvider
- Auto-detect language from Telegram user settings
- Update all components and sections to use translation keys
- Support English, Turkish, Kurdish, Arabic, Persian, Sorani
2026-02-14 11:06:14 +03:00
Kurdistan Tech Ministry
d48fb39c4e
refactor(scores): remove frontend fallback, read all scores from blockchain
...
- Remove localStorage staking tracking and manual score calculation
- Read trust, referral, tiki, perwerde scores directly from People Chain
- Add SubQuery integration for staking reward history display
- Align score system with pwap/shared implementation
2026-02-13 06:26:27 +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
d98ae6dd81
fix: use initData directly for reactions instead of session token
2026-02-07 06:12:47 +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
5382579f9f
debug: add more info to debug banner
2026-02-07 05:35:20 +03:00
Kurdistan Tech Ministry
fbb6c93ca8
fix: use console.warn for debug logs
2026-02-07 04:46:28 +03:00
Kurdistan Tech Ministry
b79fb83447
debug: improve error logging
2026-02-07 04:28:38 +03:00
Kurdistan Tech Ministry
d000ba78db
debug: add visible auth debug banner
2026-02-07 03:37:25 +03:00
Kurdistan Tech Ministry
cd5ef71505
feat: add secure announcement reactions with session token validation
...
- Add announcement-reaction Edge Function for secure like/dislike
- Update telegram-auth to sync users to tg_users table
- Update useAnnouncementReaction hook to use Edge Function
- Add bridge announcement script and migration
2026-02-07 03:19:15 +03:00
Kurdistan Tech Ministry
b641c742cc
fix: change debug console.log to console.warn for lint
2026-02-07 02:26:35 +03:00
Kurdistan Tech Ministry
67b30daca8
fix: tiki score, staking lookup, LP balance, teleport, DOT swap
...
- Fix tiki: use userTikis storage instead of userRoles
- Add tiki name to score mapping (welati=10, serok=50, etc)
- Improve staking ledger lookup with debug logging
- Fix LP balance fetching using poolId directly
- Change teleport placeholder from 0.5 to empty
- Add DOT token to swap list with 10 decimals
2026-02-07 02:20:04 +03:00
Kurdistan Tech Ministry
c35c538678
fix: LP staking logout issue and Kurdish text correction
...
- Replace window.location.reload() with onClose() in LPStakingModal
- Fix Turkish word "ise" to Kurdish "be" in Rewards score formula
2026-02-07 02:07:37 +03:00
Kurdistan Tech Ministry
2cf40459d3
fix: use Kurdish terminology (Xal instead of Puanlar)
2026-02-07 01:33:15 +03:00
Kurdistan Tech Ministry
1a7609c14c
feat: add scores tab and DOT token to send list
...
- Add Puanlar (Scores) tab to Xelat section showing trust, staking, referral, tiki scores
- Add scores.ts lib with frontend fallback for staking and trust score calculation
- Add DOT token (asset ID 1001) to sendable tokens list
2026-02-07 01:10:09 +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
ddd28705c1
Initial commit - PezkuwiChain Telegram MiniApp
2026-02-05 10:53:13 +03:00