chore(style): codebase em-dash sweep + minor layout polish
Replaces every em-dash and en-dash with regular ASCII hyphens across comments, JSX strings, and dev-facing logs. Mostly cosmetic but stops the inconsistent mix that crept in over the last few months (some files used em-dashes in comments, others didn't, some used both). Bundles two small dashboard-layout tweaks that touch a couple of already-modified files: - (dashboard)/layout.tsx main padding goes from p-6 to pt-3 px-6 pb-6 so page content sits closer to the topbar. - Sidebar now receives the ports list it needs for the footer port switcher. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -13,16 +13,16 @@ type TabSpec = {
|
||||
};
|
||||
|
||||
// Bottom nav ordering, left → right:
|
||||
// Dashboard — daily overview
|
||||
// Berths — marina inventory grid (touches sales + ops both)
|
||||
// Clients — the address book / dedup surface (centered: it's the
|
||||
// Dashboard - daily overview
|
||||
// Berths - marina inventory grid (touches sales + ops both)
|
||||
// Clients - the address book / dedup surface (centered: it's the
|
||||
// primary mental anchor for "find this person", with
|
||||
// interests living as a tab on the client detail rather
|
||||
// than a peer in the bottom nav)
|
||||
// Documents — signature tracking (chase signers, EOI queue)
|
||||
// More — overflow drawer (Interests, Yachts, Companies, …)
|
||||
// Documents - signature tracking (chase signers, EOI queue)
|
||||
// More - overflow drawer (Interests, Yachts, Companies, …)
|
||||
//
|
||||
// Interests is intentionally NOT in the bottom row — having both Clients
|
||||
// Interests is intentionally NOT in the bottom row - having both Clients
|
||||
// and Interests as peer tabs created a Clients-vs-Interests confusion
|
||||
// for sales reps, and the per-client interests tab + the new bottom-sheet
|
||||
// drawer cover the day-to-day deal review without needing a dedicated tab.
|
||||
|
||||
@@ -10,7 +10,7 @@ import { MoreSheet } from './more-sheet';
|
||||
|
||||
/**
|
||||
* Mobile shell: fixed compact topbar + scrollable content + fixed bottom tab
|
||||
* bar. Renders only when CSS reveals it (data-shell="mobile") — both shells
|
||||
* bar. Renders only when CSS reveals it (data-shell="mobile") - both shells
|
||||
* are in the DOM, see src/app/globals.css. The bottom tabs and More sheet
|
||||
* derive the active port slug from the URL themselves, so this layout takes
|
||||
* no portSlug prop.
|
||||
|
||||
@@ -12,7 +12,7 @@ import { useMobileChrome } from './mobile-layout-provider';
|
||||
* left when there's no back affordance, and a soft glow shadow underneath
|
||||
* for depth instead of a hard divider line.
|
||||
*
|
||||
* Slots: title (auto-truncating), back arrow, primary action — all driven by
|
||||
* Slots: title (auto-truncating), back arrow, primary action - all driven by
|
||||
* `useMobileChrome()` from the active page. When no page has set a title the
|
||||
* URL's last segment is title-cased as a fallback.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user