diff --git a/pages/stream_app/consts.py b/pages/stream_app/consts.py index 352b338..eb2446a 100644 --- a/pages/stream_app/consts.py +++ b/pages/stream_app/consts.py @@ -1,4 +1,10 @@ -context_icons = [ +source_context_icons = [ + "⛔ not in context", + "🟡 summary", + "🟢 full content", +] + +note_context_icons = [ "⛔ not in context", "🟡 summary", "🟢 full content", diff --git a/pages/stream_app/note.py b/pages/stream_app/note.py index 4a1c5be..8c85523 100644 --- a/pages/stream_app/note.py +++ b/pages/stream_app/note.py @@ -9,7 +9,7 @@ from open_notebook.graphs.multipattern import graph as pattern_graph from open_notebook.utils import surreal_clean from pages.components import note_panel -from .consts import context_icons +from .consts import note_context_icons @st.dialog("Write a Note", width="large") @@ -60,7 +60,7 @@ def note_card(note, notebook_id): context_state = st.selectbox( "Context", label_visibility="collapsed", - options=context_icons, + options=note_context_icons, index=1, key=f"note_{note.id}", ) diff --git a/pages/stream_app/source.py b/pages/stream_app/source.py index 1a2c358..13978b4 100644 --- a/pages/stream_app/source.py +++ b/pages/stream_app/source.py @@ -13,7 +13,7 @@ from open_notebook.exceptions import UnsupportedTypeException from open_notebook.graphs.source import source_graph from pages.components import source_panel -from .consts import context_icons +from .consts import source_context_icons @st.dialog("Source", width="large") @@ -113,7 +113,7 @@ def source_card(source, notebook_id): context_state = st.selectbox( "Context", label_visibility="collapsed", - options=context_icons, + options=source_context_icons, index=1, key=f"source_{source.id}", )