captable icon indicating copy to clipboard operation
captable copied to clipboard

Rotate API Key

Open dahal opened this issue 1 year ago • 6 comments

CleanShot 2024-06-29 at 03 16 44

Implement a TRPC endpoint to rotate the key

  • When user click on rotate key, give them them an AlertDialog, we are using shadcn/ui, please use this component
  • The message should say Are you sure you want to rotate this key? please make sure to replace existing API keys if you have used it anywhere.
  • Buttons should be Cancel and Continue
  • When clicking on Continue show the same modal we have on create-key.tsx component, auto copy the regenerated key, basically the flow should similar to creating new key.

dahal avatar Jun 29 '24 08:06 dahal

I would like to work on this feature

myspace20 avatar Jul 03 '24 21:07 myspace20

I would like to work on this feature

Thanks for your interest @myspace20 , please go ahead and submit the PR when ready. 🚀

dahal avatar Jul 04 '24 00:07 dahal

Thank you

myspace20 avatar Jul 05 '24 09:07 myspace20

@rushikeshg25 I think @myspace20 is busy in some other tasks. if you are interested, feel free to pick up this issue as you said earlier.

Raju-kadel-27 avatar Jul 25 '24 07:07 Raju-kadel-27

Hey @dahal I would love to work on the issue. If no one is working on it right now I can start.. thanks

akshathere avatar Aug 01 '24 18:08 akshathere

Hey @dahal I would love to work on the issue. If no one is working on it right now I can start.. thanks

@akshathere please go ahead and submit the PR when ready.

dahal avatar Aug 01 '24 18:08 dahal