-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changed image links #226
Changed image links #226
Conversation
The images now only link to the workflow but it's a bit finicky. I tried the method similar recommending workflows method but the formatting was weird even when adding the classes |
explore.py
Outdated
@@ -29,23 +30,23 @@ def _render_as_featured(page_cls): | |||
page = page_cls() | |||
state = page.recipe_doc_sr().to_dict() | |||
# total_runs = page.get_total_runs() | |||
render_image(page, state) | |||
with gui.link(to=page.app_url()): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use href as per below
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
explore.py
Outdated
@@ -37,15 +37,15 @@ def render_image(page, state): | |||
gui.image( | |||
page.get_recipe_image(state), | |||
href=page.app_url(), | |||
style={"border-radius": 5}, | |||
style={"border-radius": 5, "pointer-events": "none"}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think you need this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
Already included in https://github.com/GooeyAI/gooey-server/pull/228/files? |
Asana: https://app.asana.com/0/1203067047205953/1205998067797202
Q/A checklist
poetry export -o requirements.txt
)