mirror of
https://github.com/superdesigndev/treg.git
synced 2026-10-02 03:24:35 +08:00
The PostHog flag catalog-v2 deals control or test on the first platform page of a load (at most a one second wait; the flag read is the exposure). Control gets the ledger the shelf replaced, restored as it shipped in LegacyPlatformPage.vue with its rows, state and styles, and the provider page's platform chips; landing on a job page, or no flag answer, shows the shelf outside the experiment. Both arms send the same events: catalog_platform_viewed, catalog_job_viewed, catalog_tool_opened and catalog_action (try, copy, connect, byok, docs), the primary metric, each with surface, arm, platform, signed_in. Shelf cleanups from review: job keys come from the server, one tool index per shelf, shared worksOf/usefulOf/toolPrice/verdictPct helpers, a ProviderLogo component, one card section template, the drawer's example read from the detail it already has, the retry only on observed_pending, unused table parts and duplicate CSS removed, and one PostHog stub for the browser tests.