Files
insights/products/logs/frontend/logsRetentionRulesSettingsUrl.ts
zeekay bc4ddf332b chore: rebase the tree onto upstream master fa1a9a60
Mechanically re-derived: bin/debrand runs over a fresh import of
posthog/posthog@fa1a9a60d4 (2026-08-06).
The pipeline (.hanzo/workflows), the Dockerfiles and bin/docker*
entrypoints, compose files, LLM.md and the squashed initial migration
are restored from the shipped tree, same as the previous import.

The prune's import-closure guard kept 21 products the new core now
imports; dropping them is a refactor now, recorded rather than forced.
2026-08-06 01:25:36 -07:00

20 lines
694 B
TypeScript

import { combineUrl } from 'kea-router'
import { urls } from 'scenes/urls'
/** Sidebar + deep-link id for the Logs → Configuration → Retention rules setting. */
export const LOGS_RETENTION_RULES_SETTING_ID = 'logs-retention-rules' as const
/** Logs scene, Configuration tab, environment logs section, Retention rules item (query + hash for deep links). */
export function logsRetentionRulesSettingsUrl(): string {
return combineUrl(
urls.logs(),
{
activeTab: 'configuration',
section: 'environment-logs',
setting: LOGS_RETENTION_RULES_SETTING_ID,
},
{ selectedSetting: LOGS_RETENTION_RULES_SETTING_ID }
).url
}