Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/1.9.6 #7

Merged
merged 25 commits into from
Mar 26, 2024
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
a223fa8
chore: bump version number to 1.9.5
davitJabushanuri Mar 8, 2024
f796b21
refactor: chat API endpoint to support infinite scroll
davitJabushanuri Mar 9, 2024
ee2314b
refactor: use-get-chat hook and get-chat function to support infinite…
davitJabushanuri Mar 9, 2024
9dbebdd
fix: check if the chat array has messages before retrieving the last one
davitJabushanuri Mar 9, 2024
bf026f6
refactor: chat component to use memo to avoid extra rerenders and sup…
davitJabushanuri Mar 9, 2024
130822f
refactor: use-get-chat hook to sort messages correctly
davitJabushanuri Mar 13, 2024
8845f4e
refactor: reverse pages with tanstack query built in function
davitJabushanuri Mar 13, 2024
026a209
refactor: message-input component to optimistically update chat infin…
davitJabushanuri Mar 13, 2024
edc38bb
feat: create socket context
davitJabushanuri Mar 15, 2024
48ca776
refactor: order messages by descending
davitJabushanuri Mar 15, 2024
8a371a0
refactor: check if chat exists before reversing it
davitJabushanuri Mar 15, 2024
951a5d8
chore: move next-aut and react query providers to providers folder
davitJabushanuri Mar 15, 2024
d0819fc
feat: create AppProviders component and wrap the whole app with it
davitJabushanuri Mar 15, 2024
f4ee06a
refactor: update use-socket-events hook to work with infinite query
davitJabushanuri Mar 18, 2024
825ba59
chore: get rid of socket context
davitJabushanuri Mar 20, 2024
1b1f0cb
chore: update socket io config
davitJabushanuri Mar 20, 2024
e627f6e
chore: remove socket context from providers
davitJabushanuri Mar 20, 2024
a527c67
Merge branch 'hotfix/1.9.5' into develop
davitJabushanuri Mar 24, 2024
3e2c77b
fix: target last message correctly, delete console logs
davitJabushanuri Mar 25, 2024
4e60fdd
feat: add infinite scroll, scroll to bottom and new message toasts to…
davitJabushanuri Mar 26, 2024
db89ced
refactor: reverse data in place and return it
davitJabushanuri Mar 26, 2024
fe672cc
refactor: message component to display status only on the last one
davitJabushanuri Mar 26, 2024
8e0ca26
Merge branch 'develop' into feature/realtime-chat-improvements
davitJabushanuri Mar 26, 2024
bec1e31
Merge pull request #5 from davitJabushanuri/feature/realtime-chat-imp…
davitJabushanuri Mar 26, 2024
4212b58
chore: bump version number to 1.9.6
davitJabushanuri Mar 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore: bump version number to 1.9.6
  • Loading branch information
davitJabushanuri committed Mar 26, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 4212b583b93377c7f48429bafd32774ea1e65c2b
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "chirp",
"description": "Chirp is a social media app built with Next.js, Prisma, and Supabase",
"version": "1.9.5",
"version": "1.9.6",
"private": true,
"scripts": {
"start": "next start",
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -60,7 +60,7 @@ export default async function RootLayout({
toastClassName={styles.toast}
role="alert"
/>

<AuthFlow />
<JoinTwitter />
<Hamburger />
Loading