Git Product home page Git Product logo

chat-gui's People

Contributors

11k avatar bsansone avatar cantclosevim avatar cene-co-za avatar clopnaz avatar dependabot[bot] avatar faebiedev avatar fritz-02 avatar github-actions[bot] avatar gramstrong avatar igoresque avatar iliedaboutcake avatar jonodavis avatar koratsama avatar kyrunakj avatar mattroseman avatar mia-z avatar mitchdev avatar mo91dev avatar ramonasuncion avatar reda777 avatar riott avatar sheriffoftiltover avatar skend avatar syntaqx avatar vyneer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chat-gui's Issues

Time syncing issue with poll

Temporary fix:

Sync your time (Windows Settings -> Time & Language -> Date & Time -> Sync now.)


When a users time is out of sync with the real time, (e.g. 5m ahead) the poll will think that it is finished.
As the start time for the poll is based on the server timestamp while ending the poll is based on the client time.

[Feature Req] Add flair for new users

I was playing around with adding a new flair to indicate newer accounts, and thought it was interesting.
Especially when the stream is covering some contentious topic like Covid-19 or redpill stuff and you see the new users making accounts just to get mad.

Screenshot 2023-02-16 162938

Thought it was a cute idea, and the data should be readily present with the createdDate field in the WS messages.

Units tests don't run for pull requests

Probably a good idea to run them as part of the workflow for new PRs, but especially so because changes introduced in #182 only validate the CHAT_COMMANDS constant in unit tests. It's assumed valid at runtime.

Poll UI allows you to have more than 9 options

You are only able to vote for 1 through 9, while the /vote UI will display more than 9 options.

image

Voting for more than 9 options should be supported OR the GUI should cut off the vote at 9 choices.

Highlight messages via flair

Allow highlighting chat by clicking on flairs. When there is gym talk, you can click on a gym flair to only highlight those messages. Same for different levels of subs or other flairs.

Any plans for modernizing the codebase/using a newer web framework?

Sorry if the title sounds condescending, I don't mean it that way, I'm aware this project has quite a few years under it's belt. Not only that but it's also pretty robust and seems to work really well.

I've been wanting to start a project myself recently - something a bit more frontend-y - and re-making the dgg chat ui seems like a nice place I could start.

The tools/frameworks I planned to go with are;

  • Typescript.
  • Svelte or React as the UI framework. (I have some years of React, but not Svelte, but I wanna learn Svelte).
  • Vite for the DX, build tools, transpiler and bundler.
  • Vitest (or Jest would be fine, Vitest can just integrate with Vite easier) for the Unit testing framework.
  • Cypress for e2e testing.
  • Obligatory eslint and prettier for code conventions and standardization.

If I were to get an MVP or some sort of early POC to show with this, would it be considered for use going forward?

Hash link regex is difficult to read

Divide the regex per-platform to it's easier to read. Maybe have a separate entry for each platform within a single capture group? Add a comment above the regex that lists an example hash link for each platform.

Automatically shorten long links

Some users deliberately post extremely long links for attention. If a link exceeds a certain number of characters, automatically shorten it and insert an ellipsis to indicate that its shortened.

Fix unexpected horizontal scrollbar

For the two users who reported this issue, the scrollbar suddenly disappeared during troubleshooting. Probably happens when a message of a certain type is in chat.

README.md local development instructions are not sufficient to begin development

I am interested in contributing to this project, and so I cloned the repo and followed the steps in the readme to get started.

I tried running install and start and receiving this error:

ERROR in ./fonts/AmongUs-Regular.ttf 1:0
Module parse failed: Unexpected character '' (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
(Source code omitted for this binary file)
 @ ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./assets/chat/css/style.scss 14:0-79 27:73-102
 @ ./assets/chat/css/style.scss 2:12-189 9:17-24 13:15-29
 @ ./assets/demo.js 2:0-30

I tried this on node versions 19.x.x, 12.9.0, and 6.x.x to no avail. The package.json states that node version 5 is required, but that is likely not accurate.

I also tried running the "glue" and "tld" scripts to see if this was relevant.

onboarding steps should be more clear in the readme to prevent this from happening. . I will continue debugging this and update here if I am unable to unblock myself, and submit a PR to improve the readme if so.

Refactor `/embed` and `/postembed`

Both commands use very similar logic and have a lot of duplicate code.

Create a class with a single public method that takes a URL and returns a hash link. Use URL to parse the URL, then parse its pathname, searchParams, etc. as necessary to extract relevant data. The class must be unit tested as well. When finished, refactor the two commands to use this class when building hash links.

Fix issue with chat becoming unpinned in Firefox

Opening the chat, then switching to a different window/app for a little while results in chat becoming unpinned (scrolled up with "More messages below" at the bottom) when you return to the chat window.

Performance Issue - Kick Embed

Over the past month or so, I've noticed that leaving the site open for a indetermined length of time (>3-5 hours) even in the background can cause performance issues cross pc with a laggy mouse, and generally unresponsive situation pc wide. However, the second I close the site all said performance issues cease. If I wait a few minutes and reboot the site (or close down my browser and boot it up again) the issue usually stops, but I've had it happen at least 12 times over the past month across two different pcs. My theory is a memory leak, but it's a hunch off of similar issues in my projects.

Combos Deleting/Hiding Chat Messages

As of 5/26/2023, messages in chat are being wrapped up into an emote combo and hidden from view. As far as I can tell it only occurs if a emote is used, a message is written then more emotes, which will wrap it inside the combo and remove the message from view.

Enhance messages section in user info window

Currently, the section only displays the last few messages from the user. Modify the section such that it displays all their messages present in the chat history. While the window remains open, the list of messages should be updated as the chat history changes, i.e., when new messages from the user come in or their old messages expire.

Add ability to show/hide MOTD

I was a little annoyed because there was a MOTD in DGG that had dates in it when Destiny was on vacation, but I deleted the message and immediately lost the dates.

I think it would be nice if instead of removing the MOTD entirely it was toggleable in some way.

I wrote a quick Tampermonkey script to fix the issue for me; it's janky but gives you an idea of what I was thinking.

Screen.Recording.2023-02-05.at.2.35.57.PM.mov

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.