Repository navigation
Add a lounge and open the hub with a question box and tabs - #123
Open
jsshin2022 wants to merge 5 commits into
Open
jsshin2022 wants to merge 5 commits into
jsshin2022 wants to merge 5 commits into
Conversation
The lounge shows this repo's GitHub Discussions: four boards (질문, 공유, 회고, 소식), the newest five on the home page and all of them on lounge.html. scripts/build_lounge.py reads them with GITHUB_TOKEN on every deploy, and the deploy workflow now also runs when a discussion or a comment changes. Posts with spam words, messenger contact links, or links from brand-new accounts are left out of the feed and listed in the job log; a spam or hidden label takes a post off the hub. The hub name, share image and live-host list move to Pseudo Lab Data Hub and datahub.pseudo-lab.com.
The hero search becomes a question box: suggestions now include lounge posts, and the last line offers to post the typed words as a new question. Under the hero, 커리큘럼, 라운지, 자료, 연재 and a new 레포 소식 panel (team GitHub activity grouped by person, repo and day) are tabs, with the curriculum open by default; links to a panel open its tab first. The lounge page shows posts as tiles with a count on each board tab. The name, share image and live hosts go back to the Causal Inference Hub and causalinference.pseudo-lab.com.
… test The level test card, the materials list, the open source cards and the Hanbit book and lecture leave the hero. The last three now open the 자료 tab, and the level test is a single link under the popular topics; the curriculum's test card shows only once a level has been found. Hanbit clicks from the new spot are counted with placement materials_tab.
…ab first The hero gets its right column back with the main materials list. Under it, 라운지 is now the first tab and the one shown on arrival; 커리큘럼 moves to second. The open source cards and the Hanbit book and lecture stay at the top of the 자료 tab.
…ones The lounge rows now read like search results: author and board on one line, the title, two lines of text. Published 연재 posts join the list under a 연재 board, and posts with "pin": true stay on top; the book release note and the errata post are pinned. One write button replaces the four board cards, the waiting-questions box and the sort are gone, and the posting rules fold into a details block.
This branch has not been deployed
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.
Adds a lounge where anyone with a GitHub account can ask, share, and write retrospectives, and opens the hub with a question box. Posts live in this repo's GitHub Discussions; the hub only reads them. The hub keeps the Causal Inference Hub name.
Home
materials_tab. Header links and#lounge-style links open their tab first; jumping to a level or an item from the level test opens 커리큘럼. Builder and 행사 stay as sections below.data/activity.json, one line per person, repo, kind and day (e.g. "PR 43개를 올렸습니다" with the first title).Lounge page
lounge.html: a 전체 / 연재 / board filter, the same plain list, newest first, and the posting rules folded under a details block.data/articles.jsonjoin the list under a 연재 board, so the lounge is not empty before the first discussion. Posts with"pin": truestay on top; the book release note and the errata post (원서에서 찾은 오류와 처리한 방법) are pinned.data/builders.jsonshow their name and a Builder mark. Questions show 답변 채택 or 답을 기다려요.Feed and spam
scripts/build_lounge.pyreads the latest 60 discussions through GraphQL withGITHUB_TOKENand writesdata/lounge.json(30 shown). Links and avatars are kept only when they point at this repo's discussions and GitHub avatars.spamorhidden. Each is listed in the job log with the reason; nothing is deleted on GitHub.deploy.ymlalso runs ondiscussionanddiscussion_commentevents and getsdiscussions: read.lounge_write,lounge_open,lounge_more,lounge_filter,home_tab,repo_news_open. They useplacement, notsource.After merging
질문(Question / Answer),공유,회고,소식(Open-ended discussion). The hub matches boards by these names.Checked
build_lounge.py --fromwith a sample answer: 5 posts kept; the gambling post, the loan contact post and the labeled post left out.#topics/#postsdeep links,?level), lounge, library, article, game, lab, 404 and Builder pages at 1440 and 390 px in light and dark: no console errors.check_data.pypasses.?c=연재filter and#rulesopen the right state.Generated by Claude Code