Coder Social home page Coder Social logo

cs50_web_project2's People

Contributors

allensuvorov avatar

Watchers

 avatar  avatar

cs50_web_project2's Issues

Join Room, Leave Room

  • check if user already in the channel,
  • emit leave_room for the previous channel
  • emit a message to the selected channel that a user left it

Check if channel name already exists.

  • check input field text if it matches channel list
  • prompt user if it matches already existing channel,
  • add room name check for ENTER submit
  • disable submit button until text is unique.

Create new channel

  • submit new channel via web sockets to channel list on HTML page of all clients
  • save new channel in the list on the server

Personal Touch: supporting deleting one’s own messages

  • Personal Touch: Add at least one additional feature to your chat application of your choosing! Feel free to be creative, but if you’re looking for ideas, possibilities include: supporting deleting one’s own messages, supporting use attachments (file uploads) as messages, or supporting private messaging between two users.

Join Room

  • send join room event to the server
  • emit a message to the selected channel that a user joined it

Sending messages

  • Once in a channel, users should be able to send text messages to others the channel.
  • When a user sends a message, their display name and the timestamp of the message should be associated with the message.
  • All users in the channel should then see the new message (with display name and timestamp) appear on their channel page.
  • Sending and receiving messages should NOT require reloading the page.

Display 100 most recent messages

  • save on the server messages for all channels and show to users
  • set the limit to 100 most recent messages

Messages View: Once a channel is selected, the user should see any messages that have already been sent in that channel, up to a maximum of 100 messages. Your app should only store the 100 most recent messages per channel in server-side memory.

scrolldown not working

  • document.querySelector("#display-message-section").scrollTop

  • it shows 0 on my page and works well on the example app

  • remove the scroll down if non needed

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.