-
Notifications
You must be signed in to change notification settings - Fork 324
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
Enable more seamless pasting of a token - add a "clear" button or preselect the jwt content in textarea #656
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you have not received a response for our team (apologies for the delay) and this is still a blocker, please reply with additional information or just a ping. Thank you for your contribution! 🙇♂️ |
Still a legit request, and should be trivial addition to the app. |
@nneul Before pasting, click in the box and do a ctrl+a. |
The problem with doing that is on linux, selecting that with control-a replaces the previously selected default clipboard value. (Different behavior on windows.) |
Howdy, @nneul! First of all, apologies that we didn't get back to your feedback and feature request. Thanks for taking the time before to open this issue. I am currently working on the next version of jwt.io! I like this idea and I'll include it as a feature in the new version. I can share a preview of what's coming up with you: My current proposal internally is that we split the widget that does decoding, signature verification, and decoding all at once into three separate widgets so that we can offer a better user experience with more functionality such as better contextual, actionable error messages and more UI functionality like copy and clear field buttons. What do you think about this approach? Btw: Do you ever use the query parameters to pass tokens to jwt.io? |
I like the split idea. I've never used the query parameters, but that sounds like it could be quite useful if directing to a local instance (such as embedded into an application for diagnostics of current session JWT). |
Please consider adding a 'Clear JWT' button of some sort to the entry box. My usual flow with jwt.io is to open site, grab a token in clipboard, go to paste it in, then realize I have to clear out what's there. I either have to paste in the new value after what's there and clear it manually after carefully picking the point where one stops and the other starts - or select and have it overwrite clipboard contents.
I'd love to be able to just click a button to clear it right before I paste it in.
Alternatively - do a setSelectionRange() call on the text area after page load. Then content could be cleared in one delete or keyboard paste.
The text was updated successfully, but these errors were encountered: