Skip to content

feat: enhance env validation error screen with improved UI and helpful - #1182

Open
Zarmaijemimah wants to merge 1 commit into
Favourorg:mainfrom
Zarmaijemimah:feature/improvements
Open

feat: enhance env validation error screen with improved UI and helpful#1182
Zarmaijemimah wants to merge 1 commit into
Favourorg:mainfrom
Zarmaijemimah:feature/improvements

Conversation

@Zarmaijemimah

Copy link
Copy Markdown

feat: enhance env validation error screen with improved UI and helpful links

@Zarmaijemimah

Zarmaijemimah commented Aug 30, 2026

Copy link
Copy Markdown
Author

close #1157

Enhance Environment Variable Validation Error Screen

Summary

Improved the MisconfigurationScreen component to provide a better user experience when required environment variables are missing.

Changes Made

  • Enhanced UI design with improved card layout and spacing
  • Added missing variable count display in the section header
  • Improved visual hierarchy with better styled error cards using red borders and backgrounds
  • Added two action buttons with icons for quick access to:
    • Setup instructions documentation
    • .env.example file reference
  • Made the screen more responsive with flexbox layout
  • Increased max-width for better readability on larger screens
  • Updated text for clarity: "Configuration Required" instead of "App Misconfiguration"

Technical Details

  • Modified frontend/src/components/MisconfigurationScreen.tsx
  • Enhanced accessibility with better visual indicators
  • Improved dark mode support with proper color contrasts
  • Added responsive design for mobile and desktop views

Testing

The error screen now displays when required environment variables (VITE_FACTORY_CONTRACT_ID, VITE_TOKEN_WASM_HASH, VITE_IPFS_API_KEY, VITE_IPFS_API_SECRET) are missing, showing clear instructions and helpful links to resolve configuration issues.

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