Skip to content
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

fix: making api tokens creation work #20009

Merged
merged 4 commits into from Apr 8, 2024
Merged

Conversation

Bassel17
Copy link
Member

@Bassel17 Bassel17 commented Apr 3, 2024

What does it do?

  • Makes sure that the lifespan is a number not a string
  • Makes sure the user gets navigated to the correct page after successful creation
  • Add e2e tests to for creating API tokens

Why is it needed?

  • Creating API tokens was broken

How to test it?

  • Attempt to create an API token, it should work and you should be able to copy the token

Related issue(s)/PR(s)

fix #19994

@Bassel17 Bassel17 added source: core:admin Source is core/admin package pr: fix This PR is fixing a bug labels Apr 3, 2024
Copy link

vercel bot commented Apr 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
contributor-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 8, 2024 8:13am

Copy link
Contributor

@innerdvations innerdvations left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, also QAd it.

After creating an unlimited token, both this and transfer tokens display an empty select item instead of showing "Unlimited"

Is that something you can quickly solve here, or do you want to open another issue for it?

(Update: I created a ticket for it if you want to go ahead and merge this, we can fix that part later)

@Bassel17 Bassel17 merged commit 6fe2e78 into v5/main Apr 8, 2024
21 of 28 checks passed
@Bassel17 Bassel17 deleted the fix/creating-api-tokens branch April 8, 2024 08:55
@echoes-hq echoes-hq bot added the echoes/type: bug Effort to correct undesirable or incorrect behavior label Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
echoes/type: bug Effort to correct undesirable or incorrect behavior pr: fix This PR is fixing a bug source: core:admin Source is core/admin package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants