@robmarkcole. Nice app! I think it would be cool if the wide view was forced. The table would look better as a result?
@TomJohn I agree that looks better! I was also hoping to make the url’s clickable, but despite experimentation, was not able to achieve that. Would you recommend making these changes in streamlit, or are there external plugins which would be suitable? Thanks!
As for wide layout it is quite simple:
st.set_page_config - Streamlit Docs
Regarding clickable links: maybe
this will help?
Thanks I just implemented with wide table
Re that thread I tried the suggestions without success. Bit frustrating that the thread was then closed
February 1, 2023, 10:10am
As this (i.e. links in a table) is a thing that I would like to able to do I will look into it in the evening
have a great day!
February 1, 2023, 10:52am
I already found some useful articles with your app. Sure I could use their native search but more fun this way. So many possibilities to extend it…
The app has lots of scope for improvement, particularly making the search more fully featured (multiple queries, on category etc). Another idea is that in addition to github url, to find url for popular dataset locations like Zenodo.
February 1, 2023, 11:18am
@robmarkcole after some reasearch I see that it currently not possible to show links in st.dataframe, here is a link to github issue: Display clickable links in st.dataframe or st.table · Issue #983 · streamlit/streamlit · GitHub it is in open status.
As for workarounds it seems that there three options:
Use static table
all of above discussed here:
How to display a clickable link pandas dataframe - #2 by mathcatsand
Just trying ag-grid, perhaps some special args are required but out of the box the links are not clickable
February 1, 2023, 1:27pm
Yes, for AdGrid it requries some JS in cellRenderer
How to display a clickable link pandas dataframe - #5 by edsaac
import streamlit as st
import pandas as pd
from st_aggrid import AgGrid, JsCode, GridOptionsBuilder
df = pd.DataFrame(
"Site": "DuckDuckGo Google Bing".split(),
"URL": "https://duckduckgo.com/ https://www.google.com/ https://www.bing.com/".split(),
gb = GridOptionsBuilder.from_dataframe(df)
return '<a href=' + params.value + ' target="_blank"> 🖱️ </a>'
gridOptions = gb.build()
AgGrid(df, gridOptions=gridOptions, allow_unsafe_jscode=True)
That approach does work, although it is not displaying the url which is a bit confusing
February 1, 2023, 1:40pm
if you replace return line to:
return '<a href=' + params.value + ' target="_blank">'+ params.value +'</a>'
it will work
Thanks, the result is very nice!
February 1, 2023, 5:04pm
@robmarkcole you may consider custom subdomain for your app Deploy an app - Streamlit Docs
Nice suggestion! Will the old url redirect?
I did make a feature request about redirecting renamed apps a while back if anyone is interested in voting on that. It’s something that pops up on the forum from time to time, but doesn’t seem to have any traction as a feature request yet.
12:18AM - 17 Dec 22 UTC
When someone renames an app on Streamlit Community Cloud, old links
… break. (Mentioned on the forums but I couldn't find the official feature request here. Sorry if I missed it.)
**MVP:** Redirect old links to the current one (or more specifically the last n links for some reasonable count n).
**Possible additions:** Allow users to manage a list of redirects for each app so they can make tweaks to their app url without worry. Especially if the number of redirects is small, this would allow users to prioritize which previous app url(s) are important to keep in the event of typos while editing.
**Preferred solution:** Even better, allow users to control app name redirects at the account level, and even be able to transfer them to other users, so that in the event of something significant like a re-deployment or transfer of ownership, there wouldn't be the risk of losing your app link.
Streamlit Cloud, Streamlit Community Cloud, Streamlit Share, Redirects, App URL, App Link, Renaming
Community voting on feature requests enables the Streamlit team to understand which features are most important to our users.
**If you'd like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.**
I have renamed the repo and tried to select the below name, but for some reason it is not available, despite there being no app with this name:
February 2, 2023, 8:07pm
For some reason custom domain settings page really does not like “hub” in app name
Anyone knows why?