Skip to content

Commit 4dfada5

Browse files
Bekibooclaude
andauthored
Feat/eid wallet redesign (#961)
* chore(eid-wallet): enable desktop dev environment Allows running the wallet via `pnpm tauri dev` on a desktop machine for the redesign work. Previously the only registered capability targeted iOS/Android only, so on desktop the WebView had zero IPC permissions and the global-state init via @tauri-apps/plugin-store crashed at first paint. - Cargo.toml: add `devtools` feature on the tauri crate (Windows debug builds don't expose devtools without it) - capabilities/desktop.json: new capability granting the non-mobile plugin defaults (core, opener, store, deep-link, notifications, process) on windows/macOS/linux - tauri.conf.json: register `desktop-capability` alongside the existing `mobile-capability` Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * remove obsolete rules * updqte button logic * remove dead dependencies * Splashscreen + new fonts & colors * Splashscreen + Pin * fix "delete" account bug * Placeholders for main page * Refactor main page from 1200+ to 200+ lines * App Wizard * Login PIN screen + shared PinDots * PIN entry UX: keyboard auto-open, footer lifts, splash Continue * Cleanup wordy comments * Prevent scrolling on pin screens * Main: Legal ID accordion + verified state + KYC entry * Improve accordion ui * Improve the Wizard style and add new icons * Create icon components * Greeting page styling * Marketplace carousel + logos * centralize design * crop pictique logo * Notification page styling * fix slide up animation on greeting page * Settings page styling * Add current language store * Add info drawers * Social Bindings flow * Add proper links to apps marketplace * Fix bottom drawer QR code * Pin and language pages * Blur out unavailable languages * Reinforce page transition animations * improve tour animation * fix flickering logo * Comment out name edit button for now * add bottom lower opacity on greetings page * Personal bindings FE * Personal flow backend * Connect front to back * fix onboarding name style * Format/lint * coderabbit first pass * Fix back button behavior * Use timezone-aware timestamptz * Refactor verifyAnswer to improve error handling and clarify return behavior * Update app icon to new eID logo * Show security answer at setup time * scan-qr drawer * Bundle Metastate platform icons via shared package * Add security-question recovery flow to /recover * Correctly handles no camera access * Stop clipping the scan drawer app-card shadow * Balance wrap the ename * Pad icon for better android display * Fix scan QR page transition * Fix the platform scanned shadow for real this time * Improve favicon fetching fallback * Improve pin dots & add privacy UI to it * coderabbit fixes --------- Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
1 parent ab86a76 commit 4dfada5

178 files changed

Lines changed: 9321 additions & 2990 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,6 @@ evault-cache.json
5050

5151
.pnpm-store
5252
.pnpm-store/
53+
54+
# Per-developer Claude Code permission grants
55+
.claude/settings.local.json
28.5 KB
22.4 KB

infrastructure/eid-wallet/package.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,34 +22,31 @@
2222
"license": "MIT",
2323
"dependencies": {
2424
"@auvo/tauri-plugin-crypto-hw-api": "^0.1.0",
25+
"@choochmeque/tauri-plugin-notifications-api": "^0.4.3",
2526
"@didit-protocol/sdk-web": "^0.1.6",
27+
"@fontsource-variable/roboto": "^5.2.10",
28+
"@fontsource-variable/roboto-condensed": "^5.2.8",
2629
"@hugeicons/core-free-icons": "^1.0.13",
2730
"@hugeicons/svelte": "^1.0.2",
28-
"@iconify/svelte": "^5.0.1",
29-
"@ngneat/falso": "^7.3.0",
31+
"@metastate-foundation/platform-icons": "workspace:*",
3032
"@tailwindcss/container-queries": "^0.1.1",
3133
"@tauri-apps/api": "^2.9.0",
3234
"@tauri-apps/plugin-barcode-scanner": "^2.4.2",
3335
"@tauri-apps/plugin-biometric": "^2.3.2",
3436
"@tauri-apps/plugin-deep-link": "^2.4.5",
35-
"@choochmeque/tauri-plugin-notifications-api": "^0.4.3",
3637
"@tauri-apps/plugin-opener": "^2.5.2",
3738
"@tauri-apps/plugin-store": "^2.4.1",
38-
"@veriff/incontext-sdk": "^2.4.0",
39-
"@veriff/js-sdk": "^1.5.1",
4039
"axios": "^1.6.7",
4140
"blindvote": "workspace:*",
4241
"clsx": "^2.1.1",
4342
"dotenv": "^16.5.0",
4443
"flag-icons": "^7.3.2",
4544
"graphql-request": "^6.1.0",
4645
"html5-qrcode": "^2.3.8",
47-
"import": "^0.0.6",
4846
"jose": "^5.2.0",
4947
"svelte-loading-spinners": "^0.3.6",
5048
"svelte-qrcode": "^1.0.1",
5149
"tailwind-merge": "^3.0.2",
52-
"ts-md5": "^2.0.1",
5350
"uuid": "^11.1.0",
5451
"wallet-sdk": "workspace:*"
5552
},

infrastructure/eid-wallet/src-tauri/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ crate-type = ["staticlib", "cdylib", "rlib"]
1717
[build-dependencies]
1818
tauri-build = { version = "2", features = [] }
1919

20+
[features]
21+
default = []
22+
devtools = ["tauri/devtools"]
23+
2024
[dependencies]
2125
tauri = { version = "2", features = [] }
2226
tauri-plugin-opener = "2"
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"$schema": "../gen/schemas/desktop-schema.json",
3+
"identifier": "desktop-capability",
4+
"description": "Capability for the main window on desktop",
5+
"windows": [
6+
"main"
7+
],
8+
"permissions": [
9+
"core:default",
10+
"opener:default",
11+
"store:default",
12+
"deep-link:default",
13+
"notifications:default",
14+
"process:default",
15+
"opener:allow-default-urls"
16+
],
17+
"platforms": [
18+
"windows",
19+
"macOS",
20+
"linux"
21+
]
22+
}
442 Bytes
1.09 KB
372 Bytes
387 Bytes

0 commit comments

Comments
 (0)