Skip to content
This repository was archived by the owner on Aug 6, 2026. It is now read-only.

chore(code): merge environments + cloud environments settings - #2054

Merged
VojtechBartos merged 1 commit into
mainfrom
posthog-code/merge-env-settings
May 6, 2026
Merged

VojtechBartos merged 1 commit into
mainfrom
posthog-code/merge-env-settings

Conversation

@VojtechBartos

@VojtechBartos VojtechBartos commented May 6, 2026 •

Copy link
Copy Markdown
Member

Problem

Two sidebar entries — Environments and Cloud environments — that sound the same but configure different things (per-project setup recipes vs. account-wide sandbox profiles).

Changes

  • Merged into a single Environments page with a Local / Cloud SegmentedControl.
  • Sharper per-segment copy explaining what each is.
  • Both old setting IDs still route here, so existing deep links keep working.
  • Form mode hides the page chrome (title + tabs) and the cloud form gets a back button to match the local one.

Showcase

code-env-settings.mov

Created with PostHog Code

…e page

Combine the two sidebar entries into a single Environments page with a
SegmentedControl for switching between Local and Cloud. Adds shared intro
copy framing what an environment is, and sharper per-segment copy. Hides
the page chrome (title + tabs) when the form is open via a new formMode
flag in the settings store. Cloud form gets a Back to environments
button and matching header styling.

Generated-By: PostHog Code
Task-Id: f97e9506-0ae1-4d8a-aa7c-fc1fea276f87
@VojtechBartos VojtechBartos self-assigned this May 6, 2026
@VojtechBartos
VojtechBartos requested a review from a team May 6, 2026 10:13
@greptile-apps

greptile-apps Bot commented May 6, 2026

Copy link
Copy Markdown
Contributor

Reviews (1): Last reviewed commit: "chore(code): merge environments + cloud ..." | Re-trigger Greptile

@joshsny joshsny left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@VojtechBartos
VojtechBartos merged commit 00edd57 into main May 6, 2026
15 checks passed
@VojtechBartos
VojtechBartos deleted the posthog-code/merge-env-settings branch May 6, 2026 10:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants