mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 18:32:20 +08:00
6a1bed23c1
Summary: Adds an activity list view that shows message opens and link clicks in a chronological feed. TODO: Add badge for unread notifications and different styling for read/unread notifications. Click item to jump to corresponding thread. Test Plan: TODO. Reviewers: evan, bengotow Reviewed By: bengotow Differential Revision: https://phab.nylas.com/D2915
16 lines
445 B
JavaScript
16 lines
445 B
JavaScript
import {ComponentRegistry, WorkspaceStore} from 'nylas-exports';
|
|
import ActivityListButton from './activity-list-button';
|
|
import ActivityListStore from './activity-list-store';
|
|
|
|
|
|
export function activate() {
|
|
ComponentRegistry.register(ActivityListButton, {
|
|
location: WorkspaceStore.Location.RootSidebar.Toolbar,
|
|
});
|
|
ActivityListStore.activate();
|
|
}
|
|
|
|
|
|
export function deactivate() {
|
|
ComponentRegistry.unregister(ActivityListButton);
|
|
}
|