docs(admin): document MoreSheet doesn't list primary tabs

This commit is contained in:
Tyler
2026-06-17 15:10:26 -06:00
parent 139445879e
commit f4d5a56181
+14
View File
@@ -3,6 +3,20 @@
import Link from "next/link";
import { useEffect, useRef } from "react";
/**
* "More" sheet shown when the user taps the "More" tab in the mobile
* bottom tab bar (src/components/admin/MobileTabBar.tsx).
*
* NOTE: The primary navigation tabs (Orders / Stops / Products / Dashboard)
* live in the bottom tab bar itself, NOT in this sheet. This sheet
* intentionally exposes only the secondary operations so the tab bar can
* stay focused on the high-frequency workflows. If you need to add a
* primary tab here, do it in MobileTabBar instead.
*
* (PR 6 cutover: the v1 /admin/orders, /admin/stops, /admin/products
* paths now 307-redirect to /admin/v2/* via next.config.ts — see
* `redirects()` there.)
*/
const MORE_SECTIONS = [
{
heading: "Operations",