Skip to content

Show extra host links in preview pages and task detail#147

Open
fedacking wants to merge 3 commits intomainfrom
preview-extra-urls
Open

Show extra host links in preview pages and task detail#147
fedacking wants to merge 3 commits intomainfrom
preview-extra-urls

Conversation

@fedacking
Copy link
Copy Markdown
Contributor

Summary

  • Read extraHosts from preview .meta files on the backend and expose them as extra_urls on the Preview model
  • Display extra host links on the Previews list page, Preview detail page, and Task detail preview tab
  • Each extra URL is rendered as a labeled external link button/anchor

Test plan

  • Verify extra host links appear on the Previews list for previews with .meta files containing extraHosts
  • Verify extra host links appear in the Preview detail page header
  • Verify extra host links appear in the Task detail preview tab toolbar
  • Verify pages still render correctly when no extra hosts are configured

🤖 Generated with Claude Code

Read extraHosts from preview-config.nix metadata files and expose
them as extra_urls on the Preview API response. The previews list
shows compact inline links and the detail page shows them as buttons.
Fetch preview metadata to display extra host URLs (admin, demo, etc.)
alongside the main preview URL in the task detail preview tab header.
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