unkeyed / unkey

Open source API management platform
https://go.unkey.com
Other
4k stars 468 forks source link

Increase size of text in the onboarding flow. To make sure that someone understands the root key won't be shown again #502

Closed CITGuru closed 11 months ago

CITGuru commented 11 months ago

Preliminary Checks

Description

It's quite easy to skip this part of the screen without having a local copy of the root.

  1. ~We should add the ability to download the root key as a .txt file locally.~
  2. The This key is only shown once... text size should be increased to be more legible.
Screenshot 2023-11-15 at 18 32 05
perkinsjr commented 11 months ago

At no point should you be downloading your root key in plain text. Similar to any Secret key it hold the power to create, update and delete resources. We won't implement a download button here.

We will increase the size of the font.

bipulpoudel commented 11 months ago

@perkinsjr , I can pick this up, also should we change color of this text to make it more visible?

spiritanand commented 11 months ago

@bipulpoudel is this done? If not, I would like to start with its implementation…

perkinsjr commented 11 months ago

@bipulpoudel assigned to you, also make sure you check both light and dark mode. It's found in the settings/ user section.

bipulpoudel commented 11 months ago

@perkinsjr , Should it be fine, If I reuse this component?, This is much visible and also looks better?

image

In light mode :)

image

chronark commented 11 months ago

The text should be different this is a root key and you should absolutely not pass it to your user.

bipulpoudel commented 11 months ago

@chronark ,

Maybe something like this?

The subtext- Please store it somewhere safe for future use.

chronark commented 11 months ago

yeah that would work

bipulpoudel commented 11 months ago

@chronark , Thanks for confirmation. Quick change so, created PR :)