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

Improve UX for database management prompts #18438

Conversation

adfoster-r7
Copy link
Contributor

@adfoster-r7 adfoster-r7 commented Oct 9, 2023

Improves the UX for database management prompts. Now when running msfdb init the user is no longer prompted for database deletion. The message for clearing unused data service credentials has been reworded.

Verification

  • Ensure that msfdb init no longer prompts for the database deletion
  • Ensure that msfdb reinit continues to prompt for database deletion
  • Ensure that msfdb delete continues to prompt for database deletion

@@ -673,7 +673,7 @@ def persist_data_service
end

def clear_default_data_service
puts 'Clearing http web data service credentials in msfconsole'
puts 'Verifying msfconsole data service'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The old message could suggest to the user that data is being deleted. We still want this message around for debugging user issues - i.e. a crash after this message suggests issues booting msfconsole. We'll go with a more generic verb of 'verify'

@adfoster-r7 adfoster-r7 force-pushed the improve-ux-for-database-management-prompts branch from 5327030 to 0875cc8 Compare October 9, 2023 10:04
@adfoster-r7 adfoster-r7 changed the title Improve UX for databse management prompts Improve UX for database management prompts Oct 11, 2023
@cgranleese-r7
Copy link
Contributor

cgranleese-r7 commented Oct 13, 2023

Everything is working as expected 👍

init

image

reinit

image

delete

image

@cgranleese-r7 cgranleese-r7 self-assigned this Oct 13, 2023
@cgranleese-r7 cgranleese-r7 added enhancement rn-enhancement release notes enhancement labels Oct 13, 2023
@cgranleese-r7 cgranleese-r7 merged commit a1b3c8d into rapid7:master Oct 13, 2023
36 checks passed
@cgranleese-r7
Copy link
Contributor

Release Notes

Makes improvements to the UX for database management prompts. Now when running msfdb init the user is no longer prompted for database deletion. The message for clearing unused data service credentials has been reworded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement rn-enhancement release notes enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants