blink
blink copied to clipboard
Dashboard bugs
if the token is invalid, it shows a blank page instead of showing an error / redirecting to the auth page
also: logout from the top right icon doesn't fully logout. need to log out from hydra in addition to removing the cookie from next-auth
Two UX things to note:
-
shows
Create Next App
as the page title: -
a 11 sats balance shows in scientific notation:
The Expires In
setting is not getting applied from the Dashboard:
Created these choosing 30, 1 and 0 days:
The setting does work through the API:
curl --request POST \
--header 'content-type: application/json' \
--header 'X-API-KEY: galoy_staging_xxxxxxxxxxxxxx' \
--url 'https://api.staging.galoy.io/graphql' \
--data '{"query":"mutation ApiKeyCreate($input: ApiKeyCreateInput!) {\n apiKeyCreate(input: $input) {\n apiKey {\n name\n createdAt\n expiresAt\n }\n }\n}","variables":{"input":{"expireInDays":0,"name":"test"}}}'
Response (setting 0):
{
"data": {
"apiKeyCreate": {
"apiKey": {
"name": "test",
"createdAt": 1701106398,
"expiresAt": 1701106398
}
}
}
}
those issues has been addressed