1
1
import React from 'react' ;
2
2
import { AutoLinkHeader , Example , Link as PatternflyThemeLink } from '@patternfly/documentation-framework/components' ;
3
- import srcImport0 from '../../../content/extensions/react-log-viewer/design-guidelines/./img/logviewer.png' ;
4
- import srcImport1 from '../../../content/extensions/react-log-viewer/design-guidelines/./img/logviewerdark.png' ;
5
- import srcImport2 from '../../../content/extensions/react-log-viewer/design-guidelines/./img/logviewerclear.png' ;
6
- import srcImport3 from '../../../content/extensions/react-log-viewer/design-guidelines/./img/logviewercog.png' ;
7
- import srcImport4 from '../../../content/extensions/react-log-viewer/design-guidelines/./img/logviewersearch.png' ;
3
+ import srcImport5 from '../../../content/extensions/react-log-viewer/design-guidelines/./img/logviewer.png' ;
4
+ import srcImport6 from '../../../content/extensions/react-log-viewer/design-guidelines/./img/logviewerdark.png' ;
5
+ import srcImport7 from '../../../content/extensions/react-log-viewer/design-guidelines/./img/logviewerclear.png' ;
6
+ import srcImport8 from '../../../content/extensions/react-log-viewer/design-guidelines/./img/logviewercog.png' ;
7
+ import srcImport9 from '../../../content/extensions/react-log-viewer/design-guidelines/./img/logviewersearch.png' ;
8
8
const pageData = {
9
9
"id" : "Log viewer" ,
10
10
"section" : "extensions" ,
@@ -26,7 +26,7 @@ pageData.examples = {
26
26
27
27
const Component = ( ) => (
28
28
< React . Fragment >
29
- < p { ...{ "className" :"pf-v6-c-content--p ws-p " } } >
29
+ < p { ...{ "className" :"pf-v6-c-content--p pf-m-editorial ws-p " } } >
30
30
{ `A ` }
31
31
< strong { ...{ "className" :"" } } >
32
32
{ `log viewer` }
@@ -36,52 +36,52 @@ const Component = () => (
36
36
< AutoLinkHeader { ...{ "id" :"light-theme-log-viewer" , "headingLevel" :"h2" , "className" :"ws-title ws-h2" } } >
37
37
{ `Light theme log viewer` }
38
38
</ AutoLinkHeader >
39
- < img src = { srcImport0 } width = { srcImport0 . width } height = { srcImport0 . height } { ...{ "alt" :"Log Viewer" , "className" :"ws-img " } } >
39
+ < img src = { srcImport5 } width = { srcImport5 . width } height = { srcImport5 . height } { ...{ "alt" :"Log Viewer" , "className" :"ws-img " } } >
40
40
</ img >
41
- < ol { ...{ "className" :"pf-v6-c-content--ol ws-ol " } } >
42
- < li { ...{ "className" :"pf-v6-c-content--li ws-li " } } >
41
+ < ol { ...{ "className" :"pf-v6-c-content--ol pf-m-editorial ws-ol " } } >
42
+ < li { ...{ "className" :"pf-v6-c-content--li pf-m-editorial ws-li " } } >
43
43
< strong { ...{ "className" :"" } } >
44
44
{ `Type of log dropdown menu:` }
45
45
</ strong >
46
46
{ ` Allow users to switch between different types of logs.` }
47
47
</ li >
48
- < li { ...{ "className" :"pf-v6-c-content--li ws-li " } } >
48
+ < li { ...{ "className" :"pf-v6-c-content--li pf-m-editorial ws-li " } } >
49
49
< strong { ...{ "className" :"" } } >
50
50
{ `Search bar:` }
51
51
</ strong >
52
52
{ ` Use to look up historical logs. The results will be highlighted in the log.` }
53
53
</ li >
54
- < li { ...{ "className" :"pf-v6-c-content--li ws-li " } } >
54
+ < li { ...{ "className" :"pf-v6-c-content--li pf-m-editorial ws-li " } } >
55
55
< strong { ...{ "className" :"" } } >
56
56
{ `Pause button:` }
57
57
</ strong >
58
58
{ ` Play and stop your log content viewing, instead of scrolling through.` }
59
59
</ li >
60
- < li { ...{ "className" :"pf-v6-c-content--li ws-li " } } >
60
+ < li { ...{ "className" :"pf-v6-c-content--li pf-m-editorial ws-li " } } >
61
61
< strong { ...{ "className" :"" } } >
62
62
{ `Clear log:` }
63
63
</ strong >
64
64
{ ` Clear the displayed log output.` }
65
65
</ li >
66
- < li { ...{ "className" :"pf-v6-c-content--li ws-li " } } >
66
+ < li { ...{ "className" :"pf-v6-c-content--li pf-m-editorial ws-li " } } >
67
67
< strong { ...{ "className" :"" } } >
68
68
{ `Cog:` }
69
69
</ strong >
70
70
{ ` House settings such as wrapping lines, showing timestamps, and displaying line numbers.` }
71
71
</ li >
72
- < li { ...{ "className" :"pf-v6-c-content--li ws-li " } } >
72
+ < li { ...{ "className" :"pf-v6-c-content--li pf-m-editorial ws-li " } } >
73
73
< strong { ...{ "className" :"" } } >
74
74
{ `Export:` }
75
75
</ strong >
76
76
{ ` Export log content.` }
77
77
</ li >
78
- < li { ...{ "className" :"pf-v6-c-content--li ws-li " } } >
78
+ < li { ...{ "className" :"pf-v6-c-content--li pf-m-editorial ws-li " } } >
79
79
< strong { ...{ "className" :"" } } >
80
80
{ `Download:` }
81
81
</ strong >
82
82
{ ` Download the log file.` }
83
83
</ li >
84
- < li { ...{ "className" :"pf-v6-c-content--li ws-li " } } >
84
+ < li { ...{ "className" :"pf-v6-c-content--li pf-m-editorial ws-li " } } >
85
85
< strong { ...{ "className" :"" } } >
86
86
{ `Fullscreen:` }
87
87
</ strong >
@@ -91,29 +91,29 @@ const Component = () => (
91
91
< AutoLinkHeader { ...{ "id" :"dark-theme-log-viewer" , "headingLevel" :"h2" , "className" :"ws-title ws-h2" } } >
92
92
{ `Dark theme log viewer` }
93
93
</ AutoLinkHeader >
94
- < p { ...{ "className" :"pf-v6-c-content--p ws-p " } } >
94
+ < p { ...{ "className" :"pf-v6-c-content--p pf-m-editorial ws-p " } } >
95
95
{ `We recommend using the light theme editor by default, but there is also a dark theme log viewer
96
96
available. All log viewer functionality remains the same whether a light or dark theme is used.` }
97
97
</ p >
98
- < img src = { srcImport1 } width = { srcImport1 . width } height = { srcImport1 . height } { ...{ "alt" :"Dark theme log viewer" , "className" :"ws-img " } } >
98
+ < img src = { srcImport6 } width = { srcImport6 . width } height = { srcImport6 . height } { ...{ "alt" :"Dark theme log viewer" , "className" :"ws-img " } } >
99
99
</ img >
100
100
< AutoLinkHeader { ...{ "id" :"usability" , "headingLevel" :"h2" , "className" :"ws-title ws-h2" } } >
101
101
{ `Usability` }
102
102
</ AutoLinkHeader >
103
- < p { ...{ "className" :"pf-v6-c-content--p ws-p " } } >
103
+ < p { ...{ "className" :"pf-v6-c-content--p pf-m-editorial ws-p " } } >
104
104
{ `Use a log viewer when:` }
105
105
</ p >
106
- < ul { ...{ "className" :"pf-v6-c-content--ul ws-ul " } } >
107
- < li { ...{ "className" :"pf-v6-c-content--li ws-li " } } >
106
+ < ul { ...{ "className" :"pf-v6-c-content--ul pf-m-editorial ws-ul " } } >
107
+ < li { ...{ "className" :"pf-v6-c-content--li pf-m-editorial ws-li " } } >
108
108
{ `The user can manipulate 1 large log file or multiple log files at the same time.` }
109
109
</ li >
110
- < li { ...{ "className" :"pf-v6-c-content--li ws-li " } } >
110
+ < li { ...{ "className" :"pf-v6-c-content--li pf-m-editorial ws-li " } } >
111
111
{ `You want to create a more readable and accessible environment for the user.` }
112
112
</ li >
113
- < li { ...{ "className" :"pf-v6-c-content--li ws-li " } } >
113
+ < li { ...{ "className" :"pf-v6-c-content--li pf-m-editorial ws-li " } } >
114
114
{ `The user may actively search for specific logs within a large log file.` }
115
115
</ li >
116
- < li { ...{ "className" :"pf-v6-c-content--li ws-li " } } >
116
+ < li { ...{ "className" :"pf-v6-c-content--li pf-m-editorial ws-li " } } >
117
117
{ `The user shares files frequently with other users or teams.` }
118
118
</ li >
119
119
</ ul >
@@ -123,26 +123,26 @@ available. All log viewer functionality remains the same whether a light or dark
123
123
< AutoLinkHeader { ...{ "id" :"with-popover" , "headingLevel" :"h3" , "className" :"ws-title ws-h3" } } >
124
124
{ `With popover` }
125
125
</ AutoLinkHeader >
126
- < p { ...{ "className" :"pf-v6-c-content--p ws-p " } } >
126
+ < p { ...{ "className" :"pf-v6-c-content--p pf-m-editorial ws-p " } } >
127
127
{ `The clear log button opens up a popover with further options, to prevent a user from accidentally clearing their log content.` }
128
128
</ p >
129
- < img src = { srcImport2 } width = { srcImport2 . width } height = { srcImport2 . height } { ...{ "alt" :"Clear this log popover open on a Log viewer" , "className" :"ws-img " } } >
129
+ < img src = { srcImport7 } width = { srcImport7 . width } height = { srcImport7 . height } { ...{ "alt" :"Clear this log popover open on a Log viewer" , "className" :"ws-img " } } >
130
130
</ img >
131
131
< AutoLinkHeader { ...{ "id" :"with-dropdown-drilldown-and-search-expanded" , "headingLevel" :"h3" , "className" :"ws-title ws-h3" } } >
132
132
{ `With dropdown, drilldown, and search expanded` }
133
133
</ AutoLinkHeader >
134
- < p { ...{ "className" :"pf-v6-c-content--p ws-p " } } >
134
+ < p { ...{ "className" :"pf-v6-c-content--p pf-m-editorial ws-p " } } >
135
135
{ `The cog icon in the log viewer toolbar allows you to store content options such as timestamps or line numbers for better orientation within the log viewer.` }
136
136
</ p >
137
- < img src = { srcImport3 } width = { srcImport3 . width } height = { srcImport3 . height } { ...{ "alt" :"Cog options open on a Log viewer" , "className" :"ws-img " } } >
137
+ < img src = { srcImport8 } width = { srcImport8 . width } height = { srcImport8 . height } { ...{ "alt" :"Cog options open on a Log viewer" , "className" :"ws-img " } } >
138
138
</ img >
139
139
< AutoLinkHeader { ...{ "id" :"with-search-results" , "headingLevel" :"h3" , "className" :"ws-title ws-h3" } } >
140
140
{ `With search results` }
141
141
</ AutoLinkHeader >
142
- < p { ...{ "className" :"pf-v6-c-content--p ws-p " } } >
142
+ < p { ...{ "className" :"pf-v6-c-content--p pf-m-editorial ws-p " } } >
143
143
{ `The search bar provides highlighted search results for better findability within a log viewer’s content.` }
144
144
</ p >
145
- < img src = { srcImport4 } width = { srcImport4 . width } height = { srcImport4 . height } { ...{ "alt" :"Log Viewer with highlighted search results" , "className" :"ws-img " } } >
145
+ < img src = { srcImport9 } width = { srcImport9 . width } height = { srcImport9 . height } { ...{ "alt" :"Log Viewer with highlighted search results" , "className" :"ws-img " } } >
146
146
</ img >
147
147
</ React . Fragment >
148
148
) ;
0 commit comments