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

migrating ApiChanges #5351

Closed

Conversation

vasanth9
Copy link
Contributor

@vasanth9 vasanth9 commented May 3, 2023

Related #5309

created new branch and resolved all comments from #5344

AugustinMauroy and 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>
…dejs#5236)

Co-authored-by: Claudio Wunder <cwunder@gnome.org>
Co-authored-by: Claudio Wunder <cwunder@hubspot.com>
…mplates (nodejs#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 (nodejs#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>
@ovflowd
Copy link
Member

ovflowd commented May 11, 2023

Could you run npm run test:storybook:snapshot to generate snapshot of your stories.

I did it , but it updated 4 snaps

So it does not create a new snapshot? What snapshot it does update? 🤔

changes: [
{
version: version,
'pr-url': 'https://test.com',
Copy link
Contributor

Choose a reason for hiding this comment

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

to have perfect mock

Suggested change
'pr-url': 'https://test.com',
'pr-url': 'https://github.com/nodejs/node/pulls',

AugustinMauroy and others added 13 commits May 14, 2023 09:10
* Migrate JsonLink component

Signed-off-by: Vessy Shestorkina <46304479+Ve33y@users.noreply.github.com>

* Add storybook snap and robot icon

Signed-off-by: Vessy Shestorkina <46304479+Ve33y@users.noreply.github.com>

* Remove IconContext provider

Signed-off-by: Vessy Shestorkina <46304479+Ve33y@users.noreply.github.com>

---------

Signed-off-by: Vessy Shestorkina <46304479+Ve33y@users.noreply.github.com>
Signed-off-by: Claudio Wunder <cwunder@gnome.org>
Co-authored-by: Claudio Wunder <cwunder@gnome.org>
…s#5376)

* refactor(useDownloadLink): Move useDetectOs to useDownloadLink

* refactor(useDownloadLink): rename file

* refactor(useDownloadLink): rename file

* Apply suggestions from code review

Signed-off-by: Claudio Wunder <cwunder@gnome.org>

* refactor(useDownloadLink): undo deleted file

---------

Signed-off-by: Claudio Wunder <cwunder@gnome.org>
Co-authored-by: Claudio Wunder <cwunder@gnome.org>
* feat: Add MUI Config and Theme Provider

* added createTheme

* refactor themeConfig

* feat(theme): Fix linting and package-lock

* feat(theme): Add emotion styled and emtion react

---------

Co-authored-by: Harkunwar Kochar <10580591+Harkunwar@users.noreply.github.com>
refactor(test): Delete duplicate test file

Co-authored-by: Claudio Wunder <cwunder@gnome.org>
* feat(useClickOutside): introduce

* Update hooks/useClickOutside.ts

Co-authored-by: Claudio Wunder <cwunder@gnome.org>
Signed-off-by: Augustin Mauroy <augustin.mauroy@outlook.fr>

* feat(useClickOutside): fix and twix

* feat(dropdown): remove useless ref

* feat(useClickOutside): update unit test

* feat(UseClickOutside): update type

* fix: usage of type

* Update hooks/useClickOutside.ts

Co-authored-by: Claudio Wunder <cwunder@gnome.org>
Signed-off-by: Augustin Mauroy <augustin.mauroy@outlook.fr>

* update listener

* Update components/Common/LanguageSelector/index.tsx

Co-authored-by: Shanmughapriyan S <priyanshan03@gmail.com>
Signed-off-by: Augustin Mauroy <augustin.mauroy@outlook.fr>

* fix: languageSelector

* update with feedback

* better unit test

* Update hooks/useClickOutside.ts

Co-authored-by: Harkunwar Kochar <10580591+Harkunwar@users.noreply.github.com>
Signed-off-by: Augustin Mauroy <augustin.mauroy@outlook.fr>

* feat(useClickOutside): update with feedback

* Update hooks/useClickOutside.ts

Co-authored-by: Shanmughapriyan S <priyanshan03@gmail.com>
Signed-off-by: Augustin Mauroy <augustin.mauroy@outlook.fr>

* Update hooks/useClickOutside.ts

Co-authored-by: Shanmughapriyan S <priyanshan03@gmail.com>
Signed-off-by: Augustin Mauroy <augustin.mauroy@outlook.fr>

* fix: if click on modal

* Update hooks/useClickOutside.ts

Co-authored-by: Harkunwar Kochar <10580591+Harkunwar@users.noreply.github.com>
Signed-off-by: Augustin Mauroy <augustin.mauroy@outlook.fr>

* Update hooks/useClickOutside.ts

Signed-off-by: Harkunwar Kochar <10580591+Harkunwar@users.noreply.github.com>

* Update hooks/useClickOutside.ts

Co-authored-by: Harkunwar Kochar <10580591+Harkunwar@users.noreply.github.com>
Signed-off-by: Augustin Mauroy <augustin.mauroy@outlook.fr>

* Update useClickOutside.ts

* Update hooks/useClickOutside.ts

Co-authored-by: Shanmughapriyan S <priyanshan03@gmail.com>
Signed-off-by: Augustin Mauroy <augustin.mauroy@outlook.fr>

* Update useClickOutside.ts

* Apply suggestions from code review

Signed-off-by: Claudio Wunder <cwunder@gnome.org>

* Update hooks/useClickOutside.ts

Co-authored-by: Claudio Wunder <cwunder@gnome.org>
Signed-off-by: Augustin Mauroy <augustin.mauroy@outlook.fr>

* Update hooks/useClickOutside.ts

Co-authored-by: Claudio Wunder <cwunder@gnome.org>
Signed-off-by: Augustin Mauroy <augustin.mauroy@outlook.fr>

* fix: build

---------

Signed-off-by: Augustin Mauroy <augustin.mauroy@outlook.fr>
Signed-off-by: Harkunwar Kochar <10580591+Harkunwar@users.noreply.github.com>
Signed-off-by: Claudio Wunder <cwunder@gnome.org>
Co-authored-by: Claudio Wunder <cwunder@gnome.org>
Co-authored-by: Shanmughapriyan S <priyanshan03@gmail.com>
Co-authored-by: Harkunwar Kochar <10580591+Harkunwar@users.noreply.github.com>
* feat: create codebox component

* feat: add pointer to copy button

* feat: add shell support

* feat: use code element instead of pre

* chore: fix eslint issues

* refactor: remove shell codebox

* refactor: use react.fc type

* refactor: remove duplicate encoding

* refactor: use pre element for codebox

* style: some eol

* style: some eol

* refactor: use pre element for codebox

* chore: create inlinecode story

* refactor: create inline code story type

* chore: revert .browserslistrc

* test: remove duplicated test

* test: remove beginning space on code

* refactor: setup userEvent on tests

* refactor: remove useless async

* test: manual mock isomorphic-dompurify

* fix: some fixes

* chore: create multi lang story

* test: snapshot before and after switch lang

* refactor: inline mock

* refactor: use decorators

* chore: split inlinecode component

* feat: add selected lang state

* refactor: add inlinecode decorator

* refactor: remove duplicate classes

* chore: revert .browserslistrc

* test: fix tests

* chore: wip

* feat: use story component arg

* style: stories

* test: remove i18n from clipboard test

* chore: migrate pagination component (nodejs#5331)

Co-authored-by: Teja Sai Sandeep Reddy Konala <tejasaisandeepreddykonala@MacBook-Pro.local>
Co-authored-by: Claudio Wunder <cwunder@gnome.org>
Co-authored-by: Wai.Tung <maledong_public@foxmail.com>

* chore: add a proper decorated component

* refactor: decorated inline code

* Chore(node feat) (nodejs#5338)

Co-authored-by: Claudio Wunder <cwunder@gnome.org>

* (website redesign) Feat(shellbox): migration (nodejs#5234)

Co-authored-by: Manish Kumar ⛄ <manishprivet@protonmail.com>
Co-authored-by: Claudio Wunder <cwunder@gnome.org>
Co-authored-by: Shanmughapriyan S <priyanshan03@gmail.com>
Co-authored-by: Michael Esteban <mickel13@gmail.com>
Co-authored-by: Wai.Tung <maledong_public@foxmail.com>

* fix(i18n): translation key (nodejs#5347)

Co-authored-by: Shanmughapriyan S <priyanshan03@gmail.com>
Co-authored-by: Claudio Wunder <cwunder@gnome.org>

* feat: add hover states

* chore: fix rebase leftovers

* chore: update snapshots

* chore: install @types/prismjs

* Update index.stories.tsx

Signed-off-by: Claudio Wunder <cwunder@gnome.org>

* chore: remove duplicate snapshots

* chore: remove duplicate snapshot

---------

Signed-off-by: Claudio Wunder <cwunder@gnome.org>
Co-authored-by: ktssr <31731919+ktssr@users.noreply.github.com>
Co-authored-by: Teja Sai Sandeep Reddy Konala <tejasaisandeepreddykonala@MacBook-Pro.local>
Co-authored-by: Claudio Wunder <cwunder@gnome.org>
Co-authored-by: Wai.Tung <maledong_public@foxmail.com>
Co-authored-by: Claudio Wunder <cwunder@hubspot.com>
Co-authored-by: Augustin Mauroy <augustin.mauroy@outlook.fr>
Co-authored-by: Manish Kumar ⛄ <manishprivet@protonmail.com>
Co-authored-by: Shanmughapriyan S <priyanshan03@gmail.com>
Co-authored-by: Michael Esteban <mickel13@gmail.com>
* Migrate: Source-link

* Fix: JSON key moved to the end of the file

* Test: Storybook snapshot test

---------

Signed-off-by: Claudio Wunder <cwunder@gnome.org>
Co-authored-by: Claudio Wunder <cwunder@gnome.org>
* feat: introduce built-in next.js exports and updated scripts and configs (nodejs#5384)

* chore: updated gitignore and rmeoved robots.txt

* chore: updated next-sitemap config

* chore: next-config refactored options and export support

* chore: updated imports to node: prefix

* chore: updated contributing guidelines

* chore: updated scripts

* chore: updated next-sitemap

* chore: added missing props

* fix: github-pages

* chore: remove unused package

* fix(storybook): update packages (nodejs#5386)

---------

Co-authored-by: Harkunwar Kochar <10580591+Harkunwar@users.noreply.github.com>
@vercel
Copy link

vercel bot commented May 20, 2023

Someone is attempting to deploy a commit to the OpenJS Foundation Team on Vercel.

A member of the Team first needs to authorize it.

@vercel vercel bot temporarily deployed to Preview – nodejs-org-stories May 20, 2023 05:44 Inactive
@vercel vercel bot temporarily deployed to Preview – nodejs-org-stories May 20, 2023 05:45 Inactive
@vercel vercel bot temporarily deployed to Preview – nodejs-org-stories May 20, 2023 05:53 Inactive
@vercel vercel bot temporarily deployed to Preview – nodejs-org-stories May 20, 2023 06:30 Inactive
@vasanth9
Copy link
Contributor Author

vasanth9 commented May 20, 2023

Could you run npm run test:storybook:snapshot to generate snapshot of your stories.

I did it , but it updated 4 snaps

So it does not create a new snapshot? What snapshot it does update? thinking

Hey I ran it again, now it created the new snapshot for ApiChanges

@ovflowd ovflowd deleted the branch nodejs:major/website-redesign May 24, 2023 13:37
@ovflowd ovflowd closed this May 24, 2023
@ovflowd
Copy link
Member

ovflowd commented May 24, 2023

FYI: We deleted the major/website-redesign branch to simplify our release and rollout process. Please feel free to recreate this PR or reopen it with the main branch as a target.

Thank you, and we apologise for the inconvenience!

@vasanth9
Copy link
Contributor Author

Ok

@vasanth9 vasanth9 mentioned this pull request Jun 2, 2023
5 tasks
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.

None yet