TypeScript Capabilities applied to the 'gerrit-native-notifications'

in #utopian-io7 years ago

Introduction

The scope of the contribution are two PRs to my project, gerrit-native-notifications. Some of TypeScript capabilities has been applied to improve codebase readability and configuration process. This includes interfaces definition which represent Gerrit notification entities.

But wait... What the hell is this project about?

Motivation

There is quiet popular code review platform, called Gerrit. It allow you to review project team peers code, add comments, approvals etc. In the mean time, it generates notifications which informs some actions have just happened. Here is an example of of such notification:
image.png

Quiet non-readable form huh? Generally speaking, sending real-time typed notifications via email are not comfortable to work with development process. I found it really disappointing in daily work. "Why isn't it displayed as native notification?" you might ask. Same idea has born in my mind some day - and that's why gerrit-native-notifications has appeared on Github!

How does it work?

This is a simple service, written in nodejs, which receives notifications from Gerrit, parses it and displays as native notifications. So then, it looks like this:

gerrit native notification

What's more, notifications are displayed in real-time. No delays caused by SMTP. You have received +2 approval from team peer? You are ready to merge it! Interested in comment you have just received? Clicking on the notification will redirect you to gerrit change page.



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Hey @adasq I am @utopian-io. I have just upvoted you at 27% Power!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Congratulations @adasq! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

You got your First payout

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Congratulations @adasq! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the total payout received

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Coin Marketplace

STEEM 0.20
TRX 0.12
JST 0.030
BTC 60843.73
ETH 3406.11
USDT 1.00
SBD 2.57