P2P Trading 5.0.5
27 December 2024
CRITICAL FIXESMAJOR IMPROVEMENTSUI IMPROVEMENTSADMIN IMPROVEMENTSSYSTEM ENHANCEMENTS
P2P v5.0.5 - Comprehensive Interface & Admin Improvements
Release Date: December 27, 2024
Tags: CRITICAL FIXES, MAJOR IMPROVEMENTS, UI IMPROVEMENTS, ADMIN IMPROVEMENTS, SYSTEM ENHANCEMENTS
Added
P2P Offer Management
- Added a full offer editing interface with tabbed sections for Trade Settings, Location, Requirements and Status
- Added form validation with security notices and real-time updates
- Added a responsive layout with proper internationalization support
- Added integration with the existing P2P offer management workflow
- Added the backend endpoint behind it, with validation and security restrictions
Admin Navigation System
- Changed the P2P admin to the same navigation pattern as the other extension admin interfaces (Staking, ICO, Affiliate)
- Changed the navigation structure to a consistent set: Overview, Trades, Offers, Disputes, Settings
- Added a mobile-friendly collapsible menu with proper theming support
- Changed the admin badge and branding for consistency across the platform
Changed
Page Layout Consistency
- Changed all P2P pages to a consistent minimum viewport height, so the page no longer resizes as content loads
- Changed the P2P layout to distribute height properly between header, content and footer
- Changed loading states to hold the same minimum height as the loaded page
- Changed the layout for better mobile and desktop compatibility
Enhanced P2P Offer Creation Validation
-
Changed country selection to be mandatory when creating an offer
- Location Validation: Users must specify their country before proceeding to the next step
- Compliance Support: Helps ensure compliance with local regulations and trading laws
- Better Matching: Improves trader matching by providing accurate geographical information
- Visual Indicators: Added red asterisk (*) and validation messages for required fields
-
Changed payment methods to require at least one selection
- Payment Method Validation: Users cannot proceed without selecting payment methods
- Transaction Security: Ensures buyers and sellers have agreed-upon payment channels
- Clear Requirements: Added validation alerts explaining why payment methods are required
-
Changed trade terms to be mandatory for all P2P offers
- Terms Validation: Users must provide clear trade terms and conditions
- Dispute Prevention: Protects both parties by requiring explicit trade conditions
- Legal Protection: Helps establish clear agreements between trading parties
- Enhanced UI: Added required field indicators and validation feedback
-
Added server-side validation of the same requirements
- Data Integrity: Ensures all offers have complete information before approval
- Error Handling: Provides clear error messages for missing required information
- Security Enhancement: Prevents incomplete offers from being created
-
Changed the offer creation wizard to validate step by step
- Progressive Validation: Users receive immediate feedback on required fields
- Step Completion Logic: Steps only mark as complete when all requirements are met
- Visual Feedback: Red borders and warning messages for incomplete fields
- Guided Process: Clear instructions on what information is needed at each step
Fixed
P2P Trading System
-
Fixed offer edits being impossible to save, because the offer edit endpoint could not be built. All security restrictions and validation logic are unchanged.
-
Fixed missing spaces throughout the P2P interface, which affected readability
- Landing Page: Corrected hero title spacing
- Offers Hero: Corrected spacing in the search area
- Amount & Price Step: Corrected currency formatting in the displayed values
- Create Offer Wizard: Step titles were hardcoded instead of translated
-
Fixed offer editing to enforce the security measures it always intended
- Ownership Verification: Only offer creators can edit
- Active Trade Protection: Editing is blocked during ongoing transactions
- Status Restrictions: Editing is limited to appropriate offer states
- Field Restrictions: Core data (amount, price, currency) is protected from modification
Offer Creation Could Be Completed Without Required Information
- Fixed users being able to skip required information by advancing past a step
- Fixed offers being created without essential details
- Fixed frontend and backend validation requirements disagreeing with each other
- Fixed error messages and field requirement indicators so it is clear what is missing
Admin Interface
- Fixed the P2P admin's outdated sidebar navigation, replaced with the modern navbar used elsewhere
- Fixed poor mobile behaviour in the admin, which now uses a collapsible navigation