Skip to content

DKG Core node installer-updates #3842

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

Open
wants to merge 1 commit into
base: v8/develop
Choose a base branch
from

Conversation

swamala
Copy link
Collaborator

@swamala swamala commented Apr 24, 2025

Enhanced V8 Node Installer Script UI/UX Improvements

This PR introduces significant UI/UX improvements to the V8 node installer script, making it more user-friendly, visually appealing, and efficient. The changes focus on improving the user experience while maintaining all core functionality.

Key Improvements

1. Visual Enhancements

  • Added styled boxes and borders around section headers using Unicode characters
  • Implemented color-coded sections for better visual hierarchy
  • Added progress indicators and status icons (✅, ❌, ⚠️) for clearer feedback
  • Enhanced header styling with boxed layouts for major sections

2. User Input Improvements

  • Added clear prompts with "▶" prefix for input fields
  • Implemented hidden input for sensitive data (private keys)
  • Added descriptive labels and help text for configuration options
  • Standardized input format across all prompts

3. Menu System Enhancements

  • Improved blockchain selection interface with checkbox-style options
  • Enhanced environment selection UI with clear descriptions
  • Added descriptive labels for database selection options
  • Implemented consistent styling across all menu interfaces

4. Workflow Optimizations

  • Fixed duplicate triplestore configuration prompt
  • Eliminated redundant RPC endpoint requests for Gnosis and Base chains
  • Improved error handling and user feedback
  • Added clear progress indicators for long-running operations

5. Configuration Sections

  • Enhanced wallet configuration UI with better organization
  • Improved operator fee input with clear validation
  • Better organized blockchain selection with visual grouping
  • Added clear section breaks between configuration steps

6. Installation Summary

  • Added a comprehensive installation completion screen
  • Included node configuration summary
  • Listed available management commands with descriptions
  • Added clear instructions for post-installation steps

7. Code Organization

  • Improved function organization and naming
  • Added consistent error handling
  • Implemented better variable management
  • Added comments for better code maintainability

Technical Details

Branch Selection Logic

  • Mainnet environment now uses v6/release/mainnet branch
  • Testnet environment uses v6/release/testnet branch
  • Added clear environment selection UI

RPC Endpoint Management

  • Implemented storage of RPC endpoints to avoid duplicate prompts
  • Added validation for endpoint inputs
  • Improved error handling for RPC configuration

UI Components

╔════════════════════════════╗
║        Section Title       ║
╚════════════════════════════╝
  • Added consistent box styling for major sections
  • Implemented color coding for different types of information
  • Added progress indicators for installation steps

Testing

The script has been tested for:

  • Fresh installations
  • Upgrade scenarios
  • Different environment selections
  • Various blockchain combinations
  • Error handling scenarios

Impact

These improvements make the installer:

  • More intuitive for new users
  • More efficient for experienced users
  • Less prone to user input errors
  • More visually appealing
  • More informative about the installation process

Screenshots

[Consider adding before/after screenshots of key UI improvements]

fix installer branches and updated the ui/ux of the script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant