Repository navigation
Shared feature flag and stubs for onboarding tutorial - #8211
Conversation
outofambit
left a comment
There was a problem hiding this comment.
this looks great to me @niik thank you!
kuychaco
left a comment
There was a problem hiding this comment.
LGTM! Thanks for getting this started @niik ✨
One clarifying question --
For now though the conditions for a repository to be considered a "tutorial repository" will be that its name starts with desktop-tutorial (meaning y'all can use
github-tutorial-NNNfor testing)
Did you mean to say we can use desktop-tutorial-NNN for testing?
|
since we've got 2 (+1) approvals i'm just gonna merge this before this gets behind |
@kuychaco I think that's a fair typo assumption based on the code. We might struggle trying to use |
I did, yes 🤦♂ |
Overview
Hey @outofambit and @kuychaco! Seeing as I'll be doing the entry point to the tutorial (#8148) and you'll be doing the actual tutorial (#8149) I figured it'd made sense for us to have some minimal common ground so that you don't have to wait for my work to actually create a repository.
Description
This PR adds an overarching feature flag for the onboarding tutorial as well as a new property on the
Repositorymodel calledisTutorialRepository. My work from here on will be to actually let the user create this repository and ensure it's published to GitHub.com/GHE.For now though the conditions for a repository to be considered a "tutorial repository" will be that its name starts with
desktop-tutorial(meaning y'all can usegithub-tutorial-NNNfor testing) and that it's published to GitHub.com/GHE. When my work is done this property will likely be set once when creating the tutorial repo and then persisted into the database.Does this sound like a decent start for you?
Release notes
Notes: no-notes