Skip to content

Shared feature flag and stubs for onboarding tutorial - #8211

Merged
outofambit merged 5 commits into
developmentfrom
tutorial-feature-flag-and-fake
Sep 6, 2019
Merged

outofambit merged 5 commits into
developmentfrom
tutorial-feature-flag-and-fake

Conversation

@niik

@niik niik commented Sep 5, 2019

Copy link
Copy Markdown
Member

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 Repository model called isTutorialRepository. 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 use github-tutorial-NNN for 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

@niik niik added the ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Sep 5, 2019

@outofambit outofambit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this looks great to me @niik thank you!

@kuychaco kuychaco left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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-NNN for testing)

Did you mean to say we can use desktop-tutorial-NNN for testing?

@outofambit

Copy link
Copy Markdown
Contributor

since we've got 2 (+1) approvals i'm just gonna merge this before this gets behind development. yay!

@outofambit
outofambit merged commit 9b572aa into development Sep 6, 2019
@billygriffin

Copy link
Copy Markdown
Contributor

Did you mean to say we can use desktop-tutorial-NNN for testing?

@kuychaco I think that's a fair typo assumption based on the code. We might struggle trying to use github-tutorial-NNN 😄

@niik

niik commented Sep 6, 2019

Copy link
Copy Markdown
Member Author

Did you mean to say we can use desktop-tutorial-NNN for testing?

I did, yes 🤦‍♂

@kuychaco
kuychaco deleted the tutorial-feature-flag-and-fake branch September 7, 2019 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-review Pull Requests that are ready to be reviewed by the maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants