hippich / Bitcoin-Poker-Room

Sources for Bitcoin Poker Room.
http://betco.in
Other
132 stars 88 forks source link

Implement "ignore player" chat feature #28

Open hippich opened 13 years ago

hippich commented 13 years ago

How do we go about reporting players who are vile and/or how can I ignore their chats? I'd really love not to have to listen to this kind of stuff: http://screencast.com/t/Rf1hc0mJIT0

hippich commented 13 years ago

This should be implemented as:

0) Ignored nicknames should be stored locally in the player's browser localStorage. 1) Add select list (not drop down) in "Options" dialog at the table where all currently blocked nicknames appear. 2) Add "Remove" button below #1. Pressing on this button should remove nickname from the localStorage and #1 3) Add text box and "Add" button. Clicking "add" button will add nickname in the text box to localStorage and #1 4) Add filtering capability to chat handling function which check if nick appear in ignore list. If it appears there - do not output chat text.