-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Redsign/new header #5328
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
Redsign/new header #5328
Conversation
feat(unit-test): introduce unit test
Co-authored-by: Manish Kumar ⛄ <[email protected]>
Co-authored-by: Wai.Tung <[email protected]>
Co-authored-by: Shanmughapriyan S <[email protected]> Co-authored-by: Michael Esteban <[email protected]> Co-authored-by: Claudio Wunder <[email protected]>
Migrate AnimatedPlaceholder component from nodejs.dev and create a new Story.
Co-authored-by: Michael Esteban <[email protected]>
chore: next lock to versin 13.2.0
Co-authored-by: Claudio Wunder <[email protected]> Co-authored-by: Teja Sai Sandeep Reddy Konala <[email protected]> Co-authored-by: Shanmughapriyan S <[email protected]> Co-authored-by: Michael Esteban <[email protected]>
) Co-authored-by: Claudio Wunder <[email protected]> Co-authored-by: Claudio Wunder <[email protected]>
…mplates (#5294) Co-authored-by: Shanmughapriyan S <[email protected]> Co-authored-by: Manish Kumar ⛄ <[email protected]>
Signed-off-by: Claudio Wunder <[email protected]>
Signed-off-by: Claudio Wunder <[email protected]>
…ies (#5319 * chore: optimises tsconfig * chiore: add missing dependencies * chore: type storybook constants * chore: styles moved styles to somewhere else * chore: add global json type definition * chore: i18n aria-label instead of sr-only * chore: added open sans font family and space between imports * chore: moved styles and fixed styles and updated banner stories * fix: stylelint rules * chore: updated tsconfig * chore: fix tests * fix: darkmodetoggle test * chore: stories use index.stories.tsx
* chore: revert pnpm use plain npm * fix: package.json * chore: remove warnings and add node_env * chore: cross-env * fix: fix turbo pipelines * chore: only cache certain files * chore: turbo shouldn't care about coverage outputs * chore: proper inputs and outputs for pipelines * chore: do not store some outputs and updated inputs for lint * chore: added prettier configs * chore: remove console.info * chore: updated inputs of all other entries
fix(package.json) lint:fix missing slashes
Co-authored-by: vasanth9 <cheepurupalli.vasanthkumar.com> Co-authored-by: Shanmughapriyan S <[email protected]>
@ovflowd @AugustinMauroy ready for another review I would say. |
min-height: calc(1 * var(--nav-height)); | ||
padding: 0 var(--space-12); | ||
} | ||
.startWrapper { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.startWrapper { | |
.startWrapper { |
@u-rogel code looks nice! But tests failing, probably you need to mock some more stuff! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work 🚀 !
@@ -0,0 +1,9 @@ | |||
import Header from './index'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should create stories to see active link.
Useful link: nextjs router storybook
7ddfa8d
to
f2a3ac4
Compare
This PR got accidentally closed because the branch got deleted. Please feel free to reopen the PR. |
Hey 👋 @u-rogel! |
Hi, sure will submit something later |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not bad 😁!!!
just don't miss to rebase/chery-pick
|
||
describe('Tests for Header component', () => { | ||
beforeEach(() => { | ||
// @ts-ignore |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the ts
error ?
<Header /> | ||
</IntlProvider> | ||
); | ||
expect(container).toMatchSnapshot(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now we use storybook to create snapshot you should update unit test.
Will do! |
@AugustinMauroy I think I got too far from the target branch. Will create a new PR from the current stage. |
Oh ok no problem ! |
@ovflowd it is way to early to be merged but I have some questions:
old
styles, can we change to the new ones?jsonp
-components.header.links.learn
, is missing from our i18n schema, do we have a script to add it?