Commit Graph

586 Commits

Author SHA1 Message Date
Justin Hernandez
4721d12b09 SEL-570: Display user ID in prove screen (#790)
* Display user ID on prove screen

* Add user ID formatting util and tests

* Clarify user ID formatting

* fix nice

* add tests and save toggle wip

* update tests based on feedback

* say connected wallet when wallet
2025-07-25 12:58:33 -07:00
Seshanth.S🐺
4941b2ba58 SEL-544: Generate Mock DSC on mock-passport flow (#772)
* feat: Generate mock DSC on mock-passport flow

* Remove console log

* yarn format

* revert to mock dsc generation
2025-07-25 11:09:05 -07:00
Seshanth.S🐺
186daa655c SEL-566: Navigate Home based on document validity (#768)
* feat: navigate home if atleast one valid document is present

* update comments

* Review: Remove unnecessary continue statement

* feat: add tracking
2025-07-25 10:34:43 -07:00
Seshanth.S🐺
a41558a66b SEL-553: Show NFC Progress (#764)
* feat: add haptics

* fix: BAC FAILED error event

* update lock file

---------

Co-authored-by: Justin Hernandez <transphorm@gmail.com>
2025-07-25 09:46:56 +02:00
Justin Hernandez
bf3ef98c9d SEL-269: Update ESLint rules & lock prettier config (#781)
* Update ESLint config and lock prettier config

* Refine ESLint config and fix lint issues

* Apply eslint fixes

* Use socketIo alias (#782)

* move gesture handler

* save wip updates

* fix svg imports

* update tsconfig

* eslint updates

* eslint fixes

* improve ignore folders

* coderabbit feedback

* Fix style prop shorthands (#787)

* Expand view style props

* Expand remaining style props

* update types

* fix pipeline

* fix test env check

* nicer casting

* fix booleans

* update deeplink url handling and make it more robust

* add socket error handler
2025-07-24 21:17:54 -07:00
turnoffthiscomputer
874b426ebe Feat/retrieve OFAC trees from api (#769)
* retrieve the ofac trees from the api

* remove the ofac trees from the common repo

* fix ofac test

* yarn nice

* yarn nice

* yarn nice

* refactor ofac fetching
2025-07-21 11:07:04 +02:00
turnoffthiscomputer
57825a43c9 fix user defined data (#766) 2025-07-17 15:47:47 +02:00
Aaron DeRuvo
2aed84e6a8 SEL-504: fix fonts and some styles (#762)
* fix fonts and some styles

* dry config

* fix some warnings
2025-07-16 11:16:48 +02:00
Aaron DeRuvo
252f1ba1ef Start of Web App (#689) 2025-07-11 14:07:40 +02:00
Justin Hernandez
9dcbdd3b9e Add thorough test cases for mobile app (#752)
* Add actor mock helper and tests

* format tests

* fix tests

* Revert non-app tests

* update tests

* fix tests

* coderabbit feedback

* revert change

* remove spurious tests
2025-07-06 21:12:28 -07:00
Justin Hernandez
f98beea498 SEL-496: Add Firebase Remote Config and dev feature flag screen (#735)
* feat: add remote config support

* update lock

* tweak config logic. add feature flag viewing screen

* add tests

* allow for local overriding of feature flags

* save local override work

* save wip

* clean up ui

* update screen to handle multi value types

* fix tests

* cr feedback and fix tests

* remote config upates. fix tests, codex feedback
2025-07-05 17:29:26 -07:00
turnoffthiscomputer
2f08c664e2 fix the female bug 2025-07-05 20:30:08 +02:00
turnoffthiscomputer
4227f6da82 add the gender to the deeplink optoin 2025-07-05 18:30:21 +02:00
turnoffthiscomputer
b5a2dae135 fix deeplink genmockiddoc 2025-07-05 16:34:38 +02:00
Justin Hernandez
aac34ecdc0 remove loading screen race condition redirect (#736) 2025-07-03 12:06:43 -07:00
Justin Hernandez
7646a769ac SEL-494: Update proving machine event tracking (#734)
* Add extensive proof analytics instrumentation

* prettier and sort events by key name
2025-07-03 11:36:24 -07:00
Justin Hernandez
f77cd80663 Temporarily disable recovery redirect and reminder prompts (#733)
* Revert "SEL-487: Prompt user to backup recovery phrase before registering (#715)"

This reverts commit fe14ac655e.

* revert update

* fix safe area context pkg

* Revert "SEL-487: Prompt user to backup recovery phrase before registering (#715)"

This reverts commit fe14ac655e.

* fix old flow

* more silent tests

* update lock files

* hard code return
2025-07-03 11:01:43 -07:00
turnoffthiscomputer
113d796c43 yarn nice 2025-07-03 14:26:22 +02:00
turnoffthiscomputer
a6edf217ce allow people to switch to a mock id (#732) 2025-07-03 13:28:00 +02:00
turnoffthiscomputer
8ac75286eb App/ethcc fixes (#730)
* fix mock data screen

* increase timout between dsc and register proof

* fix the isUserRegisteredWithAlternativeCSCA function

* yarn nice
2025-07-03 12:57:41 +02:00
Justin Hernandez
c303366706 Apply consistent safe area padding across screens (#726) 2025-07-01 19:56:16 -07:00
Justin Hernandez
9f5473e0a2 feat(app): redirect empty docs to launch (#725) 2025-07-01 19:38:34 -07:00
Justin Hernandez
f2630e1b5f fix backup button label (#722) 2025-07-01 12:27:08 -07:00
Seshanth.S🐺
28a9f1bcfa feat: add flag to use PACEPolling (#680)
* feat: add flag to use PACEPolling

* fix: santize before storing in store

* bump ios build number and update podfile lock

* prettier

* bump build

* feat: add flag to use PACEPolling

* fix: santize before storing in store

* bump ios build number and update podfile lock

* prettier

* bump build

---------

Co-authored-by: Justin Hernandez <transphorm@gmail.com>
2025-07-01 09:31:11 -07:00
Justin Hernandez
36d08138a5 fix onboarding assets (#719) 2025-07-01 08:53:53 -07:00
Justin Hernandez
e66c37ce2f SEL-479: Multi-ID onboarding mvp flow (#688)
* save new launch screen wip

* save wip

* finalize launch look

* replace launch screen

* rename

* update camera onboarding and scan screen

* update tips looks

* update nfc scan issue screens

* update copy

* add launch screen todo

* fix casing

* update launch screen link, copy and add tracking event

* bump project version to match app store

* match app store

* updated supported bio id link

* add dialog message support back in

* cr feedback

* bump version and build

* update images

* tweak animation layout

* loop with setTimeout
2025-07-01 03:48:05 -07:00
Justin Hernandez
005eff002c Remove StartupFlushPolicy (#717) 2025-07-01 03:39:36 -07:00
Justin Hernandez
fe14ac655e SEL-487: Prompt user to backup recovery phrase before registering (#715)
* feat: prompt backup before registration

* coderabbit feedback

* fix tests

* coderabbitai feedback and fix tests
2025-06-30 17:00:29 -07:00
Justin Hernandez
cf2405254e Bugfix: Show recovery prompt only when user has docs (#714)
* feat(app): prompt recovery only when docs exist

* cr feedbacl
2025-06-30 14:59:32 -07:00
Justin Hernandez
e3c7df9a83 Chore: ensure there is an extra empty line after the license declaration (#712)
* ensure there is an extra empty line after the license declaration

* ignore adding header to cjs config files

* add missing license header

* ignore linting metro config
2025-06-29 23:26:41 -07:00
Justin Hernandez
180aeeca71 SEL-483: Implement recovery backup prompts (#710)
* feat: prompt users to back up account

* feat: prompt users to back up account

* format

* Add tests for recovery prompt logic

* more lint updates

* fix imports

* fix unused import

* update cursor suggestions

* implement coderabbit suggestions and fix tests
2025-06-29 21:53:51 -07:00
Justin Hernandez
a7e8e903d6 SEL-330: Add backup check after verification (#711)
* route to save phrase if backup disabled

* format
2025-06-29 19:56:52 -07:00
Justin Hernandez
b84fe5da5e SEL-447: Improve proof failure feedback (#707)
* feat: flag stale proofs as failed

* make a constant

* format
2025-06-29 19:18:29 -07:00
Justin Hernandez
d923a02668 SEL-425: Add document management analytics events (#706)
* Add document management analytics

* coderabbit feedback
2025-06-29 19:05:53 -07:00
Justin Hernandez
5c54bc5320 Show NFC support message (#708) 2025-06-29 15:04:47 -07:00
Justin Hernandez
2c52855a12 feat(app): clarify passport linking (#704) 2025-06-29 15:00:04 -07:00
Justin Hernandez
e9c9e1a64b Fix navigation serialization warnings (#702)
* test: cover modal callbacks

* coderabbit feedback
2025-06-29 13:30:19 -07:00
Justin Hernandez
3eb4a198ad Abstract iOS cloud backup logic (#701)
* feat(ios): abstract cloud backup logic

* prettier and cr feedback

* tested on iOS and android and functionality is the same
2025-06-29 09:30:52 -07:00
Justin Hernandez
5435190199 SEL-444: Fix android cloud backup (#697)
* feat(android): migrate google backup

* update lock and google services config

* add bulk format command

* backup fixes

* working drive settings!!!!!!!!

* remove unneeded intent filter

* add tests

* coderabbit feedback

* coderabbit feedback

* abstract google method

* coderabbit feedback and fix test

* more coderabbit suggestions and tests fixes
2025-06-29 02:54:07 -07:00
Kevin Lin
66c3df7fcb ci: add prettier check for contract sdk (#602)
* Add Prettier check for code formatting in contracts workflow

* Update contracts workflow: remove unused checkout action and fix build step name

* Run formatter

* Run lint fix
2025-06-28 07:30:29 +08:00
turnoffthiscomputer
f0a1538e57 fix env set to null 2025-06-26 19:32:36 +02:00
turnoffthiscomputer
c12cde5203 fix euid (#685) 2025-06-25 22:47:48 +02:00
turnoffthiscomputer
db2fd0b7df remove the && false 2025-06-25 22:34:03 +02:00
Eric Nakagawa
4d4efffe5a Apply BSL to app codebase (#639)
* Clean up root license wording

* Simplify SPDX header

* simplify license and rename BSL to BUSL

* fix merge issues

* fix missing method

---------

Co-authored-by: Justin Hernandez <transphorm@gmail.com>
2025-06-23 21:47:53 -07:00
Justin Hernandez
60bfe4387c Apply BUSL v1.1 license headers to app (#665)
* Add BSL license headers to app sources

* prettier

* fix license reference - https://spdx.org/licenses/BUSL-1.1.html
2025-06-23 13:44:01 -07:00
turnoffthiscomputer
0468719f9f App/eu id updates (#638)
* fix build issues

* generate disclosure proof with euids

* generate disclosure proof with euids

* Eu id updates 2 (#648)

* update vc_and_disclose_id test (dev branch) (#641)

* fix: vc_and_disclose_id test

* chore: yarn prettier

* Show modal on NFC scan error (#642)

* Add help button and error modal actions

* fix the screen management

* yarn nice

* Bump build v2.5.4: ios 132; android 71 (#631)

* bump version and build numbers

* remove tamagui/toast

* fix marketing version

* fix: update TD1 and TD3 checks (#643)

* bum yarn.lock

* add version and user defined data

---------

Co-authored-by: Vishalkulkarni45 <109329073+Vishalkulkarni45@users.noreply.github.com>
Co-authored-by: Justin Hernandez <justin.hernandez@self.xyz>
Co-authored-by: Seshanth.S🐺 <35675963+seshanthS@users.noreply.github.com>

* remove the mock user define data

* get the useridentifier as a hash from the user defined data

* chore: add version and userDefinedData

* feat: use the version in register / dsc proofs as well

* update calculateUserIdentifierHash

* yarn nice

* refactor: consolidate user context data handling and update payload structure

* fix typing issues on sha1

* remove console.log(sha1)

* fix sha1 import

* refactor: streamline userDefinedData handling and adjust payload type for circuit

* refactor: update sha1 usage and enhance logging in calculateUserIdentifierHash

* yarn nice

* yarn lint common

* use ts-ignore for sha1 import

* fix app ci tests

* fix typing issue

* remove unused ts-ignore

* cast uuid before calling generateinputs

* bump qrcode version

* add tsup on the qrcode sdk

* fix: exports on selfxyz/qrcode

* update how we define config.version

* fix yarn imports

* yarn format

---------

Co-authored-by: Vishalkulkarni45 <109329073+Vishalkulkarni45@users.noreply.github.com>
Co-authored-by: Justin Hernandez <justin.hernandez@self.xyz>
Co-authored-by: Seshanth.S🐺 <35675963+seshanthS@users.noreply.github.com>
Co-authored-by: Ayman <aymanshaik1015@gmail.com>
2025-06-23 13:01:23 +02:00
Seshanth.S🐺
d89d202f28 fix: update TD1 and TD3 checks (#643) 2025-06-19 10:22:00 +02:00
turnoffthiscomputer
93312c0d5e Show modal on NFC scan error (#642)
* Add help button and error modal actions

* fix the screen management

* yarn nice
2025-06-18 16:45:09 +02:00
turnoffthiscomputer
08c1ead315 Simplify dev mode gesture (#635)
* Simplify developer mode gesture

* Enable dev mode on MockData screen with five taps
2025-06-17 15:24:50 +02:00
Seshanth.S🐺
e99e4736bc feat: add MRZ correction method to NFCMethodSelectionScreen (#627) 2025-06-16 16:35:12 +02:00