[OUDS] feat(docs): added browserslistrc callouts#3714
Conversation
✅ Deploy Preview for boosted ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull request overview
This PR updates OUDS Web documentation to better communicate the recommended target browser list (via the repo’s .browserslistrc) and to warn users about floating-label compatibility issues when using default Browserslist/Autoprefixer settings.
Changes:
- Added a “next steps” link to the Browsers & devices page from the Introduction.
- Added an informational callout on Browsers & devices recommending adoption of the project’s
.browserslistrc. - Added warning callouts to all floating-label components (text input, text area, select input, password input) linking back to Browsers & devices.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| site/src/content/docs/getting-started/introduction.mdx | Adds a navigation link to browser/device support docs. |
| site/src/content/docs/getting-started/browsers-devices.mdx | Adds a callout recommending use of the repo .browserslistrc for SCSS projects. |
| site/src/content/docs/components/text-input.mdx | Adds a floating-label compatibility warning pointing to Browsers & devices. |
| site/src/content/docs/components/text-area.mdx | Adds a floating-label compatibility warning pointing to Browsers & devices. |
| site/src/content/docs/components/select-input.mdx | Adds a floating-label compatibility warning pointing to Browsers & devices. |
| site/src/content/docs/components/password-input.mdx | Adds a floating-label compatibility warning pointing to Browsers & devices. |
0f10427 to
e20e376
Compare
MaxLardenois
left a comment
There was a problem hiding this comment.
Nice work, I suggest a toned-down wording ;)
| <Code lang="plaintext" filePath=".browserslistrc" /> | ||
|
|
||
| <Callout type="info"> | ||
| We strongly suggest using our <code>.browserslistrc</code> file in projects using OUDS SCSS. This helps avoid potential browser-specific issues that can arise from differing target browser lists. |
There was a problem hiding this comment.
| We strongly suggest using our <code>.browserslistrc</code> file in projects using OUDS SCSS. This helps avoid potential browser-specific issues that can arise from differing target browser lists. | |
| We strongly suggest using our <code>.browserslistrc</code> file in projects using OUDS Web SCSS. This helps avoid potential browser-specific issues that can arise from differing target browser lists. |
There was a problem hiding this comment.
You forgot to apply this ;)
There was a problem hiding this comment.
Oops, it got overwritten, done
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
b5cac8e to
a0d330e
Compare
MaxLardenois
left a comment
There was a problem hiding this comment.
Actually I would put the inputs callouts after the examples, because as it stands we have a lot of callout one after another and nothing stands out.
wdyt @louismaximepiton
|
I fear that having it after the example will be forgotten by many, including us, by I agree that nothing satnd out right now. I'll think about a better solution if I have time |
Related issues
Closes #3594
Description
Added callout to suggest using OUDS .browserslistrc file to introduction and browsers and devices page, and all components pages using floating labels.
Checklists
Progression (for Core Team only)
ouds/mainfollowing conventional commitLive previews