blink icon indicating copy to clipboard operation
blink copied to clipboard

Dashboard bugs

Open nicolasburtey opened this issue 1 year ago • 3 comments

if the token is invalid, it shows a blank page instead of showing an error / redirecting to the auth page

nicolasburtey avatar Oct 21 '23 17:10 nicolasburtey

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

nicolasburtey avatar Oct 24 '23 11:10 nicolasburtey

Two UX things to note:

  • shows Create Next App as the page title: image

  • a 11 sats balance shows in scientific notation: image

openoms avatar Oct 26 '23 08:10 openoms

The Expires In setting is not getting applied from the Dashboard: image

Created these choosing 30, 1 and 0 days: image

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
      }
    }
  }
}

openoms avatar Nov 27 '23 17:11 openoms

those issues has been addressed

nicolasburtey avatar Mar 10 '24 23:03 nicolasburtey