Description
This is feedback on my experience browsing https://master--base-ui.netlify.app/components/react-field/ and comparing the experience with https://deploy-preview-477--base-ui.netlify.app/base-ui/react-field/#labeling-and-descriptive-help-text. I imagine it's still a work in progress, so I won't go too much in-depth, but simply stop on the things that I noticed:
- 1. It looks like we should use sentence case here https://www.notion.so/mui-org/Writing-style-guide-2a957a4168a54d47b14bae026d06a24b?pvs=4#d8e9cfb2423c4f83844a9f29d2032e3f

- 2. The h2 h3 text selection doesn't work, it looks like we should restore the previous UX
Screen.Recording.2024-09-05.at.22.57.10.mov
- 3. Code blocks are tabbable, it looks like they shouldn't be.

- 4. When using the reset focus, it would be great to be able to visualize where the focus is

e.g.
Screen.Recording.2024-09-05.at.23.14.06.mov
- 5. Code in light mode, are we sure about this?

I mean, I would expect that 90% of the developer use their IDE in dark mode and 10% in light mode. If this is true, aren't we making the code harder to read? from v3 to v4 https://v3.mui.com/demos/buttons/#contained-buttons we made this change.
-
6. The code demos is no longer editable. We have to open CodeSandbox / StackBlitz and wait 10s+ to quickly try changes. I believe it was better with the edition support. We can always play this: https://www.youtube.com/watch?si=sRhbVRHVLRR83pMX&t=574&v=tRsxLLghL1k&feature=youtu.be but 🤷♂️
-
7. No
cursor: pointer
on buttons?

mui/material-ui#17871. I mean, I get that it used to be the standard to only use pointer for links, and on desktop it's more intuitive, but how many popular website doesn't use cursor pointer today? I would be afraid that end-users will be confused. The spec made it more open in: w3c/csswg-drafts#1936.
- 8. Yarn lowercase? This is used in the Terminal.

e.g. https://react.email/docs/components/link

-
9. I imagine we want those code demos to be collapsed by default? https://master--base-ui.netlify.app/components/react-field/#labeling-and-descriptive-help-text. I find it makes it harder for me to scan the content of the docs.
-
10. On the API table, we likely miss the
.algolia-lvl3
class name so Algolia can correctly index it.

-
11. I have my doubts about the table view, when the prop name and description and default value gets long, it usually become unreadable. Maybe we won't have this issue on Base UI, if we only have simple few components.
-
12. Overflow issue https://master--base-ui.netlify.app/components/react-number-field/

- 13. until we have a custom scroll bar, a small scroll bar here could make sense:

- 14. A number of hydration errors https://master--base-ui.netlify.app/components/react-tabs/

- 15. It looks like emotion isn't configured correctly https://validator.w3.org/nu/?doc=https%3A%2F%2Fmaster--base-ui.netlify.app%2Fcomponents%2Freact-tabs%2F

-
17. We will need to add the scroll restoration logic, e.g. https://master--base-ui.netlify.app/components/react-tooltip/ doesn't put the tooltip left side nav into the viewport
-
18. I think we should add back the scrollbar size reservation so there is no layout shift when the page height is not large enough to show a scrollbar:
Screen.Recording.2024-09-05.at.23.48.07.mov
- 19. We should add the equivalent of the
.Mui-fixed
class name on the fixed element so there is no layout shift on Windows:
Screen.Recording.2024-09-05.at.23.50.11.mov
https://master--base-ui.netlify.app/components/react-dialog/
- 20. The initial HTML docs size output seems broken:
Before: 200KB https://deploy-preview-477--base-ui.netlify.app/base-ui/react-tabs/

After: 919KB https://master--base-ui.netlify.app/components/react-tabs/

-
22. We need ways to crash the docs when the content written by Engineers, Designers, DevEx, PMs is incorrect. We have a bunch of those checks in the "classic" docs-infra, e.g. [docs-infra] Reduce description max-length material-ui#43562.
-
23. The pages have a duplicate
<meta name="viewport">
attribute, e.g. https://base-ui.com -
25. The favicon story doesn't seem to be right. See https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs for the full guide. For example, dark mode, I assume we need a light mode logo

- 26. Social cards are missing, https://socialsharepreview.com/?url=https://base-ui.com vs. https://socialsharepreview.com/?url=https://mui.com
There is more, e.g. "skip to content" #1886, docs feedback, etc., but I think that it's because it's in a WIP mode, so I stopped there.
It's pretty cool that we can have a custom look for the docs infra, I look forward to Material UI using the library default look & feel and not MUI company branding. And the rest of the docs, like for Toolpad to have a more neutral theme as well.
Metadata
Metadata
Assignees
Labels
Projects
Status