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

[docs-infra] Show plan on API pages #41991

Open
oliviertassinari opened this issue Apr 21, 2024 · 0 comments
Open

[docs-infra] Show plan on API pages #41991

oliviertassinari opened this issue Apr 21, 2024 · 0 comments
Assignees
Labels
bug 🐛 Something doesn't work scope: docs-infra Specific to the docs-infra product

Comments

@oliviertassinari
Copy link
Member

oliviertassinari commented Apr 21, 2024

Current behavior

https://mui.com/x/api/date-pickers/mobile-date-range-picker/ doesn't show the plan in the h1

SCR-20240421-qgbk

while we do for demos:

SCR-20240421-qgeu

https://mui.com/x/react-date-pickers/date-time-range-field/

Expected behavior

Show the plan

Context

It looks like we could implement this like similar to how we are implementing the getComponentImports() function:

reactApi.imports = getComponentImports(componentInfo.name, filename);

Meaning, having each package define what is Pro, Premium, MIT based on the filename location.

Your environment

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: -

@oliviertassinari oliviertassinari added bug 🐛 Something doesn't work status: waiting for maintainer These issues haven't been looked at yet by a maintainer scope: docs-infra Specific to the docs-infra product labels Apr 21, 2024
@siriwatknp siriwatknp removed their assignment Apr 23, 2024
@danilo-leal danilo-leal removed the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work scope: docs-infra Specific to the docs-infra product
Projects
Status: Backlog
Development

No branches or pull requests

3 participants