Skip to content

[BUG] Dead onboarding tour has an undeclared dependency and missing DOM targets #1151

Description

@Suprita736

Bug Description

src/components/TourGuide.jsx imports intro.js, but intro.js is not listed as a dependency in package.json.

The component currently does not appear to be imported or mounted, which means the missing dependency can remain unnoticed. If TourGuide.jsx is later wired into the application, a clean installation/build can fail because intro.js is unavailable.

There is also a second issue with the tour configuration: the tour targets DOM elements by ID:

  • #dashboard-header
  • #alerts-panel
  • #help-tour-btn

These IDs do not currently exist in the relevant application components, so the configured tour steps cannot reliably find their target elements.

Steps to Reproduce

  1. Inspect src/components/TourGuide.jsx.
  2. Observe the import:
    import introJs from 'intro.js';

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions