cli-microsoft365 icon indicating copy to clipboard operation
cli-microsoft365 copied to clipboard

Add tags to samples. Closes #3640

Open martinlingstuyl opened this issue 1 year ago • 10 comments

Closes #3640

This PR adds tags to samples, creates a tags index page, and a page containing an list of available tags.

This really is a first draft. @pnp/cli-for-microsoft-365-maintainers, for a critical review.

martinlingstuyl avatar Aug 31 '22 15:08 martinlingstuyl

nice change 🤩. Thanks for opening this PR. We'll review it shortly 😉

Adam-it avatar Sep 01 '22 23:09 Adam-it

Really love the implementation of the tags. I have nothing to add, the PR looks great from my perspective. Good job @martinlingstuyl 🚀

Jwaegebaert avatar Sep 02 '22 07:09 Jwaegebaert

What about the chosen list of tags and the application of tags on the samples? Does that make sense?

martinlingstuyl avatar Sep 02 '22 08:09 martinlingstuyl

they just become a catch-all tag.

I expected this to come up 😂 I'll remove it.

I'll also add the one liners and merge security with permission management 👍

martinlingstuyl avatar Sep 02 '22 09:09 martinlingstuyl

Ok guys, I updated some things. Additional feedback very welcome!

martinlingstuyl avatar Sep 06 '22 20:09 martinlingstuyl

Hey @martinlingstuyl, before we continue with the review. Could you resolve the conflicts this PR currently has. 😄

Jwaegebaert avatar Sep 10 '22 11:09 Jwaegebaert

Will do!

martinlingstuyl avatar Sep 10 '22 12:09 martinlingstuyl

I also noticed that many if not all samples have keywords at the end. Have we considered using them as tags as well?

waldekmastykarz avatar Sep 11 '22 12:09 waldekmastykarz

Thanks for the valuable feedback @waldekmastykarz. I must say I largely ignored the keywords, as they often included for example the platform (SharePoint, Office 365) or a container term like Governance that I found questionable in its application.

I could check what keywords can be merged with tags, and delete all the keywords sections. That a good idea?

martinlingstuyl avatar Sep 11 '22 20:09 martinlingstuyl

I could check what keywords can be merged with tags, and delete all the keywords sections. That a good idea?

Good point! Let's do that 👍

waldekmastykarz avatar Sep 12 '22 17:09 waldekmastykarz

Hi @waldekmastykarz, I revisited the list and all samples.

  • I added some more tags and removed some others.
  • I checked the keywords, merged them with tags if necessary, and removed them.
  • I removed the descriptions.

Let's see what you think of it. 🤙

martinlingstuyl avatar Sep 27 '22 19:09 martinlingstuyl

ok, I updated the code based on your comments @waldekmastykarz, don't forget to read my reply on the comment about mkdocs nav titles.

martinlingstuyl avatar Oct 17 '22 18:10 martinlingstuyl

Hey @martinlingstuyl, looks great! I'm a bit on the fence when it comes to us maintaining a list of tags. Seems like our original idea was to have a list of tags from which contributors of new samples can choose when submitting samples. As such, it would make more sense for it to be in our contribution guide rather than docs, because that's where contributors will be looking at. We could also consider suggesting that contributors of new samples try to use existing tags as much as possible and introduce new tags only when we don't have anything else matching. That way we only have the automatically generated list from tags used in samples and don't have to keep another list up to date manually, which will help us save work and increase consistency.

waldekmastykarz avatar Oct 22 '22 13:10 waldekmastykarz

Merged manually. Thank you! 👏

waldekmastykarz avatar Oct 22 '22 14:10 waldekmastykarz

Hey @martinlingstuyl, looks great! I'm a bit on the fence when it comes to us maintaining a list of tags. Seems like our original idea was to have a list of tags from which contributors of new samples can choose when submitting samples. As such, it would make more sense for it to be in our contribution guide rather than docs, because that's where contributors will be looking at. We could also consider suggesting that contributors of new samples try to use existing tags as much as possible and introduce new tags only when we don't have anything else matching. That way we only have the automatically generated list from tags used in samples and don't have to keep another list up to date manually, which will help us save work and increase consistency.

That's what we agreed on indeed. And you're right that they'd fit better in the contribution docs. I'll check it out and move the list of available tags there. 🤙

martinlingstuyl avatar Oct 22 '22 15:10 martinlingstuyl