Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/apursley2012/airgead-investment-calculator/llms.txt

Use this file to discover all available pages before exploring further.

Saved Plans is a browser-local history of every calculation you have saved from the Results page. Plans persist across sessions as long as the browser’s site data is not cleared — close and reopen the tab and your plans will still be there. Because everything is stored in localStorage, plans are never sent to a server and are completely private to your browser profile.

Saving a Plan

Plans are created from the Results page, not directly from this page.
1

Run a calculation

Enter your inputs on the Calculator page and click View Details to open the Results page.
2

Click Save Plan

On the Results page, click the Save Plan button in the toolbar. Airgead creates a plan object containing a unique ID, the save date, a generated name, and the full calculation data.
3

Plan is written to localStorage

The new plan is appended to the airgead_saved_plans array in localStorage and the updated array is saved back.
4

Toast confirmation

A toast notification reading “Plan saved locally” appears briefly to confirm the save.
5

View on Saved Plans page

Navigate to the Saved Plans page. The newly saved plan appears immediately as a card in the plan grid.

Plan Card Contents

Each saved plan is displayed as a card in the grid. Every card shows:
  • Plan name — an auto-generated label such as “Plan: $250/mo for 20 years”, derived from the monthly deposit and years values at the time of saving.
  • Saved date — the date and time the plan was saved, formatted from the ISO 8601 timestamp stored with the plan.
  • Final balance with deposits — the projected end balance from the saved calculation.
  • Total interest earned — the amount the investment grew through compounding alone.
  • View Details button — reopens the full Results page for this plan.
  • Delete button (red, top-right of the card) — permanently removes this plan from storage.

Reopening a Plan

Clicking View Details on a plan card restores the full projection so you can review the growth chart, year-by-year table, and export options.
1

Click View Details

The page reads the selected plan’s data object from the airgead_saved_plans array in localStorage.
2

Data written to localStorage

The plan’s data object is written to airgead_current_calc in localStorage, overwriting any previous calculation.
3

Navigate to Results

The browser navigates to results.html, which reads airgead_current_calc on load and renders the full breakdown for the reopened plan.

Deleting a Plan

The red Delete button in the top-right corner of each plan card removes only that plan.
  • The plan’s entry is removed from the airgead_saved_plans array in localStorage and the updated array is saved back.
  • The plan grid updates to reflect the removal.
  • Deleting one plan has no effect on any other saved plans.

Empty State

If no plans have been saved yet, or if all plans have been deleted, the Saved Plans page displays an empty state message in place of the plan grid.

localStorage Keys

The Saved Plans feature uses two localStorage keys:
KeyContents
airgead_saved_plansJSON array of saved plan objects. Each object contains id, date, name, and data.
airgead_current_calcWritten when a plan is reopened via View Details, so that results.html can load the selected plan’s data.
Saved plans exist only in the current browser profile. Clearing your browser’s site data, using a private/incognito window, or opening Airgead in a different browser will result in an empty Saved Plans page. Plans are not synchronized between devices or browsers.

Build docs developers (and LLMs) love