Tree detail page #526#616
Open
muffti123 wants to merge 4 commits into
Open
Conversation
… map to donation flow - Add species selector with per-species CO2 info (kg CO2/yr, maturity years) - Embed interactive Leaflet map for region picking - Add species to DonationFlowState and context with setSpecies - Fix GiftDetails type export error in donor.ts - Show species info in donation confirmation Closes Farm-credit#523
feat: add species selection with CO₂ info card and interactive region map to donation flow
…d CO2 badges - ImpactMap: null-safe colorForStatus fallback, fixed Leaflet icon race condition - ImpactMapWrapper: typed props instead of 'any' - ProjectLocationMap: removed viewMode/locationLabel from init deps (full rebuild on toggle), restored resize handler - ProjectTimeline: unique keys instead of array index, fixed is-active class logic - MilestoneVerificationForm: fixed falsy accuracy check, added file type/size validation - FarmerDashboard: fixed PlantingBadge crash on unknown status, replaced bg-destructive with bg-red-500, added accept job UI with wallet context - useFarmerDashboard: real API call instead of mock-only, fixed stale closure, added acceptJob/acceptingId - Created /api/farmer/dashboard route - app/api/planting/photo: isFinite coordinate check, IPFS error graceful fallback, optional EXIF GPS - Created lib/ipfs/upload.ts with Pinata/IPFS upload support - lib/tree-status/types: added escrow_dispute -> tree:disputed mapping - lib/tree-status/poller: fixed unreliable hash-only cursor pagination to use composite (created_at, tx_hash) cursor - hooks/useTreeStatus: clear error on SSE reconnection, move ref assignment to effect - types/farmer-dashboard: added farmerAddress field - lib/api/mock/farmerDashboard: added farmerAddress field Closes Farm-credit#526
0ad5c5c to
5f93736
Compare
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.
Closes #526
Summary
Related Issue
Closes #
What Was Implemented
Implementation Details
Screenshots / Recordings
How to Test
Checklist
feat:,fix:, etc.)pnpm build)pnpm lint)