Skip to content

Split hero materials from projects, show topic progress, refresh stars daily - #114

Merged
jsshin2022 merged 4 commits into
mainfrom
hero-materials-projects
Nov 13, 2026
Merged

jsshin2022 merged 4 commits into
mainfrom
hero-materials-projects

Conversation

@jsshin2022

@jsshin2022 jsshin2022 commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

The hero listed the web book and OCE materials twice: once in the right-hand list and again in the open-source tiles. This separates the two.

Materials list (right side), renamed "자료로 바로가기"

  • Now rendered from data/starts.json. Rows backed by a GitHub repository (web book, Awesome Causal Inference, OCE) show its star count; the badge links to the repository and the row links to the material. The two YouTube rows have no badge.
  • Adds Awesome Causal Inference (code book web pages).

Open-source tiles

  • Libraries and agents only: Lang2SQL, 정책 효과 분석 에이전트, ccwr.
  • Star counts are shown for every project, not only those with 10 or more.

Star counts
The weekly stats job has failed since Oct 19: the bot cannot push to the protected main, and the workflow token gets 401 for other repositories' stargazers. Stats are now refreshed into the build on every deploy (daily schedule) instead of being committed, and a 401 is retried without the token. data/stats.json in the repo stays as the fallback.

Library

  • The 18 Awesome Causal Inference items now open the rendered web pages instead of notebooks on GitHub. All 18 URLs return 200.
  • repos.json gets the site link for the repo.

Topic progress in the curriculum

  • Links to materials in the curriculum topics and the library are marked data-opened. A click stores the URL in localStorage (cil-hub-opened, this browser only, nothing is sent).
  • Each level topic shows how many of its materials have been opened, and the topic number fills in. Web book chapters also count when the web book has marked them read (cil-book-read).
  • The library marks opened items "열어봄". It already marked web book chapters "읽음".
  • The rows are updated in place when the reader comes back to the tab, so the list is never redrawn under them.

Hero height

  • Desktop: the Hanbit label sits beside its cards and the gaps are tighter. The banner goes from 556 to 526 px.
  • Mobile: material rows show titles only and the level card is a single row, so the search box is on the first screen at 390×844.

Also in this PR
#113 was merged before its last commits landed, so these hero changes are carried here:

  • open-source tiles restored
  • practitioner videos credited to 인과추론의 데이터과학 채널
  • OCE renamed to 온라인 통제 실험 강의 자료
  • 가짜연구소 links to pseudo-lab.com
  • the level-test card is more compact

Checked at 1440, 1024 and 390 px. axe reports no violations in light or dark mode, and scripts/check_data.py passes.


Generated by Claude Code

These changes were pushed to the hero branch after it was merged: the team's
projects return as tiles under the search, the practitioner videos are credited
to the 인과추론의 데이터과학 channel, the OCE item reads 온라인 통제 실험 강의
자료, the lead is one sentence, and the Pseudo Lab logo and the word 가짜연구소
link to pseudo-lab.com.
- List study materials under one heading with each repo's GitHub stars,
  and add the Awesome Causal Inference code book
- Keep only libraries and agents under the team's open-source tiles
- Link the code book's 18 library items to its web pages
The weekly stats job could not push to the protected main branch, and the
workflow token was refused (401) for other repositories' stargazers, so the
counts stopped at Oct 19. Stats are now written into each build instead of
committed, and a 401 is retried without the token like a 403.
- Materials opened from the curriculum or the library are kept in this
  browser; each level topic shows how many of its materials were opened
  (web book chapters count when the web book marked them read), and the
  library marks opened items
- Desktop hero: the Hanbit label sits beside its cards and gaps shrink
- Mobile hero: material rows show titles only and the level card is one
  row, so the search box fits on the first screen
@jsshin2022 jsshin2022 changed the title Split hero into study materials and open-source projects Split hero materials from projects, show topic progress, refresh stars daily Nov 13, 2026
@jsshin2022
jsshin2022 merged commit 4648487 into main Nov 13, 2026
@jsshin2022
jsshin2022 deleted the hero-materials-projects branch November 13, 2026 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant