LibreChat/client/src/components/Auth
Danny Avila aa80e4594e
♻️ refactor: Logout UX, Improved State Teardown, & Remove Unused Code (#5292)
* refactor: SearchBar and Nav components to streamline search functionality and improve state management

* refactor: remove refresh conversations

* chore: update useNewConvo calls to remove hardcoded default index

* refactor: null check for submission in useSSE hook

* refactor: remove useConversation hook and update useSearch to utilize useNewConvo

* refactor: remove conversation and banner store files; consolidate state management into misc; improve typing of families and add messagesSiblingIdxFamily

* refactor: more effectively clear all user/convo state without side effects on logout/delete user

* refactor: replace useParams with useLocation in SearchBar to correctly load conversation

* refactor: update SearchButtons to use button element and improve conversation ID handling

* refactor: use named function for `newConversation` for better call stack tracing

* refactor: enhance TermsAndConditionsModal to support array content and improve type definitions for terms of service

* refactor: add SetConvoProvider and message invalidation when navigating from search results to prevent initial route rendering edge cases

* refactor: rename getLocalStorageItems to localStorage and update imports for consistency

* refactor: move clearLocalStorage function to utils and simplify localStorage clearing logic

* refactor: migrate authentication mutations to a dedicated Auth data provider and update related tests
2025-01-12 12:57:10 -05:00
..
__tests__ ♻️ refactor: Logout UX, Improved State Teardown, & Remove Unused Code (#5292) 2025-01-12 12:57:10 -05:00
ApiErrorWatcher.tsx feat: Auth and User System (#205) 2023-05-07 10:04:51 -07:00
AuthLayout.tsx 🙌 a11y: Accessibility Improvements (#4978) 2024-12-13 15:44:22 -05:00
BlinkAnimation.tsx ♻️ refactor: Login and Registration component Improvement (#2716) 2024-05-28 08:25:07 -04:00
ErrorMessage.tsx 🔒 fix: resolve session persistence post password reset (#5077) 2024-12-23 05:12:07 -05:00
Footer.tsx 🤲 a11y: Add landmark to footer, labels updates, and sidebar text contrast (#3630) 2024-08-16 03:27:56 -04:00
index.ts 📧 feat: email verification (#2344) 2024-06-07 15:06:47 -04:00
Login.tsx 🔒 fix: resolve session persistence post password reset (#5077) 2024-12-23 05:12:07 -05:00
LoginForm.tsx 🔒 fix: resolve session persistence post password reset (#5077) 2024-12-23 05:12:07 -05:00
Registration.tsx 🔒 fix: resolve session persistence post password reset (#5077) 2024-12-23 05:12:07 -05:00
RequestPasswordReset.tsx 🔒 fix: resolve session persistence post password reset (#5077) 2024-12-23 05:12:07 -05:00
ResetPassword.tsx 🔒 fix: resolve session persistence post password reset (#5077) 2024-12-23 05:12:07 -05:00
SocialButton.tsx 🔐 style: update auth and loading screen (#3875) 2024-09-11 09:20:19 -04:00
SocialLoginRender.tsx ♻️ refactor: Login and Registration component Improvement (#2716) 2024-05-28 08:25:07 -04:00
VerifyEmail.tsx 📧 feat: email verification (#2344) 2024-06-07 15:06:47 -04:00