Skip to content

Feature/update server #69

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

Merged
merged 12 commits into from
Jan 11, 2020
Prev Previous commit
Next Next commit
cleanup version/summary changes
  • Loading branch information
ShMcK committed Jan 11, 2020
commit d481dd0bf4da7a1354a692042f8743e8ea59e2c8
2 changes: 1 addition & 1 deletion web-app/src/containers/Overview/OverviewPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const Summary = ({ title, description, levels, onNext }: Props) => (
<h4>
{index + 1}. {level.title}
</h4>
<div>{level.description}</div>
<div>{level.summary}</div>
</div>
))}
</div>
Expand Down
4 changes: 2 additions & 2 deletions web-app/src/containers/Overview/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ interface TutorialData {

interface TutorialDataVariables {
tutorialId: string
version: string
// version: string
}

const Overview = (props: PageProps) => {
Expand All @@ -30,7 +30,7 @@ const Overview = (props: PageProps) => {
fetchPolicy: 'network-only', // to ensure latest
variables: {
tutorialId: tutorial.id,
version: tutorial.version.version,
// version: tutorial.version.version, // TODO: re-enable latest
},
})

Expand Down
2 changes: 1 addition & 1 deletion web-app/src/services/apollo/queries/tutorial.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default gql`
levels {
id
title
# summary # TODO: reimplement later
summary
content
setup
steps {
Expand Down
4 changes: 2 additions & 2 deletions web-app/src/services/state/actions/editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ interface TutorialData {

interface TutorialDataVariables {
tutorialId: string
version: string
// version: string
}

export default {
Expand All @@ -38,7 +38,7 @@ export default {
query: tutorialQuery,
variables: {
tutorialId: context.tutorial.id,
version: context.tutorial.version.version,
// version: context.tutorial.version.version, // TODO: reimplement version
},
})
.then(result => {
Expand Down