-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
Migrate CommonComponents
from nodejs.dev
#5193
Comments
CommonComponents from
nodejs.dev`CommonComponents
from nodejs.dev
Can I Take random Contributor ? |
You can, but I also wanted to work on that, mostly because I want to simplify the monster logic from https://github.com/nodejs/nodejs.dev/blob/main/src/hooks/useNodeJsContributorsApi.tsx#L147. |
Oh ok do it claudio . I will do Shellbox. |
I will start with |
Friendly reminder that #5191 needs to be done first. |
I will be working on Dropdown component |
I can work on the |
I'll work on |
Hey @manishprivet @shanpriyan @harshitphoenix @AugustinMauroy any updates on the development of your components? |
Problem with global CSS (old css) and module css. |
CSS modules should be working out of the box. What issues are you facing? |
@ovflowd working on it |
I'm working on it as well |
Are there any components that are not being worked on available for me to pick? |
I am working on it as well. |
@ktssr I believe |
But I see the language selector in the header after setting up the project. |
@ovflowd, could you please update in the top post who is working on what component? It will be much easier to see grouped info there rather that scanning through comments |
Thank you, @ovflowd, for pointing out that I was on the wrong branch. I realized I should have checked out major/website-redesign instead of staying on the main branch. |
@ktssr sure, but it's important to mention the |
I'm usually not much keen on assigning tasks to named people as it discourages other people to tackle them. It's common for people to say they're working in smth and then abandon it. But let make an exception based on good faith here. |
@ktssr, the icon to be used is the icon used on nodejs.dev. The nodejs.org website should eventually have a 1:1 match of that design. But if you're in doubt, opening a draft PR asking that there rather than here would be better. Otherwise, this issue gets too polluted 🙇 Of course, you're free to make CSS tweaks, functionality tweaks or even propose a different icon, which we can review altogether. You can even propose a different icon library (if they provide all the icons we need) |
@araujogui can you make a simple PR adding https://storybook.js.org/addons/storybook-addon-sass-postcss to the Storybook Addons? Basically each PR is implementing it, and it feels like this should have been done on the Storybook PR. Thank you 🙇 |
I did some local tests, without |
Migrate AnimatedPlaceholder component from nodejs.dev and create a new Story. Fixes: nodejs#5193
Hey, y'all 👋 let's remove the addon from the PRs then (cc @AugustinMauroy @manishprivet @shanpriyan) |
Why ? |
Because we don't sem to need this addon. As @araujogui explained Sass works out of the box on Storybook. The addon is probably needed for the snake_case/kebab-case conversion to camelCase, which we don't need if we simply rename the CSS class names (I assume) |
Hey, @ktssr did you have any progress on your component? 👀 eager to see what you have done!! :D |
Will raise PR in couple of hours |
I was occupied with other priorities hence could not raise PR. I will raise it some time tomorrow |
All fine, no rush! |
Raised the pr |
To kick off the migration of Components from the
nodejs.dev
repository, we should start migrating theCommonComponents
from thenodejs.dev
repository.This issue will keep track of these components and their development progress.
Remember that #5191 should be done first, as we want to migrate Components and add Storybooks for them.The Migration of each Component
components/Common
folder on this repositorycomponents/Common/Banner
)hooks
folder of the repository.Dark Theme Switcher
), if it is straightforward enough (e.g. a dark theme switcher plugin for Next.js or it is simple enough to code by ourselves, e.g. a Hook that we manage together with a React Provider) then feel free to do it.List of Components to Migrate
AnimatedPlaceholder
@HinataKah0Banner
@manishprivetDarkModeToggle
@shanpriyanDropdown
@ktssrLanguageSelector
@ktssrRandomContributor
@ovflowdSectionTitle
@araujoguiShellBox
@AugustinMauroyComponents not to migrate
components/Home
)The text was updated successfully, but these errors were encountered: