Skip to content

Commit cbe2493

Browse files
authored
Merge pull request #191 from patternfly/iss-177
Fix: Extra "0" character after the help content
2 parents a1c25c0 + 30420be commit cbe2493

File tree

8 files changed

+60
-43
lines changed

8 files changed

+60
-43
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@
5959
"typescript": "3.8.3",
6060
"url-search-params-polyfill": "2.x"
6161
},
62+
"resolutions": {
63+
"chromedriver": "^104"
64+
},
6265
"jest": {
6366
"moduleFileExtensions": [
6467
"js",
67.8 KB
Loading
Lines changed: 2 additions & 0 deletions
Loading
74.7 KB
Loading

packages/dev/src/quickstarts-data/yaml/template.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,15 @@ spec:
4040
1. For more information on markdown syntax you can visit [this resource](https://www.markdownguide.org/basic-syntax/).
4141
1. A <small>limited set</small> of <strong>HTML tags</strong> [are also supported](https://docs.openshift.com/container-platform/4.9/web_console/creating-quick-start-tutorials.html#supported-tags-for-quick-starts_creating-quick-start-tutorials)
4242
43+
## Images
44+
45+
HTML img tag: <img alt="Ellipsis" src="images/fa-ellipsis-v.svg" style="height: 14px;">
46+
> Markdown would work as well but cannot add height/width style
47+
48+
Ellipsis icon (visible if font-awesome is installed): <i class="fas fa-ellipsis-v"></i>
49+
50+
PF icon: <i class="pf-icon pf-icon-add-circle-o"></i>
51+
4352
## Highlighting
4453
4554
To enable highlighting, the markdown syntax should contain:

packages/dev/webpack.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,10 @@ module.exports = (_env, argv) => {
110110
patterns: [{ from: path.resolve(__dirname, '_redirects'), to: '' }],
111111
}),
112112
new CopyPlugin({
113-
patterns: [{ from: 'src/quickstarts-data/asciidoc/getting-started/images', to: '' }],
113+
patterns: [{ from: 'src/quickstarts-data/**/images/*', to: 'images/[name].[ext]' }],
114114
}),
115115
new AssetsPlugin({
116-
keepInMemory: _env === 'development',
116+
keepInMemory: false, // _env === 'development',
117117
removeFullPathAutoPrefix: true,
118118
}),
119119
new CopyPlugin({

packages/module/src/HelpTopicPanelContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const HelpTopicPanelContent: React.FC<HelpTopicPanelContentProps> = ({
6666
const panelBodyItems = (
6767
<>
6868
{paddingContainer(<QuickStartMarkdownView content={activeHelpTopic?.content} />)}
69-
{activeHelpTopic?.links?.length && <Divider />}
69+
{!!activeHelpTopic?.links?.length && <Divider />}
7070
{paddingContainer(
7171
<Stack hasGutter>
7272
{activeHelpTopic?.links?.map(({ href, text, newTab, isExternal }, index) => {

yarn.lock

Lines changed: 43 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1710,7 +1710,7 @@
17101710
resolved "https://registry.yarnpkg.com/@sideway/pinpoint/-/pinpoint-2.0.0.tgz#cff8ffadc372ad29fd3f78277aeb29e632cc70df"
17111711
integrity sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==
17121712

1713-
"@testim/chrome-version@^1.0.7":
1713+
"@testim/chrome-version@^1.1.2":
17141714
version "1.1.2"
17151715
resolved "https://registry.yarnpkg.com/@testim/chrome-version/-/chrome-version-1.1.2.tgz#092005c5b77bd3bb6576a4677110a11485e11864"
17161716
integrity sha512-1c4ZOETSRpI0iBfIFUqU4KqwBAB2lHUAlBjZz/YqOHqwM9dTTzjV6Km0ZkiEiSCx/tLr1BtESIKyWWMww+RUqw==
@@ -3403,20 +3403,21 @@ axios@^0.18.1:
34033403
follow-redirects "1.5.10"
34043404
is-buffer "^2.0.2"
34053405

3406-
axios@^0.19.2:
3407-
version "0.19.2"
3408-
resolved "https://registry.yarnpkg.com/axios/-/axios-0.19.2.tgz#3ea36c5d8818d0d5f8a8a97a6d36b86cdc00cb27"
3409-
integrity sha512-fjgm5MvRHLhx+osE2xoekY70AhARk3a6hkN+3Io1jc00jtquGvxYlKlsFUhmUET0V5te6CcZI7lcv2Ym61mjHA==
3410-
dependencies:
3411-
follow-redirects "1.5.10"
3412-
34133406
axios@^0.21.1:
34143407
version "0.21.4"
34153408
resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.4.tgz#c67b90dc0568e5c1cf2b0b858c43ba28e2eda575"
34163409
integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==
34173410
dependencies:
34183411
follow-redirects "^1.14.0"
34193412

3413+
axios@^0.27.2:
3414+
version "0.27.2"
3415+
resolved "https://registry.yarnpkg.com/axios/-/axios-0.27.2.tgz#207658cc8621606e586c85db4b41a750e756d972"
3416+
integrity sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==
3417+
dependencies:
3418+
follow-redirects "^1.14.9"
3419+
form-data "^4.0.0"
3420+
34203421
axobject-query@^2.0.2:
34213422
version "2.2.0"
34223423
resolved "https://registry.yarnpkg.com/axobject-query/-/axobject-query-2.2.0.tgz#943d47e10c0b704aa42275e20edf3722648989be"
@@ -4613,17 +4614,17 @@ chrome-trace-event@^1.0.2:
46134614
resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz#1015eced4741e15d06664a957dbbf50d041e26ac"
46144615
integrity sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==
46154616

4616-
chromedriver@^85.0.1:
4617-
version "85.0.1"
4618-
resolved "https://registry.yarnpkg.com/chromedriver/-/chromedriver-85.0.1.tgz#2e1b571845253368fcd112108f23eb9c778f7982"
4619-
integrity sha512-z8je3U4tXFZnx7AloRabM4Ep1lpFJvHxLoGuRvLg33Qy0UKk/z6OXmHUO2z6DKE0Oe6CFpjj/bdhuQ8dfvq9ug==
4617+
chromedriver@^104, chromedriver@^85.0.1:
4618+
version "104.0.0"
4619+
resolved "https://registry.yarnpkg.com/chromedriver/-/chromedriver-104.0.0.tgz#2f730f52a567280872567bf3497e1c673b6f4275"
4620+
integrity sha512-zbHZutN2ATo19xA6nXwwLn+KueD/5w8ap5m4b6bCb8MIaRFnyDwMbFoy7oFAjlSMpCFL3KSaZRiWUwjj//N3yQ==
46204621
dependencies:
4621-
"@testim/chrome-version" "^1.0.7"
4622-
axios "^0.19.2"
4623-
del "^5.1.0"
4622+
"@testim/chrome-version" "^1.1.2"
4623+
axios "^0.27.2"
4624+
del "^6.0.0"
46244625
extract-zip "^2.0.1"
46254626
https-proxy-agent "^5.0.0"
4626-
mkdirp "^1.0.4"
4627+
proxy-from-env "^1.1.0"
46274628
tcp-port-used "^1.0.1"
46284629

46294630
ci-info@^1.5.0:
@@ -5891,18 +5892,18 @@ del@^4.1.1:
58915892
pify "^4.0.1"
58925893
rimraf "^2.6.3"
58935894

5894-
del@^5.1.0:
5895-
version "5.1.0"
5896-
resolved "https://registry.yarnpkg.com/del/-/del-5.1.0.tgz#d9487c94e367410e6eff2925ee58c0c84a75b3a7"
5897-
integrity sha512-wH9xOVHnczo9jN2IW68BabcecVPxacIA3g/7z6vhSU/4stOKQzeCRK0yD0A24WiAAUJmmVpWqrERcTxnLo3AnA==
5895+
del@^6.0.0:
5896+
version "6.1.1"
5897+
resolved "https://registry.yarnpkg.com/del/-/del-6.1.1.tgz#3b70314f1ec0aa325c6b14eb36b95786671edb7a"
5898+
integrity sha512-ua8BhapfP0JUJKC/zV9yHHDW/rDoDxP4Zhn3AkA6/xT6gY7jYXJiaeyBZznYVujhZZET+UgcbZiQ7sN3WqcImg==
58985899
dependencies:
5899-
globby "^10.0.1"
5900-
graceful-fs "^4.2.2"
5900+
globby "^11.0.1"
5901+
graceful-fs "^4.2.4"
59015902
is-glob "^4.0.1"
59025903
is-path-cwd "^2.2.0"
5903-
is-path-inside "^3.0.1"
5904-
p-map "^3.0.0"
5905-
rimraf "^3.0.0"
5904+
is-path-inside "^3.0.2"
5905+
p-map "^4.0.0"
5906+
rimraf "^3.0.2"
59065907
slash "^3.0.0"
59075908

59085909
delayed-stream@~1.0.0:
@@ -7636,6 +7637,11 @@ follow-redirects@^1.0.0, follow-redirects@^1.14.0:
76367637
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.5.tgz#f09a5848981d3c772b5392309778523f8d85c381"
76377638
integrity sha512-wtphSXy7d4/OR+MvIFbCVBDzZ5520qV8XfPklSN5QtxuMUJZ+b0Wnst1e1lCDocfzuCkHqj8k0FpZqO+UIaKNA==
76387639

7640+
follow-redirects@^1.14.9:
7641+
version "1.15.1"
7642+
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.1.tgz#0ca6a452306c9b276e4d3127483e29575e207ad5"
7643+
integrity sha512-yLAMQs+k0b2m7cVxpS1VKJVvoz7SS9Td1zss3XRwXj+ZDH00RJgnuLx7E44wx02kQLrdM3aOOy+FpzS7+8OizA==
7644+
76397645
font-awesome-sass@^4.7.0:
76407646
version "4.7.0"
76417647
resolved "https://registry.yarnpkg.com/font-awesome-sass/-/font-awesome-sass-4.7.0.tgz#4eda693e915009ce00b228e0964dc5eca9bc34e1"
@@ -7677,6 +7683,15 @@ form-data@^3.0.0:
76777683
combined-stream "^1.0.8"
76787684
mime-types "^2.1.12"
76797685

7686+
form-data@^4.0.0:
7687+
version "4.0.0"
7688+
resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452"
7689+
integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==
7690+
dependencies:
7691+
asynckit "^0.4.0"
7692+
combined-stream "^1.0.8"
7693+
mime-types "^2.1.12"
7694+
76807695
form-data@~2.3.2:
76817696
version "2.3.3"
76827697
resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6"
@@ -8330,11 +8345,6 @@ graceful-fs@^4.0.0, graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2
83308345
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.6.tgz#ff040b2b0853b23c3d31027523706f1885d76bee"
83318346
integrity sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ==
83328347

8333-
graceful-fs@^4.2.2:
8334-
version "4.2.9"
8335-
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.9.tgz#041b05df45755e587a24942279b9d113146e1c96"
8336-
integrity sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==
8337-
83388348
83398349
version "1.10.5"
83408350
resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.5.tgz#f2735dc2283674fa67478b10181059355c369e5e"
@@ -9614,7 +9624,7 @@ is-path-inside@^2.1.0:
96149624
dependencies:
96159625
path-is-inside "^1.0.2"
96169626

9617-
is-path-inside@^3.0.1:
9627+
is-path-inside@^3.0.2:
96189628
version "3.0.3"
96199629
resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283"
96209630
integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==
@@ -12626,13 +12636,6 @@ p-map@^2.0.0:
1262612636
resolved "https://registry.yarnpkg.com/p-map/-/p-map-2.1.0.tgz#310928feef9c9ecc65b68b17693018a665cea175"
1262712637
integrity sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==
1262812638

12629-
p-map@^3.0.0:
12630-
version "3.0.0"
12631-
resolved "https://registry.yarnpkg.com/p-map/-/p-map-3.0.0.tgz#d704d9af8a2ba684e2600d9a215983d4141a979d"
12632-
integrity sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ==
12633-
dependencies:
12634-
aggregate-error "^3.0.0"
12635-
1263612639
p-map@^4.0.0:
1263712640
version "4.0.0"
1263812641
resolved "https://registry.yarnpkg.com/p-map/-/p-map-4.0.0.tgz#bb2f95a5eda2ec168ec9274e06a747c3e2904d2b"
@@ -13478,7 +13481,7 @@ proxy-addr@~2.0.5, proxy-addr@~2.0.7:
1347813481
forwarded "0.2.0"
1347913482
ipaddr.js "1.9.1"
1348013483

13481-
[email protected], proxy-from-env@^1.0.0:
13484+
[email protected], proxy-from-env@^1.0.0, proxy-from-env@^1.1.0:
1348213485
version "1.1.0"
1348313486
resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2"
1348413487
integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==
@@ -14601,7 +14604,7 @@ [email protected]:
1460114604
dependencies:
1460214605
glob "^7.1.3"
1460314606

14604-
[email protected], rimraf@^3.0.0, rimraf@^3.0.2:
14607+
[email protected], rimraf@^3.0.2:
1460514608
version "3.0.2"
1460614609
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a"
1460714610
integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==

0 commit comments

Comments
 (0)