-
Notifications
You must be signed in to change notification settings - Fork 8
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
Update sshkey page #2554
Update sshkey page #2554
Conversation
- Add all keys in one table - generate name for keys which havnt a name - Reduce size of titles - prevent opening the dialog of sshkey details on click on active checkbox
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great Job
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job ya Samar,
- as we agreed we have to migrate the old key once the user logs in in the background.
- The SSH key can be without a name, so we need to update the validation rule to accept keys with no names.
- I deleted the name when importing a new SSH key and it doesn't generate a name for me, it displayed as
-
, in this case, I think we should generate a name on behalf of the user as we displayed it in the input hint.
- Should we enable the loader while activating/deactivating the SSH key?
Screencast.from.04-15-2024.08.52.33.AM.webm
- I deleted a key then generated a new one and got the
deleted key
and thegenerated key
with the same ID
Screencast.from.04-15-2024.08-57-15.AM.mp4
- When deleted the SSH key name when generating new one I expect that you'll generate another one for me but got a dash
-
- Migrate keys on login/connect
- Fix sshkeyData type
This reverts commit cbd67ef.
This reverts commit 4afe88e.
This reverts commit 3245d9d.
This reverts commit 3c4f6f5.
This reverts commit 5153e27.
- The validation rule was modified to accept keys without names - Take the key name when importing an 'SSH key' if exists or generate a new one - Migrating the old ssh key after activating the 'profile manager' - Created a class named 'SSHKeyData' that holds all 'SSH' functionality, to avoid code duplication since there are some functions that need to be imported into other places - Disable the 'Import', 'Generate', and 'Export' buttons while 'Deleteing', 'Creating', and 'Updating' keys to avoid errors - Wait on the chain to finish the task then update the table of 'ssh keys'
718a23e
to
9ce6514
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great job, we just need to pay attention to error handling.
Can we change the info to be "Manage SSH keys easily, switch between them, and activate or deactivate keys as needed for accessing deployed machines. Simplify key distribution and effectively manage access to nodes." tfgrid-sdk-ts/packages/playground/src/views/sshkey_view.vue Lines 9 to 12 in 9ce6514
|
The lower export button doesn't work as expected. export_ssh.webm |
- Rename the tab of 'SSH Key' to 'SSH Keys' to match the new feature - Generate a unique name/key and check if any of them exists on the profile keys - Check the user balance if enough or not before updating the chain and notify the user - Rename the text area and input fields - Migrate and take the old key in deployment if the balance isn't enough to avoid errors
…ted keys then pass them.
- Removed the hard-coded cost balance and make it variable instead - Updated the @click:row event - Removed unneeded alert message
7d37d55
to
e3359fd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job, Emad!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On low balance, an error is handled, but the status has changed!
After reloading the page, the status went back to active.
also i think the toast should have more friendly message
Screencast from 21 أبر, 2024 EET 11:21:09 ص.webm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks ya Omda great job
Description
Changes
Related Issues
Checklist