QuivrHQ / quivr

Opiniated RAG for integrating GenAI in your apps 🧠 Focus on your product rather than the RAG. Easy integration in existing products with customisation! Any LLM: GPT4, Groq, Llama. Any Vectorstore: PGVector, Faiss. Any Files. Anyway you want.
https://core.quivr.com
Other
36.65k stars 3.58k forks source link

[Login/Signup] 2. AAU, I can request a new mail after submitting when using magic link login method #1407

Closed mamadoudicko closed 11 months ago

mamadoudicko commented 1 year ago

EPIC: https://github.com/StanGirard/quivr/issues/1315

Functional:

  1. After submitting the email when using the magic link method, email input and the 'Continue with email' button disappear.
  2. A message is displayed indicating that a magic link has been sent.
  3. User can now see 'try again' button.
  4. The user can still log in with Google.
  5. When user click on try again, magic link option re-appears pre-filled with user email

Strat tech:

  1. Update < MagicLinkLogin / > component to display a message indicating that a mail has been sent
  2. Display try again button
  3. On click on try again display magic link input
  4. Improve responsive variation
  5. Submit magic link on enter

Test:

  1. Update useMagicLink component test
  2. Update Login e2e test

Validation:

Image

Image

github-actions[bot] commented 11 months ago

Thanks for your contributions, we'll be closing this issue as it has gone stale. Feel free to reopen if you'd like to continue the discussion.