Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebase code with latest main after the refactor and implement UI for ondemand GKE #1384

Merged
merged 11 commits into from
May 31, 2023

Conversation

cw75
Copy link
Contributor

@cw75 cw75 commented May 30, 2023

Describe your changes and why you are making these changes

This PR rebases @jpurusho65 's PR against main, fixes a few bugs and also implements registering ondemand GKE from the UI.

Related issue number (if any)

Loom demo (if any)

Checklist before requesting a review

  • I have created a descriptive PR title. The PR title should complete the sentence "This PR...".
  • I have performed a self-review of my code.
  • I have included a small demo of the changes. For the UI, this would be a screenshot or a Loom video.
  • If this is a new feature, I have added unit tests and integration tests.
  • I have run the integration tests locally and they are passing.
  • I have run the linter script locally (See python3 scripts/run_linters.py -h for usage).
  • All features on the UI continue to work correctly.
  • Added one of the following CI labels:
    • run_integration_test: Runs integration tests
    • skip_integration_test: Skips integration tests (Should be used when changes are ONLY documentation/UI)

@cw75 cw75 requested a review from jpurusho65 May 30, 2023 07:31
@@ -283,9 +299,94 @@ const OnDemandK8sAWSStep: React.FC<ResourceDialogProps> = ({
);
};

const OnDemandK8sGCPStep: React.FC<ResourceDialogProps> = ({
Copy link
Contributor

Choose a reason for hiding this comment

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

@cw75 could you follow #1380 to support editing on this dialog and also some boiler plate change? Edit is not a strict requirement though

interface OnDemandK8sStepProps extends ResourceDialogProps {
handlePrevious: () => void;
handleAWSClick: () => void;
handleGCPClick: () => void;
Copy link
Contributor

Choose a reason for hiding this comment

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

We've changed this to onSelectProvider so we shouldn't need to add an extra handler here

service_account_key: '',
};

export const GCPDialog: React.FC<ResourceDialogProps> = () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

similarly, update with changes in #1380 and follow a few pattern updates. The main necessary thing is to add a type to ResourceDialogProps here

Copy link
Contributor

@likawind likawind left a comment

Choose a reason for hiding this comment

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

Do we need any update to dialog.tsx ?

@cw75 cw75 added the run_integration_test Triggers integration tests label May 31, 2023
@cw75 cw75 added skip_integration_test Skips required integration test (only documentation/UI changes) and removed run_integration_test Triggers integration tests labels May 31, 2023
@cw75 cw75 merged commit 2661c1d into main May 31, 2023
24 of 25 checks passed
@cw75 cw75 deleted the eng-3058-rebase-code-with-latest-main-after-the-refactor branch May 31, 2023 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip_integration_test Skips required integration test (only documentation/UI changes)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants