Skip to content

WebUI will not notify the user when they open their first channel. #55

@kelsos

Description

@kelsos

This issue is a followup to raiden-network/raiden#2661.

After a discussion with @CosminNechifor and some search through the WebUI code, I confirmed through testing that the issue Cosmin actually experienced was due to the following method:

private checkForNewChannels(oldChannels: Channel[], newChannels: Channel[]) {

The new channel checker implementation will work only if the oldChannels.length > 0. This means that it will never show a notification there are no old channels.

The most probable reason this check is there, is to avoid spamming the user with new channel notification the first time they open the WebUI and the channel cache is loaded.

The unfortunate side effect of this is that if you have no channels and you open your first channel, no notification will be shown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions