Skip to content

Space: add branded metadata and polish#13

Merged
anthony-maio merged 3 commits into
masterfrom
wt/space-polish
Mar 15, 2026
Merged

Space: add branded metadata and polish#13
anthony-maio merged 3 commits into
masterfrom
wt/space-polish

Conversation

@anthony-maio
Copy link
Copy Markdown
Owner

Summary\n- add branded SVG assets for the Slipstream Lab Space\n- tighten the Overview guidance and keep the current passing test count in sync\n- wire the supported Hugging Face share thumbnail and Gradio favicon path\n\n## Validation\n- PYTHONPATH=src pytest tests -q\n- ruff check hf-space tests/test_hf_space_app_logic.py\n- python -m py_compile hf-space/app.py hf-space/app_logic.py\n- live Space runtime, README thumbnail, favicon, and app HTML smoke checks\n

Add custom social head metadata, lightweight brand SVG assets, and a tighter overview message for the Slipstream Lab Space. Cover the new metadata and asset behavior with focused tests.
Update the Slipstream Lab overview metric to reflect the current 593 passing tests after the metadata and asset polish changes.
Set the Space card thumbnail in README frontmatter and point Gradio's favicon_path at the branded SVG asset so the deployed Hugging Face Space uses the new brand assets through supported paths.
Copilot AI review requested due to automatic review settings March 15, 2026 03:31
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds branded metadata and assets to the Slipstream Lab Hugging Face Space, while tightening the Overview guidance and keeping UI “Passing tests” metrics aligned with the current suite.

Changes:

  • Add branded SVG assets (social card + mark) and verify their presence via tests.
  • Introduce reusable Space metadata helpers (get_head_html, get_overview_markdown) and wire them into the Gradio app.
  • Update HF Space README frontmatter (thumbnail) and refresh displayed passing test count.

Reviewed changes

Copilot reviewed 4 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tests/test_hf_space_app_logic.py Adds coverage for new head/overview helpers and ensures brand assets exist.
hf-space/assets/slipstream-social-card.svg New OG/Twitter social preview card asset.
hf-space/assets/slipstream-mark.svg New favicon/brand mark asset.
hf-space/app_logic.py Adds Space/website constants, updates metrics, and introduces head/overview generators.
hf-space/app.py Uses the new overview markdown helper and wires head + favicon path into Gradio launch.
hf-space/README.md Adds Space thumbnail metadata pointing at the new social card asset.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment thread hf-space/app_logic.py
INVALID_VECTORS = ROOT / "spec" / "conformance" / "invalid.jsonl"
SPACE_RAW_ASSET_BASE = "https://huggingface.co/spaces/anthonym21/slipcore/raw/main/assets"
SPACE_URL = "https://anthonym21-slipcore.hf.space/"
WEBSITE_URL = "https://slipstream.making-minds.ai"
Comment thread hf-space/app_logic.py
<meta name="twitter:description" content="{description}" />
<meta name="twitter:image" content="{SOCIAL_CARD_URL}" />
<meta name="twitter:url" content="{SPACE_URL}" />
<link rel="icon" type="image/svg+xml" href="{FAVICON_URL}" />
@anthony-maio anthony-maio merged commit d96d5ef into master Mar 15, 2026
9 checks passed
@anthony-maio anthony-maio deleted the wt/space-polish branch March 15, 2026 03:36
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.

2 participants