Giter Club home page Giter Club logo

yandex-mail-notifier's Introduction

Yandex.Mail notifier for Chrome and Firefox

Build Status codecov

You can find the extension in the following browser stores

Install

This project uses Yarn, to install dependencies - run yarn.

Development

Common

  • npm run lint - runs eslint
  • npm run lint:fix - runs eslint in autofix mode
  • npm run test - runs tests
  • npm run test:watch - runs tests in watch mode
  • npm run test:coverage - runs tests with coverage report

Chrome

Just run npm run start:chrome to start development server.

Firefox

  1. Run npm run watch:firefox to build the bundle in watch mode.
  2. Run npm run start:firefox to start development server.

Release

  1. Make sure you're on master branch.
  2. Run npm run release <version> (e.g. npm run release 2.1.3). It will update version in manifest.json and package.json files, set the tag according to the version and commit these changes.
  3. Check the changes carefully and push.
  4. The following steps depend on the browser.

Chrome

After the push, TravisCI will take care of uploading and publishing new version to Chrome Store.

Firefox

  1. Run npm run build:firefox to build the bundle for FF.
  2. Run npm run zip to get an archive.
  3. Upload the archive to AMO.

Sponsors

Thanks to the sponsors for supporting this project!

Sentry Logo

yandex-mail-notifier's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

yandex-mail-notifier's Issues

It doesn't work since a few days ago

I used a monitor to track the connections (LiveTcpUdpWatch) and it tries to connect to push.yandex.com each second:
yandex mail notifier

If I disable the extension those retries stop. Thank you.

Add multiple account support

It would be so nice if you would add multiple account support to the notifier, I love how seamless you can switch between mail account in Yandex mail, but not getting notification from all of my accounts is quite the downer.

Error: Invalid value for argument 2. Property 'periodInMinutes': Expected 'number' but got 'string'.

https://sentry.io/alexander-nr/yandexmail-notifier/issues/291209087/

Error: Invalid value for argument 2. Property 'periodInMinutes': Expected 'number' but got 'string'.
  at initUnreadNotification (chrome-extension://kefdlfgiadjmihfahegpkbolhhnpkbjo/pages/background.js:1:112639)
  at Array.<anonymous> (chrome-extension://kefdlfgiadjmihfahegpkbolhhnpkbjo/pages/background.js:1:101099)
  at dispatch (chrome-extension://kefdlfgiadjmihfahegpkbolhhnpkbjo/pages/background.js:1:40847)
  at dispatch (chrome-extension://kefdlfgiadjmihfahegpkbolhhnpkbjo/pages/background.js:1:89795)
  at onNewMessage (chrome-extension://kefdlfgiadjmihfahegpkbolhhnpkbjo/pages/background.js:1:114440)
...
(3 additional frame(s) were not displayed)

Fix Header styling

There're some styling issues in the header component like vertical and horizontal aligning.

Popup has a wrong height sometimes

Sometimes after click on button, popup opens with a wrong height and it's impossible to use it.

Possible solution: extract css to a separate file for production build and include it to html file.

Add redux-thunk

I want to stick with usual usages of Redux actions. So, now we dispatch actions in the action creators but it's better to use dispatch in place of using an action.

Add settings

Add settings/options page to control notifications.

Firefox 57

I get this error running you extension in Firefox Quantum:

imagen

I tried login to my account with yandex.com and yandex.ru domain. Same result. Also, I saw the version you uploaded to AMO is not the latest (4.4.0).

Thanks a lot!

Update: I used the debugger and the problem is I have the Tracking Protection enabled.

I don't want to disable this feature, is there a workaround for this?

Since changing domain preference, cannot authenticate

changed to .com and now addon never sees account as authenticated. tried to change back, still cannot authenticate. I have logged out and back in, have reloaded, have logged in on multiple yandex domain.. Nothing works. All started when I changed from .ru to .com

Browser: Firefox 54.0.1 (64 bit)
Addon version: v4.2.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.