Skip to content
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

fix: streamlit sidebar button #2217

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions dlt/helpers/streamlit_app/blocks/menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@
import streamlit as st

from dlt.helpers.streamlit_app.utils import HERE
from dlt.helpers.streamlit_app.widgets import logo, mode_selector
from dlt.helpers.streamlit_app.widgets import mode_selector
from dlt.helpers.streamlit_app.widgets import pipeline_summary


def menu(pipeline: dlt.Pipeline) -> None:
mode_selector()
logo()
st.logo(
"https://cdn.sanity.io/images/nsq559ov/production/7f85e56e715b847c5519848b7198db73f793448d-82x25.svg?q=75&fit=clip&auto=format",
size="large"
)
st.page_link(f"{HERE}/pages/dashboard.py", label="Explore data", icon="🕹️")
st.page_link(f"{HERE}/pages/load_info.py", label="Load info", icon="💾")
pipeline_summary(pipeline)
1 change: 0 additions & 1 deletion dlt/helpers/streamlit_app/widgets/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from dlt.helpers.streamlit_app.widgets.logo import logo
from dlt.helpers.streamlit_app.widgets.stats import stat
from dlt.helpers.streamlit_app.widgets.summary import pipeline_summary
from dlt.helpers.streamlit_app.widgets.tags import tag
Expand Down
46 changes: 0 additions & 46 deletions dlt/helpers/streamlit_app/widgets/logo.py

This file was deleted.

Loading