openshift-assisted / assisted-installer-ui Goto Github PK
View Code? Open in Web Editor NEWThe Assisted Installer User Interface
Home Page: https://console.redhat.com/openshift/create/datacenter
License: Apache License 2.0
The Assisted Installer User Interface
Home Page: https://console.redhat.com/openshift/create/datacenter
License: Apache License 2.0
If this link is for the Assisted Installer guide, I recommend using the AI SaaS feedback link: https://issues.redhat.com/secure/CreateIssueDetails!init.jspa?pid=12341520&summary=Documentation+feedback&issuetype=1&description=Details:%0A%0ADocumentation+URL:%0A%0A&priority=10200&labels=hcidocs-feedback&components=12393573
If the link is to report a non-docs issue, feel free to close this issue.
in OCM (currently trying to switch to npm):
ERROR in ./node_modules/@openshift-assisted/ui-lib/build/cjs/common/components/ui/formik/LabelField.js 8:50-76
Module not found: Error: Can't resolve 'react-tagsinput' in '/container_workspace/node_modules/@openshift-assisted/ui-lib/build/cjs/common/components/ui/formik'
Same for @sentry/browser
, 'axios', monaco-editor
, etc...
Looking at the package.json file
"peerDependencies": {
"@reduxjs/toolkit": "^1.9.1",
"@sentry/browser": "^5.9 || ^6",
"axios": ">=0.22.0 <1.0.0",
"i18next": "^20.4 || ^21",
"monaco-editor": "0.45.0",
"react": "^17 || ^18",
"react-dom": "^17 || ^18",
"react-i18next": ">11.7.3",
"react-monaco-editor": "^0.55.0",
"react-redux": "^8.0.5",
"react-router-dom": "^5.3.0",
"react-tagsinput": "^3.20",
"redux": "^4",
"uuid": "^8.1",
"yup": "^1.4.0"
},
Most of these should be dependencies apart from react and react-dom
I recommend that you replace the individual links to the various docs with a link to the new section on Operators in the AI guide:
If this is acceptable, I will create a permalink for the UI in the AI user guide.
This needs to be converted to the docs.redhat.com URL.
Fix use of history
in the newClusterModal.tsx
.
Replace docs.openshift.com with docs.redhat.com link: https://docs.redhat.com/en/documentation/openshift_container_platform/4.15/html/installing/installing-on-bare-metal#installation-network-user-infra_installing-bare-metal
Change domain from access.redhat.com
to docs.redhat.com
https://docs.redhat.com/en/documentation/openshift_container_platform/4.15/html/installing/installation-configuration#installation-special-config-kargs_installing-customizing
ui-lib has peerDependency for redux toolkit ^1.9.1
But uhc-portal (OCM) uses ^2.2.2.
Is it necessary for ui-lib to have that peerDep?
➜ uhc-portal git:(master) ✗ npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: @reduxjs/[email protected]
npm ERR! node_modules/@reduxjs/toolkit
npm ERR! @reduxjs/toolkit@"^2.2.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @reduxjs/toolkit@"^1.9.1" from @openshift-assisted/[email protected]
npm ERR! node_modules/@openshift-assisted/ui-lib
npm ERR! @openshift-assisted/ui-lib@"2.32.2" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/jschuler/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/jschuler/.npm/_logs/2024-06-27T16_52_05_210Z-debug-0.log
This link looks like it does not belong in docs_links.ts.
Add GitHub actions for PRs
This URL will break if the doc version number changes and a specific redirect is not in place.
Please use an attribute for the version number to avoid maintenance issues.
After installing a cluster, copying kube-admin's password doesn't work on HTTP settings for OKD.
This forced me to copy the password from the network logs through devtools.
Since HTTP is common on self deployed setups and assisted installer supports HTTP, I think that either
Support copy.
But PatternFly doesn't seem to have any plans on supporting HTTP clipboard copy.
ClipboardCopy
Add a button that reveils the value as plain text
Atleast alert the user that HTTP copy isn't supported and offer a workaround
If you guys can decide on a viable solution, I think I can contribute on a fix.
Issues to fix:
https://docs.redhat.com/en/documentation/openshift_container_platform/4.15/html/installing/installation-configuration#installation-special-config-encrypt-disk_installing-customizing
. You should define an attribute for the version number (4.15
) to simplify maintenance.We recently upgraded OCM-UI application to PF5 and since OCM-UI is using @openshift-assisted/ui-lib@^2.29.0
PF4 and PF5 libraries are co-living and generating estrange behaviours or console errors
"@openshift-assisted/[email protected]":
version "2.29.0"
dependencies:
...
"@patternfly/react-core" "^4.168.8"
See for instance https://issues.redhat.com/browse/OCMUI-124
Is this upgrading on your backlog? any due date for it?
Many thanks!
Since https://issues.redhat.com/browse/MGMT-7787 is already implemented we should be able now to remove this function and consume its functionality from within the provider implementing the feature support level.
Because multicluster engine has specific additional resource requirements, depending on the storage operators and cluster type, I recommend that you create a link to this section: Resource requirements
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.