Giter VIP home page Giter VIP logo

marites's People

Contributors

jonfelixrico avatar

Watchers

 avatar

marites's Issues

No indicator for failed login

Replication steps:

  1. Try logging in with incorrect credentials
  2. Observe the reaction of the app

Expected: a dialog will show that incorrect credentials were given
Actual: nothing happens

Scrollbar not tracking latest messages

Replication steps:

  1. Go to a chatroom
  2. Send a message
  3. Observe the chat history

Expected: the message which was just sent will be visible in the screen
Actual: need to scroll down to see the message

CI/CD: Docker changes

  • Change name from "marites-client" to just "marites"
  • Adjust the versioning in the tags

Refactor: decouple membership logic from message

Currently, user member info (and membership) are coupled with messages.

The problem here is that if we want to implement a chat leave feature, we will have to delete the membership info data in some way. If they rejoined the chat, they would be given another data. This means that older messages that they made will not be associated with them anymore.

Of course there's the option of just editing the existing member info, but I think it will face some limitations in the future. Decoupling is the way, IMO.

The current approach in mind right now is:

Associate messages with user ids directly.
Create a separate table for tracking user memberships. This will dictate if the user is part of the chat or not.
Create a separate table for user member information. This table will contain chat-specific data. Even if they leave, this data will stay -- it will just be inaccessible.

Implement basic functionalities

Tracker to implement the ff:

  • Chatting in a chatroom
    • Receive message in real time
    • See chat history by scrolling up
  • Chatroom creation
  • Chatroom listing

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.