Giter Club home page Giter Club logo

baat-cheet's Introduction

Baat-Cheet

Baat-cheet is a completely anonymous online chat website developed by IIT Mandi.

If you want to discuss your issues then join our gitter community or if you are a student of IIT Mandi, you can also join your zulipchat.

Getting Started

Just head over to Baat-cheet where you can select a nickname for yourself and begin a conversation anonymously.

Want to help?

Want to file a bug, request a feature, contribute some code? Excellent! Read our contributing guidelines and then check out one of our issues. Make sure you follow the guidelines before sending a contribution!

About the branches

There are two branches, one is master and the other is release. The master branch is main development branch and the release branch is for final releases of project, this branch has mostly finished code with minimum bugs.

Thanks to Twemoji project without which we could not add emoji feature here.

baat-cheet's People

Contributors

99neerajsharma avatar abhigyank avatar aroralakshya avatar bineetnaidu avatar deepa-cheri avatar deepshikha99 avatar divyashk avatar everkers avatar ezio-sarthak avatar gitter-badger avatar guptabhaskar avatar hitram avatar jeconias avatar jketterer avatar kots14 avatar kratikagupta2002 avatar laisfrigerio avatar lalitnm avatar monarths avatar mostlyaman avatar namrataaaa avatar pancreaflame avatar rohitgeddam avatar rs4231199 avatar sahilarora535 avatar sarthakj0805 avatar sesamechicken avatar solai-adithya avatar tanmaybhosale avatar yatharthmogra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

baat-cheet's Issues

Refactor

At present there is some unnecessary code in each file. You are supposed to remove that unnecessary code.

Tasks:

  • Remove unnecessary code(of JS as well as CSS).

  • Wherever possible replace code like

anotherElement.innerHTML = '<element id="someID" class="someClass">Some text</element>';

with code like

element = document.createElement("element");
element.classList.add("someClass");
element.id = "someID";
element.innerText = "Some Text";
anotherElement.innerHTML = element;

Most important thing is to create separate commit for each file.

Emoji not showing in notification

If you are in room A and room B and you are reading messages of room A. If someone sends a text message in room B then you get a notification, but if someone sends an emoji in room B then you get a notification like someone@roomB \n <img id = 'emoji'>. it should say name of that emoji like someone@roomB \n :emoji:

Move present-room-info

At present, the room info is at the top of chat window.
Tasks:

  • Move this division at the right of screen, just like left-bar make a right-bar which collapses on small screens.

  • Add the current user info permanently in this division.

  • In rooms other than lobby also shift the leave room button in right-bar.

  • Use bootstrap to style this right bar

change color

At present there is a blue color at so many places in app, you are supposed to remove to remove this color and add bootstrap's primary class.

style the message input area with Bootstrap

At present, the message input area has a lot of custom styling. We need to style it with bootstrap. You can take inspiration from following image.
image

And unlike this image there will be two buttons in one form(one for emoji and other for send button).

Add Contributing.md

There is no contributing.md. A link for the same is there in readme.md, but that leads to 404 page.

Style leftbar with bootstrap

At present, the leftbar is styled by custom classes, remove these custom classes and add Bootstrap classes there.

style message bubble with Bootstrap

At present, the message area has a lot of custom styling. We need to style it with bootstrap. Perhaps a container can be useful here. You can take inspiration from following image.
Screen Shot 2020-10-09 at 19 37 07

Make new room screen-overlay responsive

At present the new room screen-overlay does not look good on small screens. We want style changes to this. You can use Bootstrap. A Pr containing bootstrap cdns is about to be merged(#70).

Steps to reproduce: try adding a new room from + icon on small screens.

style leftbar with bootstrap

style leftbar with bootstrap
tasks:

  • style the search form with bootstrap's form-control class

  • style the cards containing room name and description with bootstrap's card class under card-columns class of bootstrap.

  • move the add-room(plus) button as a card under room list, so that user can click on a card to create new room.

Final look can be something like
baat-cheet
:

make layout responsive

At present, the layout is not responsive, when anybody tries to run this app on a smartphone, they encounter multiple errors.
A screenshot would be enough to explain the issue.
Baatcheet

My suggestion would be to use Bootstrap(or some other framework) to style front-end.

Add swipe action

On small screens, there is only one way to collapse or expend the leftbar, which is to click on the button. Add swipe actions that after swiping right, the leftbar will expend, and after swiping left this will collapse.

Improve the message design

A message sent/received right now is has very big height (probably due to it being a

tag ). The message box height should be in much smaller. And the sender name should be prominent, probably darker.

Unify all emojis

At present, all emojis are of different color.

Tasks:

  • Add all emojis of same color(preferably yellow).

  • Add new emojis.

Source of emojis: Twemoji

Improve code

Can I make some improve? For example:

  • Variavel destructuring

  • Template string

  • General refactor

Add bootstrap modal for adding new room

At present the new room screen-overlay does not look good on small screens, even on large screens this doesn't looks good. We want style changes to this. You are supposed to use Bootstrap.

Steps to reproduce: try adding a new room using add new room card.

Decrease size of left sidebar

Decrease sidebar to about 30% and increase the right sidebar to about 70%. Also if you're able to centre-align the room list with respect to the left sidebar by adding some left margin to it.

style entry page

At present, the entry page on mobile devices looks like
Screen Shot 2020-10-06 at 03 11 13

Align the title and area for nickname at the center of page i.e. align the jumbotron properly.

Anyone can see the info about user joined or user left

The information about user joining or leaving should be displayed only to users who are in room not to the users who haven't set their username yet.

PS: if you leave just close the site without setting your name, it will broadcast null left ๐Ÿ˜›

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.