Improve frontend developer experience and usability#484
Merged
Conversation
- Add automated pre-commit quality checks with husky and lint-staged
- Configure lint-staged to run ESLint and Prettier on staged files
- Create .husky/pre-commit hook for automated quality checks
- Add PRE_COMMIT_HOOKS.md documentation with setup and troubleshooting
- Add non-blocking network and service health indicators
- Create useHealthStatus hook with cached status fetching
- Add HealthIndicator component for displaying chain and API status
- Integrate health indicators into Navbar without interrupting workflows
- Implement neutral fallback states for unknown conditions
- Improve onboarding documentation
- Enhance Getting Started section with troubleshooting for common setup failures
- Expand Scripts section with additional commands and common workflows
- Add comprehensive Troubleshooting section covering dependency issues,
environment variables, build failures, wallet connection, and more
- Enhance Transaction Explorer filtering
- Improve empty-state messaging to clearly explain active filters
- Display which filters are currently applied
- Provide context-aware guidance for resetting filters
- Preserve existing UI patterns and application flow
|
@johnsmccain Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR implements lightweight frontend developer-experience and usability improvements across the Next.js application, including automated pre-commit quality checks, non-blocking health indicators, enhanced documentation, and improved Transaction Explorer filtering.
Changes Made
1. Automated Pre-commit Quality Checks
.husky/pre-commithook that runsnpx lint-stagedbefore each commitPRE_COMMIT_HOOKS.mddocumentation with:package.jsonwith lint-staged configuration for staged file processingBenefits:
2. Non-blocking Network and Service Health Indicators
useHealthStatus.tshook with:HealthIndicator.tsxcomponent that:Design Decisions:
3. Enhanced Onboarding Documentation
Benefits:
4. Transaction Explorer Filtering Enhancement
TransactionFeed.tsxto:Design Decisions:
Files Changed
Modified
frontend/README.md- Enhanced documentation with troubleshooting notesfrontend/package.json- Added lint-staged configuration and dependenciesfrontend/package-lock.json- Updated dependenciesfrontend/src/components/layout/Navbar.tsx- Integrated HealthIndicatorfrontend/src/components/transactions/TransactionFeed.tsx- Enhanced empty-state messagingAdded
frontend/.husky/pre-commit- Pre-commit hook for automated quality checksfrontend/PRE_COMMIT_HOOKS.md- Documentation for pre-commit hooksfrontend/src/components/ui/HealthIndicator.tsx- Non-blocking health indicator componentfrontend/src/hooks/useHealthStatus.ts- Hook for fetching health status with cachingTesting
Pre-commit Hooks
Health Indicators
Documentation
Transaction Explorer
Breaking Changes
None. All changes are additive and maintain backward compatibility.
Dependencies Added
husky@^9.1.7- Git hooks managementlint-staged@^16.4.0- Run linters on staged filesRelated Issues
This PR addresses the request for lightweight frontend developer-experience and usability improvements.
Linked Issues