feat(vara-eth-idea/frontend): add program and code search#2287
Merged
nikitayutanov merged 13 commits intomainfrom Jan 19, 2026
Merged
feat(vara-eth-idea/frontend): add program and code search#2287nikitayutanov merged 13 commits intomainfrom
nikitayutanov merged 13 commits intomainfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This pull request adds search functionality for programs and codes, with automatic entity detection based on address/hash format. The Navigation component has been refactored to be centralized at the app level, removing duplication across individual pages.
Changes:
- Centralized Navigation component in app.tsx, removing individual Navigation instances from all pages
- Enhanced Search component with form validation using React Hook Form and Zod, including entity type detection (program/user/code)
- Refactored code queries to separate concerns between requests and query hooks
Reviewed changes
Copilot reviewed 15 out of 17 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| vite-env.d.ts | Deleted file - removes critical Vite and SVG type definitions |
| react-router.d.ts | Added type augmentation for NavigateFunction |
| shared/utils/index.ts | Added cx and noop utility exports |
| pages/*.tsx | Removed Navigation component imports and usage (now centralized) |
| features/search/ui/search.tsx | Major refactor with Zod validation and async entity detection |
| features/search/ui/search.module.scss | Added error styling and validation states |
| features/codes/lib/requests.ts | New file extracting Code type and getCode function |
| features/codes/lib/queries.ts | Refactored to use shared Code type from requests.ts |
| features/programs/lib/queries.ts | Updated import path for Code type |
| components/navigation/navigation.tsx | Refactored to be self-contained with route-based action buttons |
| app/app.tsx | Added centralized Navigation component |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
idea/vara-eth/frontend/src/components/navigation/navigation.tsx
Outdated
Show resolved
Hide resolved
e4b80f8 to
d5bf2e2
Compare
osipov-mit
reviewed
Jan 12, 2026
osipov-mit
requested changes
Jan 12, 2026
8d46fac to
39b19d2
Compare
osipov-mit
approved these changes
Jan 16, 2026
vraja-nayaka
approved these changes
Jan 16, 2026
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.
No description provided.