Skip to content

Cash on site, offline dive prep, ideas for free days, climate, expenses and summary - #54

Merged
Torgh merged 7 commits into
mainfrom
trip-tools
Nov 15, 2026
Merged

Torgh merged 7 commits into
mainfrom
trip-tools

Conversation

@Torgh

@Torgh Torgh commented Nov 15, 2026

Copy link
Copy Markdown
Owner

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) and booking.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 and get_trip. The card editor has the field, and the board card shows a 💵 badge. MCP booking.on_site / booking.cash.

Dive preparation offline. save_dive_prep takes details, 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 to localhost, 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_trip lists them so Claude can offer them.

Early plans. 🌤️ Climate (and the MCP climate tool): 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 MCP add_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 MCP trip_summary: days, nights, places, dives, flights / ferries / trains, km by way of travel, countries, highest point.

Also: formatMoney writes 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 check passes locally (typecheck, lint, tests with coverage, build)
  • New behaviour has tests (money, ideaFit, climate, summary, merge, types, MCP end to end)
  • Storage, sync or OAuth changes: tested against a temporary TRIPDECK_HOME, never real trips or the real OneDrive folder
  • README / .env.example updated for new features or settings
  • UI changes: checked in the browser (board with ideas for free days, budget with cash and expenses, climate, summary, card editor)

🤖 Generated with Claude Code

Torgh and others added 7 commits November 15, 2026 18:31
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>
@Torgh
Torgh merged commit 167f069 into main Nov 15, 2026
7 checks passed
@Torgh
Torgh deleted the trip-tools branch November 15, 2026 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant