-
Notifications
You must be signed in to change notification settings - Fork 13
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
Revert Terminal Instructions experiment for Shell stage 1 and 2 #2540
Conversation
WalkthroughThis pull request removes terminal-specific instructions and related feature flag logic across multiple files in the course stage components. The changes simplify the user interface by eliminating conditional rendering of terminal instructions, removing computed properties related to terminal interactions, and updating the short instructions markdown for course stages. The modifications appear to be part of a broader simplification of the terminal instruction feature. Changes
Possibly related PRs
Poem
Finishing Touches
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Actionable comments posted: 0
🧹 Nitpick comments (1)
app/models/course-stage.ts (1)
147-147
: Consider enhancing instruction clarity.While the simplified instructions are good, we could make them even clearer by specifying that students need to match the exact error message format.
Consider updating the instructions to:
-In this stage, you'll handle invalid commands in your shell. For now, treat all commands as invalid. +In this stage, you'll handle invalid commands in your shell. For now, treat all commands as invalid and ensure you match the exact error message format shown below:
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (6)
app/components/course-page/course-stage-step/first-stage-tutorial-card.hbs
(1 hunks)app/components/course-page/course-stage-step/first-stage-tutorial-card.ts
(0 hunks)app/components/course-page/course-stage-step/second-stage-tutorial-card.hbs
(1 hunks)app/components/course-page/course-stage-step/second-stage-tutorial-card.ts
(0 hunks)app/models/course-stage.ts
(1 hunks)app/services/feature-flags.js
(0 hunks)
💤 Files with no reviewable changes (3)
- app/components/course-page/course-stage-step/first-stage-tutorial-card.ts
- app/services/feature-flags.js
- app/components/course-page/course-stage-step/second-stage-tutorial-card.ts
🔇 Additional comments (2)
app/components/course-page/course-stage-step/second-stage-tutorial-card.hbs (1)
5-7
: Clean implementation of simplified instructions rendering!The changes effectively streamline the UI by removing the experimental terminal instructions while maintaining the core functionality. The simplified markup properly handles both shell and non-shell course instructions.
app/components/course-page/course-stage-step/first-stage-tutorial-card.hbs (1)
4-7
: LGTM! Instructions are now clearer and more straightforward.The simplified instructions provide a clearer direction to users without the experimental terminal-specific content, which aligns well with the PR's revert objective.
Let's verify that all related terminal instruction code has been properly removed:
Codecov ReportAll modified and coverable lines are covered by tests ✅ ✅ All tests successful. No failed tests found. Additional details and impacted files📢 Thoughts on this report? Let us know! |
Checklist:
[percy]
in the message to trigger)Summary by CodeRabbit
Removed Features
Documentation
Refactor