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

Show join command during restore in Embedded Cluster #4826

Conversation

miaawong
Copy link
Member

@miaawong miaawong commented Aug 14, 2024

What this PR does / why we need it:

https://app.shortcut.com/replicated/story/106757/show-a-dedicated-node-join-page-during-restores
Screenshot 2024-08-15 at 5 38 56 PM

  • show join command in embedded cluster restore
  • hide top navbar items during resotre

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Steps to reproduce

Does this PR introduce a user-facing change?

Show join command during restore in Embedded Cluster 

Does this PR require documentation?

@miaawong miaawong added the type::feature New feature or request label Aug 14, 2024
@miaawong miaawong force-pushed the miawong/sc-106757/show-a-dedicated-node-join-page-during-restores branch from 0e43624 to a5b32af Compare August 15, 2024 21:42
@miaawong miaawong marked this pull request as ready for review August 19, 2024 14:54
@miaawong miaawong requested a review from sgalsaleh August 19, 2024 14:54
@miaawong miaawong force-pushed the miawong/sc-106757/show-a-dedicated-node-join-page-during-restores branch from a5b32af to b54ca3b Compare August 20, 2024 18:36
web/src/Root.tsx Outdated
@@ -501,6 +501,9 @@ const Root = () => {
isEmbeddedClusterEnabled={Boolean(
state.adminConsoleMetadata?.isEmbeddedCluster
)}
isEmbeddedClusterNodeWaiting={
Copy link
Member

Choose a reason for hiding this comment

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

why not keep it the same name?

Suggested change
isEmbeddedClusterNodeWaiting={
isEmbeddedClusterWaitingForNodes ={

@miaawong miaawong force-pushed the miawong/sc-106757/show-a-dedicated-node-join-page-during-restores branch from 468b772 to baade34 Compare August 22, 2024 18:45
</div>
)}
{Utilities.isInitialAppInstall(app) ||
(isEmbeddedClusterWaitingForNodes && (
Copy link
Member

Choose a reason for hiding this comment

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

shouldn't it be more like this:

{(Utilities.isInitialAppInstall(app) || isEmbeddedClusterWaitingForNodes) && (
    <div>
    ...
    </div>
)}

Copy link
Member Author

Choose a reason for hiding this comment

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

youre right. ugh prettier works against me sometimes

sgalsaleh
sgalsaleh previously approved these changes Aug 23, 2024
@miaawong miaawong force-pushed the miawong/sc-106757/show-a-dedicated-node-join-page-during-restores branch from 7d7c40c to 85cb67b Compare August 27, 2024 04:08
@miaawong miaawong force-pushed the miawong/sc-106757/show-a-dedicated-node-join-page-during-restores branch from 85cb67b to 1b48567 Compare August 28, 2024 14:38
@miaawong miaawong requested a review from sgalsaleh August 30, 2024 18:51
@miaawong miaawong merged commit b5fcd3b into main Aug 30, 2024
111 of 144 checks passed
@miaawong miaawong deleted the miawong/sc-106757/show-a-dedicated-node-join-page-during-restores branch August 30, 2024 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type::feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants