Coder Social home page Coder Social logo

bug-free-spoon's People

Contributors

adrkacz avatar

Watchers

 avatar  avatar

bug-free-spoon's Issues

Add user profile with language preference

Is your feature request related to a problem? Please describe.
You want to receive your message in the language you understand.

Describe the solution you'd like
User needs to enter its preferences. Don't bother about UI, just add an "Update user" section where you can multi-select your language (probably a drop-down of supported languages)

Additional context
Later, this setting will be used to translate message to supported languages, if needed.

Error on auth with verification

Describe the bug
When logging with verification, it returns an error at the end of the process

To Reproduce
Steps to reproduce the behavior:

  1. Use private navigation
  2. Log in
  3. Go through the verification (enter Google password, receive an SMS, enter the code
  4. Once done you get a server error
  5. Just refresh the page, and hit "Sign In" again and you're good.

Expected behavior
Should work first time after the auth with verification

Add user authentication

Is your feature request related to a problem? Please describe.
I want user to authenticate to register there preferences for languages, and their avatar (use https://www.dicebear.com/)

Describe the solution you'd like
Add Google authentication only, we don't want to deal with auth ourselves.
Display user connected on top (with option to disconnect).
Don't require anything but what's required (like email I guess)

Wrong display on mobile

Describe the bug
The SignIn in not center and the chat cannot be used, to be fixed. (was not the case before the last commit)

Bubble up INTERNAL SERVER ERROR on getSession

Describe the bug
If you switch context with the same domain, you can be still auth but with an unvalid token, resulting in an error on GetSession.

However the error is silent, so the user just see everthing as it is fine.

However, as GetSession failed, the USERID is undefined, so all the message are to other users.

Expected behavior
If there is an error on GETSESSION, force disconnection if any, but MOST IMPORTANT, don't go to Chat, and instead show error in LogIn page.

Automatically build on merge

Is your feature request related to a problem? Please describe.
You don't want to update prod yourself

Describe the solution you'd like
Create a GitHub Actions that does it for you. Look at super-octo-googles.

Fix dropdown on mobile

Describe the bug
Drop down go on top on mobile, force bottom and update so that when you select one it closes

Use WebSocket instead of pulls to get messages

Is your feature request related to a problem? Please describe.
Pulling every 500ms use resources for nothing.

Describe the solution you'd like
Create a WebSocket that only send messages when needed.

Add loading while querying for new messages

Is your feature request related to a problem? Please describe.
Querying for a lot of new messages in a new language can be long, which may look like a bug.

Describe the solution you'd like
Add a little spinner in the chat just so user knows that something is happening in the backend

Setup basic chat

  1. Each session assign a random ID (no connection yet)
  2. Send message, save them to DB
  3. Retrieve messages
  4. Display messages

Update UI with Mantine

Is your feature request related to a problem? Please describe.
We won't build every component manually, Mantine looks good, maybe it's a bad idea, at worse we will reverse.

Describe the solution you'd like
Improve the UI with Mantine, keep it simple. Add button that doesn't do anything or empty section if you need in the user flow.

Additional context
Keeps things as simple as possible.

Add multiple groups

Is your feature request related to a problem? Please describe.
You want to select your group based on where you are to meet people locally.

Describe the solution you'd like
Add a way to select your city, that will map to a dedicated group.

Additional context

  • Drop down ? Map ? / List ?
  • Every cities ? Countries ? Only big cities ? How big ?
  • Display most active cities ? (get messages in the last X minutes and count unique users)

Transition to Flutter

Is your feature request related to a problem? Please describe.
Hard to find any good framework for Chat for ReactJS, move to Flutter then where there is

Describe the solution you'd like
Other benefits, you got the app for free (both website and app are build the same.

Add domain name

Is your feature request related to a problem? Please describe.
Needed for auth verification from Google, and easier to use.

Describe the solution you'd like
Find a cool domain and buy it. Check what SST recommend to use.

Add simple typing indicator

Is your feature request related to a problem? Please describe.
Just so you know when someone is typing

Describe the solution you'd like
Add a PK: group and SK: typing:user so you can look for PK:group and SK startwith typing, if more than one then typing true.

Add avatars

Is your feature request related to a problem? Please describe.
Something to select an user or see who is speaking.

Describe the solution you'd like
Add avatars from DiceBears, random, add a button to update it too.

Transition Chat to Chatscope

Is your feature request related to a problem? Please describe.
Current chat has chinese docs and it is very hard to use it. More over doesn't work with React Native.

Describe the solution you'd like
See https://chatscope.io/
Works with React Native if needed anytime

Add private group

Is your feature request related to a problem? Please describe.
You want to keep talking with the people you like

Describe the solution you'd like
Add a way to select someone and open a new private chat with them
You should also be able to create a group chat (can be a later objective if too heavy)

Translate incoming messages to user languages

Is your feature request related to a problem? Please describe.
User only understand the language they selected, only send them.

Describe the solution you'd like
User should receive messages translated. Ideally the translation happens in the backend and is saved, so you do it once for each language only.

Add a badge next to "Select Language" so the user click on it to select its language.
If the user has no preference, just say it is english by default (you can read it from Google claim too)

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.