Closed lukasoppermann closed 5 months ago
Hey there! Can I work on this issue?
@Shivam-Amin yes, we would welcome the contribution! Let us know if you have questions.
I have to separate icon & text at some gap, as shown in expected section. Yes, the change requested is for all subsequent lines of text to be indented. You may use the Banner implementation from the sister Primer ViewComponents library as an example: https://view-components-storybook.eastus.cloudapp.azure.com/view-components/lookbook/inspect/primer/alpha/banner/playground
I'm not able to run npm run setup
& I'm getting this error. How do I solve it?
Uh oh! @Shivam-Amin, the image you shared is missing helpful alt text. Check https://github.com/primer/react/issues/3385#issuecomment-1600785400.
Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image.
Learn more about alt text at Basic writing and formatting syntax: images on GitHub Docs.
@Shivam-Amin can you confirm that you are running Node.js v16? You can check your node version with node -v
. If you're not on 16, you can manage the version installed with nvm
.
If you haven't already checked these out, here's a link to the contributor docs which may be helpful.
@lesliecdubs, still I'm facing the same issue after switching to Node.js v16. & Do I have to install storybook in order to run the site locally?
I'm going to tag in one of our first responders to see if they can help troubleshoot.
hey @Shivam-Amin 👋 !
can you try doing the setup manually? this is the script https://github.com/primer/react/blob/main/script/setup, basically you'll need to:
npm install
&& npm run build
on the root directory cd /docs
and then npm install --legacy-peer-deps
cd ..
back to the root directory and you should be able to npm run start:storybook
locally cc @joshblack in case there's something I'm missing 😅
I still facing the same error while running npm run build
.
@lesliecdubs @josepmartins I have done exactly what you have mentioned above
I am facing the above issue and not able to run( I am using node 18)
@amareshvarma Use node version 16.
@Shivam-Amin were you able to run successfully?
Not yet. But trying to solve it.
Hi @lesliecdubs Can I fix this issue?
Hi @amarmanhala, As I'm not able to set up the project locally, I'm not able to solve this issue.
Reassigning to you, @amarmanhala!
Thank you @lesliecdubs
Hi @lesliecdubs, As I was working on this issue, I need your thought on it. Which icon placement option do you think is more intuitive and user-friendly? 1. Icon at the Top (screenshot 1) or Icon in the center? I liked the 2 options. 1
2
Hi @amarmanhala 👋🏻 Ideally, we would prefer the icon to be aligned horizontally with the first line of text, as shown in the "Expected" section of the issue summary:
Okay got it now, Thank you @lesliecdubs for your explanation!
I believe this issue requires a breaking change please see https://github.com/primer/react/pull/3634#pullrequestreview-1647835818 and https://github.com/primer/react/pull/3634#issuecomment-1739930260
Hi! This issue has been marked as stale because it has been open with no activity for 180 days. You can comment on the issue or remove the stale label to keep it open. If you do nothing, this issue will be closed in 7 days.
This should be changed in the new banner implementation.
Description
If a flash banner has text that flows on multiple lines it wraps around the icon.
Expected
Text should wrap within a block and icon should be in front.
Steps to reproduce
Version
v35.25.1
Browser
Chrome