All-Hands-AI / OpenHands

🙌 OpenHands: Code Less, Make More
https://all-hands.dev
MIT License
37.36k stars 4.23k forks source link

refactor: PostHog setup #5254

Closed amanape closed 9 hours ago

amanape commented 9 hours ago

End-user friendly description of the problem this fixes or functionality that this introduces


Give a summary of what the PR does, explaining any non-trivial design decisions Utilize the <PostHogProvider> component and usePostHog hook as recommended by the official docs


Link of any specific issues this addresses


To run this PR locally, use the following command:

docker run -it --rm   -p 3000:3000   -v /var/run/docker.sock:/var/run/docker.sock   --add-host host.docker.internal:host-gateway   -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:30eaee1-nikolaik   --name openhands-app-30eaee1   docker.all-hands.dev/all-hands-ai/openhands:30eaee1
amanape commented 9 hours ago

OK turns out Remix does not like this; so until we migrate to RR7, I'll close this