feat: license creation admin PR (#15024)

* WIP: UI created to see if it matches RFC idea

* Remove schema as we validate on the backend with old+new key schemas

* Add comment about proxy URL request when on older versions

* feat: create custom axios instance to use signature middleware

* fix: update form to respect new schema

* Add cal signature token to trubo env

* use backend mutation for creating license keys

* add loading state to creation button

* update form to have a success state

* fix type error for console.warning :')

* use api version v1

* restore checkLicense from main

* Add env vars to example

* nit: rename page export

* use US spelling

---------

Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
sean-brydonandPeer Richelsen authored and GitHub committed 2024-06-06 18:34:32 +00:00
1 parent a574e5e60f
commit 2a41cd0770
9 files changed
+435

No files matched your search

+1
View File
@@ -22,6 +22,7 @@ export const telemetryEventTypes = {
team_created: "team_created",
slugReplacementAction: "slug_replacement_action",
org_created: "org_created",
license_key_created: "license_key_created",
};
export function collectPageParameters(