Comments (12)
As a note, I think we should keep the 'hide' option. It's good for the 'solutions'. It just seems less useful for the 'challenge' and maybe also 'discussion'.
You can see what this looks like at the bottom of this lesson
http://www.datacarpentry.org/sql-ecology-lesson/03-sql-joins-aliases/
from lesson-example.
I'm also +1 for challenges shown by default and solutions hidden by default.
Not to veer too off-topic, but it might also be nice to provide a "show / hide all challenges" link to show or hide all challenges at once.
from lesson-example.
With the challenges being click to open, there has been some confusion about where the challenges are until people realize they need to click on the arrow.
I don't have any training in user experience/user interface so I can't what we should use and I fail to locate the issue where I and @gvwilson talked about hide or not the challenges and other call out boxes. What I remember is that the decision to hide challenges and call out boxes was to not "distract" self-learners and workshop attendees from the main lesson/text.
Should that be the default behavior in the template?
I think that all Carpentry lessons should have the same fell. We should hide challenges in all or don't do it in any.
If people prefer to have un-hide challenges by default I would request to un-hide all the call out boxes for sake of consistence and reduce our code base.
from lesson-example.
Thanks @rgaiacs then I would advocate for unhiding them by default. In discussion sections we've had people mention it as an issue. Since they already look separate in their box, they don't seem to be a distraction in the flow of reading. Happy to put in a PR if this is the decision.
from lesson-example.
Happy to put in a PR if this is the decision.
I can do the PR but I want to ask more people about their preferences. I will copy you on the email.
from lesson-example.
I'm okay with show by default with a hide button
from lesson-example.
I like to show challenges by default and hide solutions by default. The aliases example looks good @tracykteal
from lesson-example.
I think the solutions should be within the challenge callout box - as they currently are. This looks neater. The SQL lesson has them as a separate box.
I don't feel strongly about whether the question is shown or hidden by default, or whether it is hidable at all.
from lesson-example.
You're right it is better to have them together and agree that should be the default. I put in a PR. That update is viewable here http://tracykteal.github.io/sql-ecology/03-sql-joins-aliases/
PR is merged, so the example has the solution in the same box as the challenge.
from lesson-example.
I'm +1 for challenge shown by default and answers to challenges hidden by default.
from lesson-example.
So far the we have
Show by default (with questions hide)
Resolution
I'm sending a pull request soon.
from lesson-example.
Close by #120.
from lesson-example.
Related Issues (20)
- migrate setup-ruby from actions to ruby HOT 4
- 404 page does not render correctly for any arbitrary invalid URL HOT 4
- Silent syntax error in Rmd example HOT 2
- Problematic templating issue in code blocks HOT 2
- Document katex math support HOT 4
- Broken link Github where to contribute page HOT 1
- Teaching Time versus Teaching Times? HOT 3
- "weekly styles update" notification HOT 2
- Change output in weekly workflow from `wf` to `workflow`
- `make serve` gives warning about python venv HOT 6
- How to link to episode from setup? HOT 5
- Explain purpose of `files`, `code`, and `data` folders HOT 2
- Adding a "last updated" element to any page or episode in a lesson
- Reference-style links don't work in keypoints HOT 1
- Should code boxes show a prompt?
- Include style guidance for button labels
- Ubuntu setup - additional steps required to install homebrew
- Ubuntu setup - clarify step to check rbenv version
- Syntax highlighting methods HOT 1
- Adding `.caution` to the list of special blockquotes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lesson-example.