-
Notifications
You must be signed in to change notification settings - Fork 4
Bird list export #42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
nleiby
wants to merge
44
commits into
rawcomposition:main
Choose a base branch
from
nleiby:bird_list_export
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Bird list export #42
Conversation
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
…ry days Co-authored-by: Cursor <cursoragent@cursor.com>
… non-fatal upload errors Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…rsonal locations toggle; TargetRow coverage prop Co-authored-by: Cursor <cursoragent@cursor.com>
…ching and colorIndex; Mapbox hasFrequencyData styling and legend Co-authored-by: Cursor <cursoragent@cursor.com>
…tTargetRow Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…ocation sort and styles, Hotspot halo color, index tooltip Co-authored-by: Cursor <cursoragent@cursor.com>
fix: render single day in ItineraryDay instead of mapping all itinera…
local dev chore: make Firebase project and storage bucket configurable via env
feat: add species coverage and hotspot importance helpers (no UI)
features: targets page UI re-work
feature: species map heatmap by frequency/recency -Show richer data on the target species map view- heatmap sightings by frequency -Wire toggle button to hide low-value personal hotspots
feature: hotspot importance- key targets per hotspot
…n single-day + DayImportantTargets) Co-authored-by: Cursor <cursoragent@cursor.com>
feature: DayImportantTargets in itinerary for key targets by hotspot
Feature: itinerary polish
Travel time
…on, providing more context on date plan already there
…ails to prevent deleting itinerary data
… hotspot and add a minimum threshold over next best hotspot before showing
…l info (up to COLLAPSED_SPECIES_PREVIEW species)
UI tweaks
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.
. Export UI
Export logic
Target species only: Uses targetSpecies, effective percent from speciesCoverage (or fallback target.percent), keeps rows with percent ≥ threshold, sorts by percent descending.
All species at trip hotspots: Builds a code→name map from allTargets, iterates speciesCoverage, keeps rows with weightedAvgPercent ≥ threshold, sorts by percent descending.
CSV and download
Helpers: escapeCsvField (quotes and escapes commas/newlines), buildExportCsv (header Species,% chance and one decimal for percent), downloadCsv (Blob + object URL + ).
Filename: birdplan-{trip-name-slug}-{date}.csv.
If no rows pass the threshold, a toast explains and no file is downloaded.