Giter Site home page Giter Site logo

chatanon's Introduction

                                __     __                                                             __                                                     
                               /\ \__ /\ \       __               __                                 /\ \                           __                       
  ___      ___    __  __  __   \ \ ,_\\ \ \___  /\_\     ____    /\_\     ____      _____     ___    \_\ \   _ __    __       ___  /\_\     ___       __     
/' _ `\   / __`\ /\ \/\ \/\ \   \ \ \/ \ \  _ `\\/\ \   /',__\   \/\ \   /',__\    /\ '__`\  / __`\  /'_` \ /\`'__\/'__`\    /'___\\/\ \  /' _ `\   /'_ `\   
/\ \/\ \ /\ \L\ \\ \ \_/ \_/ \   \ \ \_ \ \ \ \ \\ \ \ /\__, `\   \ \ \ /\__, `\   \ \ \L\ \/\ \L\ \/\ \L\ \\ \ \//\ \L\.\_ /\ \__/ \ \ \ /\ \/\ \ /\ \L\ \  
\ \_\ \_\\ \____/ \ \___x___/'    \ \__\ \ \_\ \_\\ \_\\/\____/    \ \_\\/\____/    \ \ ,__/\ \____/\ \___,_\\ \_\\ \__/.\_\\ \____\ \ \_\\ \_\ \_\\ \____ \ 
 \/_/\/_/ \/___/   \/__//__/       \/__/  \/_/\/_/ \/_/ \/___/      \/_/ \/___/      \ \ \/  \/___/  \/__,_ / \/_/ \/__/\/_/ \/____/  \/_/ \/_/\/_/ \/___L\ \
                                                                                      \ \_\                                                           /\____/
                                                                                       \/_/                                                           \_/__/ 

chatanon's People

Contributors

philsiff avatar rooday avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

chatanon's Issues

Socket.io Crashes on Client Disconnect

It seems to be an error originating from socket itself, as the stack trace is not pointing to anything in our code.

TypeError: Cannot convert null to object
    at Adapter.delAll (R:\Documents\GitHub\test\ChatAnon\node_modules\socket.io\node_modules\socket.io-adapter\index.js:86:33)
    at Socket.leaveAll (R:\Documents\GitHub\test\ChatAnon\node_modules\socket.io\lib\socket.js:261:16)
    at Socket.onclose (R:\Documents\GitHub\test\ChatAnon\node_modules\socket.io\lib\socket.js:412:8)
    at Client.onclose (R:\Documents\GitHub\test\ChatAnon\node_modules\socket.io\lib\client.js:230:12)
    at Socket.EventEmitter.emit (events.js:117:20)
    at Socket.onClose (R:\Documents\GitHub\test\ChatAnon\node_modules\socket.io\node_modules\engine.io\lib\socket.js:248:10)
    at WebSocket.g (events.js:180:16)
    at WebSocket.EventEmitter.emit (events.js:92:17)
    at WebSocket.Transport.onClose (R:\Documents\GitHub\test\ChatAnon\node_modules\socket.io\node_modules\engine.io\lib\transport.js:113:8)
    at WebSocket.g (events.js:180:16)

Form to submit messages is redirecting user

Instead of just sending the message, the form is redirecting the user to /?. This is a problem as it seems to be making socket kill the server as the server tries to convert a null into an object. It seems that the return false statement in the form submit handler is no longer preventing the redirects, and using preventDefault() on the form is unsatisfactory as it causes the form to no longer fire when pressing enter.

Current Todo

  • Fix links put in chat. The ripple layer is overlaid so the links can't be clicked on. Try making the links' z-index higher. Also, make sure links open in new tab. <-- To do this, the ripple layer had to be removed. Acceptable losses for now.
  • The new message indicator that changes the name of the tab dynamically, similar to facebook chat, is not working. Use this
  • User count does not update when people leave
  • Sometimes the messages randomly clears
  • Make a new logo, something creative, more involving the chat aspect
  • Improve the UI so that it scales well for mobile, possible make a mobile client app
  • Add an embed button that lets people paste in video/audio that will enter the chat that people can watch, listen to
  • Add an info button at top left to say who made it, and provide an email for suggestions/comments <-- Should we ask for donations for server upkeep?

Please add to this list as you see fit
@liboan, @philsiff

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.