-
Notifications
You must be signed in to change notification settings - Fork 14
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
feat: credential overview #4
Merged
Merged
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
b68a32c
feat: qr scanner (without parsing)
3f44a85
Update packages/app/provider/index.tsx
ddec381
chore: qr scanner cleanup
a61a2e5
chore: yarn.lock
a56fd0a
chore: revert agent changes
9dba53c
chore: permissions and background
c2f1485
fix: restore agent changes
2e86ae5
fix: scanner
eb8f024
feat: added initial flow
dd736ed
chore: flow
84016f8
chore: styling
bd67cfd
fix: make jsonld openid flow work
TimoGlastra 8fb20f2
feat: credential notification
085cfeb
feat: moved loading to notification modal
c1b1ac1
fix: image cleanup
4a158c9
chore: clean up
b5c3aaf
chore: refactor
715b6be
feat: credential overview
50d299c
fix: colors
9a73b12
chore: comment to clarify utils
dff6b24
chore: refactor
cc87fa8
fix: comment
af4a1bd
feat: accept credential request (#3)
055ce3d
feat: added initial flow
f782d04
chore: flow
e5bbde2
feat: credential notification
4373e72
feat: moved loading to notification modal
b79ac1a
chore: clean up
35770eb
chore: refactor
7a70acb
feat: credential overview
89a46e0
chore: comment to clarify utils
cb496ee
chore: refactor
5f27932
fix: rebase fix
f707472
fix: removed unused packages
ef1a638
Merge branch 'main' into feat/credential-overview
28735ad
fix: comment
56d3a82
fix: minor improvements
c6db8a6
chore: update lock-file
TimoGlastra 4bbce90
chore: package.json updates
TimoGlastra 1a909dd
chore: theme refactoring
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 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 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,19 @@ | ||
import { XStack, HEADER_STATUS_BAR_HEIGHT } from '@internal/ui' | ||
import { WalletScreen } from 'app/features/wallet/WalletScreen' | ||
import { Stack } from 'expo-router' | ||
|
||
export default function Screen() { | ||
return ( | ||
<> | ||
<Stack.Screen | ||
options={{ | ||
headerShown: true, | ||
header: () => { | ||
return <XStack h={HEADER_STATUS_BAR_HEIGHT} bg="$grey-200" /> | ||
}, | ||
}} | ||
/> | ||
<WalletScreen /> | ||
</> | ||
) | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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 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 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 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 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 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 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 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 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 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 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,35 @@ | ||
import { Heading, Paragraph, XStack, YStack, borderRadiusSizes, paddingSizes } from '@internal/ui' | ||
|
||
interface CredentialRowCardProps { | ||
name: string | ||
issuer: string | ||
onPress(): void | ||
bgColor?: string | ||
} | ||
|
||
export default function CredentialRowCard({ | ||
name, | ||
issuer, | ||
bgColor, | ||
onPress, | ||
}: CredentialRowCardProps) { | ||
return ( | ||
<XStack | ||
onPress={onPress} | ||
pad="md" | ||
py={paddingSizes.sm} | ||
g="lg" | ||
pressStyle={{ backgroundColor: '$grey-100' }} | ||
> | ||
<XStack bg={bgColor ?? '$feature-500'} h="100%" w="25%" br={borderRadiusSizes.md} border /> | ||
<YStack> | ||
<Heading variant="h3" numberOfLines={1}> | ||
{name} | ||
</Heading> | ||
<Paragraph variant="sub" secondary> | ||
{issuer} | ||
</Paragraph> | ||
</YStack> | ||
</XStack> | ||
) | ||
} |
This file contains 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with this change. Reason I kept it
loading
as that's the pattern used by the react-hooks AFJ extension and if we start using more types from there it will be inconsistent.