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

fix(chats): now in order and with a little bonus ;) #1200

Merged
merged 2 commits into from
Sep 18, 2023

Conversation

StanGirard
Copy link
Collaborator

Chats ordered & with Today, Yesterday, Last 7 days and more ;)

image

@StanGirard StanGirard temporarily deployed to preview September 18, 2023 15:20 — with GitHub Actions Inactive
@vercel
Copy link

vercel bot commented Sep 18, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 18, 2023 4:26pm
quivrapp ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 18, 2023 4:26pm

@github-actions
Copy link
Contributor

github-actions bot commented Sep 18, 2023

Risk Level 2 - /home/runner/work/quivr/quivr/frontend/lib/utils.ts

The added functions in this file are used to check if a given date is today, yesterday, within the last 7 days, or within the last 30 days. These functions seem to be implemented correctly, but it's recommended to write unit tests for these functions to ensure they work as expected.


Risk Level 2 - /home/runner/work/quivr/quivr/frontend/app/chat/components/ChatsList/index.tsx

The changes in this file involve filtering chats into different groups based on their creation time. This could potentially introduce bugs if the date filtering functions do not work as expected. However, without seeing these functions, it's hard to say for sure. It's recommended to thoroughly test these changes to ensure the filtering works correctly.


📅🔍✅


Powered by Code Review GPT

Copy link
Contributor

@gozineb gozineb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry but no /* eslint-disable */

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants