Skip to content

feat(whitelabel-shared-dashboard): Hide branding on shared dashboards paid #9849

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 19, 2022

Conversation

marcushyett-ph
Copy link
Contributor

Problem

Some of our Scale / Enterprise customers embed our dashboards for their customers to use, the PostHog branding is confusing and concerning their users.

Changes

Added the ability for Scale and Enterprise customers to hide the PostHog logo and other branding on shared dashboards by using the url parameter ?whitelabel

image

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

How did you test this code?

Verified the correct behavior by manually testing the following scenarios:

  • White labelling is not an available feature by URL param is set: Branding Shown
  • White labelling is not an available feature by URL param is not set: Branding Shown
  • White labelling is an available feature by URL param is set: Branding Hidden
  • White labelling is an available feature by URL param is not set: Branding Shown

Copy link
Contributor

@benjackwhite benjackwhite left a comment

Choose a reason for hiding this comment

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

Everything looks good to me 👍
Super nice!

@marcushyett-ph marcushyett-ph merged commit 0305c4a into master May 19, 2022
@marcushyett-ph marcushyett-ph deleted the whitelabel_dashboard branch May 19, 2022 16:04
fuziontech added a commit that referenced this pull request May 19, 2022
* master:
  refactor(ingestion): Make `KAFKA_ENABLED` true by default and set `KAFKA_HOSTS` default (#9844)
  feat(apps): transpile frontend.tsx (#9828)
  feat: show api call status when adding insights to dashboards (#9817)
  feat: track metrics on zapier hook firings (#9866)
  fix(onboarding): instrumentation (#9845)
  feat(whitelabel-shared-dashboard): Hide branding on shared dashboards paid (#9849)
  fix(apps): plugin source quickfix (#9862)
  refactor(plugin-server): Remove `ts-jest`, use `jest.mocked` (#9861)
  refactor(plugin-server): Trigger public jobs with graphile insted of celery queue (#9811)
  chore: upgrade pip tools (#9859)
  feat(apps): plugin source in its own model, part 2 (#9854)
  chore: Update sprint_planning_retro.md (#9791)
  feat(apps): plugin source in its own model, part 1 (#9853)
  feat(matrix): Add option to save `simulate_matrix` like `setup_dev` (#9836)
  fix(cohort): add mapping from event to person (#9841)
  feat(person-on-events): Enable CI to run using both old and new queries (#9814)
alexkim205 pushed a commit that referenced this pull request May 23, 2022
… paid (#9849)

* Ability to hide branding on shared dashboards for paid organizations

* Fix ts formatting

* added white labeling to min plan type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants