HackNet

HackNet

13 devlogs
50h 56m
Created by Shibam Roy

Social Media app for hackclubbers!

Timeline

The three dots menu works now! I initially thought of making a dropdown menu instead of the bottom sheet thingy, but I realised it wouldn't really be possible to make a modal inside of a flatlist, and position it as I wanted. But anyways, it looks okayish for now ig. The like button turns into a delete post button when its your own post, so now you have a way to delete your own post!
Next goal: make stuff shareable (should be super simple thanks to expo)

Update attachment

Fixed all major bugs, that made this app really annoying, like those constant flickers and flicker on toggling the like button. Also fixed the comment section bug where the keyboard went boom on each keystroke (Just had to split that into a different component, so that it only renders that part). Now I am left with fixing the double flicker for loading, I mean its not as much annoying, but still...
But my current priority is push notifications and a dropdown menu so that people can at least delete their own comments/posts.

YAYAYAY!!! It's finally working! ik I am making a devlog after quite some time, but I was really struggling to build a successful apk, finally its working :sob: . Turns out there was nothing wrong with my code, but with my workflow, github secrets weren't working as expected, I messed something up most likely. Eas cloud builds work perfectly, the sad thing is, the builds won't be made as often, cause eas cloud has a limit of 30builds/month, and has extremely long queue times. No UI changes yet, but I swear I will do that within the next devlog. Oh, also fixed that flickering bug partially, through memoizing (but still need to stop those re-renders on like/dislike).

Here's the link if you want to try it out: https://expo.dev/accounts/shibamroy/projects/HackNet/builds/52b34665-2412-419e-9985-e7af3167c907

Update attachment

New day, new bugs :heavysob:, but I probably found the problem. I mixed up react navigation and expo router, now migrated the entire application to expo router, and while it works...... Two of the screens kinda remount, I couldn't find the cause yet, but hopefully I would be able to fix it soon. Ik, there are no visual changes, but trust me, a lot of stuff is going on. Oh wait, did I mention, I setup github actions, so it automatically builds a new apk after each commit!
Current goal: Fix the bug, make friend requests/friends thingy work.

So sad rn:(
Users can view other profiles, but that's not the problem. In this 5hr devlog, I spent ~4.5 hrs on building an apk. It took 10 attempts, and guess what, the build crashes on startup.
I can't think of anyway to fix it.... I don't even know if there is anything else left to try.
Maybe, will try debugging again, I just hope I would be able to fix it soon, wish me luck

Update attachment

No visual changes in this devlog, but did a loooooot of stuff, basically refactored the entire codebase. Removed some clutter, and not-so-useful placeholders.
Next goal, Be able to check other's profiles, should be pretty simple. Lemme attach a video this time!

Didn't do much major changes, added like,comment, and log count.
Tried building it but failed miserably, will try again after fixing some stuff.
Current goal is code optimization and removing bad code.

Update attachment

Comments finally work now!!!! The buttons on them don't work yet, but soon will. It took quite a while, because of a lot of bugs :heavysob: . The comment input box of the original post still doesn't work properly, idk what the possible cause is, I tried my best to fix it, but I couldn't. I have something on my mind though, I still gotta wrap the whole post in a keyboard avoiding view, who knows it might fix the problem. My keyboard just automatically dismisses after each keystroke. The comment box inside of the comment section works properly though. I honestly have a feeling that it might be cause its inside a flatlist, but let's see tommorrow

Update attachment

DAMNNN! These bugs suck sooo much, finally got rid of the most annoying ones. Yet to work on the comment section... The modals were just not working on the new log page no matter what, I still have no idea what the issue was, but still fixed it, may be just bad code, rewriting stuff fixed it.

Update attachment

Added an activity indicator and improved profile updating code.
Next goal: Make comments work

Update attachment

IMAGE/VIDEO POSTS FINALLY WORK, YAYAYAYAYAY!!!
I am sooo happy rn!!!
I made some other changes too. You can preview the image/video before logging, and I changed the UI of the modal too, added a blur background to it. A few other minor changes. Next task is to add a loading screen (activity indicator) when you try to post something/do any activity that takes time.

Update attachment

Made a lot of minor changes/adjustments in UI, especially in the search page and my profile/account page. I basically rewrote the my account page for a better code structure and to avoid some warnings. My next goal is to allow media along with posts, should be pretty fun!

Update attachment

Hi everyone! Its my first devlog of this project, I already worked on a lot of stuff for #gemini, but I will continue the project here. So far I have managed to implement a basic authentication system, user profiles, and posts(which I call logs). In this devlog I fixed a few login and profile pic bugs, and implemented the search functionality.
I am quite surprised to know that firestore doesn't have an inbuilt search function in its query method.
(Mohammad just made an account for reviewing my app, so i am searching up that in this screenshot)

Update attachment