Next Phenomenal Microbrewery
Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@atlassian/post-upgrade-landing-page

0.3.3 • Public • Published

Post Upgrade Landing Page frontend

This is a frontend module for Post Upgrade Landing Page plugin.

Usage

import React from 'react';
import {render} from 'react-dom';
import PULP from '@atlassian/post-upgrade-landing-page';

...

render(
  <PULP data={data} i18n={i18n} sendAnalytics={sendAnalytics} />,
  document.getElementById('root')
);

Properties

  • data (required)

    An object containing initial data.

    interface data {
      contextPath: string;
      version: string;
      isRedirected: boolean;
      update?: {
        day: string;
        time: string;
      };
      rows?: {
        news?: {
          headline: string;
          text: string;
          article?: {
            label: string;
            link: string;
            UTM: string;
          };
        }[];
        applinks?: {
          failedApplinks: number;
        };
        plugins?: {
          disabledPlugins: number;
          kbUrl: string;
        };
      };
    }
    
  • i18n (required)

    An object containing translations.

    {
      "pulp.intro": "Welcome to JIRA {0}",
        "pulp.headline.not.redirected": "Latest upgrade report",
        "pulp.headline.redirected": "You've just been upgraded!",
        "pulp.subheader": "JIRA was successfully upgraded to version {0}. Here's a summary of the checks we ran during the upgrade.",
        "pulp.subheader.withdate": "JIRA was successfully upgraded to version {0} on {1} at {2}. Here's a summary of the checks we ran during the upgrade.",
        "pulp.continuelink": "Take me to JIRA",
        "pulp.footer": "For more info on the new features in JIRA {0}, take a look at the",
        "pulp.releasenote": "release notes",
        "pulp.rows.details.show": "Show details",
        "pulp.rows.details.hide": "Hide details",
        "pulp.releasenote.text": "For more info on the new features in JIRA {0}, take a look at the {1}.",
        "pulp.subheader.no.date": "Jira was successfully upgraded to version {0}.",
        "pulp.subheader.with.date": "Jira was successfully upgraded to version {0} on {1} at {2}.",
        "pulp.subheader.checks.summary": "Here's a summary of the checks we ran during the upgrade.",
        "pulp.subheader.checks.releasenote": "Take a look at the {0} to see the newest features in this version of Jira.",
        "pulp.releasenote.label": "Release notes",
        "pulp.releasenote.link": "https://confluence.atlassian.com/display/AdminJIRA/Jira+7.12.x+platform+release+notes",
        "pulp.tooltip.text": "If you''ve also upgraded {0} you will see these changes.",
        "pulp.rows.news.headline": "Need to know",
        "pulp.rows.news.description": "There are some important changes in this upgrade.",
        "pulp.rows.news.warning": "Reindex your instance as changes were made during upgrade that affected the search index. You should do this after updating your apps.",
        "pulp.rows.applinks.label": "Application links",
        "pulp.rows.applinks.headline.success": "Application links",
        "pulp.rows.applinks.headline.fail": "Application links failing: {0}",
        "pulp.rows.applinks.description.success": "All application links connected.",
        "pulp.rows.applinks.description.fail": "Some of your application links aren''t working correctly.",
        "pulp.rows.applinks.detail.success": "All application links are working. Manage these in the {0} section of Jira administration.",
        "pulp.rows.applinks.detail.fail": "They may not be able to connect or they may be broken. Check the {0} page for diagnostic information.",
        "pulp.rows.applinks.stp.text": "They are regularly checked by the {0}.",
        "pulp.rows.applinks.stp.label": "Support Tools Plugin",
        "pulp.rows.plugins.headline.enabled": "User apps",
        "pulp.rows.plugins.headline.disabled": "User apps disabled: {0}",
        "pulp.rows.plugins.description.enabled": "All apps available.",
        "pulp.rows.plugins.description.disabled": "Some of your user apps have failed to start. They may not be compatible with this version of Jira.",
        "pulp.rows.plugins.upmlink.enabled": "All apps are compatible and have started. Add-ons are managed by the {0} in Jira administration.",
        "pulp.rows.plugins.upmlink.disabled": "Go to the {0} to see if these have become incompatible.",
        "pulp.upm.text": "Universal Plugin Manager",
        "pulp.upm.url": "/plugins/servlet/upm/manage/user-installed",
        "pulp.rows.plugins.kb.prompt": "Learn how to troubleshoot apps"
    }
    
  • sendAnalytics (required)

    Analytics function.

    interface Analytics {
      (eventId: string, attributes: any): any;
    }
    

Keywords

none

Install

npm i @atlassian/post-upgrade-landing-page

DownloadsWeekly Downloads

13

Version

0.3.3

License

Atlassian Developer Terms

Unpacked Size

1.24 MB

Total Files

8

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar