Skip to content

Extends 'spo hubsite get' command. Closes #3421#3454

Closed
nanddeepn wants to merge 8 commits intopnp:mainfrom
nanddeepn:hubsite-get-includeAssociatedSites
Closed

Extends 'spo hubsite get' command. Closes #3421#3454
nanddeepn wants to merge 8 commits intopnp:mainfrom
nanddeepn:hubsite-get-includeAssociatedSites

Conversation

@nanddeepn
Copy link
Copy Markdown
Contributor

Extends spo hubsite get command. Closes #3421
Add the includeAssociatedSites option to the command to return all associated sites for the individual hubsite.

@nanddeepn
Copy link
Copy Markdown
Contributor Author

Hi @Adam-it, @waldekmastykarz
Do you have any suggestions for me for this failing test case?

@Adam-it
Copy link
Copy Markdown
Member

Adam-it commented Jun 30, 2022

Hi @Adam-it, @waldekmastykarz
Do you have any suggestions for me for this failing test case?

I only had a quick look over the phone but I think that if you are using another CLI command you should also mock it over the test. I will try to have a closer look over the weekend 👍

Copy link
Copy Markdown
Member

@Adam-it Adam-it left a comment

Choose a reason for hiding this comment

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

@nanddeepn lets first work on fixing the test before we make a full review on this.
Please recheck the mentioned changes. After this is done and mocked the test should pass just fine
image

let me know if you will need any help with that 👍

Comment thread src/m365/spo/commands/hubsite/hubsite-get.spec.ts
Comment thread src/m365/spo/commands/hubsite/hubsite-get.ts Outdated
Comment thread src/m365/spo/commands/hubsite/hubsite-get.ts Outdated
Comment thread src/m365/spo/commands/hubsite/hubsite-get.ts Outdated
Comment thread src/m365/spo/commands/hubsite/hubsite-get.ts Outdated
@Adam-it Adam-it marked this pull request as draft June 30, 2022 07:41
@Adam-it Adam-it self-assigned this Jun 30, 2022
@Adam-it
Copy link
Copy Markdown
Member

Adam-it commented Jun 30, 2022

@nanddeepn when you think the PR is ready to be reviewed please mark the done review comments as resolved and set 'ready for review' on the PR 👍

@nanddeepn
Copy link
Copy Markdown
Contributor Author

Hi @Adam-it
I am still working on the failing test case.
Thank you for your help. You Rock 👍

@nanddeepn nanddeepn marked this pull request as ready for review July 1, 2022 10:42
@waldekmastykarz waldekmastykarz marked this pull request as draft July 1, 2022 18:01
@Adam-it Adam-it removed their assignment Jul 3, 2022
@nanddeepn
Copy link
Copy Markdown
Contributor Author

Hi @waldekmastykarz
Are there any changes needed in this PR?

@waldekmastykarz
Copy link
Copy Markdown
Member

I don't think we've reviewed it after your recent changes @nanddeepn, so let us please do that first, ok?

@Adam-it Adam-it self-assigned this Jul 8, 2022
Copy link
Copy Markdown
Member

@Adam-it Adam-it left a comment

Choose a reason for hiding this comment

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

thanks @nanddeepn for you awesome work. We are really getting close 👍
please double check my comments and please mark them as resolved when done.
when your ready for another review please mark the PR as ready to review 👍
Once again thanks for your awesome work. You rock 🤩🤩

Comment thread src/m365/spo/commands/hubsite/hubsite-get.ts Outdated
Comment thread src/m365/spo/commands/hubsite/hubsite-get.ts
@Adam-it
Copy link
Copy Markdown
Member

Adam-it commented Jul 8, 2022

@nanddeepn could you also merge the main and resolve conflicts along the way ?
let me know if you will need any help 👍👍

@Adam-it Adam-it removed their assignment Jul 8, 2022
@nanddeepn nanddeepn marked this pull request as ready for review July 10, 2022 14:25
@nanddeepn
Copy link
Copy Markdown
Contributor Author

Hi @Adam-it
Ready for review.

@Adam-it Adam-it self-assigned this Jul 14, 2022
Copy link
Copy Markdown
Member

@Adam-it Adam-it left a comment

Choose a reason for hiding this comment

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

resolved conflicts ✅
checked locally, works ✅
looks good ✅
test pass ✅
@nanddeepn I say this is ready to be merged. Great work 👍 you rock 🤩

@Adam-it Adam-it removed their assignment Jul 14, 2022
@Adam-it
Copy link
Copy Markdown
Member

Adam-it commented Jul 14, 2022

merged manually

@Adam-it Adam-it closed this Jul 14, 2022
@nanddeepn nanddeepn deleted the hubsite-get-includeAssociatedSites branch July 16, 2022 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhancement: Add includeAssociatedSites option to hubsite get

3 participants