Skip to content

Redsign/new header - #5328

Closed
u-rogel wants to merge 59 commits into
nodejs:major/website-redesignfrom
u-rogel:redsign/new-header
Closed

Redsign/new header#5328
u-rogel wants to merge 59 commits into
nodejs:major/website-redesignfrom
u-rogel:redsign/new-header

Conversation

@u-rogel

Copy link
Copy Markdown
Contributor

@ovflowd it is way to early to be merged but I have some questions:

  1. In here - _app.mdx we import old styles, can we change to the new ones?
  2. This jsonp - components.header.links.learn, is missing from our i18n schema, do we have a script to add it?
  3. In theme.tsx I needed to comment out this line, otherwise will get an error. Any idea?
    Screenshot from 2023-04-25 00-00-02

AugustinMauroyand others added 30 commits April 15, 2023 10:17
Co-authored-by: Manish Kumar ⛄ <manishprivet@protonmail.com>
Co-authored-by: Wai.Tung <maledong_public@foxmail.com>
Co-authored-by: Shanmughapriyan S <priyanshan03@gmail.com>
Co-authored-by: Michael Esteban <mickel13@gmail.com>
Co-authored-by: Claudio Wunder <cwunder@gnome.org>
Migrate AnimatedPlaceholder component from nodejs.dev
and create a new Story.
Co-authored-by: Michael Esteban <mickel13@gmail.com>
chore: next lock to versin 13.2.0
Co-authored-by: Claudio Wunder <cwunder@gnome.org>
Co-authored-by: Teja Sai Sandeep Reddy Konala <sandeep.konala@knacksystems.com>
Co-authored-by: Shanmughapriyan S <priyanshan03@gmail.com>
Co-authored-by: Michael Esteban <mickel13@gmail.com>
)
Co-authored-by: Claudio Wunder <cwunder@gnome.org>
Co-authored-by: Claudio Wunder <cwunder@hubspot.com>
…mplates (#5294)
Co-authored-by: Shanmughapriyan S <priyanshan03@gmail.com>
Co-authored-by: Manish Kumar ⛄ <manishprivet@protonmail.com>
Signed-off-by: Claudio Wunder <cwunder@gnome.org>
Signed-off-by: Claudio Wunder <cwunder@gnome.org>
…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 <priyanshan03@gmail.com>
@u-rogel

Copy link
Copy Markdown
ContributorAuthor

@ovflowd@AugustinMauroy ready for another review I would say.

@vercel
vercelBot temporarily deployed to Preview – nodejs-org May 2, 2023 20:21 Inactive
@vercel
vercelBot temporarily deployed to Preview – nodejs-org-stories May 2, 2023 20:22 Inactive
min-height: calc(1 * var(--nav-height));
padding: 0 var(--space-12);
}
.startWrapper {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
.startWrapper {
.startWrapper {

@vercel
vercelBot temporarily deployed to Preview – nodejs-org-stories May 2, 2023 20:27 Inactive
@vercel
vercelBot temporarily deployed to Preview – nodejs-org May 2, 2023 20:29 Inactive
@ovflowd

Copy link
Copy Markdown
Member

@u-rogel code looks nice! But tests failing, probably you need to mock some more stuff!

@AugustinMauroyAugustinMauroy left a comment

Copy link
Copy Markdown
Member

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';

Copy link
Copy Markdown
Member

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

@ovflowd
ovflowdforce-pushed the major/website-redesign branch from 7ddfa8d to f2a3ac4CompareMay 3, 2023 23:05
@ovflowd
ovflowd deleted the branch nodejs:major/website-redesignMay 4, 2023 13:23
@ovflowdovflowd closed this May 4, 2023
@ovflowd

Copy link
Copy Markdown
Member

This PR got accidentally closed because the branch got deleted. Please feel free to reopen the PR.

@ovflowdovflowd reopened this May 4, 2023
@AugustinMauroy

Copy link
Copy Markdown
Member

Hey 👋 @u-rogel!
Any news ?

@u-rogel

Copy link
Copy Markdown
ContributorAuthor

Hey 👋 @u-rogel! Any news ?

Hi, sure will submit something later

@vercel
vercelBot temporarily deployed to Preview – nodejs-org-stories May 7, 2023 21:23 Inactive
@vercel
vercelBot temporarily deployed to Preview – nodejs-org May 7, 2023 21:27 Inactive

@AugustinMauroyAugustinMauroy left a comment

Copy link
Copy Markdown
Member

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

Copy link
Copy Markdown
Member

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();

Copy link
Copy Markdown
Member

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.

@u-rogel

Copy link
Copy Markdown
ContributorAuthor

Not bad 😁!!!
just don't miss to rebase/chery-pick

Will do!

@vercel
vercelBot temporarily deployed to Preview – nodejs-org-stories May 8, 2023 21:42 Inactive
@vercel
vercelBot temporarily deployed to Preview – nodejs-org May 8, 2023 21:46 Inactive
@u-rogel

Copy link
Copy Markdown
ContributorAuthor

@AugustinMauroy I think I got too far from the target branch. Will create a new PR from the current stage.

@u-rogelu-rogel closed this May 8, 2023
@AugustinMauroy

Copy link
Copy Markdown
Member

Oh ok no problem !

Sign up for freeto 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.

13 participants

@u-rogel@mikeesto@ovflowd@AugustinMauroy@manishprivet@HinataKah0@Olaleye-Blessing@shanpriyan@ktssr@Harkunwar@vasanth9@FHachez@JatinSharma32