Skip to content

NO-ISSUE: Update DEVELOPMENT.md file with assisted-installer-app project#2912

Merged
openshift-merge-bot[bot] merged 2 commits intoopenshift-assisted:masterfrom
ammont82:no-issue-update-development-doc
Apr 15, 2025
Merged

NO-ISSUE: Update DEVELOPMENT.md file with assisted-installer-app project#2912
openshift-merge-bot[bot] merged 2 commits intoopenshift-assisted:masterfrom
ammont82:no-issue-update-development-doc

Conversation

@ammont82
Copy link
Member

@ammont82 ammont82 commented Apr 14, 2025

Summary by CodeRabbit

  • Documentation
    • Revised development setup instructions to reflect updated project names and repository locations.
    • Updated dependency installation from yarn to npm and added guidance for starting the project with npm run start:federated.
    • Added separate setup steps for two projects, including cloning the previous project and linking to its README for further instructions.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Apr 14, 2025
@openshift-ci-robot
Copy link

@ammont82: This pull request explicitly references no jira issue.

Details

In response to this:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@coderabbitai
Copy link

coderabbitai bot commented Apr 14, 2025

Walkthrough

The documentation in docs/DEVELOPMENT.md has been updated to revise the setup instructions for the Assisted Installer UI development environment. The project to clone has changed from uhc-portal to assisted-installer-app with a new GitHub SSH URL. The package installation command switched from yarn install to npm ci. Additional steps were added to start the assisted-installer-app using npm run start:federated. The original uhc-portal project is now cloned separately with updated instructions to follow its README for environment setup and startup.

Changes

File(s) Change Summary
docs/DEVELOPMENT.md Revised instructions to clone assisted-installer-app instead of uhc-portal; updated GitHub SSH URLs; replaced yarn install with npm ci; added startup command npm run start:federated; separated setup steps for assisted-installer-app and uhc-portal.

Poem

Oh, what a bounce in our docs today,
A leap from yarn to npm paves the way.
The name hops to assisted-installer-app bright,
With new commands shining in the light.
Happy hops and code so clear,
A bunny cheers as changes appear!

Suggested labels

lgtm, size/XS

Tip

⚡💬 Agentic Chat (Pro Plan, General Availability)
  • We're introducing multi-step agentic chat in review comments and issue comments, within and outside of PR's. This feature enhances review and issue discussions with the CodeRabbit agentic chat by enabling advanced interactions, including the ability to create pull requests directly from comments and add commits to existing pull requests.

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@openshift-ci openshift-ci bot requested review from celdrake and rawagner April 14, 2025 11:10
@openshift-ci openshift-ci bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Apr 14, 2025
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (2)
docs/DEVELOPMENT.md (2)

75-85: Ensure Consistency Between Installation Command and Note
The code block now correctly uses npm install for setting up the assisted-installer-app, which aligns with the PR objective to switch from Yarn to npm. However, the following note still mentions that yalc link needs to be executed after yarn install. To avoid user confusion, please update this note to reference npm install instead. For example, you might change the note to:

-**Note**: `yalc link` needs to be executed following the `yarn install` command.  
+**Note**: `yalc link` needs to be executed following the `npm install` command.

99-104: Verify Integration Command for UHC-Portal
The instructions now indicate that users should follow the uhc-portal’s README and run yarn start --env ai_standalone. Since the development commands for the assisted-installer-app have migrated to npm, double-check whether the uhc-portal integration should remain on Yarn or also transition to npm. Clear separation or updated guidance here would help users avoid potential confusion.

🧰 Tools
🪛 LanguageTool

[style] ~100-~100: Consider a shorter alternative to avoid wordiness.
Context: ...ice/uhc-portal/-/blob/master/README.md) in order to set up their dev-environment. ```bas...

(IN_ORDER_TO_PREMIUM)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 7167786 and a68ce52.

📒 Files selected for processing (1)
  • docs/DEVELOPMENT.md (1 hunks)
🧰 Additional context used
🪛 LanguageTool
docs/DEVELOPMENT.md

[style] ~100-~100: Consider a shorter alternative to avoid wordiness.
Context: ...ice/uhc-portal/-/blob/master/README.md) in order to set up their dev-environment. ```bas...

(IN_ORDER_TO_PREMIUM)

⏰ Context from checks skipped due to timeout of 90000ms (6)
  • GitHub Check: tests
  • GitHub Check: unit-tests
  • GitHub Check: circular-deps
  • GitHub Check: lint
  • GitHub Check: translation-files
  • GitHub Check: format
🔇 Additional comments (4)
docs/DEVELOPMENT.md (4)

69-71: Update Assisted Installer App Clone Instructions
The updated instructions now include forking and cloning the new assisted-installer-app repository (using the correct GitHub URL). Ensure that the <username> placeholder is eventually replaced during actual usage.


73-73: Clarify Assisted Installer App Setup Step
The step explicitly instructs users to execute the commands inside the assisted-installer-app project. This helps distinguish it from other parts of the monorepo.


86-91: Update Start Command for Assisted Installer App
Changing the start command to npm run start:federated accurately reflects the updated project setup. This new command replaces the old Yarn-based command, making the instructions consistent with the transition to npm.


93-97: Review UHC-Portal Cloning Instructions
The instructions for forking and cloning the uhc-portal project are retained. Please verify that these steps remain valid if both assisted-installer-app and uhc-portal integrations continue to be supported. If the focus is shifting exclusively to the assisted-installer-app, consider updating or deprecating this section.

@ammont82 ammont82 force-pushed the no-issue-update-development-doc branch from a68ce52 to cec7c08 Compare April 14, 2025 11:21
@openshift-ci openshift-ci bot removed the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Apr 14, 2025
@ammont82 ammont82 requested a review from jgyselov April 14, 2025 11:21
@openshift-ci openshift-ci bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Apr 14, 2025
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Apr 14, 2025
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (4)
docs/DEVELOPMENT.md (4)

69-72: New Assisted Installer App Cloning Instructions
The new step clearly instructs users to fork and clone the assisted-installer-app project. Verify that the <username> placeholder gets replaced appropriately by contributors.


73-80: New Setup Commands for Assisted Installer App
The code block with npm install followed by the yalc link commands for the required packages is clearly presented. Please ensure that switching from Yarn (as used in other parts of the document) to npm in this context is intentional and well understood by users.


92-95: Clarification on UHC-Portal Integration Instructions
The document now includes instructions for both the assisted-installer-app and the uhc-portal. Please confirm that maintaining both sets of instructions is intentional and consider adding a brief explanation or visual separation so users can easily differentiate between setting up the two projects.


100-104: Streamline Language for Clarity
The instruction “in order to set up their dev-environment” might be simplified for brevity and clarity (e.g., “to set up your dev environment”). This small refinement can improve readability.

🧰 Tools
🪛 LanguageTool

[style] ~101-~101: Consider a shorter alternative to avoid wordiness.
Context: ...ob/master/README.md#running-locally) in order to set up their dev-environment. ```bas...

(IN_ORDER_TO_PREMIUM)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between a68ce52 and cec7c08.

📒 Files selected for processing (1)
  • docs/DEVELOPMENT.md (1 hunks)
🧰 Additional context used
🪛 LanguageTool
docs/DEVELOPMENT.md

[style] ~101-~101: Consider a shorter alternative to avoid wordiness.
Context: ...ob/master/README.md#running-locally) in order to set up their dev-environment. ```bas...

(IN_ORDER_TO_PREMIUM)

⏰ Context from checks skipped due to timeout of 90000ms (6)
  • GitHub Check: translation-files
  • GitHub Check: tests
  • GitHub Check: lint
  • GitHub Check: format
  • GitHub Check: circular-deps
  • GitHub Check: unit-tests
🔇 Additional comments (1)
docs/DEVELOPMENT.md (1)

86-90: Launching the Assisted Installer App
The new instructions to start the assisted-installer-app project using npm run start:federated are correctly added. Confirm that this command is valid for the current project setup.

Copy link
Member

@rawagner rawagner left a comment

Choose a reason for hiding this comment

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

a few nits, otherwise looks great

Co-authored-by: Rastislav Wagner <rawagner@redhat.com>
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Apr 15, 2025
@ammont82 ammont82 requested a review from rawagner April 15, 2025 08:41
@rawagner
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Apr 15, 2025
@openshift-ci
Copy link

openshift-ci bot commented Apr 15, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ammont82, jgyselov, rawagner

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [ammont82,jgyselov,rawagner]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
docs/DEVELOPMENT.md (1)

101-101: Consider shortening "in order to" for conciseness.

The phrase "in order to set up their dev-environment" can be shortened to "to set up their dev-environment" for improved readability.

Apply this diff for conciseness:

-   [README file](https://github.com/RedHatInsights/uhc-portal/blob/master/README.md#running-locally)
-   in order to set up their dev-environment.
+   [README file](https://github.com/RedHatInsights/uhc-portal/blob/master/README.md#running-locally)
+   to set up their dev-environment.
🧰 Tools
🪛 LanguageTool

[style] ~101-~101: Consider a shorter alternative to avoid wordiness.
Context: ...ob/master/README.md#running-locally) in order to set up their dev-environment. ```bas...

(IN_ORDER_TO_PREMIUM)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between cec7c08 and e0d3da0.

📒 Files selected for processing (1)
  • docs/DEVELOPMENT.md (1 hunks)
🧰 Additional context used
🪛 LanguageTool
docs/DEVELOPMENT.md

[style] ~101-~101: Consider a shorter alternative to avoid wordiness.
Context: ...ob/master/README.md#running-locally) in order to set up their dev-environment. ```bas...

(IN_ORDER_TO_PREMIUM)

🔇 Additional comments (1)
docs/DEVELOPMENT.md (1)

69-104: Clear and accurate integration instructions.

The revised steps for integrating with assisted-installer-app and uhc-portal are clear, accurate, and reflect the current project structure. The use of npm ci and the explicit note about yalc link are both correct and helpful. All past review suggestions have been addressed.

🧰 Tools
🪛 LanguageTool

[style] ~101-~101: Consider a shorter alternative to avoid wordiness.
Context: ...ob/master/README.md#running-locally) in order to set up their dev-environment. ```bas...

(IN_ORDER_TO_PREMIUM)

@openshift-merge-bot openshift-merge-bot bot merged commit fde98bb into openshift-assisted:master Apr 15, 2025
11 checks passed
ammont82 added a commit to ammont82/assisted-installer-ui that referenced this pull request Sep 12, 2025
…ect (openshift-assisted#2912)

* Update DEVELOPMENT.md file with assisted-installer-app project

* Apply suggestions from code review

Co-authored-by: Rastislav Wagner <rawagner@redhat.com>

---------

Co-authored-by: Rastislav Wagner <rawagner@redhat.com>
@coderabbitai coderabbitai bot mentioned this pull request Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants