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

feat: Add ProductTitle Molecule #1418

Merged
merged 3 commits into from
Jul 29, 2022
Merged

Conversation

ArthurTriis1
Copy link
Contributor

@ArthurTriis1 ArthurTriis1 commented Jul 25, 2022

Signed-off-by: Arthur Andrade arthurfelandrade@gmail.com

What's the purpose of this pull request?

This PR is part of the Component Placement project, to bring some components from starters.

How it works?

This PR places the ProductTitle component to Faststore with new data-attributes.

How to test it?

Component in FastStore

Screen Shot 2022-07-26 at 15 54 58

Component in BaseStore

Screen Shot 2022-07-26 at 15 55 57

Tests will be implemented in next step of Component Placement

Starters Deploy Preview

References

Move ProductTitle component to FastStore

Signed-off-by: Arthur Andrade <arthurfelandrade@gmail.com>
@vercel
Copy link

vercel bot commented Jul 25, 2022

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

Name Status Preview Updated
faststore ✅ Ready (Inspect) Visit Preview Jul 28, 2022 at 1:30PM (UTC)

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jul 25, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 2911f4f:

Sandbox Source
Store UI Typescript Configuration

@ArthurTriis1 ArthurTriis1 self-assigned this Jul 26, 2022
@ArthurTriis1 ArthurTriis1 requested a review from filipewl July 26, 2022 19:27
@ArthurTriis1 ArthurTriis1 marked this pull request as ready for review July 26, 2022 19:27
@ArthurTriis1 ArthurTriis1 requested a review from a team as a code owner July 26, 2022 19:27
Copy link
Contributor

@filipewl filipewl left a comment

Choose a reason for hiding this comment

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

Looks good to me! Just noticed some minor detail.

Co-authored-by: Filipe W. Lima <filipe.lima@vtex.com.br>
Co-authored-by: Fanny Chien <fannychienn@gmail.com>
@ArthurTriis1 ArthurTriis1 merged commit 184d0b9 into main Jul 29, 2022
@ArthurTriis1 ArthurTriis1 deleted the feat/Add-ProductTitle-Molecule branch July 29, 2022 13:44
Copy link
Member

@eduardoformiga eduardoformiga left a comment

Choose a reason for hiding this comment

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

Good Job! 👏
Parachuted after the merge and left a couple of comments hahah
png-transparent-cartoon-illustration-parachute-orange-decorative-ant-thumbnail

[data-fs-product-title] [data-fs-product-title-addendum] {
margin-top: 1rem;
color: #5d666f;
}
Copy link
Member

Choose a reason for hiding this comment

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

Github is complaining about the new line.
Screen Shot 2022-07-29 at 13 26 59

testId?: string
}

function ProductTitle({ title, label, refTag= "Ref.: ",refNumber, testId= 'store-product-title', ...otherProps }: ProductTitleProps) {
Copy link
Member

Choose a reason for hiding this comment

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

I miss the forwardRef.

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.

4 participants