Skip to content

Conversation

@sylwia-werner
Copy link
Collaborator

@sylwia-werner sylwia-werner commented Nov 8, 2025

Note: to merge after #222 is merged

@sylwia-werner sylwia-werner requested a review from mikolvj November 8, 2025 14:22
@vercel
Copy link

vercel bot commented Nov 8, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
b2c-marketplace-storefront-4m3w Ready Ready Preview Comment Nov 17, 2025 11:26am
b2c-sandbox Ready Ready Preview Comment Nov 17, 2025 11:26am
mercurb2c-development Ready Ready Preview Comment Nov 17, 2025 11:26am
mercurb2c-testing Ready Ready Preview Comment Nov 17, 2025 11:26am

Copy link
Collaborator

@kacpergumieniuk kacpergumieniuk left a comment

Choose a reason for hiding this comment

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

We can adjust case (change the copy to one from Figma), when email is not valid (frontend validation)

Image Image

Invalid email -> Please enter a valid email

Copy link
Collaborator

@kacpergumieniuk kacpergumieniuk left a comment

Choose a reason for hiding this comment

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

I guess there is no backend logic to check if requested password change account exist to cover this case from figma ? Maybe Backend task should be created?

Image Image

import { zodResolver } from "@hookform/resolvers/zod"
import { LabeledInput } from "@/components/cells"
import { forgotPasswordSchema, ForgotPasswordFormData } from "./schema"
import { useState } from "react"
Copy link
Collaborator

Choose a reason for hiding this comment

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

We can remove unused imports in this file

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Removed


return (
<div className="max-w-xl w-full mx-auto mt-6 space-y-4 rounded-sm border p-4">
<h1 className="heading-md uppercase my-0 mb-2">Forgot your password?</h1>
Copy link
Collaborator

Choose a reason for hiding this comment

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

This heading is black in figma instead of greyish.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Right, changed

Copy link
Collaborator

@kacpergumieniuk kacpergumieniuk left a comment

Choose a reason for hiding this comment

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

Requested some changes

@sylwia-werner
Copy link
Collaborator Author

sylwia-werner commented Nov 17, 2025

can't reply directly for

I guess there is no backend logic to check if requested password change account exist to cover this case from figma ? Maybe Backend task should be created?

yes, there is no validation if an account actually exists - but should we check it? it would allow account enumeration

Update -> Discussed it with QA, account validation can be implemented

image

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.

3 participants