Skip to content

Update the Welcome modal's copy for view-only users #12792

Description

@techanvil

Feature Description

The Welcome modal's copy should be updated for view-only users.

For reference, see the Welcome modal section in the design doc, and the Figma design.


Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

  • When viewing the Welcome modal as a view-only user:
    • For the with-data modal variant, the description reads:
      • Take a quick tour to see the most important parts of your dashboard
    • For the gathering data modal variant, the description reads:
      • Site Kit is gathering data and soon metrics for your site will show on your dashboard
  • This change is gated behind the setupFlowRefreshPhase4 feature flag.

Implementation Brief

  • In assets/js/components/WelcomeModal.tsx:
    • Use useViewOnly hook to check if the current view context is a view only.
    • Update the Welcome modal description for view-only users to:
      • Take a quick tour to see the most important parts of your dashboard
    • Gate these changes behind setupFlowRefreshPhase4 feature flag. Use useFeature hook to check if feature flag is enabled.

Test Coverage

  • Update tests for view only user.
  • Update story for view only user.

QA Brief

Data Available Variant

  • In tester plugin Analytics > Analytics Settings > general > Force Analytics report data, set audience-reports-random-data
  • Setup Site Kit. Share the analytics module with another user for view only access.
  • Login with another user's account as view only user and notice the welcome modal matches the description in the AC, the description should read Take a quick tour to see the most important parts of your dashboard

Data Gathering Variant

  • In tester plugin Analytics > Analytics Settings > general > Force Analytics report data, set gathering
  • Setup Site Kit. Share the analytics module with another user for view only access.
  • Login with another user's account as view only user and notice the welcome modal matches the description in the AC, the description should read Site Kit is gathering data and soon metrics for your site will show on your dashboard

Changelog entry

  • Update the Welcome modal's copy for view-only users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Medium priorityTeam MIssues for Squad 2Type: EnhancementImprovement of an existing feature

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions