Skip to content

Conversation

@bogdan-volynets
Copy link
Contributor

…gration

@codefresh-git-integration
Copy link

"[CI] Staging environment is at https://staging-docs.codefresh.io/CR-33021/docs/"

{% if page.layout != "home" %}
<button
onclick="window.CommandBar.openHelpHub(); setTimeout(() => {
document.querySelector('input[data-testid=helphub-input]').focus()
Copy link
Contributor Author

Choose a reason for hiding this comment

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

the search input has a focused state by default when you open the amplitude's guides and surveys.

Copy link
Contributor

@olegt-codefresh olegt-codefresh left a comment

Choose a reason for hiding this comment

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

Please also remove all HelpHub references and related code from the following files:

  • assets/scss/_variables.scss
  • assets/scss/_helpbub.scss
  • README.md

Copy link
Contributor

@olegt-codefresh olegt-codefresh left a comment

Choose a reason for hiding this comment

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

Before pushing this change, we need to check how it will work for both Enterprise and GitOps segments.
Because Amplitude does not enabled segmentation, GitOps segment users will see results from the Enterprise segment.

return;
}

window.amplitude.init(API_KEY, {
Copy link
Contributor Author

@bogdan-volynets bogdan-volynets Jan 16, 2026

Choose a reason for hiding this comment

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

I investigated this and found that userId is an optional parameter for this function. Amplitude automatically generates a unique deviceId and persists it in local storage, so a new user is not created each time the docs site is opened. In my opinion, this is an ideal out-of-the-box solution for our docs site.

@codefresh-git-integration
Copy link

"[CI] Staging environment is at https://staging-docs.codefresh.io/CR-33021/docs/"

@bogdan-volynets bogdan-volynets merged commit 8459881 into master Jan 19, 2026
1 check passed
@bogdan-volynets bogdan-volynets deleted the CR-33021 branch January 19, 2026 15:32
@bogdan-volynets bogdan-volynets restored the CR-33021 branch January 19, 2026 15:33
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