notifications-panel

2.2.5 • Public • Published

WordPress.com Notifications Panel

Note This module is no longer being developed – its functionality has been rolled into Calypso. This module should no longer be used.

This repository contains the React component which displays WordPress.com notifications and provides for management of those notifications.

<NotificationsPanel { ...{
    isVisible,
    locale,
    wpcom
} } />

Contributing

The following sections describe what is required in order to locally develop this application.

Authentication domain

When developing the app locally we need to fake its base URL because of the way that user authentication works. The OAuth application will only respond to a select number of domain origins. Thus the following line will need to exist in your local /etc/hosts file. The app will be served at this address when running the development server.

127.0.0.1 notifications.localhost

Installation

After setting up the local domain mapping install the application with the following sequence of commands:

git clone git@github.com:Automattic/notifications-panel.git
cd notifications-panel
npm install

Developing

With the code and dependent libraries installed run the development server with the following command:

npm start

After it boots up load the entry at notifications.localhost:8888 in your browser.

Dependents (0)

Package Sidebar

Install

npm i notifications-panel

Weekly Downloads

5

Version

2.2.5

License

GPL-2.0+

Unpacked Size

243 kB

Total Files

121

Last publish

Collaborators

  • imranh920
  • gmjuhasz
  • rcarvalho
  • briowill
  • bgrgicak
  • dhenridev
  • daledupreez-a8c
  • jeherve
  • yuliyan
  • micbosia8c
  • jeremy.yip
  • wpvip-bot
  • etobiesen
  • kzoschke
  • brunobasto
  • kat3samsin
  • fmfernandes
  • newspack
  • robertsreberski_a8c
  • msurdi-a8c
  • chihsuan
  • manzoorwanijk
  • rjchow
  • andrea-sdl
  • scjr
  • spsiddarthan
  • t2dw4t
  • ehg_
  • wwa
  • sirreal
  • elazzabi
  • royho
  • luismulinari
  • macbre
  • mjangda
  • matticbot
  • a8c
  • blowery
  • noahtallen
  • hanifn
  • sgomes
  • tyxla
  • saroshaga
  • parkcityj
  • nejclovrencic
  • sirbrillig
  • chriszarate
  • robersongomes
  • johngodley
  • gwwar
  • kwight
  • dmsnell
  • rodrigoia8c
  • vindl
  • copons