Git Product home page Git Product logo

assisted-installer-ui's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

assisted-installer-ui's Issues

Jira issue link

ui-lib: most peerdeps should be a dependency

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

Fix AI SaaS URL

export const ASSISTED_INSTALLER_DOCUMENTATION_LINK = `https://access.redhat.com/documentation/en-us/assisted_installer_for_openshift_container_platform/${getYearForAssistedInstallerDocumentationLink()}/html/installing_openshift_container_platform_with_the_assisted_installer/index`;

This needs to be converted to the docs.redhat.com URL.

redux toolkit peerDep

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

clipboard copy doesn't work on HTTP

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

  1. Support copy.
    But PatternFly doesn't seem to have any plans on supporting HTTP clipboard copy.
    ClipboardCopy

  2. Add a button that reveils the value as plain text

  3. 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.

Encrypted disk link

https://github.com/openshift-assisted/assisted-installer-ui/blob/322630e1276b254cfc10619d749f98cd5e46bf45/libs/ui-lib/lib/common/config/docs_links.ts#L21C1-L23C123

Issues to fix:

  • docs.openshift.com is in the process of being decommissioned. access.redhat.com is going to be replaced by docs.redhat.com, which is now live. Therefore, all docs.openshift.com links should be replaced by docs.redhat.com links: 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.
  • 4.12 version. Is there a reason why we should link to 4.12 when it will soon be EOL?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.