sanskarfc / gotogether Goto Github PK
View Code? Open in Web Editor NEWSeamlessly connecting kindred spirits within your community, GoTogether redefines ride-sharing.
Home Page: https://go-together-psi.vercel.app
Seamlessly connecting kindred spirits within your community, GoTogether redefines ride-sharing.
Home Page: https://go-together-psi.vercel.app
The ChatScreen.jsx component in components\ChatScreen.jsx
seems to render multiple times (present in the chat
and updated_chat
branch). This is observed while typing characters in chat text input. For example, the following three parameters are logged multiple times while typing a message.
Due to this, chat reload and save operations are not functioning.
Code:
const ChatScreen = () => {
const route = useRoute();
const { members, myId, groupId } = route.params;
console.log("members --> ", members);
console.log("myId --> ", myId);
console.log("groupId --> ", groupId)
... rest of the code
Log:
LOG members --> ["user_2WqDKqa1AoXl4pq7QwuDALgtLXJ", "user_2X1Jwy0RR0QVWUsPI5oqk7nPpny", "user_2WoB8ppbX4Mz8pZyH3B73X5C4WO"]
LOG myId --> user_2WoB8ppbX4Mz8pZyH3B73X5C4WO
LOG groupId --> 276524d1-933a-4e80-9fd5-b94503e58cf0
LOG members --> ["user_2WqDKqa1AoXl4pq7QwuDALgtLXJ", "user_2X1Jwy0RR0QVWUsPI5oqk7nPpny", "user_2WoB8ppbX4Mz8pZyH3B73X5C4WO"]
LOG myId --> user_2WoB8ppbX4Mz8pZyH3B73X5C4WO
LOG groupId --> 276524d1-933a-4e80-9fd5-b94503e58cf0
LOG members --> ["user_2WqDKqa1AoXl4pq7QwuDALgtLXJ", "user_2X1Jwy0RR0QVWUsPI5oqk7nPpny", "user_2WoB8ppbX4Mz8pZyH3B73X5C4WO"]
LOG myId --> user_2WoB8ppbX4Mz8pZyH3B73X5C4WO
LOG groupId --> 276524d1-933a-4e80-9fd5-b94503e58cf0
LOG members --> ["user_2WqDKqa1AoXl4pq7QwuDALgtLXJ", "user_2X1Jwy0RR0QVWUsPI5oqk7nPpny", "user_2WoB8ppbX4Mz8pZyH3B73X5C4WO"]
LOG myId --> user_2WoB8ppbX4Mz8pZyH3B73X5C4WO
LOG groupId --> 276524d1-933a-4e80-9fd5-b94503e58cf0
This issue might be similar to the this or this or due to socket.io's internal implementation.
A possible solution might be this
Changing the chat from Flatlist to ScrollView does not affect this behavior.
To replicate this run the files in usual manner and use one of the Group Chat options or create a Group Chat if required.
Implement the matching algorithm based on preferences and locations.
While using url = http://${ipv4_address}:8080/api/reload_chat?group_id=${groupId}
for fetching chats related to a group_id, it throws Network Response failed error.
However, when the query param is not passed, no such error is present.
Try to make the UI a bit pretty and modern (considering UI/UX practices).
Can take inspiration from other applications.
Seems Relevant: https://atlassian.design/get-started/content-design
The user is choosing Number of Males
, Number of Females
and so on in one screen. When they click submit, this data should be transmitted to the MapScreen
component, from which, we can send this data over (along with latitude and longitude) to the sever via a POST request.
Seems Relevant: https://stackoverflow.com/questions/45109872/passing-data-using-react-native-navigation
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.