All Projects → atapas → notifyme

atapas / notifyme

Licence: MIT License
react-notification-timeline is a react based component helps in managing the notification in time-based manner.

Programming Languages

javascript
184084 projects - #8 most used programming language
shell
77523 projects
SCSS
7915 projects

Projects that are alternatives of or similar to notifyme

react-notify
Tiny React's module that shows notifications.
Stars: ✭ 55 (-41.49%)
Mutual labels:  notifications, notification
spontit-api-python-wrapper
Send functional, flexible push notifications to iOS, Android, and desktop devices (without your own app or website).
Stars: ✭ 35 (-62.77%)
Mutual labels:  notifications, notification
flasher
A powerful and flexible flash notifications system for PHP
Stars: ✭ 46 (-51.06%)
Mutual labels:  notifications, notification
discord-notifier
Provides Discord integration for Symfony Notifier
Stars: ✭ 24 (-74.47%)
Mutual labels:  notifier, notification
vertical-timeline-component-react
A Timeline Component for React.js
Stars: ✭ 42 (-55.32%)
Mutual labels:  timeline, timeline-component
react-timeline
The easiest way to add a responsive and customizable timeline to React apps
Stars: ✭ 68 (-27.66%)
Mutual labels:  timeline, timeline-component
Graphical notifications Zabbix
No description or website provided.
Stars: ✭ 77 (-18.09%)
Mutual labels:  notifications, notification
Django Webpush
Web Push Notification Package for Django
Stars: ✭ 217 (+130.85%)
Mutual labels:  notifications, notification
react-awesome-notifications
A beautiful fully customizable React + Redux notification system built with styled-components
Stars: ✭ 29 (-69.15%)
Mutual labels:  notifications, notification
SimpleCloudNotifier
SimpleCloudNotifier is a app to display messages that you can send to your phone with a simple POST requests.
Stars: ✭ 15 (-84.04%)
Mutual labels:  notifications, notifier
laravel-exception-notify
Laravel 中异常监控报警通知(Bark、Chanify、钉钉群机器人、Discord、飞书群机器人、邮件、PushDeer、QQ 频道机器人、Server 酱、Slack、Telegram、企业微信群机器人、息知)。
Stars: ✭ 52 (-44.68%)
Mutual labels:  notifier, notification
AndroidProjects
个人总结归纳Android知识点。1.Data Binding框架MVVM;2. BaseView;3.CollapseView;4.Notification;5.MultiChannelBuild;6.SwipeBack;7.CustomTabs;8.HandlerCourse;9.VolleyStudy;10.OkHttpStudy;11.PermissionManage;12.InterView;13.KotlinLearning
Stars: ✭ 32 (-65.96%)
Mutual labels:  notifications, notification
github-release-notifier
Automatize tasks when a specific package got a new release - Github Release Notifier
Stars: ✭ 21 (-77.66%)
Mutual labels:  notifier, notification
SteamAchievementNotifier
Steam Achievement Notifier is an Electron application that shows a customisable notification when you unlock any Steam Achievement! It uses the Steam Web API to track achievement stats in real time, and displays an achievement summary within the notification.
Stars: ✭ 77 (-18.09%)
Mutual labels:  notifications, notifier
React Materialui Notifications
Spec compliant notifications for react and material ui users
Stars: ✭ 252 (+168.09%)
Mutual labels:  notifications, notification
vue-light-timeline
A mobile first lightweight vue timeline components
Stars: ✭ 88 (-6.38%)
Mutual labels:  timeline, timeline-component
Notiflix
Notiflix is a JavaScript library for client-side non-blocking notifications, popup boxes, loading indicators, and more that makes your web projects much better.
Stars: ✭ 172 (+82.98%)
Mutual labels:  notifications, notification
Angular Notifier
A well designed, fully animated, highly customizable, and easy-to-use notification library for your Angular application.
Stars: ✭ 175 (+86.17%)
Mutual labels:  notifications, notifier
PushMeBaby
iOS Push Notification Debug App. You can use this app during iOS Push Notification (development or production) to push notifications on your device from your Mac.
Stars: ✭ 47 (-50%)
Mutual labels:  notifications, notification
fake-sms-notifier
Fake SMS (as email during development) Notifier Bridge
Stars: ✭ 16 (-82.98%)
Mutual labels:  notifier, notification

🔔 react-notification-timeline

All Contributors

react-notification-timeline is a reactjs based component helps in managing the notifications in time-based manner. It is capable of keep tracking of the incoming notifications, manage read vs unread messages and allows many more customizations.

🔥 Why do you need this?

  • 👉 Is your project is based on react js and you are looking for a time-based notification system?
  • 👉 Do you want to keep track of the notifications in timed manner and manage them ?
  • 👉 Do you want to structure the notifications in a cleaner way?
  • 👉 Do you want to manage multi-line notifications?
  • 👉 Do you limit the number of notifications you may want to see?

Then, you should give react-notification-timeline a try.

Here are some screen-shots

  • Notification Component with the unread message count

    notification
  • Notification Component with the messages as a pop-over

notification with messages

Live Demo

Netlify Status

A Live demo of the component is available here, 💻 CLICK FOR DEMO

Many Thanks to all the Stargazers who has supported this project with stars()

Stargazers repo roster for @atapas/notifyme

⚒️ How to use?

Install

You can install react-notification-timeline using npm or yarn.

npm i react-notification-timeline
yarn add react-notification-timeline

Import

Once installed, it can be imported into a react component as,

import NotifyMe from 'react-notification-timeline';

Usage

Here is an example usage,

<NotifyMe
  data={data}
  storageKey='notific_key'
  notific_key='timestamp'
  notific_value='update'
  heading='Notification Alerts'
  sortedByKey={false}
  showDate={true}
  size={64}
  color="yellow"
  markAsReadFn={() => yourOwnFunctionHandler()}
/>

Properties

CLICK ME to know the details of the properties

Property Description Required Example
theme customizing the background and foreground of the Notification and its icon No color and background color can be either in HexaCode,rgb or string name. Default is
   {
     color:"yellow",
     backgroundColor:"#282828"
   }
data Messages to show as notifications. This is expected to be an array of objects. Each of the object must have two properties.
  • timestamp: The timestamp of the time a message was generated. This must be a of a type long and represent a timestamp.
  • update: The message to show as notification.
Note: The keys names, timestamp and update can be customized as explained in other properties below.
Yes
   [
     {
       "update":"70 new employees are shifted",
       "timestamp":1596119688264
     },
     {
       "update":"Time to take a Break, TADA!!!",
       "timestamp":1596119686811
     }
   ]
heading A header message for the Notification panel. Pass a message to customize it. No Any string of your choice. Default value is, Notifications
multiLineSplitter In case a notification message has to be splitted into multiple (bullet) items, you can specify a line splitter character in-between. No Any Character like, # or a sequence of characters, #$#. Default value is, \n
notific_key Key in the data property that holds the timestamp value. Yes timestamp, attime or any string based key name in the data property.
notific_value key in the data property that holds the notification message value. Yes update, message or any string based key name in the data property.
showDate Notification message shows the date and time along with the message. Pass false for this property, if you do not want to show it. Pass true otherwise. No true or false. Default value is, false
size Size of the notification bell. Pass a Size to customize it. No Size values as, 16, 32, 48 etc. Default value is, 32
sortedByKey Pass true, if the data passed to this component is already sorted by time-based key. Pass false otherwise, the component will take care of the time based sorting. No true or false. Default value is, true
storageKey It stores the last read message key in localstorage of the browser. No Any string of your choice as a key. Default value is, notification_timeline_storage_id
markAsRead User can control the functionality of "Mark All As Read" by passing the function as prop as below markAsReadFn = {() => yourOwnFunctionHandler()} No Now "Mark All As Read" can be controlled by passing your own function as prop. Default functionality is,
  • We will clear the notification count.
  • Update the reactLocalStore with the latest notification key.
  • We will set the readIndex to 0 - which is used to highlight the unread notifications.
icon User can add custom notification Icon by passing react-feather icon as prop as below icon={IconName} //You need to import the Icon from the react-feather library No Any icon from the react-feather library default is Bell icon

🏷️ License

Copyright © 2020 by Tapas Adhikary

This project is licensed under MIT license.

Show your support

If you liked the work, please show your support by giving a Star!

Contributions

I would love to get your feedback. Please use the github issues for submitting any feedback. At the same time, please join hands in improving the component further by fixing bugs, adding features.

People contributed so far (emoji key):


Tapas Adhikary

🚇 ⚠️ 💻

NagarjunShroff

💻

Sankalpa Fernando

💻

Dony M Varkey

📖

This project follows the all-contributors specification. Contributions of any kind welcome!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].