Merged
Conversation
- Added a new API Keys page for users to request and manage their API keys. - Introduced hooks for handling API key requests and responses. - Updated sidebar navigation to include a link to the new API Keys page. - Bumped the version of @acta-team/acta-sdk to 1.0.4 and modified the build scripts to use webpack.
- Enhanced webpack configuration to ignore warnings from optional native dependencies in stellar-sdk. - Removed unnecessary blank lines in api-keys type definitions and API keys page component for cleaner code.
- Bumped @acta-team/acta-sdk to version 1.0.5 in package.json, package-lock.json, and yarn.lock for improved functionality. - Removed the deprecated acta.provider.tsx file and refactored related components to utilize direct API calls for credential issuance and verification. - Enhanced the API key management feature by adding input fields for API key entry in the issue credential form and ensuring proper handling in vault operations. - Updated the sidebar to include a link to the API Keys page and improved error handling in various hooks related to credential management.
- Removed unnecessary blank lines in api-keys type definitions and API keys page component for cleaner code. - Added a temporary notice in the NetworkSwitchModal to inform users that mainnet is currently disabled while API and contract updates are in progress.
- Translated the temporary notice in the NetworkSwitchModal to English, clarifying that Mainnet is temporarily unavailable due to ongoing API and contract updates.
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
This pull request introduces a new API Key request feature to the dashboard, refactors credential verification to use the new API, and improves type definitions and UI interactions. It also updates dependencies and cleans up provider usage for better maintainability. The most important changes are grouped below:
API Key Feature Additions:
src/app/dashboard/api-keys/page.tsx) and UI component (ApiKeys) for requesting and displaying public API keys, including clipboard copy functionality. [1] [2]usePublicApiKeyhook for requesting API keys from the backend, handling state, errors, and storing the key for use across the app.src/@types/api-keys.ts).Credential Verification Refactor:
rawandvaultRecordfields to theCredentialtype and included them in the credential adapter for improved credential content handling. [1] [2]UI and UX Improvements:
onViewhandler toCredentialCardPropsand included an eye icon in the credential card UI for viewing credential content. [1] [2] [3] [4]Configuration and Dependency Updates:
@acta-team/acta-sdkdependency to version^1.0.5inpackage.json.next.config.ts. [1] [2]Provider and Type Cleanup:
ActaProviderfrom the app layout and cleaned up environment and on-chain types for clarity and consistency. [1] [2] [3] [4] [5]## DescriptionType of Change
Related Issues
Closes #
Fixes #
Relates to #
Changes Made
Screenshots / Videos
Testing
Test Cases
Manual Testing Steps
Checklist
Dependencies
Added
Removed
Updated
Additional Notes
Reviewers
/cc @