chore: cleanup — remove dead code, indexer stack, stale docs and assets - #311
Merged
Conversation
…and assets Remove everything that was tracked but not used, and tidy the repo root ahead of the Neon migration and UI redesign. Removed - 8 unreferenced components (RoleDashboardScreen, AvailablePools, FinanceChart, WalletSetupCard, SorobanProfileCard, AuthAccessButton, SectionTitle, ui/table) and the duplicate root-level ErrorFallback/GlobalErrorBoundary (dashboard/ copies are the live ones) - 4 unreferenced lib modules (level5-feedback, pool-security-config and the two lib/config/*.config.ts duplicates) - SubQuery indexer stack: subquery/, schema.graphql, project.yaml, docker-compose.subquery.yml, lib/indexer, its test, the horizon_sync SQL and TRUSTLEND_INDEXER_* env vars. Dashboards now read straight from the database instead of trying the indexer first. - Dockerfile.dev / docker-compose.yml (Supabase-specific, unused on Vercel) - assets/ screenshots (22 PNGs; all stale once the UI is redesigned) - Obsolete docs: OPTIMIZATION_SUMMARY, POOL_OPTIMIZATION, QUICK_START_POOL_QUERIES, SOROBAN_INDEXER_MIGRATION - Unused deps: ethers, @albedo-link/intent, @subql/types-stellar Moved - Technical docs from the repo root into docs/ (kebab-case), and the four contracts/*.md into docs/contracts/. Only README, CONTRIBUTING, CODE_OF_CONDUCT, SECURITY, CHANGELOG and LICENSE stay at the root. All references (README, scripts, env example, workflow, Rust doc comment) updated. Fixed - .gitignore ignored /docs while docs/api.md was tracked - app/actions/admin-pools.ts had four duplicated lines from a bad merge, which broke `tsc --noEmit` on main - admin pools page did not pass borrow_cap through to the client (tsc error) - vitest was collecting the Playwright spec in e2e/ Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
Deployment failed for project trustlend-stellar with the following error: Learn More: https://vercel.link/3Fpeeb1 |
thisisouvik
marked this pull request as ready for review
September 12, 2026 11:32
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks 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 was referenced Sep 12, 2026
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.
Remove everything that was tracked but not used, and tidy the repo root ahead of the Neon migration and UI redesign.
Removed
Moved
Fixed
tsc --noEmiton main