chore: adopt cem - #2455
Conversation
|
✅ Deploy Preview for red-hat-design-system ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
there's an irreconcileable conflict between the old analyzer and the new one. so this is blocked on patternfly/patternfly-elements#2912 |
c778655 to
cd524a0
Compare
|
Size Change: +236 B (+0.1%) Total Size: 235 kB
ℹ️ View Unchanged
|
adamjohnson
left a comment
There was a problem hiding this comment.
Getting return is not defined after running npm run dev and loading localhost:8000. 8000 doesn't load / is a white page in the browser.
Here's my terminal output: https://app.warp.dev/block/DD60n1cKaVvHaLzC8MOwnR
|
I think the test failures result from the upgraded playwright version |
|
Ok this is ready for review. Things to watch out for:
|
7a2ac0e to
f155c48
Compare
adamjohnson
left a comment
There was a problem hiding this comment.
Some more things I found:
- On each components Overview page in the docs, the knobs demo takes the first demo listed under the Demos page. This seems to never be the default
rh-{component}.htmldemo—rather, some variant. The Overview knobs demo should show each component's default demo. - On the Demos page (eg:
/elements/accordion/demos/), the default demo is never first. It should appear first in the list. - If I clone this PR and run it locally on the dev server, clicking the image for each demo does not include the trailing
/for the base demo's permalink. 👇
- Running this locally and hitting the correct base demo URL (eg:
localhost:8000/elements/accordion/demo/) does not show the accordion demo, but the All elements overview (same view aslocalhost:8000).- Hitting the other variants of a component does work
- When hitting localhost:8000, there is a link ("Accordion") in the first
<pf-card>and, instead of having the header say "Accordion", it says "Expanded Index".
- When hitting
localhost:8000, Jump Links and Tabs have duplicate links to their various demos. - When hitting
localhost:8000, not all Footer demos are listed under the Footer component.
|
ok @adamjohnson i think i addressed everything. we don't need to repeat overview demo on demos page |
cem
thanks for the review, i addressed all points, and am merging now to unblock other PRs. any remaining issues we'll take up elsewhere

What I did
@custom-elements-manifest/analyzerwith@pwrs/cemmove part and slot docs into templateslet's do this separatelymove css prop docs into css fileslet's do this separately