Skip to content

Conversation

@askov
Copy link
Contributor

@askov askov commented Nov 28, 2025

Description

Added components and utilities for interactive IDL feature.

⚠️ Important

This PR depends on #768, so there is actually only one commit. Should be rebased as soon as the base PR is merged

⚠️ Stories review

Reviewing the stories is optional. This code does not affect production and is intended for developers only.

Type of change

Type of change

  • Bug fix
  • New feature
  • Protocol integration
  • Documentation update
  • Other (please describe):

Screenshots

Wallet component example

Screenshot 2025-11-28 at 20-09-40 Features _ IDL _ Interactive IDL _ UI _ BaseConnectWallet - Connected ⋅ Storybook

Testing

Related Issues

N/A

Checklist

  • My code follows the project's style guidelines
  • I have added tests that prove my fix/feature works
  • All tests pass locally and in CI
  • I have updated documentation as needed
  • CI/CD checks pass
  • I have included screenshots for protocol screens (if applicable)
  • For security-related features, I have included links to related information

@vercel
Copy link

vercel bot commented Nov 28, 2025

@askov is attempting to deploy a commit to the Solana Foundation Team on Vercel.

A member of the Team first needs to authorize it.

@ellipsis-dev
Copy link
Contributor

ellipsis-dev bot commented Nov 28, 2025

⚠️ This PR is too big for Ellipsis, but support for larger PRs is coming soon. If you want us to prioritize this feature, let us know at [email protected]


Generated with ❤️ by ellipsis.dev

);

// Original IDL atom
const orignalIdl = atom<BaseIdl | undefined>();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit

Suggested change
const orignalIdl = atom<BaseIdl | undefined>();
const originalIdl = atom<BaseIdl | undefined>();

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed, thanks


export function InteractInstruction({
instruction,
onExecuteInstruciton,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit:

Suggested change
onExecuteInstruciton,
onExecuteInstruction

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

export const originalIdlAtom = atom(
get => {
const v = get(orignalIdl);
// if (v === undefined) throw new Error('orignalIdl is absent');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@askov askov force-pushed the development-feat-interactive-idl-ui-part-5 branch from a60bcaf to 9751abe Compare December 5, 2025 04:58
@askov askov mentioned this pull request Dec 5, 2025
12 tasks
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.

2 participants