Replace Notion roadmap backend with GitHub - #26
Open
lukasmasuch wants to merge 1 commit into
Open
Conversation
There was a problem hiding this comment.
Pull request overview
This PR migrates the roadmap app’s data source from Notion to GitHub, building the UI from GitHub milestones/issues and open non-draft change:spec PRs, with optional issue summaries loaded from a generated CSV.
Changes:
- Add a GitHub-backed roadmap loader (
github_roadmap.py) with pagination, filtering, and optional CSV summaries. - Rebuild the Streamlit UI to render releases/planned/specs with containers, badges, icons, and lazy past-release loading.
- Add label→Material icon mapping plus unit tests; update docs and dependencies accordingly.
Reviewed changes
Copilot reviewed 6 out of 9 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
github_roadmap.py |
Implements GitHub API client, roadmap assembly, and CSV summary loading. |
streamlit_app.py |
Replaces Notion UI with GitHub-backed rendering, caching, and lazy past releases. |
roadmap_icons.py |
Adds deterministic label→Material icon mapping with fallbacks. |
tests/test_github_roadmap.py |
Adds unit tests covering pagination, filtering, roadmap construction, and summaries. |
tests/test_roadmap_icons.py |
Adds unit tests for icon mapping behavior and coverage. |
tests/__init__.py |
Test package marker. |
requirements.txt |
Drops Notion client and adds Requests for GitHub/CSV fetching. |
README.md |
Updates documentation for GitHub data model and local setup with uv + token. |
.gitignore |
Ignores environment-specific agent skill symlinks. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+18
to
+21
| ISSUE_SUMMARIES_URL = ( | ||
| "https://raw.githubusercontent.com/streamlit/st-issues/refs/heads/main/" | ||
| "static/github_issues_open_cleaned_all_summarized.csv" | ||
| ) |
Comment on lines
+325
to
+331
| request_session = session or requests.Session() | ||
| try: | ||
| response = request_session.get( | ||
| ISSUE_SUMMARIES_URL, | ||
| headers={"User-Agent": "streamlit-roadmap"}, | ||
| timeout=REQUEST_TIMEOUT, | ||
| ) |
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.
Summary
change:specpull requestsuvenvironment setup and GitHub token configurationTesting
uvx ruff format --check github_roadmap.py roadmap_icons.py streamlit_app.py testsuvx ruff check github_roadmap.py roadmap_icons.py streamlit_app.py tests.venv/bin/python -m unittest discover -s tests -v