Repository navigation
feat: activity feed test suite, api usage a11y, drawer view, and optimistic rollback - #1682
Merged
emdevelopa merged 1 commit intoOct 21, 2026
Conversation
|
@Akpamgbo is attempting to deploy a commit to the Emmanuel's projects Team on Vercel. A member of the Team first needs to authorize it. |
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.
Description
This pull request addresses four assigned issues on the frontend components for the Stellar Payment API dashboard:
Closes #1655
Closes #1656
Closes #1657
Closes #1658
Changes proposed
What were you told to do?
ActivityFeed.tsxto improve styling, interaction handling, and overall accessibility.ApiUsageChart.tsx.ApiUsageChart.tsxfor mobile and compact viewports.ApiUsageChart.tsx.What did I do?
Activity Feed Test Suite & UX (#1655)
frontend/src/components/ActivityFeed.test.tsxtesting loading skeletons, empty states, error retry actions, populated desktop table and mobile card rows, keyboard accessibility, real-time socket updates, and display preference formatting.frontend/src/components/__snapshots__/ActivityFeed.test.tsx.snapfor snapshot test coverage.ActivityFeed.tsxwith test identifiers (data-testid) and an accessible inline Retry button in the error container.WCAG 2.1 AA Keyboard Focus & Screen Reader Support (#1656)
ApiUsageChart.tsxwith accessible region attributes (role="region",aria-label="API Usage Statistics",tabIndex={0}, focus rings).<table className="sr-only">) with accessible caption and row descriptions so assistive technologies can read daily request metrics.aria-live="polite"on summary metrics so updates are announced to screen readers.Responsive Drawer View & Touch Gestures (#1657)
onTouchStart,onTouchMove,onTouchEnd) with tactile drag handle and swipe-down dismissal (>60px threshold).Optimistic State Rollback & Toast Feedback (#1658)
previousDataRef; on network failure, the component rolls back to the previous state.sonner(toast.error) with a "Retry" action on failure and success feedback on resolution.ApiUsageChart.test.tsxand snapshots covering all new functionality.Check List (Check all the applicable boxes)
Screenshots / Validation Evidence
role="region",tabIndex={0},sr-onlytable) and focus management.ApiUsageChart.tsx.