Skip to content

feat: complete PDF/UA Investor Statement verification and fix global … - #563

Open
OLAMIGHTY010 wants to merge 2 commits into
RevoraOrg:masterfrom
OLAMIGHTY010:uiux/pdf-ua-investor-statement
Open

feat: complete PDF/UA Investor Statement verification and fix global …#563
OLAMIGHTY010 wants to merge 2 commits into
RevoraOrg:masterfrom
OLAMIGHTY010:uiux/pdf-ua-investor-statement

Conversation

@OLAMIGHTY010

Copy link
Copy Markdown

Pull Request: PDF/UA Investor Statement Verification & Global Syntax Fixes

Resolves: #416

Description

This PR addresses several UI/UX and compliance goals, primarily focusing on completing the PDF/UA verification for Investor Statements. It also introduces various global syntax fixes, layout adjustments to the Payout Schedule, and test coverage improvements to maintain code quality.

Key Changes

1. Investor Statement (PDF/UA Compliance)

  • Completed PDF/UA Verification: Fixed accessibility and structural constraints within InvestorStatement.tsx and its test suite to align with PDF/UA compliance standards.
  • Test Coverage: Explicitly added InvestorStatement.tsx and usePrintStatement.ts to the coverage thresholds in vite.config.ts to ensure ongoing validation.

2. Payout Schedule Enhancements

  • UI Refinements: Improved the visual hierarchy and layout of the Gantt chart and table views in PayoutSchedule.tsx.
  • Status Legend & Pattern Keys: Updated the layout of the status legend and Gantt pattern keys for better readability and accessibility contrast.

3. Global Syntax Fixes & Code Cleanup

  • Component Fixes: Resolved syntax warnings and cleaned up unused imports/variables across multiple components:
    • CommandPalette.tsx
    • KycSelfieCapture.tsx
    • OnChainStatusBadge.tsx
    • Tabs.tsx
    • DistributionDashboard.tsx
    • OfferingDetail.tsx
  • Test Suite Updates: Updated TwoFactorSetup.test.tsx to align with recent component changes.
  • Dependencies: Cleaned up package.json and synchronized package-lock.json.

Testing Instructions

  1. Run npm run test to verify that InvestorStatement.test.tsx passes and coverage requirements in vite.config.ts are met.
  2. Navigate to the Payout Schedule screen to ensure the Gantt Chart, Table Fallback, and Status Legend render correctly across different viewport sizes.
  3. Verify that the global UI components (Command Palette, Tabs, etc.) behave properly with no console warnings.

Checklist

  • Tested locally
  • All automated checks and tests pass
  • Code meets accessibility (WCAG / PDF/UA) standards
  • Test coverage maintained/improved

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.

[UI/UX Design] Design the Offering Registration wizard summary/review screen

1 participant