docs(admin): document MoreSheet doesn't list primary tabs
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user