Add contextual help popover on SubscribeButton - #799
Merged
Conversation
|
@BigMick03 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! 🚀 |
Contributor
|
Solid PR — merging. Appreciate the effort! |
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.
Pull Request: Add First-Time User Help Popover to Subscribe Button
Closes #694
Description
This pull request introduces a contextual Help Popover for the
SubscribeButtonto help first-time users understand the primary subscription metric/field before subscribing. The popover provides concise guidance without interrupting the workflow, improving discoverability and reducing confusion for new users.The implementation follows existing UI patterns, supports responsive layouts, complies with WCAG 2.1 AA accessibility guidelines, and maintains consistency with the project's design tokens and dark mode.
Problem Statement
First-time users may not immediately understand the meaning or purpose of the primary metric displayed on the
SubscribeButton. Without additional context, users may hesitate to subscribe or misunderstand what the displayed value represents.This enhancement introduces an unobtrusive informational popover that improves onboarding while keeping the interface clean for returning users.
Changes Implemented
Help Popover
SubscribeButton.First-Time User Experience
UI Integration
Updated:
src/pages/SubscribeButton.tsxsrc/components/HelpPopover.tsxThe popover integrates seamlessly with existing page layouts and component styling.
Accessibility (WCAG 2.1 AA)
Implemented accessibility best practices, including:
aria-describedby,aria-expanded,aria-controlswhere applicable).Responsive Design
Dark Mode & Design Tokens
Technical Details
Updated Files
src/pages/SubscribeButton.tsxsrc/components/HelpPopover.tsxImplementation Highlights
Testing
Functional Tests
Accessibility Tests
Responsive Tests
Regression Tests
Documentation
Updated documentation to include:
Added inline comments where implementation details benefit future maintainers.
Validation Performed
npm run lintnpm testnpx tsc --noEmitAcceptance Criteria
SubscribeButton.Out of Scope
Benefits
Campaign: GrantFox FWC26
Category: UI/UX Enhancement
Components:
src/pages/SubscribeButton.tsx,src/components/HelpPopover.tsxAccessibility: WCAG 2.1 AA Compliant
Test Coverage Target: ≥95%
Estimated Timeframe: 96 Hours