Skip to content
Open
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
4 changes: 2 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ UI layering is documented in `FRONTEND.md` — read it before adding styles. Sho
In code, that means WIP surfaces gate on dev or preview, never on staging:

```ts
export const SHOW_WIP_FEATURES =
import.meta.env.DEV || import.meta.env.VITE_APP_ENV === 'preview'
export const BYPASS_GEOTHERMAL_GATE =
import.meta.env.DEV === true || import.meta.env.VITE_APP_ENV === 'preview'
```

`recordsGridLogic.ts` gates exactly this way. Do not add `'staging'` to that check, and do not add a staging arm to a new one.
Expand Down
8 changes: 4 additions & 4 deletions docs/geothermal-well-inventory.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ as the records grid (bypassed in local dev, enforced in prod).
## 8. Navigation & route

- Route: `/geothermal/wells/inventory`.
- Nav: none yet. The page is reachable by URL while the work is in progress;
it gets a nav entry when a geothermal nav group lands.
- Nav: an **Inventory** entry under the **Geothermal** nav group, alongside
Records and Temp-Depth.

---

Expand All @@ -163,7 +163,7 @@ as the records grid (bypassed in local dev, enforced in prod).
- Boolean, date, and **dropdown** cell kinds in `EditableDataGrid`, plus
allowed-value lists for the enum fields.
- Inventory page (grid + toolbar: Add rows, Upload CSV, Download template, Save).
- Route (no nav entry yet).
- Route + nav entry (Geothermal group).
- Create-only save wrapper (adapt records-grid save to POST-only).

---
Expand All @@ -175,7 +175,7 @@ as the records grid (bypassed in local dev, enforced in prod).
surface the conflict inline. No client-side dedupe/upsert in v1. ✔
- **Enum fields** (`well_type`, `well_class`, `status`): **dropdowns** from
fixed allowed-value lists (new select cell kind). ✔
- **Nav placement:** none yet — URL-only until a geothermal nav group lands. ✔
- **Nav placement:** Geothermal nav group. ✔
- **Records vs inventory:** inventory is create-wells only; the existing records
grid is untouched. ✔

Expand Down
Loading
Loading