
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@marek.libra/plugin-notifications
Advanced tools
Frontend part of the notifications providing the Notifications API, Notifications page, left-side menu item and other REACT components.
This Backstage front-end plugin provides:
Notifications
page listing notifications from the logged-in user's perspectiveHave @janus-idp/plugin-notifications-backend
installed and running.
cd packages/app
yarn add @janus-idp/plugin-notifications
In the packages/app/src/components/Root/Root.tsx
:
import { NotificationsSidebarItem } from '@janus-idp/plugin-notifications';
...
export const Root = ({ children }: PropsWithChildren<{}>) => (
...
{/* New code: */}
<SidebarDivider />
<NotificationsSidebarItem pollingInterval={5000} />
{/* Existing code for reference: */}
<SidebarSpace />
<SidebarSpace />
<SidebarDivider />
<SidebarDivider />
<SidebarGroup
<SidebarGroup label="Settings"
In the packages/app/src/App.tsx
:
import { NOTIFICATIONS_ROUTE, NotificationsPage } from '@janus-idp/plugin-notifications';
...
export const AppBase = () => {
...
{/* New code: */}
<Route path={NOTIFICATIONS_ROUTE} element={<NotificationsPage />} />
import { notificationsApiRef, Notification } from '@janus-idp/plugin-notifications';
...
const notificationsApi = useApi(notificationsApiRef);
const notifications: Notification[] = await notificationsApi.getNotifications(params);
See src/api/notificationsApi.ts
for more details.
FAQs
Frontend part of the notifications providing the Notifications API, Notifications page, left-side menu item and other REACT components.
The npm package @marek.libra/plugin-notifications receives a total of 0 weekly downloads. As such, @marek.libra/plugin-notifications popularity was classified as not popular.
We found that @marek.libra/plugin-notifications demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.