Skip to content
This repository has been archived by the owner on Aug 27, 2018. It is now read-only.

Core notifications panel for WordPress.com notifications

Notifications You must be signed in to change notification settings

Automattic/notifications-panel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WordPress.com Notifications Panel

Note This repository is in the process of closing down. Please DO NOT attempt to update the code here. Instead please update the code in Automattic/wp-calypso. This repository 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 [email protected]: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.

Automattic employees

If notable UI changes are being made in PRs, be sure to open a corresponding issue in the iOS and Android repositories, so that those teams can bring the apps into alignment.

About

Core notifications panel for WordPress.com notifications

Resources

Stars

Watchers

Forks

Packages

No packages published