Skip to content

Update the splash screen copy for secondary administrators #12790

Description

@techanvil

Feature Description

The title and description for the splash screen should be updated for secondary administrators.

For reference, see the secondary administrators 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 splash screen as a secondary administrator, the title and description are as follows:
    • All scenarios:
      • Title: Let's get started!
    • Analytics not set up, or no access to shared services:
      • Description: Site Kit has already been configured by another admin of this site. To use Site Kit as well, sign in with your Google account which has access to Google services for this site (e.g. Google Analytics). Once you complete the setup, you’ll see stats from all connected Google services.
    • Analytics already set up, and the user has access to shared services:
      • Description: Site Kit has already been configured by another admin of this site. To use Site Kit as well, sign in with your Google account which has access to Google services for this site (e.g. Google Analytics). Once you complete the setup, you’ll see stats from all connected Google services that are shared with you:
  • These changes are gated behind the setupFlowRefreshPhase4 feature flag.

Implementation Brief

  • In assets/js/components/setup/SetupUsingProxyWithSignIn/Splash.js:
    • Use useFeature hook to gate the new secondary-admin copy logic behind setupFlowRefreshPhase4 feature flag.
    • Keep existing setupFlowRefresh layout/component behavior unchanged.
    • Use isSecondAdmin to scope secondary-admin copy changes.
    • Use isModuleActive selector to check for Analytics setup state.
    • Use getViewableModules to derive shared-services access (for example, hasViewableModules).
    • Set the secondary-admin title to Let's get started! for all phase4 cases.
    • Use ...all connected Google services. when Analytics is not set up OR no shared services are viewable.
    • Use ...all connected Google services that are shared with you: only when Analytics is set up AND shared services are viewable.
    • Keep updated strings wrapped in __ for localization.
    • Do not change non-phase4 or non-secondary-admin copy paths.
    • Keep this task limited to title/description updates only.

Test Coverage

  • Update the tests for Splash based on above change.
  • Update the story for Splash screen for when:
    • Analytics not set up, or no access to shared services.
    • Analytics already set up, and the user has access to shared services.

QA Brief

Note: Enable setupFlowRefreshPhase4 feature flag in tester plugin.

With Analytics Setup and shared services.

  • Setup SK as primary admin with Analytics module setup.
  • Share the Analytics module with secondary admin.
  • Login as secondary admin, the description should be as per AC.

Without Analytics Setup and shared services.

  • Setup SK as primary admin without Analytics module setup.
  • Login as secondary admin, the description should be as per AC.

With Analytics Setup and no shared services.

  • Setup SK as primary admin without Analytics module setup.
  • Share the Analytics module with secondary admin.
  • Login as secondary admin, the description should be as per AC.

Changelog entry

  • Update the new splash screen's copy for secondary administrators.

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