Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
202 commits
Select commit Hold shift + click to select a range
16594bc
upgraded to v6, ran codemod
rhamilto Dec 12, 2024
e781033
Initial fixes
rhamilto Dec 12, 2024
eb2dbc7
CSS update
rhamilto Dec 13, 2024
1eb840a
SCSS vars fix
rhamilto Dec 13, 2024
484d293
Color fixes
rhamilto Dec 13, 2024
57ecad7
SCSS color var removal
rhamilto Dec 16, 2024
ac59a4d
SCSS fixes
rhamilto Dec 17, 2024
18a593d
JSX fixes
rhamilto Dec 17, 2024
83f72e0
Use palette tokens instead of semantic ones
rhamilto Dec 17, 2024
4dcc660
pf-v5 --> pf-v6
rhamilto Dec 17, 2024
e672382
react-svg POC for PF6
rhamilto Dec 11, 2024
4be9ae2
Fixes
rhamilto Dec 18, 2024
09de7f2
More fixes
rhamilto Dec 18, 2024
1f999d0
RowGap fix
rhamilto Dec 19, 2024
d8632c5
Rename logo fix class
rhamilto Dec 19, 2024
d43316c
Undo rowGap fix
rhamilto Dec 19, 2024
c7f43c8
Reset border colors to original values, fix layout issues
rhamilto Dec 19, 2024
162e430
Initial dropdown cleanup
rhamilto Dec 20, 2024
b71ebae
Upgrade PF, fix issues
rhamilto Dec 20, 2024
10baf90
Attempt at color fixes
rhamilto Jan 2, 2025
608168c
Bold fix
rhamilto Jan 2, 2025
9742dd6
Initial dashboard fixes
rhamilto Jan 2, 2025
3db3b54
Search fixes
rhamilto Jan 2, 2025
4b3bc27
SCSS fixes
rhamilto Jan 3, 2025
be24ef4
SCSS fixes
rhamilto Jan 3, 2025
51c89e5
Catalog modal fix
rhamilto Jan 3, 2025
da68272
Fixes
rhamilto Jan 3, 2025
2854113
Update comment to note PatternFly issue
rhamilto Jan 6, 2025
5a0c78c
i18n update
rhamilto Jan 6, 2025
731a480
Add page fixes
rhamilto Jan 6, 2025
8fadc1c
Nav fix
rhamilto Jan 7, 2025
c51705b
Comment fix
rhamilto Jan 7, 2025
a42a568
Restore pf-v5-c-form-control
rhamilto Jan 7, 2025
31c7536
Add PatternFly 5 CSS
rhamilto Jan 7, 2025
bf824a3
Fix SyncedEditorField
rhamilto Jan 7, 2025
7fbb998
NavItemSeparator fix
rhamilto Jan 7, 2025
2b5d470
Update PF4 CSS var
rhamilto Jan 7, 2025
d801dea
Fix base.scss for PF5
rhamilto Jan 7, 2025
6b1f980
ActionsMenu fix
rhamilto Jan 8, 2025
201f11d
PerspectiveNav fix
rhamilto Jan 8, 2025
abd7928
i18n
rhamilto Jan 8, 2025
9a7293c
Masthead logo test fix
rhamilto Jan 8, 2025
846d6a5
Disabled color fix
rhamilto Jan 9, 2025
46643da
Update _cluster-settings.scss
rhamilto Jan 9, 2025
0a9a541
Breadcrumb and table overrides fixes
rhamilto Jan 9, 2025
c1f9dae
Fix Lightspeed popover layout
rhamilto Jan 9, 2025
85bee22
typo
logonoff Jan 9, 2025
dcd3dc5
DT font weight fix
rhamilto Jan 9, 2025
d74ebd4
StatusItem Icon font size fix
rhamilto Jan 9, 2025
b4493d4
HealthItemIcon size fix
rhamilto Jan 10, 2025
b5f229f
Icon color fix
rhamilto Jan 10, 2025
a2df81d
Use semantic token for Events chrome
rhamilto Jan 10, 2025
2a8cb04
Fix dashboard grid
rhamilto Jan 10, 2025
36faed1
remove `pf-m-redhat-font`
logonoff Jan 13, 2025
4293e37
add default background color
logonoff Jan 13, 2025
d7b5752
Update UserPreferencePage.scss
rhamilto Jan 13, 2025
23c992c
Catalog fixes
rhamilto Jan 13, 2025
354e44a
Additional Catalog fixes
rhamilto Jan 13, 2025
14ed736
Preview label fixes
rhamilto Jan 13, 2025
2f853e4
Fix QuickStarts layout
rhamilto Jan 13, 2025
ffb0021
fix(CONSOLE-4438): Not enough spacing between actions in the header
logonoff Jan 14, 2025
0c4591b
Update QuickCreate.tsx
rhamilto Jan 13, 2025
e5b8170
Update graph color fix
rhamilto Jan 14, 2025
60d4242
Lighten cluster settings graph border color
rhamilto Jan 14, 2025
4cc3a0d
CONSOLE-4431: Fix operator install status background color
TheRealJon Jan 14, 2025
4a8c52f
HorizontalNav hover fix
rhamilto Jan 14, 2025
9d4840e
.co-m-pane__explanation color fix
rhamilto Jan 14, 2025
4ad9399
.co-row-filter fixes
rhamilto Jan 14, 2025
2ef6884
Terminal sizing fix
rhamilto Jan 14, 2025
4cf159b
.co-code fix
rhamilto Jan 14, 2025
1292721
Black and white fixes
rhamilto Jan 14, 2025
79a53e9
.graph-donut-subtitle fix
rhamilto Jan 14, 2025
292a948
Untested color var fixes
rhamilto Jan 15, 2025
3d2ee9c
Fix User Preferences Project dropdown toggle
rhamilto Jan 15, 2025
7022c42
PodStatus fixes
rhamilto Jan 15, 2025
f09e189
Icon font size fix
rhamilto Jan 15, 2025
ea027c1
Remove commented out PF5 charts dark theme CSS
rhamilto Jan 15, 2025
5738463
Tooltip fix
rhamilto Jan 15, 2025
53e5981
Update GettingStartedCard.scss
rhamilto Jan 15, 2025
af371ab
Update GettingStartedCard.scss
rhamilto Jan 15, 2025
12b9f4e
Alertmanager breadcrumb fix
rhamilto Jan 15, 2025
cd5e8f2
Additional Alertmanager fixes
rhamilto Jan 15, 2025
5be0d72
Fixed spacing issue in Functions list page (#27)
lokanandaprabhu Jan 16, 2025
f9c907b
Fixed Pipelines metrics page broken issue (#29)
lokanandaprabhu Jan 16, 2025
bb253f2
Fixed pod size issue in functions details page (#28)
lokanandaprabhu Jan 16, 2025
2829790
Hiding the overflow on the Utilization card and content resolved the …
Mylanos Jan 14, 2025
d56f94e
Increase the padding for the ticks to slightly dip under the horizont…
Mylanos Jan 15, 2025
25b6d13
spotlight token fix (#25)
kmcfaul Jan 16, 2025
73cfd0d
Tidy up PageLayout now that PF's Page expects a single color bg
rhamilto Jan 16, 2025
113814f
Fix positioning and color of PencilAltIcon
rhamilto Jan 16, 2025
ebbed97
Update fixes
rhamilto Jan 16, 2025
40df46a
fix(Topology): background is not dark in the Dark mode
logonoff Jan 16, 2025
9b7eafd
fix(Topology): background is not dark in the Dark mode
rhamilto Jan 16, 2025
94a82f0
feat: remove babel-plugin-transform-imports
logonoff Jan 16, 2025
ce844af
Render Label href using PF prop rather than separate Link component
rhamilto Jan 16, 2025
feb4739
Remove line-height override for .co-m-pane__details
rhamilto Jan 16, 2025
1cb9747
Fix Topology view switcher button icon alignment
vikram-raj Jan 17, 2025
b062d09
fix spacing in topology empty state
logonoff Jan 17, 2025
4b7600c
fix: gettingStartedExpandableGrid broken close button
logonoff Jan 17, 2025
a901c88
Fixed helm release history action menu text wrap issue
lokanandaprabhu Jan 16, 2025
13f2b8e
Fix Dev console unit tests
vikram-raj Jan 17, 2025
c1b1995
fix: catalog tiles not open new tabs on click and other style clean u…
nicolethoen Jan 17, 2025
ec5451a
Fix: data list checkboxes, col managment button position
kmcfaul Jan 16, 2025
c3102a5
override bootstrap styles
kmcfaul Jan 16, 2025
cd50ac3
update class name and location
kmcfaul Jan 16, 2025
91d6759
move override
kmcfaul Jan 17, 2025
e69d12b
Remove errant label prop
rhamilto Jan 20, 2025
22a96be
Remove data-codemads attibutes
rhamilto Jan 20, 2025
7c2ff88
Fix Pipeline builder visualization
vikram-raj Jan 20, 2025
5f4b1ed
use pf variable for z-index
vikram-raj Jan 20, 2025
0536235
Fix PipelineRun logs viewer background and texts (#46)
vikram-raj Jan 20, 2025
9bdf2ac
fix: masthead a11y alt text
kmcfaul Jan 17, 2025
19b1092
move spread props
kmcfaul Jan 17, 2025
3f7e122
updates
kmcfaul Jan 20, 2025
2ee4706
Properly fix errant label prop
rhamilto Jan 20, 2025
1b28192
Logo sizing fixes
rhamilto Jan 20, 2025
a1619f9
fix: miscolored helm and pipeline icons
logonoff Jan 18, 2025
279061e
fix: miscolored serverless icons
logonoff Jan 20, 2025
5dfe918
feat: remove "fx" icon from serverless function section in +Add
logonoff Jan 20, 2025
a291eb9
Masthead logo test fix
rhamilto Jan 20, 2025
2b70705
Fix create function dropdown menu alignment
vikram-raj Jan 21, 2025
65bc3f5
Labels test fix
rhamilto Jan 21, 2025
8294ce8
Add back bullets on Content ul
rhamilto Jan 21, 2025
6eaab44
fix: remove extraneaous card modifiers causing borders to disappear
nicolethoen Jan 21, 2025
b4fb31a
fix: Upload JAR field is misaligned
logonoff Jan 21, 2025
8aa931e
fix: application dropdown is not greyed out when disabled
logonoff Jan 21, 2025
c3502c3
fix: fields appear above form footer
logonoff Jan 21, 2025
fde2cd2
fix(inputgroupfield): increase height of unit in input group field
logonoff Jan 21, 2025
484ef71
fix(name-value-editor): use PF6 form design
logonoff Jan 21, 2025
4cb53d0
Revert "fix(name-value-editor): use PF6 form design"
logonoff Jan 23, 2025
23be9a8
Update Lightspeed.scss
rhamilto Jan 21, 2025
eb5abd9
Add back styling for v5 version of co-virtualized-table action col
rhamilto Jan 21, 2025
01b87ef
Integration test fixes
rhamilto Jan 22, 2025
a600fdd
Warning label fix
rhamilto Jan 22, 2025
92f738d
OLM integration test fixes
rhamilto Jan 22, 2025
cf50785
misalignedtitle and subtitle text in donut chart
cajieh Jan 21, 2025
eefe04e
Lighten OperatorHub check icon for dark mode
rhamilto Jan 22, 2025
24b058b
remove CSS overrides for helm icon in empty state
logonoff Jan 21, 2025
1ba1ef7
HPUX-374: Update Events page styling
logonoff Jan 21, 2025
bd1d1d1
fix: show pinned resource actions on focus
logonoff Jan 22, 2025
b4ceb5b
Resolved Topology list view styling issues
lokanandaprabhu Jan 23, 2025
b88b74a
Set maxMenuHeight and isScrollable for operator install menus
sg00dwin Jan 23, 2025
774d060
Additional warning label fix
rhamilto Jan 23, 2025
2684476
Fix user feedback layout
rhamilto Jan 23, 2025
9c66104
Fix catalog modal layout
rhamilto Jan 23, 2025
970cab6
Fix layout of catalog alert
rhamilto Jan 23, 2025
ef398ac
fix: getting started section a11y missing aria
kmcfaul Jan 23, 2025
655980d
update with i18n
kmcfaul Jan 23, 2025
199bf4d
Dropdown fixes
kmcfaul Jan 15, 2025
2a6b383
unable close some masthead actions
cajieh Jan 23, 2025
ede7342
Fix ImagesSection.spec.tsx unit tests
vikram-raj Jan 24, 2025
37457eb
CONSOLE-4454: Replace custom HintBlock component with PF Hint, adjust…
Mylanos Jan 24, 2025
1832ef5
semantic token updates
kmcfaul Jan 17, 2025
8909e3a
further token updates
kmcfaul Jan 20, 2025
9d95593
updates
kmcfaul Jan 20, 2025
b73bf64
update a few more pages of tokens
nicolethoen Jan 23, 2025
7a834eb
update tokens and classnames related to creating secrets
nicolethoen Jan 23, 2025
56c5294
more tweaks
nicolethoen Jan 23, 2025
7bd04ed
fix inline code block styles
nicolethoen Jan 23, 2025
e891554
remove one comment, revert other colors for now
kmcfaul Jan 24, 2025
6d07e62
rebase hint-block
kmcfaul Jan 24, 2025
105d08b
Add pf-v5-c-list back to list style override
rhamilto Jan 24, 2025
65b3767
semantic token updates
kmcfaul Jan 17, 2025
40e5c4a
further token updates
kmcfaul Jan 20, 2025
7823cd6
update icon alignment on cluster inventory card
nicolethoen Jan 24, 2025
fb95f4f
clean up after rebase
nicolethoen Jan 24, 2025
fd5e0d9
Revert "Small tweaks"
rhamilto Jan 24, 2025
a12c28c
fix: font weight for dt
kmcfaul Jan 24, 2025
900ea6e
other small fix for font size token
kmcfaul Jan 24, 2025
62a1d4d
fix: readd border radius
kmcfaul Jan 24, 2025
8fa8f07
i18n update
rhamilto Jan 27, 2025
9dfa8d5
Revert form changes from https://github.com/rhamilto/console/commit/0…
rhamilto Jan 27, 2025
bcaaa7e
increase padding and size of the the ConsoleEmptyState
Mylanos Jan 27, 2025
0d6e1c7
fix: adjust icon alignment in inventory card
nicolethoen Jan 24, 2025
5bea477
Fix ImagesSection.spec.tsx unit tests
vikram-raj Jan 28, 2025
33ff628
Fix install-plan.spec.tsx
rhamilto Jan 28, 2025
53126fe
remove fade out gradient on scrollable dashboard cards, fix border le…
Mylanos Jan 28, 2025
9dd50a6
Disable ImagesSection.spec.tsx test as it is flaking
rhamilto Jan 28, 2025
30e11d1
Fix icon alignment for ClouldShellMastheadAction
rhamilto Jan 28, 2025
3275904
Partial fix for failing ODC integration tests
rhamilto Jan 28, 2025
5f7dae0
feat(masthead): remove emphasis from masthead dropdowns
logonoff Jan 28, 2025
cd14ddd
Remainder of ODC integration test fixes
rhamilto Jan 29, 2025
5738216
Pick up fixes in react-user-feedback and drop override fixes
rhamilto Jan 29, 2025
ff3884e
Pick up fixes in patternfly/quickstarts
rhamilto Jan 29, 2025
763c2cd
Tidy up YAML editor button styles
rhamilto Jan 29, 2025
234130c
Fix topology integration tests
rhamilto Jan 30, 2025
0781137
Fix pipelines integration tests
rhamilto Jan 31, 2025
e00348d
fix regressions with quick search modal
logonoff Jan 31, 2025
b42dc80
fix: topology quick search add alignment
kmcfaul Jan 31, 2025
95bd86f
Merge pull request #72 from logonoff/quicksearc
rhamilto Jan 31, 2025
4e30ae4
Merge pull request #73 from kmcfaul/v6-updates
rhamilto Jan 31, 2025
46dde75
feat: use pf6 design for quick search modal
logonoff Jan 31, 2025
6dbfb59
Merge pull request #74 from logonoff/quicksearc
rhamilto Jan 31, 2025
4da768b
fix minor visual regressions with add modal
logonoff Feb 3, 2025
3170c57
feat: update forms markup to PF6
logonoff Feb 3, 2025
901654a
Merge pull request #76 from logonoff/pf-v6-c-form-control
rhamilto Feb 3, 2025
7b6c1aa
Merge pull request #75 from logonoff/fixes
rhamilto Feb 3, 2025
8de27f6
Fix file-input
rhamilto Feb 3, 2025
e6f8200
Restore PatternFly overrides
rhamilto Feb 4, 2025
8eaa889
Restore all PF overrides
logonoff Feb 4, 2025
8890f2f
Merge pull request #77 from logonoff/add-pf5-backcompat
rhamilto Feb 4, 2025
dceee2b
Shipwright test fix
rhamilto Feb 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion frontend/__tests__/components/graphs/area.spec.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import { shallow } from 'enzyme';
import { Chart, ChartArea, ChartAxis } from '@patternfly/react-charts';
import { Chart, ChartArea, ChartAxis } from '@patternfly/react-charts/victory';

import { AreaChart } from '@console/internal/components/graphs/area';
import { GraphEmpty } from '@console/internal/components/graphs/graph-empty';
Expand Down
2 changes: 1 addition & 1 deletion frontend/__tests__/components/graphs/bar.spec.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import { shallow } from 'enzyme';
import { ChartBar } from '@patternfly/react-charts';
import { ChartBar } from '@patternfly/react-charts/victory';

import { BarChart } from '@console/internal/components/graphs/bar';
import { GraphEmpty } from '@console/internal/components/graphs/graph-empty';
Expand Down
2 changes: 1 addition & 1 deletion frontend/__tests__/components/graphs/gauge.spec.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import { shallow } from 'enzyme';
import { ChartDonutThreshold, ChartDonutUtilization } from '@patternfly/react-charts';
import { ChartDonutThreshold, ChartDonutUtilization } from '@patternfly/react-charts/victory';

import { GaugeChart } from '@console/internal/components/graphs/gauge';
import {
Expand Down
41 changes: 22 additions & 19 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,22 +132,23 @@
"resolver": "./jest-resolver.js"
},
"dependencies": {
"@patternfly/patternfly": "^5.4.2",
"@patternfly/quickstarts": "5.4.0",
"@patternfly/react-catalog-view-extension": "5.0.0",
"@patternfly/react-charts": "7.2.2",
"@patternfly/react-component-groups": "^5.2.0",
"@patternfly/react-console": "5.1.0",
"@patternfly/react-core": "^5.4.8",
"@patternfly/react-icons": "^5.4.2",
"@patternfly/react-log-viewer": "5.3.0",
"@patternfly/react-styles": "^5.4.1",
"@patternfly/react-table": "^5.4.9",
"@patternfly/react-templates": "^1.1.0",
"@patternfly/react-tokens": "^5.4.1",
"@patternfly/react-topology": "5.3.0",
"@patternfly/react-user-feedback": "5.0.0",
"@patternfly/react-virtualized-extension": "5.1.0",
"@patternfly-5/patternfly": "npm:@patternfly/[email protected]",
"@patternfly/patternfly": "^6.0.0",
"@patternfly/quickstarts": "^6.2.0-prerelease.4",
"@patternfly/react-catalog-view-extension": "^6.1.0-prerelease.3",
"@patternfly/react-charts": "^8.1.0",
"@patternfly/react-component-groups": "^6.1.0",
"@patternfly/react-console": "^6.0.0",
"@patternfly/react-core": "^6.1.1-prerelease.1",
"@patternfly/react-icons": "^6.1.0",
"@patternfly/react-log-viewer": "^6.1.0",
"@patternfly/react-styles": "^6.1.0",
"@patternfly/react-table": "^6.1.0",
"@patternfly/react-templates": "^6.1.0",
"@patternfly/react-tokens": "^6.1.0",
"@patternfly/react-topology": "^6.1.0",
"@patternfly/react-user-feedback": "^6.1.0-prerelease.1",
"@patternfly/react-virtualized-extension": "^6.0.0",
"@rjsf/core": "^2.5.1",
"abort-controller": "3.0.0",
"ajv": "^6.12.3",
Expand All @@ -158,6 +159,7 @@
"classnames": "2.x",
"crypto-browserify": "3.12.0",
"d3": "^5.16.0",
"dagre": "^0.8.5",
"file-saver": "1.3.x",
"focus-trap-react": "^6.0.0",
"formik": "^2.1.5",
Expand Down Expand Up @@ -197,11 +199,11 @@
"react-modal": "^3.12.1",
"react-monaco-editor": "0.46.x",
"react-redux": "7.2.2",
"react-rnd": "^10.3.4",
"react-router": "5.3.x",
"react-router-dom": "5.3.x",
"react-router-dom-v5-compat": "^6.11.2",
"react-router-hash-link": "^2.0.0",
"react-svg": "^16.2.0",
"react-tagsinput": "3.19.x",
"react-transition-group": "2.3.x",
"react-virtualized": "9.x",
Expand All @@ -216,6 +218,7 @@
"text-encoding": "0.x",
"typesafe-actions": "^4.2.1",
"url-search-params-polyfill": "2.x",
"victory": "^37.3.6",
"vscode-languageserver-types": "^3.10.0",
"whatwg-fetch": "2.x",
"xterm": "^4.10.0",
Expand Down Expand Up @@ -264,7 +267,6 @@
"acorn-jsx": "5.2.0",
"axe-core": "^4.10.2",
"babel-loader": "^8.2.1",
"babel-plugin-transform-imports": "1.5.1",
"browser-env": "3.x",
"chalk": "2.4.x",
"circular-dependency-plugin": "5.x",
Expand Down Expand Up @@ -338,7 +340,8 @@
"ua-parser-js": "^0.7.24",
"jest": "21.x",
"glob-parent": "^5.1.2",
"postcss": "^8.2.13"
"postcss": "^8.2.13",
"@patternfly/react-core": "^6.1.1-prerelease.1"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,gql,graphql}": "eslint --color --fix"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@
// Fix missing white background color above the header.
.ocs-page-layout__title {
margin-top: 0;
padding-top: var(--pf-v5-global--spacer--lg);
padding-top: var(--pf-t--global--spacer--lg);
}

.ocs-page-layout__content {
display: inline;
}

.pf-v5-c-empty-state {
background-color: var(--pf-v5-global--BackgroundColor--100);
.pf-v6-c-empty-state {
background-color: var(--pf-t--global--background--color--primary--default);
flex: 1;
align-items: flex-start;
}

.pf-v5-c-tabs.pf-m-vertical {
background-color: var(--pf-v5-global--BackgroundColor--100);
.pf-v6-c-tabs.pf-m-vertical {
background-color: var(--pf-t--global--background--color--primary--default);

@media (min-width: 769px) {
max-width: 100%;
Expand All @@ -36,15 +36,15 @@
}

// Fix padding which is causes the buttons to show even when isVertical prop is true
.pf-v5-c-tabs__scroll-button {
.pf-v6-c-tabs__scroll-button {
display: none;
}
}

.co-cluster-configuration-page-content {
display: flex;
flex-direction: row;
background-color: var(--pf-v5-global--BackgroundColor--100);
background-color: var(--pf-t--global--background--color--primary--default);
min-height: 100%;
&__tabs {
@media (min-width: 769px) {
Expand All @@ -60,12 +60,12 @@
}
}
&__tab-content {
margin: var(--pf-v5-global--spacer--lg);
margin: var(--pf-t--global--spacer--lg);
max-width: 100%;
}

//workaround for patternfly bug which causes the buttons to show even when isVertical prop is true
.pf-v5-c-tabs__scroll-button {
.pf-v6-c-tabs__scroll-button {
display: none;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ import {
Tab,
TabProps,
EmptyState,
EmptyStateIcon,
EmptyStateBody,
EmptyStateHeader,
TabContent,
TabContentProps,
TabTitleText,
Expand Down Expand Up @@ -110,12 +108,11 @@ const ClusterConfigurationPage: React.FC = () => {
{!loaded ? (
<LoadingBox />
) : clusterConfigurationTabs.length === 0 ? (
<EmptyState>
<EmptyStateHeader
titleText={<>{t('console-app~Insufficient permissions')}</>}
icon={<EmptyStateIcon icon={LockIcon} />}
headingLevel="h1"
/>
<EmptyState
headingLevel="h1"
icon={LockIcon}
titleText={<>{t('console-app~Insufficient permissions')}</>}
>
<EmptyStateBody>
{t(
'console-app~You do not have sufficient permissions to read any cluster configuration.',
Expand All @@ -141,7 +138,7 @@ const ClusterConfigurationPage: React.FC = () => {
</div>
{groupNotFound ? (
/* Similar to a TabContent */
<section className="co-cluster-configuration-page pf-v5-c-tab-content">
<section className="co-cluster-configuration-page pf-v6-c-tab-content">
<h1>{t('console-app~{{section}} not found', { section: activeTabId })}</h1>
</section>
) : null}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ export const ConsolePluginEnabledStatus: React.FC<ConsolePluginEnabledStatusProp
<>
{consoleOperatorConfigLoaded && canPatchConsoleOperatorConfig && !developmentMode ? (
<Button
icon={<PencilAltIcon />}
iconPosition="end"
data-test="edit-console-plugin"
type="button"
isInline
Expand All @@ -127,7 +129,6 @@ export const ConsolePluginEnabledStatus: React.FC<ConsolePluginEnabledStatusProp
variant="link"
>
{labels}
<PencilAltIcon className="co-icon-space-l pf-v5-c-button-icon--plain" />
</Button>
) : (
<>{labels}</>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react';
import { StackItem, TextList, TextListItem } from '@patternfly/react-core';
import { StackItem, Content } from '@patternfly/react-core';
import { ResourceLink } from '@console/internal/components/utils';
import { ConsolePluginModel } from '@console/internal/models';
import { referenceForModel } from '@console/internal/module/k8s';
Expand All @@ -9,17 +9,17 @@ import { StatusPopupSection } from '@console/shared/src/components/dashboard/sta
const NotLoadedDynamicPlugins: React.FC<NotLoadedDynamicPluginsProps> = ({ plugins, label }) => (
<StackItem>
<StatusPopupSection firstColumn={label}>
<TextList>
<Content component="ul">
{plugins.map((plugin) => (
<TextListItem key={plugin.pluginName}>
<Content component="li" key={plugin.pluginName}>
<ResourceLink
kind={referenceForModel(ConsolePluginModel)}
name={plugin.pluginName}
hideIcon
/>
</TextListItem>
</Content>
))}
</TextList>
</Content>
</StatusPopupSection>
</StackItem>
);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,56 +1,67 @@
@import '~@patternfly/patternfly/sass-utilities/all';
@import '~@patternfly/patternfly/sass-utilities/index';
@import '../../../../../public/style/vars';

:root {
--popover-border-radius: 12px;
--popover-button-size: var(--pf-v5-global--spacer--2xl);
--popover-margin: var(--pf-v5-global--spacer--lg);
--popover-button-size: var(--pf-t--global--spacer--2xl);
--popover-margin: var(--pf-t--global--spacer--lg);
--popover-bottom: calc(
var(--popover-button-size) + var(--popover-margin) + var(--pf-v5-global--spacer--sm)
var(--popover-button-size) + var(--popover-margin) + var(--pf-t--global--spacer--sm)
);
}

.lightspeed__popover,
.lightspeed__popover-button {
box-shadow: var(--pf-v5-global--BoxShadow--lg);
box-shadow: var(--pf-t--global--box-shadow--lg);
position: absolute;
right: var(--popover-margin);
z-index: 199;
}

.lightspeed__popover {
border-radius: 12px;
border: var(--pf-v5-global--BorderWidth--sm) solid var(--pf-v5-global--BorderColor--100);
border: var(--pf-t--global--border--width--regular) solid var(--pf-t--global--border--color--default);
background-color: var(--pf-t--global--background--color--primary--default);
bottom: var(--popover-bottom);
overflow: hidden;
overflow: auto;
padding-block-end: var(--pf-t--global--spacer--md);
padding-block-start: var(--pf-t--global--spacer--md);
padding-inline-end: var(--pf-t--global--spacer--md);
padding-inline-start: var(--pf-t--global--spacer--md);
@media (min-width: $pf-v6-global--breakpoint--xl) {
padding-block-end: var(--pf-t--global--spacer--lg);
padding-block-start: var(--pf-t--global--spacer--lg);
padding-inline-end: var(--pf-t--global--spacer--lg);
padding-inline-start: var(--pf-t--global--spacer--lg);
}
}

.lightspeed__popover--collapsed {
top: calc(var(--popover-margin) * 5);
top: calc(var(--popover-margin) * 5.5);
width: 90%;

@media (min-width: $pf-v5-global--breakpoint--sm) {
@media (min-width: $pf-v6-global--breakpoint--sm) {
height: 70vh;
top: auto;
}

@media (min-width: $pf-v5-global--breakpoint--md) {
@media (min-width: $pf-v6-global--breakpoint--md) {
width: 50%;
}

@media (min-width: $pf-v5-global--breakpoint--lg) and (min-height: $pf-v5-global--breakpoint--lg) {
@media (min-width: $pf-v6-global--breakpoint--lg) and (min-height: $pf-v6-global--breakpoint--lg) {
height: 60vh;
}

@media (min-width: $pf-v5-global--breakpoint--lg) and (min-height: $pf-v5-global--breakpoint--xl) {
@media (min-width: $pf-v6-global--breakpoint--lg) and (min-height: $pf-v6-global--breakpoint--xl) {
height: 55vh;
}

@media (min-width: $pf-v5-global--breakpoint--xl) {
@media (min-width: $pf-v6-global--breakpoint--xl) {
width: 40%;
}

@media (min-width: $pf-v5-global--breakpoint--2xl) {
@media (min-width: $pf-v6-global--breakpoint--2xl) {
width: 35%;
}
}
Expand All @@ -67,7 +78,7 @@
background-size: calc(var(--popover-button-size) + 3px);
border-radius: var(--popover-border-radius) !important;
bottom: var(--popover-margin);
box-shadow: var(--pf-v5-global--BoxShadow--lg);
box-shadow: var(--pf-t--global--box-shadow--lg);
height: var(--popover-button-size);
padding: 0;
position: absolute !important;
Expand All @@ -78,21 +89,21 @@
border-width: 0 !important;
}

.pf-v5-theme-dark & {
.pf-v6-theme-dark & {
background-image: url('logo-dark.svg');
background-color: var(--pf-v5-global--BackgroundColor--100) !important;
background-color: var(--pf-t--global--background--color--primary--default) !important;
}
}

.lightspeed__welcome-logo {
--logo-size: var(--pf-v5-global--spacer--4xl);
--logo-size: var(--pf-t--global--spacer--4xl);

background-image: url('logo.svg');
height: var(--logo-size);
margin: 0 0 var(--pf-v5-global--spacer--xl);
margin: 0 0 var(--pf-t--global--spacer--xl);
width: var(--logo-size);

.pf-v5-theme-dark & {
.pf-v6-theme-dark & {
background-image: url('logo-dark.svg');
}
}
Loading