DivYonko commited on
Commit ·
6909867
1
Parent(s): cdf4792
Fix misleading filter status message - clarify full scan vs cap
Browse files- frontend/streamlit_app.py +1 -1
- pages/comments.py +1 -1
frontend/streamlit_app.py
CHANGED
|
@@ -1030,7 +1030,7 @@ if _show_comments:
|
|
| 1030 |
if _any_filter:
|
| 1031 |
st.markdown(
|
| 1032 |
f'<div style="font-size:0.78rem;color:var(--text-3);margin-bottom:12px;">'
|
| 1033 |
-
f'Showing {len(_filtered)} matching (
|
| 1034 |
unsafe_allow_html=True
|
| 1035 |
)
|
| 1036 |
else:
|
|
|
|
| 1030 |
if _any_filter:
|
| 1031 |
st.markdown(
|
| 1032 |
f'<div style="font-size:0.78rem;color:var(--text-3);margin-bottom:12px;">'
|
| 1033 |
+
f'Showing {len(_filtered)} matching messages (scanned all {_total_scanned}, capped at {msg_limit})</div>',
|
| 1034 |
unsafe_allow_html=True
|
| 1035 |
)
|
| 1036 |
else:
|
pages/comments.py
CHANGED
|
@@ -181,7 +181,7 @@ with _feed_hdr:
|
|
| 181 |
if _any_filter:
|
| 182 |
st.markdown(
|
| 183 |
f'<div style="font-size:0.78rem;color:var(--text-3);margin-bottom:12px;">'
|
| 184 |
-
f'Showing {len(_filtered)} matching (
|
| 185 |
unsafe_allow_html=True
|
| 186 |
)
|
| 187 |
else:
|
|
|
|
| 181 |
if _any_filter:
|
| 182 |
st.markdown(
|
| 183 |
f'<div style="font-size:0.78rem;color:var(--text-3);margin-bottom:12px;">'
|
| 184 |
+
f'Showing {len(_filtered)} matching messages (scanned all {_total_scanned}, capped at {msg_limit})</div>',
|
| 185 |
unsafe_allow_html=True
|
| 186 |
)
|
| 187 |
else:
|