Files
ToldoConjunto/openspec/changes/add-navigation-csv-audit/specs/navigation/spec.md
2026-10-25 18:20:04 -05:00

1.1 KiB

Spec Delta

Purpose

Permite que una persona siempre entienda dónde está y pueda volver a Inicio o al paso anterior sin depender del botón físico del dispositivo.

ADDED Requirements

Requirement: Navegación global visible

The system SHALL show a shared navigation context with a home action, back action, and breadcrumbs on every application view.

Scenario: Volver desde Jornada

  • WHEN user navigates from Inicio to Jornada
  • THEN the view shows the breadcrumb Inicio > Jornada
  • AND selecting Inicio returns to the dashboard
  • AND selecting Atrás returns to the previous route

Scenario: Fallback de Atrás

  • GIVEN the user opened a deep link without router history
  • WHEN user selects Atrás
  • THEN the system navigates to Inicio instead of leaving the application

Requirement: Navegación responsive

The system SHALL expose the same destinations through a visible desktop menu and an accessible mobile menu.

Scenario: Menú móvil

  • WHEN viewport width is narrow
  • THEN user can open the menu, choose Inventario, close it, and return to Inicio