mirror of
https://github.com/hyperdxio/hyperdx
synced 2026-04-21 13:37:15 +00:00
## Summary When `IS_LOCAL_MODE` sources are created (e.g. via "Connect to Demo Server" in the onboarding modal), IDs are now derived from a stable hash of the item content instead of `Math.random()`. This ensures every user who connects to the same demo server gets the same source IDs, making deep links with `?source=<id>` work across different users and sessions. This has the added benefit of ensuring that the dashboards created in local mode will not break due to new sources being created on every new session. Further, the `<OnboardingModal>` has been added to a few pages where it was previous missing, ensuring that users which are deeplinked to those pages see the modal and are able to create the demo connection. ### How to test locally or on Vercel 1. Open the play/demo environment in two separate browser profiles (or incognito windows) so each has fresh localStorage 2. In the first, connect to the demo server, then navigate to a page where a source is selected 3. Copy the link into the second browser. You should see the "connect to demo server" and once connected you should see the same source as was selected in the 1st browser. ### References - Linear Issue: Closes HDX-3974 - Related PRs: none |
||
|---|---|---|
| .. | ||
| api | ||
| app | ||
| cli | ||
| common-utils | ||
| otel-collector | ||