Skip to content

Comments

fix(ui): pf5 update monaco deps#10504

Merged
dvail merged 1 commit intoROX-22875from
dv/PF5-update-monaco-deps
Mar 25, 2024
Merged

fix(ui): pf5 update monaco deps#10504
dvail merged 1 commit intoROX-22875from
dv/PF5-update-monaco-deps

Conversation

@dvail
Copy link
Contributor

@dvail dvail commented Mar 25, 2024

Description

Updates Monaco dependencies for the PF5 upgrade to prevent crashing of the CodeEditor component.

Additionally includes monaco-yaml changes from #10272 (thanks @vjwilson!)

Checklist

  • Investigated and inspected CI test results
  • Unit test and regression tests added
  • Evaluated and added CHANGELOG entry if required
  • Determined and documented upgrade steps
  • Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.

Testing Performed

Visit Violation => Network Policies and open the Netpol modal:
image
Darkmode:
image

Verify Copy and Export buttons work correctly

Visit Network Graph and click a deployment, viewing the CodeEditor:
image
Darkmode:
image

Visit Network Graph and run netpol generator, again, testing custom button controls and darkmode:
image

Verify Copy and Export buttons work correctly

@openshift-ci
Copy link

openshift-ci bot commented Mar 25, 2024

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

"monaco-editor": "^0.21.3",
"monaco-editor-webpack-plugin": "^2.1.0",
"monaco-yaml": "^4.0.4",
"monaco-editor": "^0.34.1",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"mobx": "^6.9.0",
"mobx-react": "^7.6.0",
"monaco-editor": "^0.21.3",
"monaco-editor-webpack-plugin": "^2.1.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"react-feather": "^2.0.9",
"react-helmet": "^6.1.0",
"react-modal": "^3.12.1",
"react-monaco-editor": "^0.51.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No longer a required peer dep, as of patternfly/patternfly-react#9842

@dvail dvail marked this pull request as ready for review March 25, 2024 15:18
@dvail dvail requested a review from a team as a code owner March 25, 2024 15:18
@dvail dvail merged commit cafa434 into ROX-22875 Mar 25, 2024
@dvail dvail deleted the dv/PF5-update-monaco-deps branch March 25, 2024 15:29
@rhacs-bot
Copy link
Contributor

Images are ready for the commit at 1b481da.

To use with deploy scripts, first export MAIN_IMAGE_TAG=4.4.x-222-g1b481daa36.

dvail added a commit that referenced this pull request Mar 25, 2024
dvail added a commit that referenced this pull request Mar 27, 2024
dvail added a commit that referenced this pull request Mar 29, 2024
vjwilson pushed a commit that referenced this pull request Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants