Implement transfer management functionality#165
Merged
samwel141 merged 3 commits intoGreenstand:v2from Jan 5, 2026
Merged
Conversation
- Updated `getTransfers` API to include sorting options. - Introduced new API methods for handling pending transfers, accepting, declining, and canceling transfers. - Added `TransferSidePanel` component for detailed transfer actions. - Integrated `TransfersProvider` in routing to manage transfer-related state across components. - Enhanced `TransfersTable` to support row selection and display side panel for pending transfers. - Updated context to manage sorting, pending transfers count, and refetch logic. This commit improves the user experience by allowing users to manage their transfers more effectively and provides a clearer interface for pending actions.
- Changed default sorting from 'state' to 'created_at' in TransfersContext. - Updated TransfersTable to reflect the new default sorting. - Implemented a new sorting function to prioritize transfer statuses and sort by creation date when using default sorting. These changes improve the accuracy of transfer display and enhance user experience by ensuring the most relevant transfers are shown first.
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.
Summary
Implements transfer management: viewing, sorting, accepting, declining, and canceling transfers. Adds a side panel for transfer details and actions, integrates transfer state management via context, and supports pending transfer workflows for senders and receivers.
Tasks Completed