tc39 / tc39/tc39.github.io

Show Example indicator

Open
#105 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

design
Dominant language
HTML
Stars
336
Forks
63
Avg merge
12h
Merged PRs (30d)
8

Description

For examples, we add a section that says "show example" which indicates that clicking it will expand into a long code block:

This was mentioned in #101

It is currently not ideal. If anyone has ideas about how to adjust this, let's iterate on it. I tried what was suggested in #101, but I found that pulling it to the right moved it out of sight line when reading the descriptions.

Current version:

screenshot 2019-03-04 at 14 33 19

Closed
screenshot 2019-03-04 at 14 31 43

Open
screenshot 2019-03-04 at 14 31 37

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review issue #101 and the current, closed, and open screenshots in this issue to understand the existing “show example” indicator and the reported sight-line problem. Done means agreeing on a specific placement or presentation and updating the example sections accordingly.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
design, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.