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

Add Header / Layout components #2551

Merged
merged 2 commits into from
Aug 4, 2023
Merged

Add Header / Layout components #2551

merged 2 commits into from
Aug 4, 2023

Conversation

cdun
Copy link
Contributor

@cdun cdun commented Aug 2, 2023

Purpose of PR

Introduces alpha versions of Header and Layout components

PR Checklist

  • I have read the relevant readme.md file(s)
  • All commits follow our Git commit message convention
  • Tests are added/updated/not required
  • Tests are passing
  • Storybook stories are added/updated/not required
  • Usage notes are added/updated/not required
  • Has been tested based on Contentful's browser support
  • Doesn't contain any sensitive information

@cdun cdun requested review from Lelith and a team as code owners August 2, 2023 16:28
@cdun cdun requested review from massao and giotiskl August 2, 2023 16:28
@changeset-bot
Copy link

changeset-bot bot commented Aug 2, 2023

🦋 Changeset detected

Latest commit: a0c8e64

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Aug 2, 2023

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

Name Status Preview Updated (UTC)
forma-36 ✅ Ready (Inspect) Visit Preview Aug 4, 2023 0:43am

@github-actions
Copy link

github-actions bot commented Aug 2, 2023

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
CommonJS 129.42 KB (0%) 2.6 s (0%) 196 ms (+62.98% 🔺) 2.8 s
Module 125.88 KB (0%) 2.6 s (0%) 105 ms (+22.88% 🔺) 2.7 s

Copy link
Collaborator

@mshaaban0 mshaaban0 left a comment

Choose a reason for hiding this comment

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

Nicely done ✅

ref: Ref<HTMLButtonElement>,
) {
return (
<Button
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should this be an IconButton?

@cdun cdun force-pushed the feat/CFCX-540_forma-layout branch from 123ae99 to 3ef19cc Compare August 4, 2023 12:27
@cdun cdun enabled auto-merge August 4, 2023 12:29
Copy link
Contributor

@massao massao left a comment

Choose a reason for hiding this comment

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

LGTM, with some non blockers comments

@@ -0,0 +1,51 @@
---
title: 'Header'
type: 'component'
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe they should be on the Layout section??

Suggested change
type: 'component'
type: 'component'
section: 'layoutComponents'

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Makes sense - updating

'@contentful/f36-image': '^4.0.0-alpha.0', // Remove when added to f36-components
'@contentful/f36-layout': '^4.0.0-alpha.0', // Remove when added to f36-components
Copy link
Contributor

Choose a reason for hiding this comment

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

We need to start moving things to the f36-components... 😅

@@ -0,0 +1,31 @@
---
title: 'Layout'
type: 'component'
Copy link
Contributor

Choose a reason for hiding this comment

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

Same about the section here

Adds an alpha implementation of the Layout component
@cdun cdun force-pushed the feat/CFCX-540_forma-layout branch from 3ef19cc to a0c8e64 Compare August 4, 2023 12:39
@cdun cdun enabled auto-merge August 4, 2023 12:39
@cdun cdun merged commit 5c3a314 into main Aug 4, 2023
3 checks passed
@cdun cdun deleted the feat/CFCX-540_forma-layout branch August 4, 2023 12:48
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