Repository navigation
Remove superseded funding, wallet and notebook-adjacent files nothing imports - #1165
Merged
Merged
Conversation
… imports Second chunk of the dead-code plan: 59 files that no live code imports, confirmed by knip plus an import-graph resolve over the whole tree on the current main, grouped by the feature they belonged to. - Funding / grant / RFP UI that the My Funding dashboard and the work header replaced: the old grant info cards and StatusCard, the V2 fundraise progress bar, GrantList/GrantCarousel/GrantActionBar, the Grant, Grant details, Fund research and Funding request modals, grantStore, the work-page applicants/metrics/supporters/updates sections and the ProgressUpdates, UpdateRateBadge and BarChart they rendered, Key Insights, NextStepsPanel, WorkLineItems/WorkPrimaryActions, the bounty metadata line and barrel, EarnRightSidebar, two banners, LeaderboardOverview and a skeleton. - Wallet / Endaoment pieces: DAF list and deposit-success views, the balance and network-selector sections with NetworkSelector, useWalletRSCBalance, DAF/Endaoment tooltips, the Endaoment barrel and useEndaomentCallback, types/endaoment, YieldChart, CurrencyInput, useIsSafari. - Notebook-adjacent files that were already unreachable: OrganizationSwitcher and its skeleton, SidebarSection, NoteStatus, two publishing-form sections, NotebookToggle, NotebookTransition. With them go the helpers only they called: useCreateContribution and the FundraiseService.createContribution alias behind it, getRSCForNetwork and TRANSFER_ABI, GRANT_STATUS_CONFIG, and everything in fundingDirection.ts except the FundingIntent type the workspace still uses. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
This branch was successfully deployed
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.



Second chunk of the dead-code removal plan (
docs/dead-code-report.md, kept local), following #1164. 59 files that no live code imports, confirmed by knip plus an import-graph resolve over the whole tree on today'smain, and the handful of helpers only those files called.What goes
components/Grant/GrantInfo,components/Fund/GrantInfo,FundraiseProgressV2andFundUtils,StatusCard(only those three used it),GrantList/GrantCarousel/GrantActionBar/getShortTitle,FundingDirectionIcon, theGrantModal,GrantDetailsModal,FundResearchModalandFundingRequestModal,store/grantStore,useFundingOverview,WorkLineItems/WorkPrimaryActions, the work-pageApplicantsSection/MetricsSection/SupportersSection/UpdatesSectionwith theProgressUpdates,UpdateRateBadgeandBarChartthey rendered,KeyInsights/*andKeyInsightsModal,NextStepsPanel,BountyMetadataLineand the Bounty barrel,EarnRightSidebar,EarningOpportunityBanner/HaveYouPublishedBanner,LeaderboardOverview,ProposalCardSkeleton.DafListModal,DepositSuccessView,BalanceDisplay,NetworkSelectorSectionandNetworkSelector,useWalletRSCBalance,DafTooltip/EndaomentTooltip, the Endaoment barrel anduseEndaomentCallback,types/endaoment,YieldChart,CurrencyInput,useIsSafari.OrganizationSwitcherand its skeleton,SidebarSection,NoteStatus,FundingGoalSection/GrantApplicationDeadlineSection,NotebookToggle,NotebookTransition.useCreateContributioninhooks/useFundraise.tsand theFundraiseService.createContributionalias behind it,getRSCForNetworkandTRANSFER_ABIinconstants/tokens.ts,GRANT_STATUS_CONFIGintypes/grant.ts, and everything incomponents/Funding/fundingDirection.tsexcept theFundingIntenttype the workspace still uses.64 files changed, 6,482 lines removed, nothing added. No behaviour change intended.
Checks
npm run lint: 0 errors (2 pre-existing warnings in untouched files)npm run type-check: cleanNext
Chunk 3 (
cleanup/3-tiptap-ai, the never-activated Tiptap AI path) follows once this is merged.🤖 Generated with Claude Code