Frontend — lib Structure Location: src/lib/ components/ — Components A component is a reusable self-contained block of code that encapsulates HTML, CSS and JavaScript that belong together, written into a .svelte file. The documentation for them is here . stores/ — Stores Svelte writable stores used for state that needs to be shared and persisted across route navigations within the same session. stores/samples.ts — samples: Writable Holds the list of science samples collected during the current task. Persists across navigation so samples are not lost when the operator moves between routes. Cleared when a task ends (or optionally kept when starting a new task — the layout prompts the operator to choose). stores/map.ts — displayedMap , startPoint , endPoint , waypoints Holds the state of the navigation map: the currently loaded map image, start and end waypoints, and the list of intermediate waypoints. All are writable stores so any component can update them and the map will react. stores/probes.ts — probes: Writable Holds the list of probe locations recorded during the Probing task. TODO Add the rest of stores css/ — Style proto/ — Protobufers Interface