Skip to content
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

fix: Absolute urls didn't contain project url #21209

Merged
merged 4 commits into from
Apr 8, 2024

Conversation

benjackwhite
Copy link
Contributor

Problem

Fixes one issue from #21190 regarding urls not including the project

Changes

  • Added a urls.absolute and urls.currentProject to simplify building these urls
  • Fixed up notebook and event urls to use it.

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

Does this work well for both Cloud and self-hosted?

How did you test this code?

Manually

Copy link
Contributor

@daibhin daibhin left a comment

Choose a reason for hiding this comment

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

One thing to fix but looks good otherwise

Copy link
Contributor

github-actions bot commented Mar 28, 2024

Size Change: +89 B (0%)

Total Size: 824 kB

ℹ️ View Unchanged
Filename Size Change
frontend/dist/toolbar.js 824 kB +89 B (0%)

compressed-size-action

@posthog-bot
Copy link
Contributor

This PR hasn't seen activity in a week! Should it be merged, closed, or further worked on? If you want to keep it open, post a comment or remove the stale label – otherwise this will be closed in another week.

@benjackwhite benjackwhite merged commit 2fb8190 into master Apr 8, 2024
83 checks passed
@benjackwhite benjackwhite deleted the fix/projectless-links branch April 8, 2024 09:09
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.

4 participants