hololb / bunyipschatapp Goto Github PK
View Code? Open in Web Editor NEWSource code for a custom-built Firebase chatapp designed for the members of the Murray Bridge Bunyips
License: MIT License
Source code for a custom-built Firebase chatapp designed for the members of the Murray Bridge Bunyips
License: MIT License
Make the actual app
At the moment, when the user is idle away from the tab, they will be placed offline. This is fine but QoL can be improved by changing this to an idle presence that shows up on the primary application.
The bad-words filter is being applied during database addition.
This should be changed to on render instead.
Some elements on the login page and chat page are not in their optimal position, as such they do not span the screen as they are supposed to. This does not impact any actual functionality of the app however.
This has only been replicated on actual devices and not DevTools simulations, and as such these problems can't be targetted easily.
Using wrong type of database in prod. Firebase project has swapped to Firebase Realtime Storage instead of Firebase Firestore due to rete limits. See #37 for progress and development.
Prohibit members from using potentially harmful and uncivil language.
Let users be able to select a message they want to reply to and integrate some variant of a linking system between messages, perhaps using the message UID as a reference.
To be done alongside another branch as a minor feature.
Add to Msgman a function that allows users to edit their messages. Store this data in Firestore with edit attributes and timestamps.
Allow messages to have markdown features for formatting, or even a formatting tooling.
If more than one session is open of the application, calling onDisconnect will trigger even though a session is still active. This is due to how the listeners are set up. This can lead to some strange bugs such as '0 people online' resulting in false presences.
Similar to functions in Google Drive, Discord, etc.
Dragging a file over the active window will upload it in the FileUploads window.
Adding from commit 7363e97
Sometimes the onDisconnect hook refuses to fire, leaving the user as permanently online. This might be due to a tab open in the background leaving them as online. An idle/offline after x of inactivity system would be a good fix for this.
"On April fools day every time you open the website a pop up will alert you saying that the chat is being used by war criminals and to be wary"
Firestore rules are set properly, however there is something wrong with the code that prohibits deleting a collection. This could be due to the blocking nature of the code that was implemented.
Resources to assist:
https://github.com/firebase/snippets-node/blob/e5f6214059bdbc63f94ba6600f7f84e96325548d/firestore/main/index.js#L889-L921
Use Google Cloud Firestore to support uploading files, and subsequently downloading and showing them to the user.
Groups messages sent by the same person in a specific time amount so their pfp and name doesn't appear multiple times
Recommended actions for account security:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.