Fix infra and docs - #920
Merged
Merged
Conversation
…ix connection exports
# Conflicts: # .gitignore # backend/src/__tests__/eventIndexer.test.ts # backend/src/db/connection.ts # frontend/src/app/[locale]/activity/page.tsx # frontend/src/app/[locale]/loans/page.tsx # frontend/src/app/[locale]/settings/page.tsx # frontend/src/app/components/borrower/LoanRepaymentForm.tsx # frontend/src/app/components/loan-wizard/StepAmountAsset.tsx # frontend/src/app/components/remittance/RemittanceForm.tsx # frontend/src/app/components/ui/EmptyState.tsx
devpeter999
force-pushed
the
fix-infra-and-docs
branch
from
May 27, 2026 10:42
023032c to
40054dc
Compare
| import { isValidStellarAddress } from "../../utils/stellar"; | ||
| import { AlertCircle, Send, Loader } from "lucide-react"; | ||
| import { useCreateRemittance } from "../../hooks/useApi"; | ||
| import { truncateDecimals, getAssetPrecision } from "../../utils/precision"; |
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.
RemitLend Frontend and Backend Performance Improvements
This PR implements several key frontend improvements for RemitLend, focusing on UX consistency, precision enforcement, and session management. It also addresses a failing backend test in the Event Indexer.
Implementation Details
Frontend Improvements
Consistent Empty States (feat(frontend): add consistent empty states to all list and table views #580):
EmptyStatecomponent which simplifies logic across the app.cnutility for flexible Tailwind class merging.Decimal Precision Enforcement (fix(frontend): enforce decimal precision limits on all amount inputs per asset type #578):
truncateDecimals) to enforce asset-specific decimal limits (XLM: 7, USDC/EURC: 2) on user inputs.RemittanceForm,LoanRepaymentForm, and asset-amount steps to prevent invalid Stellar transaction submissions.Logout and Session Expiry Flow (fix(frontend): implement logout functionality and session expiry handling #562):
useLogouthook to clear all app stores and caches.SessionExpiryHandlerthat listens for 401 responses and triggers a clean redirect.Modal Accessibility (fix(frontend/a11y): implement focus trap in all modal dialogs for keyboard accessibility #567):
Modalcomponent and confirmed full compliance with focus-trapping and keyboard accessibility standards.Backend Fixes
Event Indexer Test Stability:
eventIndexer.test.tswith the observed behavior in CI (handling separate score update calls).ESM Connection Exports:
SyntaxErrorwheregetClientwas not recognized as an export fromconnection.jsby making exports more explicit. This resolves failures in controller tests (e.g.,poolController).Verification
Fixes: #905 fixed
Fixes: #906 fixed
Fixes: #907 fixed
Fixes: #908 fixed