Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR targets adding support for custom headers (CP-13960) by updating Avalanche-related SDK/module dependencies to a prerelease build that includes the needed functionality, and by refining the UI behavior of the key/value header input field to better handle focus and label display.
Changes:
- Pin multiple
@avalabs/*-modulepackages (and related deps) to a prerelease build via Yarn lockfile + workspace dependency updates. - Bump
@avalabs/avalanchejsfrom5.1.0-alpha.2to5.1.0-alpha.3in affected workspaces. - Update
KeyValueFormFieldto track focused sub-field and adjust caption visibility/focus clearing behavior.
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| yarn.lock | Updates lockfile to pull prerelease @avalabs/*-module builds and introduces @avalabs/avalanchejs@5.1.0-alpha.3. |
| package.json | Pins @avalabs/*-module packages to the prerelease build via resolutions. |
| packages/ui/package.json | Updates @avalabs/avalanchejs and @avalabs/vm-module-types to the new pinned versions. |
| packages/service-worker/package.json | Updates Avalanche module dependencies to the prerelease build and bumps @avalabs/avalanchejs. |
| packages/inpage/package.json | Updates EVM/SVM modules to the prerelease build. |
| apps/next/package.json | Bumps @avalabs/avalanchejs and pins @avalabs/vm-module-types to the prerelease build. |
| apps/next/src/components/Forms/KeyValueFormField.tsx | Adds focus-state tracking to improve label/caption behavior when editing key/value header rows. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
csabbee
previously approved these changes
Apr 13, 2026
Collaborator
bohdan-struk-avalabs
approved these changes
Apr 13, 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.


Description
https://ava-labs.atlassian.net/browse/CP-13960
Related PRs:
KNOWN LIMITATION:
Custom headers are not used for the built in Swap feature
Changes
Testing
Screenshots:
Checklist for the author
Tick each of them when done or if not applicable.