-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
React 18 & Patternfly 5 Upgrades (#494)
- Upgrade Patternfly from v4 to v5 - Upgrade React from 17 to 18 - Upgrade react router from v5 to v6 - Upgrade packages & replace some unrelevant - Fix stylings - Make linter happy - Make tests work - Format code for better visibility - Create elementWrapper helper component to make router v6 work - Fix some warnings - Some bugfixes to already existing issues - Minor backend issue fix - Make filtering work for ibutsu projects on backend side - Remove unused components
- Loading branch information
1 parent
be116c3
commit 367f293
Showing
63 changed files
with
2,810 additions
and
1,299 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/usr/bin/env node | ||
|
||
const fs = require('fs'); | ||
const fse = require('fs-extra') | ||
|
||
let packageData = JSON.parse(fs.readFileSync('package.json')); | ||
fs.writeFileSync('public/version.json', JSON.stringify({'version': packageData.version})); | ||
let packageData = JSON.parse(fse.readFileSync('package.json')); | ||
fse.writeFileSync('public/version.json', JSON.stringify({'version': packageData.version})); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
import React from 'react'; | ||
import ReactDOM from 'react-dom'; | ||
import { render } from '@testing-library/react'; | ||
import { Base } from './base'; | ||
|
||
it('renders without crashing', () => { | ||
const div = document.createElement('div'); | ||
ReactDOM.render(<Base />, div); | ||
ReactDOM.unmountComponentAtNode(div); | ||
render(<Base />); | ||
}); |
Oops, something went wrong.