Defines shared URL parameter keys and anchor ID utilities for the OpenFrame dev-center, serving as the single source of truth between the chrome registry (which writes query params) and list views (which read them). ## Key Components ### `DEV_SECTION_PARAM_KEYS` A `const` object mapping logical filter names to their canonical URL query parameter strings. | Key | URL Param | Purpose | |---|---|---| | `search` | `search` | Free-text search, shared by all dev-center sections | | `status` | `status` | Roadmap / Help Center ticket status filter | | `releaseStatus` | `release_status` | Product-releases stability-tier filter | | `deliveryTaskType` | `task_type` | Delivery task-type filter (bug-fix / enhancement) | ### `DevSectionAnchorKind` Union type constraining valid section identifiers used in DOM anchor IDs: `'roadmap' | 'delivery' | 'ticket'`. ### `devSectionAnchorId(section, id)` Composes the canonical `
-` anchor string used consistently by row components (`DeliveryRow`, `RoadmapCard`, `HelpCenterCard`) and the URL composer (`appendSearchAndHash`). ## Usage Example ```typescript import { DEV_SECTION_PARAM_KEYS, DevSectionAnchorKind, devSectionAnchorId, } from './dev-section-param-keys' // Reading a filter from the URL (list view side) const url = new URL(window.location.href) const status = url.searchParams.get(DEV_SECTION_PARAM_KEYS.status) const taskType = url.searchParams.get(DEV_SECTION_PARAM_KEYS.deliveryTaskType) // Writing a filter to the URL (chrome registry side) url.searchParams.set(DEV_SECTION_PARAM_KEYS.releaseStatus, 'stable') // Generating a consistent anchor ID for a roadmap item const anchorId = devSectionAnchorId('roadmap', 'item-42') // → "roadmap-item-42" // Used in a row component
``` ## Why This Exists Without this module, the chrome and view layers could each hard-code different string literals (e.g., `"task_type"` vs `"taskType"`), causing silent filtering failures. Since this file has **no React or heavy dependencies**, it is safely importable from both server-bundled utilities and client-side views. **Source:** [`dev-section-param-keys.ts`](https://github.com/flamingo-stack/openframe-oss-lib/blob/main/dev-section-param-keys.ts)