Skip to content

Add accessible custom#338

Merged
greatest0fallt1me merged 2 commits into
CalloraOrg:mainfrom
gloskull:add-accessible-custom
Jun 29, 2026
Merged

Add accessible custom#338
greatest0fallt1me merged 2 commits into
CalloraOrg:mainfrom
gloskull:add-accessible-custom

Conversation

@gloskull

Copy link
Copy Markdown
Contributor

This PR adds a custom, accessible date range picker to the ApiUsage page, replacing browser-native date inputs.

Key changes:

Created src/components/DateRangePicker.tsx with preset options and a keyboard-accessible calendar grid.
Cleaned up src/ApiUsage.tsx to fix missing imports and syntax errors.
Added comprehensive tests for the new component.
Standardized the test environment in src/setupTests.ts and vitest.config.ts.
Fixed pre-existing issues in src/components/CodeExample.tsx and src/utils/schema-validate.ts that were causing test failures.
Closes #282

google-labs-jules Bot and others added 2 commits June 29, 2026 16:24
- Implemented custom accessible date range picker in src/components/DateRangePicker.tsx.
- Integrated the new picker into src/ApiUsage.tsx.
- Fixed missing imports and duplicated code in src/ApiUsage.tsx.
- Added unit tests for DateRangePicker.
- Improved test environment by mocking window.matchMedia and fixing pre-existing issues in CodeExample.tsx and schema-validate.ts.

Co-authored-by: gloskull <189399494+gloskull@users.noreply.github.com>
…5790579442

Add accessible custom range picker for ApiUsage
@greatest0fallt1me greatest0fallt1me merged commit 3f0b5d7 into CalloraOrg:main Jun 29, 2026
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.

Add accessible custom range picker for ApiUsage

2 participants