Repository navigation
Skill: what the UI/UX review changed for a lesson author - #10
Merged
Merged
Conversation
lesson-kit.md now describes the page as it is after #3-#9 (LeetCode links past a divider, the sticky transport and wrapping strip, part 3 folding to the chosen approach) and adds the rules a lesson can still break: - mode ids and control keys are in every shared link; parse(format(v)) must give back v - a rejection message is a short phrase - modes[0] is what 2·2 and part 3 open on - a custom stage's headings are <h5 class="as-h3"> - empty says what it waits for; slots()/blank()/stageEmpty(), and a dot only as notation - a widget's own clickable elements are 40px tall on touch SKILL.md gains one judgement call: a kit change is measured on every lesson before choosing, with a before/after when it changes how pages look.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🚀 Deploying Preview to Cloudflare 🚀Preview Deployments by commit
|
This file contains hidden or 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
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.
What this changes
After the UI/UX review (#3–#9), the
leetcode-solution-pageskill described parts of the page that no longer exist, and it didn't mention the few rules a lesson can still break. Nearly all of the fixes live in the kit, so a new page gets them without the skill saying anything. This PR only adds what an author needs to know.references/lesson-kit.mdBrought up to date:
New rules, each placed next to the part of the page it's about:
parse(format(v))gives backvfor every control.modes[0]is the approach 2·2 and Part 3 open on, so it should be the one a reader meets first.<h5 class="as-h3">, which keeps the page outline unbroken.slots()orblank(). A·is only for notation such as an empty board square or a cell not computed yet.SKILL.mdOne new judgement call: measure a kit change on every lesson before choosing it, and show a before/after when it changes how pages look. This comes from #8, where the Part 1 fix that suited x-sum would have made most pages worse.
Checked
Every name the new text mentions exists in the code:
blankinstage.js,.emptyand.as-h3in the CSS,stageEmptyinkit.js, and the query parameters instepper.js.The follow-up PR moves the checks behind these rules into
npm run audit, and updates the "Checking" section here andCONTRIBUTING.mdto match.