Changes based on user feedback

Linked Gear Logic:

  • Accessories linked from existing firearms now fetch their value automatically.
  • Math Fix: Linked accessory values are excluded from the main “Total Build” calculation to prevent double-counting but displayed on a separate “Total with Linked Gear” line.
  • UI: Linked items in the accessory list now show their price in gray with a “(Tracked in Collection)” note.

Ammo Dump Upgrades:

  • Notes: Added a “Notes” field (e.g., for “Sub-sonic”, “Reloads”) to the Add/Edit Ammo forms and card display.
  • Analytics: Added a Stock Level Analysis bar graph (using Chart.js) to the top of the Ammo page.
  • Sorting: The Ammo Grid is now sorted alphabetically by Caliber.
  • Layout: Moved the analysis graph outside the inventory grid container for better spacing.

Dashboard Filtering:

  • Added a Caliber Dropdown filter to the main dashboard.
  • Updated the search logic to support unified filtering (Search Term + Category + Caliber).
  • Updated item cards to support Caliber-based filtering.