Repository navigation
Cash on site, offline dive prep, ideas for free days, climate, expenses and summary - #54
Merged
Merged
Conversation
booking.onSite holds what is still paid at the place itself ("600 MXN" for a
cenote's entrance) and booking.cash marks places that take only cash. The
budget counts on-site amounts as still to pay and lists the cash to bring per
currency and day: in the budget dialog, the phone's day header and budget,
the printout and get_trip. MCP add_item / update_item take booking.on_site
and booking.cash.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
save_dive_prep takes the preparation's text (details), which the card editor, the phone and the printout show without DiveDeck. The phone hides links to localhost, which open nothing there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A day with nothing to do yet, or whose plan ends by early afternoon, lists the ideas within 30 km of where it is spent (its stays and places), nearest first, each a click away from the day. get_trip lists them too, so Claude can offer them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A climate view (header link and the MCP climate tool) shows the typical weather month by month in each region of the trip – average highs and lows and rainy days from ten years of Open-Meteo observations, cached for half a year – with a dated trip's months highlighted. It helps decide when to go while the dates are open. Undated days no longer list a missing bed under To sort out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
trip.expenses records what was spent beyond the bookings (amount with its currency, day, kind, note); the budget dialog adds them and shows spent (paid bookings + expenses) against the plan. A summary dialog and the MCP trip_summary tool give the trip in numbers: days, nights, places, dives, flights, ferries, trains, kilometres by way of travel, countries and the highest point. MCP add_expense / remove_expense let Claude record expenses from receipts; get_trip lists them. Expenses added on both sides merge. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
formatMoney wrote MX$600 as "$600", which reads as US dollars next to them. The summary leaves out zero places and a highest point below 500 m. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…, expenses and summary Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
Five improvements that came out of the Thailand and Mexico trips. Each is a separate commit.
Paid on site and cash.
booking.onSite("600 MXN", a cenote entrance) andbooking.cash(cash only). The budget counts them as still to pay and lists the cash to bring per currency and day: in the budget dialog, the phone's day header and budget, the printout andget_trip. The card editor has the field, and the board card shows a 💵 badge. MCPbooking.on_site/booking.cash.Dive preparation offline.
save_dive_preptakesdetails, the text of the preparation. The editor (collapsible), the phone and the printout show it, so it's readable during the trip without DiveDeck. The phone hides links tolocalhost, which open nothing there.Ideas for days with time to spare. A day with nothing to do yet, or whose plan ends by 14:00, lists the ideas within 30 km of where it is spent (its stays and places), nearest first, with "+ Here" to move one onto the day.
get_triplists them so Claude can offer them.Early plans. 🌤️ Climate (and the MCP
climatetool): typical weather month by month per region of the trip, i.e. average highs and lows and rainy days from ten years of Open-Meteo ERA5 data. It's cached for 180 days, and only rounded region coordinates are sent. A dated trip's months are highlighted. Undated days no longer list a missing bed under To sort out.Expenses and the trip in numbers.
trip.expenses(amount with currency, day, kind, note), added in the budget dialog or with MCPadd_expense/remove_expense. The budget shows spent (paid bookings + expenses) against planned. Expenses added in the browser and by Claude at the same time are both kept in the merge. 📊 Summary and MCPtrip_summary: days, nights, places, dives, flights / ferries / trains, km by way of travel, countries, highest point.Also:
formatMoneywrites pesos and other dollars with their own symbol (MX$600, not $600).Not included: the phone app only views imported files, so expenses are entered on the web or by Claude, and the phone shows cash but not the expense list.
Checklist
bun run checkpasses locally (typecheck, lint, tests with coverage, build)TRIPDECK_HOME, never real trips or the real OneDrive folder.env.exampleupdated for new features or settings🤖 Generated with Claude Code