-
Notifications
You must be signed in to change notification settings - Fork 6
Feat/eid wallet redesign #961
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Bekiboo
wants to merge
46
commits into
main
Choose a base branch
from
feat/eid-wallet-redesign
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
fa02cdc
chore(eid-wallet): enable desktop dev environment
Bekiboo a11c256
remove obsolete rules
Bekiboo 7817494
updqte button logic
Bekiboo 44a567c
remove dead dependencies
Bekiboo 3b26e82
Splashscreen + new fonts & colors
Bekiboo c544208
Splashscreen + Pin
Bekiboo edd2b0f
fix "delete" account bug
Bekiboo 745d5ca
Placeholders for main page
Bekiboo 000b198
Refactor main page from 1200+ to 200+ lines
Bekiboo 3b04f1e
App Wizard
Bekiboo d0b193b
Login PIN screen + shared PinDots
Bekiboo de0a710
PIN entry UX: keyboard auto-open, footer lifts, splash Continue
Bekiboo a152ede
Cleanup wordy comments
Bekiboo bd85469
Prevent scrolling on pin screens
Bekiboo 902f108
Main: Legal ID accordion + verified state + KYC entry
Bekiboo 3971cd5
Improve accordion ui
Bekiboo b20396b
Improve the Wizard style and add new icons
Bekiboo 9a61a13
Create icon components
Bekiboo 4396e3c
Greeting page styling
Bekiboo f12150a
Marketplace carousel + logos
Bekiboo 7f0d8f3
centralize design
Bekiboo 8677386
crop pictique logo
Bekiboo 5c05510
Notification page styling
Bekiboo 710f7fe
fix slide up animation on greeting page
Bekiboo 40de861
Settings page styling
Bekiboo 8e5c671
Add current language store
Bekiboo a9c4982
Add info drawers
Bekiboo 8e49b18
Social Bindings flow
Bekiboo 682b1da
Add proper links to apps marketplace
Bekiboo ac4204b
Fix bottom drawer QR code
Bekiboo 8156f19
Pin and language pages
Bekiboo e8d261b
Blur out unavailable languages
Bekiboo 8484bf7
Reinforce page transition animations
Bekiboo 1b63673
improve tour animation
Bekiboo 6eb980f
fix flickering logo
Bekiboo 4c1b096
Comment out name edit button for now
Bekiboo 93e8754
add bottom lower opacity on greetings page
Bekiboo 51d1492
Personal bindings FE
Bekiboo 93e0ff5
Personal flow backend
Bekiboo 6d934b4
Connect front to back
Bekiboo 89eab63
fix onboarding name style
Bekiboo 95fb919
Format/lint
Bekiboo eff720e
coderabbit first pass
Bekiboo e3a3b66
Fix back button behavior
Bekiboo ed84748
Use timezone-aware timestamptz
Bekiboo 1c7c1fb
Refactor verifyAnswer to improve error handling and clarify return be…
Bekiboo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
infrastructure/eid-wallet/src-tauri/capabilities/desktop.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| { | ||
| "$schema": "../gen/schemas/desktop-schema.json", | ||
| "identifier": "desktop-capability", | ||
| "description": "Capability for the main window on desktop", | ||
| "windows": [ | ||
| "main" | ||
| ], | ||
| "permissions": [ | ||
| "core:default", | ||
| "opener:default", | ||
| "store:default", | ||
| "deep-link:default", | ||
| "notifications:default", | ||
| "process:default", | ||
| "opener:allow-default-urls" | ||
| ], | ||
| "platforms": [ | ||
| "windows", | ||
| "macOS", | ||
| "linux" | ||
| ] | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
infrastructure/eid-wallet/src/lib/actions/keyboardInset.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| /** Exposes the soft keyboard's height as `--kb-inset` on the node, and locks | ||
| * document scroll while mounted so the page can't be panned when the | ||
| * keyboard pushes the layout viewport past the visual viewport. */ | ||
| export function keyboardInset(node: HTMLElement) { | ||
| const vv = window.visualViewport; | ||
|
|
||
| const update = () => { | ||
| if (!vv) { | ||
| node.style.setProperty("--kb-inset", "0px"); | ||
| return; | ||
| } | ||
| const inset = Math.max(0, window.innerHeight - vv.height); | ||
| node.style.setProperty("--kb-inset", `${inset}px`); | ||
| }; | ||
|
|
||
| const html = document.documentElement; | ||
| const body = document.body; | ||
| const prevHtmlOverflow = html.style.overflow; | ||
| const prevBodyOverflow = body.style.overflow; | ||
| const prevHtmlOverscroll = html.style.overscrollBehavior; | ||
| const prevBodyOverscroll = body.style.overscrollBehavior; | ||
| html.style.overflow = "hidden"; | ||
| body.style.overflow = "hidden"; | ||
| html.style.overscrollBehavior = "none"; | ||
| body.style.overscrollBehavior = "none"; | ||
|
|
||
| const blockTouchMove = (e: TouchEvent) => { | ||
| if (e.touches.length === 1) e.preventDefault(); | ||
| }; | ||
| document.addEventListener("touchmove", blockTouchMove, { passive: false }); | ||
|
|
||
| vv?.addEventListener("resize", update); | ||
| vv?.addEventListener("scroll", update); | ||
| update(); | ||
|
|
||
| return { | ||
| destroy() { | ||
| vv?.removeEventListener("resize", update); | ||
| vv?.removeEventListener("scroll", update); | ||
| document.removeEventListener("touchmove", blockTouchMove); | ||
| html.style.overflow = prevHtmlOverflow; | ||
| body.style.overflow = prevBodyOverflow; | ||
| html.style.overscrollBehavior = prevHtmlOverscroll; | ||
| body.style.overscrollBehavior = prevBodyOverscroll; | ||
| }, | ||
| }; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.