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: Adjust Alert for CMS #31

Merged
merged 8 commits into from
Jun 7, 2022
Merged

Conversation

israelswf
Copy link
Contributor

@israelswf israelswf commented May 12, 2022

What's the purpose of this pull request?

This PR will replicate the changes made in this gatsby.store PR.

How does it work?

The Alert (in the src/common/Alert folder) will get the properties icon, text, linkText, actionLink and dismissible, instead of just receiving everything as children (and hardcoded, like the icon and the dismissible properties)

How to test it?

Nothing special to be tested, the Alert will be displayed exactly as before. It will just make the props available, so we can use them in a future PR in storeframework.store.

References

Related Jira task

Checklist

  • Added an entry in the CHANGELOG.md at the beginning of its due section. The latest version should come first.

  • Added the PR number with the PR link at the entry in the CHANGELOG.md. E.g., New items in the pull_request_template.md (#4)

  • PR description

  • Added a label according to the PR goal - Breaking change, Enhancement, Bug or Chore.

  • Added the component, hook, or pathname in-between backticks (``) - If applicable. E.g., ComponentName component.

@vercel
Copy link

vercel bot commented May 12, 2022

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

Name Status Preview Updated
nextjs-store-storybook ✅ Ready (Inspect) Visit Preview Jun 6, 2022 at 10:38PM (UTC)

@israelswf israelswf marked this pull request as ready for review May 12, 2022 01:33
@vercel vercel bot temporarily deployed to preview May 12, 2022 13:02 Inactive
@vtex-sites
Copy link

vtex-sites bot commented May 12, 2022

Preview is ready

This pull request generated a Preview

👀   Preview: https://sfj-8923df7--nextjs.preview.vtex.app
🔬   Go deeper by inspecting the Build Logs
📝   based on commit 8923df7

@vtex-sites
Copy link

vtex-sites bot commented May 12, 2022

Lighthouse Reports

Here are the Lighthouse reports of this Pull Request

📝 Based on commit 8923df7

Lighthouse Report by page
📎   /
📎   /apple-magic-mouse-99988212/p
📎   /office

@filipewl
Copy link
Contributor

Remember to add a new entry to the changelog.

@vercel vercel bot temporarily deployed to preview May 12, 2022 13:55 Inactive
@vercel vercel bot temporarily deployed to preview May 30, 2022 17:05 Inactive
@lucasfp13 lucasfp13 added the Features New feature or request label Jun 6, 2022
Copy link
Contributor

@danzanzini danzanzini left a comment

Choose a reason for hiding this comment

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

Nice. Just a minor comment

src/components/common/Alert/Alert.tsx Show resolved Hide resolved
@vercel vercel bot temporarily deployed to preview June 6, 2022 19:30 Inactive
@vercel vercel bot temporarily deployed to preview June 6, 2022 22:38 Inactive
@lucasfp13 lucasfp13 merged commit 8923df7 into main Jun 7, 2022
@lucasfp13 lucasfp13 deleted the feat/fsss-304-adjust-alert-cms branch June 7, 2022 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Features New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants