Skip to content

Commit 61b3972

Browse files
committed
add back in docs react
1 parent 12f0192 commit 61b3972

File tree

3 files changed

+16
-14
lines changed

3 files changed

+16
-14
lines changed

packages/module/patternfly-docs/generated/extensions/user-feedback/design-guidelines.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import React from 'react';
22
import { AutoLinkHeader, Example, Link as PatternflyThemeLink } from '@patternfly/documentation-framework/components';
3-
import srcImport6 from '../../../content/design-guidelines/./img/advanced-user-feedback.png';
4-
import srcImport7 from '../../../content/design-guidelines/./img/dropdown-selection.png';
5-
import srcImport8 from '../../../content/design-guidelines/./img/share-feedback.png';
6-
import srcImport9 from '../../../content/design-guidelines/./img/report-bug.png';
7-
import srcImport10 from '../../../content/design-guidelines/./img/research-opportunities.png';
8-
import srcImport11 from '../../../content/design-guidelines/./img/user-feedback-external-links.png';
3+
import srcImport0 from '../../../content/design-guidelines/./img/advanced-user-feedback.png';
4+
import srcImport1 from '../../../content/design-guidelines/./img/dropdown-selection.png';
5+
import srcImport2 from '../../../content/design-guidelines/./img/share-feedback.png';
6+
import srcImport3 from '../../../content/design-guidelines/./img/report-bug.png';
7+
import srcImport4 from '../../../content/design-guidelines/./img/research-opportunities.png';
8+
import srcImport5 from '../../../content/design-guidelines/./img/user-feedback-external-links.png';
99
const pageData = {
1010
"id": "User feedback",
1111
"section": "extensions",
@@ -44,7 +44,7 @@ const Component = () => (
4444
{`Elements`}
4545
</AutoLinkHeader>
4646
<p {...{"className":"pf-v6-c-content--p pf-m-editorial ws-p "}}>
47-
<img src={srcImport6} width={srcImport6.width} height={srcImport6.height} {...{"alt":"Image of advanced feedback modal with annotations","className":"ws-img "}}>
47+
<img src={srcImport0} width={srcImport0.width} height={srcImport0.height} {...{"alt":"Image of advanced feedback modal with annotations","className":"ws-img "}}>
4848
</img>
4949
</p>
5050
<ol {...{"className":"pf-v6-c-content--ol pf-m-editorial ws-ol "}}>
@@ -86,7 +86,7 @@ const Component = () => (
8686
{`For example, you can allow users to access the modal by selecting a masthead’s help icon and choosing “Share feedback” in the dropdown menu:`}
8787
</p>
8888
<p {...{"className":"pf-v6-c-content--p pf-m-editorial ws-p "}}>
89-
<img src={srcImport7} width={srcImport7.width} height={srcImport7.height} {...{"alt":"Image of expanded dropdown menu with link to sharing feedback","className":"ws-img "}}>
89+
<img src={srcImport1} width={srcImport1.width} height={srcImport1.height} {...{"alt":"Image of expanded dropdown menu with link to sharing feedback","className":"ws-img "}}>
9090
</img>
9191
</p>
9292
<AutoLinkHeader {...{"id":"variations","headingLevel":"h2","className":"ws-title ws-h2"}}>
@@ -110,7 +110,7 @@ const Component = () => (
110110
{`The general feedback form allows users to enter feedback into a text box and submit.`}
111111
</p>
112112
<p {...{"className":"pf-v6-c-content--p pf-m-editorial ws-p "}}>
113-
<img src={srcImport8} width={srcImport8.width} height={srcImport8.height} {...{"alt":"Image of a form within a modal to share feedback","className":"ws-img "}}>
113+
<img src={srcImport2} width={srcImport2.width} height={srcImport2.height} {...{"alt":"Image of a form within a modal to share feedback","className":"ws-img "}}>
114114
</img>
115115
</p>
116116
</li>
@@ -122,7 +122,7 @@ const Component = () => (
122122
{`The bug report form allows users to enter feedback into a text box and submit. Its description directs users to a URL where they can submit a support ticket for critical issues.`}
123123
</p>
124124
<p {...{"className":"pf-v6-c-content--p pf-m-editorial ws-p "}}>
125-
<img src={srcImport9} width={srcImport9.width} height={srcImport9.height} {...{"alt":"Image of a form within a modal to report bugs","className":"ws-img "}}>
125+
<img src={srcImport3} width={srcImport3.width} height={srcImport3.height} {...{"alt":"Image of a form within a modal to report bugs","className":"ws-img "}}>
126126
</img>
127127
</p>
128128
</li>
@@ -134,7 +134,7 @@ const Component = () => (
134134
{`The user research opt-in form allows users to enter their email address to participate in future research efforts.`}
135135
</p>
136136
<p {...{"className":"pf-v6-c-content--p pf-m-editorial ws-p "}}>
137-
<img src={srcImport10} width={srcImport10.width} height={srcImport10.height} {...{"alt":"Image of a form within a modal to sign up for research opportunities","className":"ws-img "}}>
137+
<img src={srcImport4} width={srcImport4.width} height={srcImport4.height} {...{"alt":"Image of a form within a modal to sign up for research opportunities","className":"ws-img "}}>
138138
</img>
139139
</p>
140140
</li>
@@ -146,7 +146,7 @@ const Component = () => (
146146
{`Selecting an item redirects users to an external URL (like a qualtrics form) that opens in a separate tab.`}
147147
</p>
148148
<p {...{"className":"pf-v6-c-content--p pf-m-editorial ws-p "}}>
149-
<img src={srcImport11} width={srcImport11.width} height={srcImport11.height} {...{"alt":"Image of modal with links to external forms","className":"ws-img "}}>
149+
<img src={srcImport5} width={srcImport5.width} height={srcImport5.height} {...{"alt":"Image of modal with links to external forms","className":"ws-img "}}>
150150
</img>
151151
</p>
152152
</React.Fragment>

packages/module/patternfly-docs/generated/extensions/user-feedback/react.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const pageData = {
1515
"source": "react",
1616
"tabName": null,
1717
"slug": "/extensions/user-feedback/react",
18-
"sourceLink": "https://github.com/patternfly/patternfly-react/blob/main/packages/module/patternfly-docs/content/examples/basic.md",
18+
"sourceLink": "https://github.com/patternfly/react-user-feedback/blob/c0c51c751abf0b798f511806409f25d2a2e87a60/packages/module/patternfly-docs/content/examples/basic.md",
1919
"relPath": "packages/module/patternfly-docs/content/examples/basic.md",
2020
"propComponents": [
2121
{
@@ -150,7 +150,7 @@ The following example demonstrates how to use the `}
150150
<code {...{"className":"ws-code "}}>
151151
{`i18n`}
152152
</code>
153-
{` object with values for each property of`}
153+
{` object with values for each property of `}
154154

155155
<code {...{"className":"ws-code "}}>
156156
{`<FeedbackModal>`}

packages/module/patternfly-docs/pages/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
2+
import React from 'react';
13
import { Title, PageSection } from '@patternfly/react-core';
24

35
const centerStyle = {

0 commit comments

Comments
 (0)