Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .specify/v1-reference/HOME_SCREEN.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ ListView.builder(

**Spacing:** 100px bottom padding (allows FAB visibility), 6px top padding.

**Tapping an order:** Navigates to `/take_sell/:orderId` or `/take_buy/:orderId` depending on the order type.
**Tapping an order:** Navigates to `/take_sell/:orderId` or `/take_buy/:orderId` depending on the order type. Flujo completo en `.specify/v1-reference/TAKE_ORDER.md`.

### Pull to Refresh

Expand Down Expand Up @@ -231,6 +231,7 @@ User taps filter
User taps order
→ context.push('/take_sell/$orderId') or '/take_buy/$orderId'
→ TakeOrderScreen
→ (take flow detallado en .specify/v1-reference/TAKE_ORDER.md)

User taps FAB
→ context.push('/add_order')
Expand Down
6 changes: 3 additions & 3 deletions .specify/v1-reference/NAVIGATION_ROUTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ MostroApp
| `/walkthrough` | `WalkthroughScreen` | `walkthrough_screen.dart` | Tutorial inicial |
| `/add_order` | `AddOrderScreen` | `add_order_screen.dart` | Crear orden (ver `.specify/v1-reference/ORDER_CREATION.md`) |
| `/rate_user/:orderId` | `RateCounterpartScreen` | `rate_counterpart_screen.dart` | Calificar contraparte |
| `/take_sell/:orderId` | `TakeOrderScreen` | `take_order_screen.dart` | Tomar orden de venta |
| `/take_buy/:orderId` | `TakeOrderScreen` | `take_order_screen.dart` | Tomar orden de compra |
| `/take_sell/:orderId` | `TakeOrderScreen` | `take_order_screen.dart` | Tomar orden de venta (ver `.specify/v1-reference/TAKE_ORDER.md`) |
| `/take_buy/:orderId` | `TakeOrderScreen` | `take_order_screen.dart` | Tomar orden de compra (ver `.specify/v1-reference/TAKE_ORDER.md`) |
| `/order_confirmed/:orderId` | `OrderConfirmationScreen` | `order_confirmation_screen.dart` | Orden confirmada |
| `/pay_invoice/:orderId` | `PayLightningInvoiceScreen` | `pay_lightning_invoice_screen.dart` | Pagar invoice LN |
| `/add_invoice/:orderId` | `AddLightningInvoiceScreen` | `add_lightning_invoice_screen.dart` | Agregar invoice LN |
Expand Down Expand Up @@ -376,7 +376,7 @@ CustomTransitionPage buildPageWithDefaultTransition<T>({
| Drawer menu | [DRAWER_MENU.md](./DRAWER_MENU.md) |
| Bottom nav | [DRAWER_MENU.md](./DRAWER_MENU.md) |
| Order creation | [.specify/v1-reference/ORDER_CREATION.md](./ORDER_CREATION.md) |
| Take order | `take_order_screen.dart` |
| Take order | [.specify/v1-reference/TAKE_ORDER.md](./TAKE_ORDER.md) |
| My trades | `trades_screen.dart` |
| Trade detail | `trade_detail_screen.dart` |
| Auth | [AUTHENTICATION.md](./AUTHENTICATION.md) |
Expand Down
1 change: 1 addition & 0 deletions .specify/v1-reference/ORDER_BOOK.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ InkWell(

- Sell order (maker selling BTC) → `/take_sell/:orderId` (taker buys BTC)
- Buy order (maker buying BTC) → `/take_buy/:orderId` (taker sells BTC)
- Flujo completo de toma: `.specify/v1-reference/TAKE_ORDER.md`

---

Expand Down
10 changes: 10 additions & 0 deletions .specify/v1-reference/ORDER_STATES.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ Order has been created by a seller or buyer and is waiting for a counterparty to
|--------|----|------------|
| `take-sell` | Buyer | `waiting-buyer-invoice` |
| `take-buy` | Seller | `waiting-payment` |

> Ver flujo detallado de toma de orden (UI + protocolo + navegación): `.specify/v1-reference/TAKE_ORDER.md`.
| `cancel` | Creator | `canceled` |

---
Expand Down Expand Up @@ -921,3 +923,11 @@ testWidgets('status chip displays correctly', (tester) async {
}
});
```

---

## Cross-References

- **Take Order Flow:** `.specify/v1-reference/TAKE_ORDER.md`
- **Navigation Routes:** `.specify/v1-reference/NAVIGATION_ROUTES.md`
- **Order Book / Home tap entry:** `.specify/v1-reference/ORDER_BOOK.md`, `.specify/v1-reference/HOME_SCREEN.md`
1 change: 1 addition & 0 deletions .specify/v1-reference/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
| [NAVIGATION_ROUTES.md](./NAVIGATION_ROUTES.md) | GoRouter routes, deep links, redirects | Adapt navigation for Rust core |
| [ORDER_BOOK.md](./ORDER_BOOK.md) | Public order book vs My Trades, filters | Keep in Flutter |
| [ORDER_CREATION.md](./ORDER_CREATION.md) | AddOrderScreen, formulario y flujo de creación de orden | Keep in Flutter (UI + flujo cliente) |
| [TAKE_ORDER.md](./TAKE_ORDER.md) | TakeOrderScreen, rutas `/take_sell` y `/take_buy`, acciones `take-sell`/`take-buy` | Keep in Flutter (UI + flujo cliente) |
| [DRAWER_MENU.md](./DRAWER_MENU.md) | Side drawer, bottom nav bar | Keep in Flutter |

### Core Architecture
Expand Down
Loading