Fix/chat sidebar navigation links#308
Conversation
✅ Deploy Preview for quotevote ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Hello @abhinav160791 this did not work for me. When I opened a chat with someone on my buddy list and I tap their avatar or name, nothing happens. |
|
Hi, strange! Did the post navigation worked ?
…On Fri, 3 Apr 2026 at 10:21 PM, Louis Girifalco ***@***.***> wrote:
*flyblackbox* left a comment (QuoteVote/quotevote-monorepo#308)
<#308?email_source=notifications&email_token=ADFIB7XQ2DSFVJ45WNGXQDL4T7TYHA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIMJYGQZDIMJVHEZKM4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJNLQOJPWG33NNVSW45C7N5YGK3S7MNWGSY3L#issuecomment-4184241592>
Hello @abhinav160791 <https://github.com/abhinav160791> this did not work
for me. When I opened a chat with someone on my buddy list and I tap their
avatar or name, nothing happens.
—
Reply to this email directly, view it on GitHub
<#308?email_source=notifications&email_token=ADFIB7XQ2DSFVJ45WNGXQDL4T7TYHA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIMJYGQZDIMJVHEZKM4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJNLQOJPWG33NNVSW45C7N5YGK3S7MNWGSY3L#issuecomment-4184241592>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADFIB7SLINY6BVVFO4G2AP34T7TYHAVCNFSM6AAAAACXLXCMF2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DCOBUGI2DCNJZGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
|
For some reason my bookmarked posts didn’t appear in my buddy list via the deploy preview link. The do appear in production. @abhinav160791 |
|
Hi @flyblackbox, Thanks for testing! Here's what happened and what I've done to fix it: Why the previous version didn't work on the deploy preview: The initial implementation added a new
What I changed to fix it: I removed the This means:
I've pushed the fix — could you try the latest deploy preview again? |
|
This is working great @abhinav160791! Nice work. I want to get a pull review from a dev before we merge. Stay tuned 📺 |
|
Thank you @abhinav160791 for your contributions and sorry for the delay! @Om7035 will review and provide feedback or merge |
Description
Chat sidebar items (usernames and post titles) were not clickable. Users could not navigate to a profile or post page from the chat. This PR adds navigation links to user and post items across the chat sidebar, buddy list, conversation header, and message avatars/names. The chat drawer also closes automatically on navigation.
DM profile navigation uses an on-click lazy query (
GET_USER_BY_ID) to fetch the username, avoiding any deploy-order dependency between client and server.Type of Change
Related Issue
Fixes: Chat Sidebar Items Do Not Link to Profile or Post
Changes
Client (5 files)
client/src/graphql/query.jsx— AddedGET_USER_BY_IDquery to fetch a user's username by their ID on-click.client/src/components/Chat/ChatList.jsx— DM names fetch the username via lazy query on-click and navigate to/Profile/:username/. Group names link to the post URL. Click on the name navigates; click elsewhere on the item opens the chat. Drawer closes on navigation.client/src/components/BuddyList/BuddyItemList.jsx— Buddy names are clickable links to profile pages. Post items link to the post page. Drawer closes on navigation.client/src/components/Chat/MessageBox.jsx— Conversation header title and avatar are clickable, navigating to the profile (DMs via lazy query) or post page (groups). Drawer closes on navigation.client/src/components/Chat/MessageItem.jsx— Message sender avatars and names inside conversations link to the sender's profile page. Drawer closes on navigation.Verification
/Profile/<username>/. Drawer closed.Checklist: