Skip to content

create notifications API #485

Open
Open

Description

@vesellov
No description provided.

Activity

  1. vesellov commented on Mar 31, 2020

    @vesellov
    ContributorAuthor
  2. opaIescence commented on Jun 30, 2020

    @opaIescence

    Could I ask what notifications API is required?

  3. vesellov commented on Jul 1, 2020

    @vesellov
    ContributorAuthor

    Hi @abc22413 ! Welcome !

    The idea of that story is to provide BitDust UI some way to handle notifications that needs to be displayed for the user.

    That includes situations when UI is not running at the moment when notification came. Later, when user opens the UI, it needs to request that new notification endpoint and get those items that needs to be displayed for the user. It is like on your mobile phone - when you switched it ON but something happened while it was OFF - you see a red dot on top of the app icon.

    For example: BitDust received a new request from another user who wants to add you as a friend but your UI was not running at that moment - later when you open BitDust UI it suppose to show you that request.

    But also if you are running UI at that moment when another user requested to be your friend - notification must be shown right away.

    Probably we need to have some flag internally: notification_consumed or something like that.

    You can store notifications locally in sqlite3 DB which is already there: https://github.com/bitdust-io/devel/blob/master/chat/message_database.py

    If you like we can have on-line call to discuss the idea in more details.

    Please join us in Telegram: https://t.me/bitdust or in the slack - i will need your email address to send Slack invite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions