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

Tour doesn't work on a fresh install from this repository #319

Open
gaurav opened this issue Oct 18, 2024 · 0 comments
Open

Tour doesn't work on a fresh install from this repository #319

gaurav opened this issue Oct 18, 2024 · 0 comments

Comments

@gaurav
Copy link
Contributor

gaurav commented Oct 18, 2024

This is to report two bugs:

  1. On a fresh local installation, the "Take the tour" button appears but is not clickable unless the brand is set to HEAL, so if the default brand (catalyst) is left on, you end up with a non-functional "Take the tour" button.
  2. On a fresh local installation, the "Take the tour" button will start working, but won't go past the first step. This appears to be because on a fresh local install, clicking on the "Take the tour" button will take you to http://localhost:3000/, which is expected to be the search home page (i.e. showing the search bar without an active search), but on a local install this defaults to showing the support content instead.

Steps to reproduce:

  1. Clone from [email protected]:helxplatform/helx-ui.git
  2. Run cp .env.sample .env
  3. Run set -a && source .env && bin/populate_env public/env.json
  4. Run npm install
  5. Run npm start
    • Note that the "Take a tour" button is visible but can't be clicked in Firefox on macOS.
  6. Edit public/env.json to set "brand": "heal"
  7. Run npm start
  8. Navigate to http://localhost:3000/search
    • Note that the "Take a tour" button is now colored HEAL pink, and clicking it starts the tour.
  9. Click on the "Take a tour" button.
    • Note that the URL changes to http://localhost:3000/ and displays the content of the HEAL Support page (see screenshot 1).
  10. Click "Next".
    • Note that a React error appears (see screenshot 2).

Screenshot 1

Screenshot 2024-10-18 at 2 21 26 AM

Screenshot 2

Screenshot 2024-10-18 at 2 23 03 AM
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

No branches or pull requests

1 participant