File tree Expand file tree Collapse file tree 1 file changed +25
-8
lines changed
builder-frontend/src/components/project Expand file tree Collapse file tree 1 file changed +25
-8
lines changed Original file line number Diff line number Diff line change 11import { createSignal } from "solid-js" ;
22import { useParams } from "@solidjs/router" ;
33import { publishScreener } from "../../api/screener" ;
4+ import Tooltip from "../shared/Tooltip" ;
45
56export default function Publish ( { project, refetchProject } ) {
67 const [ isLoading , setIsLoading ] = createSignal ( false ) ;
@@ -72,14 +73,30 @@ export default function Publish({ project, refetchProject }) {
7273 </ div >
7374 </ div >
7475 < div class = "mt-4 flex flex-col gap-2" >
75- < button
76- id = "publish-screener-button"
77- onClick = { handlePublish }
78- class = "w-80 bg-gray-800 font-bold text-gray-50 rounded px-4 py-2 hover:bg-gray-700 disabled:opacity-50"
79- disabled = { isLoading ( ) }
80- >
81- Publish Screener
82- </ button >
76+ < div class = "flex flex-row gap-2 items-center" >
77+ < button
78+ id = "publish-screener-button"
79+ onClick = { handlePublish }
80+ class = "w-80 bg-gray-800 font-bold text-gray-50 rounded px-4 py-2 hover:bg-gray-700 disabled:opacity-50"
81+ disabled = { isLoading ( ) }
82+ >
83+ Publish Screener
84+ </ button >
85+ < Tooltip >
86+ < p >
87+ The Publish tab is where you deploy your screener to a publicly
88+ accessible URL that you can share with end users.
89+ </ p >
90+ < p >
91+ < a
92+ href = "https://bdt-docs.web.app/user-guide/#7-publishing-your-screener"
93+ target = "_blank"
94+ >
95+ Read about publishing your screener in the docs
96+ </ a >
97+ </ p >
98+ </ Tooltip >
99+ </ div >
83100 { lastPublishDate ( ) ? (
84101 < div > Publish current working version to your public screener</ div >
85102 ) : (
You can’t perform that action at this time.
0 commit comments