GithubHelp home page GithubHelp logo

chat-display's Introduction

Introduction

This app is build to show Messages such as text, image, notifications. Also add a control pannel to test the functionalities.

Applied Functionalities:

-By type text in the different input area, the app can tell who send this message, and display the message accordingly.

-Must input a vaild image url to send images.

-By click on join/leave group to show notifications

-By right click on a message to recall the message

Where do we need to improve:

-Data Storage: We use memory, so the history will be distroied when refresh. A back end on a server/cloud needed to perform more properate. By do so, we can remember and show the message history.

-Partial Function: we can recall the other user's message. Can easily be solved, but leave it active for testing purpose. And we will not always go to the very bottom of the messages. We can use some functions such as ScrollIntoView() to solve this.

-Performance: since we do not cached anything, it is a little bit slow, when we loading an image or user's avatar. Use a cache to solve this.

-UI: Not a perfect display, the message and avatar will sit on wired order, if a message is very short and sometimes, we get some overflow. We can solve this by adding more UI controls.

Instructions

In the project directory, we can run:

npm install

To install the application

npm start

Runs the app in the development mode

chat-display's People

Contributors

constantine71 avatar

Watchers

 avatar

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.