Skip to content

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

@gaurav

Description

@gaurav

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 git@github.com: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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions