-
Notifications
You must be signed in to change notification settings - Fork 555
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
Codelab UI - initial setup #1807
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
domesticmouse
approved these changes
Apr 3, 2021
lib/codelabs/src/github.dart
Outdated
import 'package:meta/meta.dart'; | ||
|
||
import 'codelab.dart'; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: less whitespace?
johnpryan
added a commit
that referenced
this pull request
Apr 20, 2021
* Codelab UI - initial setup (#1807) * initial setup * setup YAML parsing * format * load codelab files * move logic into CodelabUi class, start stubbing out code * Set up right panels * Add CodeMirror editor * Add CodelabState * fix HTML * Add step buttons * remove print * Load code and update when the step changes * Add run button and console panel * add flutter_codelab * Ignore /example/codelabs directory in analysis and builders * Add tabs to console panel * Get flutter compilation working * add TODO * exclude codelabs in dart_source_cleanup build step * remove whitespace * Add Github codelab fetcher (#1811) * Add GithubCodelabFetcher * make gh_ref and gh_path optional query parameters * Add show solution button to Codelab UI (#1819) * add codelabs.html to allowed files in main.py * Add show solution button * Run 'dart format --fix .' * remove unused top-level variable * remove lib/codelabs/src/meta.g.dart * Revert "remove lib/codelabs/src/meta.g.dart" This reverts commit 3353d19. * add --delete-conflicting-outputs to grind build task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds the bare-bones codelab UI with step features and compilation. (#1763)
Testing
Check out this branch and serve:
Open a codelab
web/example/codelabs
: