instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
streamlit__streamlit__13900
streamlit/streamlit
13,900
defect
a49f31ca68829f467ed0685693a401ab5c162276
8269866bb67c0779413857b4826af4e6caef65d3
Bind widgets to query params - `st.checkbox` & `st.toggle`
## Describe your changes Adds the bind parameter to `st.checkbox` & `st.toggle` to enable two-way sync between widget values and URL query parameters. Also includes clean up / improvements from the `st.color_picker` implementation: - Default values cleared from URL on seed — if the URL contains a value that matche...
diff --git a/e2e_playwright/st_checkbox.py b/e2e_playwright/st_checkbox.py index 82b195384fd..dd9e5342886 100644 --- a/e2e_playwright/st_checkbox.py +++ b/e2e_playwright/st_checkbox.py @@ -105,3 +105,20 @@ def on_change(): kwargs={"param": "initial kwarg param"}, ) st.write("Initial checkbox state:",...
3
2
1
[{"id": "G0", "claim": "The 'clear default values' logic skips clearing when url_value is empty, which for clearable widgets whose default is also empty leaves a default-value param in the URL, contradicting the comment and shouldClearUrlParam's documented behavior; either clear the param when deserialized_value == def...
null
streamlit__streamlit__13906
streamlit/streamlit
13,906
defect
d55cd7d1d7be97751ef318de1135d92b4e7e2115
9cdb0f4e8a14964a97c8f284cab7e57b89072baf
[feat] Support running multiple `make debug` sessions simultaneously
## Describe your changes Improved the `make debug` command to support multiple concurrent debug sessions: - Each debug session now uses a dedicated directory for logs (`work-tmp/debug/<session>/`) - Added a `latest` symlink that points to the most recent session - Automatically selects available ports in the ...
diff --git a/.claude/skills/debugging-streamlit/SKILL.md b/.claude/skills/debugging-streamlit/SKILL.md index 17a6dcfdd6f..6b4ab894f6c 100644 --- a/.claude/skills/debugging-streamlit/SKILL.md +++ b/.claude/skills/debugging-streamlit/SKILL.md @@ -11,7 +11,7 @@ description: Debug Streamlit frontend and backend changes usi...
16
10
3
[{"id": "G0", "claim": "There is a TOCTOU race between checking that FRONTEND_PORT is free and starting Vite on it minutes later, so if another process grabs the port during the backend startup wait the debug session breaks even though Vite fails cleanly.", "category": "correctness", "verdict": "supported", "priority":...
null
streamlit__streamlit__13910
streamlit/streamlit
13,910
defect
c7569d183327ee44348da98c46af0d2f54bb55c6
11e9015950760a1d6277ec7a2cba8e615935a5f1
[DynamicContainers] Dynamic Tabs
## Describe your changes Test Demo App: https://dynamic-tabs.streamlit.app/ **Stacked on #13867.** Adds `key` and `on_change` parameters to `st.tabs`, enabling stateful, lazily-executed tabs. When `on_change="rerun"`, switching tabs triggers a rerun and each tab's `.open` property returns `True` for the active...
diff --git a/e2e_playwright/st_tabs.py b/e2e_playwright/st_tabs.py index cedec5bebe7..a16d46840ad 100644 --- a/e2e_playwright/st_tabs.py +++ b/e2e_playwright/st_tabs.py @@ -85,3 +85,80 @@ def hello(): """, height="stretch", ) + +# ============================================================================ +# Dy...
27
17
3
[{"id": "G0", "claim": "Including activeTabKey in the programmatic-sync useEffect's dependency array makes the effect body re-run as a no-op on every user tab click; remove it from the array or restructure the logic.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "unclear"}, {"id": "G1"...
null
streamlit__streamlit__13914
streamlit/streamlit
13,914
defect
6704284fcd1ff137390783af70120a15d17a5b73
e389db8814b90d9f4c6d5645db9cf82067391f14
[DynamicContainers] Dynamic Popovers
## Describe your changes Test App: https://dynamic-popover.streamlit.app/ **Stacked on #13867.** Adds `open`, `key`, and `on_change` parameters to `st.popover`, enabling stateful, lazily-executed popovers. When `on_change="rerun"`, opening or closing a popover triggers a rerun and the `.open` property returns ...
diff --git a/e2e_playwright/st_popover.py b/e2e_playwright/st_popover.py index c17f2c13c6a..021463273d3 100644 --- a/e2e_playwright/st_popover.py +++ b/e2e_playwright/st_popover.py @@ -83,3 +83,53 @@ with st.popover("popover 19 (tertiary)", type="tertiary"): st.markdown("Dummy content") + +# ===================...
10
8
0
[{"id": "G0", "claim": "popover_proto.open is set unconditionally for all popovers, so non-stateful (on_change=\"ignore\") popovers send open=False even though the field should be left unset, and the assignment should be moved inside the is_stateful block.", "category": "design", "verdict": "uncertain", "priority": "P2...
null
streamlit__streamlit__13917
streamlit/streamlit
13,917
defect
e91dc7e3ca56961e0c5471a8bf3912cbc4cfc749
40e43910828baefeb7e166d51d1b70072002c248
Bind widgets to query params - `st.number_input`
## Describe your changes Adds the bind parameter to `st.number_input` to enable two-way sync between widget values and URL query parameters. **Key changes:** - Added `bind="query-params"` support to `st.number_input` - Invalid (out of bounds, non-numeric) URL values are caught during deserialization and the query...
diff --git a/e2e_playwright/st_number_input.py b/e2e_playwright/st_number_input.py index 2b1ab4a3000..afef3b812c6 100644 --- a/e2e_playwright/st_number_input.py +++ b/e2e_playwright/st_number_input.py @@ -175,3 +175,31 @@ def on_change(): key="number_input_19", ) st.write(f"number input 19 (small step decrement)...
1
1
1
[{"id": "G0", "claim": "Out-of-range values seeded from URL query params should be handled the way all other widgets handle invalid values - by resetting the widget to its default rather than clamping to min/max - or at least the author should double-check that query-param seeding warrants different behavior.", "catego...
null
streamlit__streamlit__13922
streamlit/streamlit
13,922
defect
f345cbe8034719a134f067c2ed5234c4090658b9
8f14e73e887b56890c164ff1be33d4fe8f0e3b5f
Bind widgets to query params - `st.radio` & `st.selectbox`
## Describe your changes Adds the bind parameter to `st.radio` & `st.selectbox` to enable two-way sync between widget values and URL query parameters. **Key changes:** - Added `bind="query-params"` support to `st.radio` and `st.selectbox` - Added centralized validation in `_seed_widget_from_url` to reject invalid...
diff --git a/e2e_playwright/st_radio.py b/e2e_playwright/st_radio.py index 8128c7eadcc..79b95296677 100644 --- a/e2e_playwright/st_radio.py +++ b/e2e_playwright/st_radio.py @@ -174,3 +174,31 @@ def on_change(): format_func=lambda x: x.capitalize(), ) st.write("Initial radio value:", dr_value) + +# --...
2
1
0
[{"id": "G0", "claim": "The 'Next' comment in proto/streamlit/proto/Selectbox.proto should be changed from '// Next: 16' to '// Next: 15', since the highest field number in use is 14.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new formatte...
null
streamlit__streamlit__13935
streamlit/streamlit
13,935
defect
1146ce95947ae572c48f686ac82af8028556aab3
2a68dfeba7db3c0e9072399cc9b79f1023caf33b
[fix] Add selection support for treemap and sunburst in `st.plotly_chart`
## Describe your changes - Adds `onClick` handler to capture click events from treemap and sunburst charts - Hierarchical charts don't emit `plotly_selected` events, but do emit `plotly_click` events - Selection data sent with consistent format including `id`, `parent`, `label`, `value`, and hierarchy-specific fields ...
diff --git a/e2e_playwright/st_plotly_chart_select.py b/e2e_playwright/st_plotly_chart_select.py index 3a57f78c633..d472780e355 100644 --- a/e2e_playwright/st_plotly_chart_select.py +++ b/e2e_playwright/st_plotly_chart_select.py @@ -167,3 +167,46 @@ def histogram_callback(): st.write(f"Selected points: {len(filter...
7
3
1
[{"id": "G0", "claim": "The click handler processes hierarchical chart clicks without verifying that the selection mode includes POINTS (onClick is gated on any non-empty selection mode), so a chart configured with selection_mode=[\"box\"] or [\"lasso\"] can still emit click-based point selections on treemap/sunburst; ...
null
streamlit__streamlit__13939
streamlit/streamlit
13,939
defect
6704284fcd1ff137390783af70120a15d17a5b73
7a4a0aa4cf7da4bd4d591d851dc52661812733f7
[feat] Complete incomplete markdown syntax during streaming
## Describe your changes - Add internal `_markdown` method with `unterminated_parsing` parameter for streaming support - Add `unterminated_parsing` proto field to control frontend markdown completion behavior - Integrates the `remend` package to automatically close unclosed markdown syntax (e.g., `**bold`, `` `code ``...
diff --git a/NOTICES b/NOTICES index 680407ae8e0..7c0d8dff736 100644 --- a/NOTICES +++ b/NOTICES @@ -12133,6 +12133,24 @@ THE SOFTWARE. ----- +The following software may be included in this product: remend. A copy of the source code may be downloaded from git+https://github.com/vercel/streamdown.git. This software...
8
4
0
[{"id": "G0", "claim": "The incomplete-bold E2E test should add a negative assertion that the raw markdown syntax (\"**\") is not visible in the output after streaming completes.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The incomplete-code-block E...
null
streamlit__streamlit__13979
streamlit/streamlit
13,979
defect
19f00750ce0d0af402dc9728e8777cee3200bbdc
566ca4b1d0426550d208a87f02199e902cf729a0
Bind widgets to query params - `st.slider` & `st.select_slider`
## Describe your changes Adds the bind parameter to `st.slider` and `st.select_slider` to enable two-way sync between widget values and URL query parameters. **Key changes:** - Range values use repeated URL parameters (e.g., `?key=10&key=90` or `?key=red&key=blue`). - **Out-of-range handling for `st.slider`:** Bo...
diff --git a/e2e_playwright/st_select_slider.py b/e2e_playwright/st_select_slider.py index 75ead4f4337..d1c022811f8 100644 --- a/e2e_playwright/st_select_slider.py +++ b/e2e_playwright/st_select_slider.py @@ -236,3 +236,38 @@ def test_fragment(): key="markdown_options_select_slider", ) st.write("Markdown option ...
8
7
4
[{"id": "G0", "claim": "Add an E2E test for a range slider URL value where one entry is out of bounds, to verify the whole range resets to the default when only one value is invalid.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add an E2E test verifyi...
null
streamlit__streamlit__14005
streamlit/streamlit
14,005
defect
e1c63e7268130e878815cd7de3849705f6eaa3b9
d1f918c1d3c38da831175c66fb3a9a43509ed3c4
Fix st.Page accepting slash-only url_path without raising exception
## Describe your changes `st.Page` accepted `url_path` values consisting only of slashes (e.g., `"/"`, `"///"`) without raising a `StreamlitAPIException`. The existing validation only checked for whitespace-only strings via `strip()`, but slash-only strings passed that check. After `strip("/")`, they silently became e...
diff --git a/lib/streamlit/navigation/page.py b/lib/streamlit/navigation/page.py index 9fe55a53f31..fac77dd24fd 100644 --- a/lib/streamlit/navigation/page.py +++ b/lib/streamlit/navigation/page.py @@ -253,12 +253,13 @@ def __init__( self._url_path: str = inferred_name if url_path is not None: - ...
4
3
2
[{"id": "G0", "claim": "The new test repeats the same `with pytest.raises(...)` block three times for different slash-only inputs and should use `pytest.mark.parametrize` over those cases instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "T...
null
streamlit__streamlit__14006
streamlit/streamlit
14,006
defect
7cc3e97952b8e7c1b7947c36ec1d4fd4acfddeed
8f6d6ac066cb017d04f49265ceaa6d6538e36dcf
Bind widgets to query params - `st.pills` & `st.segmented_control`
## Describe your changes Adds bind="query-params" to `st.pills` and `st.segmented_control` for two-way sync between widget values and URL query parameters. **Key changes:** - Uses string_array_value with repeated URL params, consistent with `st.multiselect`. Single-select: `?color=Red`. Multi-select: ?`tags=Red&ta...
diff --git a/e2e_playwright/st_pills.py b/e2e_playwright/st_pills.py index c2dba4f5111..d8eb96519e7 100644 --- a/e2e_playwright/st_pills.py +++ b/e2e_playwright/st_pills.py @@ -239,3 +239,52 @@ def test_fragment(): format_func=lambda x: x.capitalize(), ) st.write("Initial pills value:", dyn_val) + +#...
4
2
0
[{"id": "G0", "claim": "The typing tests in lib/tests/streamlit/typing/pills_types.py and segmented_control_types.py are not updated to assert the new bind parameter, and a type test like pills(\"foo\", options, bind=\"query-params\") should be added to verify the new parameter is correctly typed (a gap, though not str...
null
streamlit__streamlit__14007
streamlit/streamlit
14,007
defect
b1364c615bf3846a26fe04f631220ef3c21bdf23
9fa221009238837592f9aca095f4c9335d0c3bda
[DynamicContainers] Callback support for tabs
## Describe your changes Adds callable `on_change` callback support to `st.tabs`, extending the existing `"ignore"` / `"rerun"` / `None` string literals. - `on_change` now accepts a callable in addition to the existing string options - Optional `args` and `kwargs` parameters pass through to the callback - The c...
diff --git a/e2e_playwright/st_tabs.py b/e2e_playwright/st_tabs.py index 23ccefd4a25..c073abf0edf 100644 --- a/e2e_playwright/st_tabs.py +++ b/e2e_playwright/st_tabs.py @@ -193,3 +193,56 @@ def tabs_fragment() -> None: tabs_fragment() + +# ===========================================================================...
4
3
0
[{"id": "G0", "claim": "The docstring note near the top of st.tabs still says to use on_change=\"rerun\" to enable lazy execution and should be updated to also mention the new callable option so users don't miss the new capability.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "intro...
null
streamlit__streamlit__14008
streamlit/streamlit
14,008
defect
b1364c615bf3846a26fe04f631220ef3c21bdf23
94a0eba0be7f6574ebcfd070bb11b7075bbfdad1
[DynamicContainers] Callback support for expanders
## Describe your changes Adds callable `on_change` callback support to `st.expander`, extending the existing `"ignore"` / `"rerun"` string literals. - `on_change` now accepts a callable in addition to the existing string options - Optional `args` and `kwargs` parameters pass through to the callback - Requires a...
diff --git a/e2e_playwright/st_expander.py b/e2e_playwright/st_expander.py index c8e5e6ba810..f22d222f33f 100644 --- a/e2e_playwright/st_expander.py +++ b/e2e_playwright/st_expander.py @@ -210,3 +210,46 @@ def close_inner(): st.write("This expander uses the default on_change='ignore'") st.write(f"Expander ignor...
5
5
1
[{"id": "G0", "claim": "The `key` docstring is internally contradictory: it says `key` is required when `on_change` is a callback function, but immediately says a key will be generated if omitted; reword to clarify.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": ...
null
streamlit__streamlit__14023
streamlit/streamlit
14,023
defect
80f7918d46e5948d5742c65c0c3ce6ef36d949d1
dfbdd0d30b366b109b4ef9428f54585e3b7dab86
fix: preserve active tab selection after spinner reruns
## Describe your changes Fixed a bug where tabs would lose their selection state when rendered after a spinner context. The issue occurred because transient nodes (like spinners) weren't properly handling child inheritance during reruns. The fix modifies the AppRoot class to check if a node is a TransientNode and use...
diff --git a/e2e_playwright/st_spinner.py b/e2e_playwright/st_spinner.py index 2ead4a5f02f..fa3f55cf895 100644 --- a/e2e_playwright/st_spinner.py +++ b/e2e_playwright/st_spinner.py @@ -97,3 +97,18 @@ def test_fragment(): container = st.container() time.sleep(2) # Container exists but is empty when sp...
3
2
0
[{"id": "G0", "claim": "arrowAddRows in AppRoot.ts may be similarly affected if a transient node wraps an element targeted by it, since the unwrap fix only covers addBlock — noted as a theoretical edge case worth considering.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "pre_existing"...
null
streamlit__streamlit__14051
streamlit/streamlit
14,051
defect
42002b42a70c5013ea157d745bd1b8458fbbe3e0
d21f8ace04d1d71b7ce508d692f98a0433b63e8f
[feat] Allow specifying number of visible items via `expanded` in `st.navigation`
## Describe your changes - Add support for passing a positive integer to the expanded parameter in st.navigation() to specify exactly how many navigation items should be visible when the sidebar is collapsed - expanded=True shows all pages, expanded=False/expanded=0 uses the default collapse threshold, and expanded...
diff --git a/frontend/app/src/App.tsx b/frontend/app/src/App.tsx index f0ff4f4c871..002378f75e7 100644 --- a/frontend/app/src/App.tsx +++ b/frontend/app/src/App.tsx @@ -193,6 +193,7 @@ interface State { hideTopBar: boolean hideSidebarNav: boolean expandSidebarNav: boolean + sidebarNavVisibleItems?: number ...
7
7
2
[{"id": "G0", "claim": "Adding the `visible_items` field to Navigation.proto requires regenerating the generated protobuf artifacts (`streamlit/proto/*_pb2.py`, `frontend/protobuf/proto.js` / `proto.d.ts`), and the pull request should include those updated outputs so the backend and frontend builds have the new `visibl...
null
streamlit__streamlit__14055
streamlit/streamlit
14,055
defect
42002b42a70c5013ea157d745bd1b8458fbbe3e0
f1c9b5338b89f9db61f748d075f84c99b841f8b3
[feat] Add `:shimmer[]` markdown directive for animated loading text
## Describe your changes - Add `:shimmer[text]` markdown directive that applies an animated gradient sweep effect to text - Useful for indicating loading states, "thinking" indicators, or progressive reveals in AI applications - Includes `prefers-reduced-motion` accessibility support (static fallback) - Works across a...
diff --git a/e2e_playwright/st_markdown.py b/e2e_playwright/st_markdown.py index b0b2a26e222..3ad7f933903 100644 --- a/e2e_playwright/st_markdown.py +++ b/e2e_playwright/st_markdown.py @@ -221,6 +221,14 @@ def draw_header_test(join_output: bool) -> None: "---" +# Shimmer directive test +with st.container(key="shim...
10
7
2
[{"id": "G0", "claim": "The shimmer animation and its code comment sweep right-to-left while the pull request's own product spec specifies a left-to-right sweep (and ease-in-out timing), so the implementation should be aligned with the spec or the spec updated to match.", "category": "correctness", "verdict": "supporte...
null
streamlit__streamlit__14065
streamlit/streamlit
14,065
defect
42002b42a70c5013ea157d745bd1b8458fbbe3e0
fcbc0d3be0d14b531fbca535ad7cd1528c4e8dc8
fix(vega-lite): render vconcat charts with faceted/repeated children
## Describe your changes Fixed a regression where Vega-Lite charts with `vconcat` containing faceted or repeated children would fail to render with "infinite extent" errors when using `width="stretch"`. The issue occurred because the width preprocessing logic only checked for composition operators (`hconcat`, `vconcat...
diff --git a/e2e_playwright/st_altair_chart.py b/e2e_playwright/st_altair_chart.py index 43604030e9a..f46ff4f22a7 100644 --- a/e2e_playwright/st_altair_chart.py +++ b/e2e_playwright/st_altair_chart.py @@ -212,3 +212,48 @@ regression_chart = (base_regression + text_regression) & base_regression regression_chart = regr...
4
3
0
[{"id": "G0", "claim": "Update the JSDoc of hasNestedComposition in ArrowVegaLiteChart.tsx to list facet and repeat alongside (hconcat, vconcat, concat, layer) so the documentation matches the implementation.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "...
null
streamlit__streamlit__14075
streamlit/streamlit
14,075
defect
b1364c615bf3846a26fe04f631220ef3c21bdf23
8b76087e1626e04409998d39670c9bc2c9831c19
[DynamicContainers] Callback support for popovers
## Describe your changes Adds `on_change` callback support to `st.popover`, consistent with the existing callback pattern in other widgets (`st.checkbox`, `st.toggle`, etc.). - `on_change` accepts a callable in addition to the existing `"ignore"` / `"rerun"` string literals - Optional `args` and `kwargs` paramet...
diff --git a/e2e_playwright/st_popover.py b/e2e_playwright/st_popover.py index 1baf401d081..cf465307a7e 100644 --- a/e2e_playwright/st_popover.py +++ b/e2e_playwright/st_popover.py @@ -156,3 +156,67 @@ def popover_fragment() -> None: popover_fragment() + +# =========================================================...
4
1
0
[{"id": "G0", "claim": "Move the WidgetState, WidgetStates and get_script_run_ctx imports out of the individual test functions in layouts_test.py to the top of the file, per the test AGENTS.md guidance.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai...
null
streamlit__streamlit__14090
streamlit/streamlit
14,090
defect
4ba237ff38e864cdf58d15127fd06e596e9b411c
904a2616d86c68b60ffde5f1d9e480ff888a8da1
[feat] Serve static files with native content types
## Describe your changes We have a bit overcautious limitation of our static file serving to only allow a couple of selected types to be served with the correct file type. This was put in place for the initial release with the goal reduce this limitation, but this never happened. In its current state, you can alread...
diff --git a/lib/streamlit/web/server/app_static_file_handler.py b/lib/streamlit/web/server/app_static_file_handler.py index 59b6a614aef..efe941be5d8 100644 --- a/lib/streamlit/web/server/app_static_file_handler.py +++ b/lib/streamlit/web/server/app_static_file_handler.py @@ -15,39 +15,18 @@ from __future__ import ann...
4
2
1
[{"id": "G0", "claim": "Add a brief comment explaining that the `path` parameter of `set_extra_headers` is required by the Tornado StaticFileHandler interface but not used in this implementation.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add ...
null
streamlit__streamlit__14116
streamlit/streamlit
14,116
defect
5deeeff3d4dbe54efc8b16e3ba8c11e8354f4d3a
cb81590d819db2797eee1e01b4a5a545b8620cb8
[feat] Add `on_click` rerun support to `st.link_button`
## Describe your changes - Update `st.link_button` so `on_click=\"rerun\"` and callable `on_click` return a `bool` (`False` by default, `True` after click), matching `st.button` trigger semantics. - Keep `on_click=\"ignore\"` returning `DeltaGenerator`, and add API overloads + doc updates to make return types expli...
diff --git a/frontend/lib/src/components/core/Block/ElementNodeRenderer.tsx b/frontend/lib/src/components/core/Block/ElementNodeRenderer.tsx index 9bfa7e8821c..795862f3c6e 100644 --- a/frontend/lib/src/components/core/Block/ElementNodeRenderer.tsx +++ b/frontend/lib/src/components/core/Block/ElementNodeRenderer.tsx @@ ...
4
3
1
[{"id": "G0", "claim": "The vi.mock auto-mock of WidgetStateManager may leave the constructed instance without a real setTriggerValue spy (or with the method undefined), making the rerun/click tests fail or behave inconsistently.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"},...
null
streamlit__streamlit__14120
streamlit/streamlit
14,120
defect
04e8abe3e1cfe74077f016bedbce797cf671bb71
f5810c1bb8d318c57baa57269788600ccf85619e
Format date/time slider URL query params as ISO strings
## Describe your changes - Date/time/datetime sliders with bind="query-params" now format URL values as human-readable ISO strings (e.g., `?date=2024-06-15`, `?time=14:30`, `?dt=2024-06-15T14:30`) instead of raw microsecond timestamps (e.g., ?`date=1718409600000000`). - The conversion is localized to the URL boundary...
diff --git a/e2e_playwright/st_slider.py b/e2e_playwright/st_slider.py index c8ed0e86ae3..0d9c46bf750 100644 --- a/e2e_playwright/st_slider.py +++ b/e2e_playwright/st_slider.py @@ -287,3 +287,47 @@ def test_fragment(): bind="query-params", ) st.write("Bound range value:", bound_range) + +# Slider 30 - Date slide...
13
8
3
[{"id": "G0", "claim": "Consider adding an E2E test that verifies interacting with a date/time/datetime slider updates the URL with an ISO-formatted value (optional, since unit tests already cover the logic).", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim"...
null
streamlit__streamlit__14139
streamlit/streamlit
14,139
defect
9fc67937b9d0eada942f3aa3c23bcc56ca602b07
8ef3b3406bcc46a866fe6b55b805dc5eb73b387b
[feature] Add `link` parameter to `st.image`
## Describe your changes Adds a new `link` parameter to `st.image` that makes images clickable: ```python st.image("photo.jpg", link="https://example.com") ``` - Only supports single image input (throws exception for multiple images) - Validates HTTP/HTTPS URLs only (rejects javascript: etc.) - Opens in new tab with...
diff --git a/e2e_playwright/st_image.py b/e2e_playwright/st_image.py index 7decb6e4844..851f27c57f7 100644 --- a/e2e_playwright/st_image.py +++ b/e2e_playwright/st_image.py @@ -260,3 +260,12 @@ def create_gif(size: int, frames: int = 1) -> bytes: # Stretch width - full container width st.image(img, width="stretch", c...
9
3
0
[{"id": "G0", "claim": "The two E2E tests (test_image_with_link and test_image_without_link) should be merged into a single aggregated test to reduce browser loads, per the E2E best practices.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Consider whet...
null
streamlit__streamlit__14143
streamlit/streamlit
14,143
defect
3e10b305cc495b019e4dfa7cb0d4a46e3fd7f966
4e3ca2f03bd878606d5e94c19e6d9ae1d203b249
[chore] Wire up check_widget_policies correctly in dynamic containers
## Describe your changes The partial change that landed with callable `on_change` support used `callable(on_change)` inline in the `check_widget_policies` call for all three dynamic containers, but without the `is_callback` intermediate variable or `cast`. This aligns all three with the established pattern from `veg...
diff --git a/lib/streamlit/elements/layouts.py b/lib/streamlit/elements/layouts.py index 2d3833c60f2..d026c1d0560 100644 --- a/lib/streamlit/elements/layouts.py +++ b/lib/streamlit/elements/layouts.py @@ -819,13 +819,14 @@ def tabs( current_tab_label = tabs[default_index] if is_stateful: + ...
1
1
0
[{"id": "G0", "claim": "The PR description appears to refer to TODOs and other items that are not reflected in the actual code changes.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
streamlit__streamlit__14173
streamlit/streamlit
14,173
defect
a1883eba9d4796c1eda33b3ea4b9b011765d6054
4e374f14a8c395852d4af597f013147e1bc9e2c1
[feat] Extract leading icon from alert body
## Describe your changes Automatically extract a leading emoji or Material icon from alert body text when no explicit `icon` parameter is provided. - When calling `st.error()`, `st.warning()`, `st.info()`, or `st.success()` without an `icon` parameter, the function now checks if the body starts with an emoji or M...
diff --git a/e2e_playwright/st_alert.py b/e2e_playwright/st_alert.py index c0e7eb5b89f..b64f711429b 100644 --- a/e2e_playwright/st_alert.py +++ b/e2e_playwright/st_alert.py @@ -119,3 +119,11 @@ # Alerts with width=200 and icon st.info("This is an info message with width=200 and icon", width=200, icon="👉🏻") + +###...
7
5
3
[{"id": "G0", "claim": "When extract_leading_icon falls back to extract_leading_emoji on multiline body text, all lines after the first are silently dropped because EMOJI_EXTRACTION_REGEX is compiled without re.DOTALL, inconsistently with the material icon path.", "category": "correctness", "verdict": "supported", "pri...
null
streamlit__streamlit__14174
streamlit/streamlit
14,174
defect
a1883eba9d4796c1eda33b3ea4b9b011765d6054
06f2dda5fac493638a8086da869bbf21b52d7b89
[fix] Add Windows stability check to file watcher to reduce false positives
## Describe your changes Fixes #13954 On Windows, background processes (Windows Defender, Search Indexer, OneDrive) can trigger spurious file change events through the `ReadDirectoryChangesW` API used by the watchdog library. This can cause false "File change" notifications in Streamlit even when no actual modificati...
diff --git a/lib/streamlit/watcher/event_based_path_watcher.py b/lib/streamlit/watcher/event_based_path_watcher.py index 30c7da2b229..e791003de81 100644 --- a/lib/streamlit/watcher/event_based_path_watcher.py +++ b/lib/streamlit/watcher/event_based_path_watcher.py @@ -33,6 +33,22 @@ callbacks if so. This module i...
7
3
1
[{"id": "G0", "claim": "If the Windows stability re-check fails (e.g., the file is briefly locked and calc_md5_with_blocking_retries raises StreamlitMaxRetriesError), the outer except causes the entire change event to be ignored, which can drop real file-change notifications on Windows; catch StreamlitMaxRetriesError a...
null
streamlit__streamlit__14202
streamlit/streamlit
14,202
defect
d2bea412f0077e55290aeab3eefdec6075fa4142
23e551fe6b249c7b194a4d0cfebbbb225afa512c
Improve backend cleanup of stale query param bindings
## Describe your changes - Add `QueryParams.unbind_and_clear_param()` method that removes a stale widget binding **and** clears the associated query param from the URL (with frontend notification), encapsulating cleanup that previously required reaching into private internals - Add an `elif` branch in `SessionState.r...
diff --git a/lib/streamlit/runtime/state/query_params.py b/lib/streamlit/runtime/state/query_params.py index 7f2620eb89b..17703bfb301 100644 --- a/lib/streamlit/runtime/state/query_params.py +++ b/lib/streamlit/runtime/state/query_params.py @@ -490,6 +490,29 @@ def unbind_widget(self, widget_id: str) -> None: ...
5
4
2
[{"id": "G0", "claim": "The docstring added in unbind_and_clear_param has two spaces after the period in \"updated. It is a no-op…\"; reduce to a single space for consistency and readability.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "test_un...
null
streamlit__streamlit__14228
streamlit/streamlit
14,228
defect
a225654edcca4e4fc16e3026b565f4edcd23996b
cb1870afd6d5f0f56d9f9802fca0e267619d2729
[Fix] Fix `st.text_area` `height="content"` not working
## Describe your changes Fixes regression in `st.text_area` with `height="content"` introduced in v1.55.0 (#14222). - Added `uiValue` to `useTextInputAutoExpand` dependencies so height recalculates when default value is set **Root cause:** PR #13901 removed `element.default` fallback from `getStateFromWidgetMgr`. Th...
diff --git a/frontend/lib/src/components/widgets/TextArea/TextArea.tsx b/frontend/lib/src/components/widgets/TextArea/TextArea.tsx index 44417fcd0be..9cc1daea411 100644 --- a/frontend/lib/src/components/widgets/TextArea/TextArea.tsx +++ b/frontend/lib/src/components/widgets/TextArea/TextArea.tsx @@ -165,7 +165,8 @@ con...
1
1
1
[{"id": "G0", "claim": "Adding `uiValue` to the `useTextInputAutoExpand` dependencies makes the hook's useLayoutEffect rerun on every keystroke, causing a redundant extra `updateScrollHeight()`/forced reflow on top of the existing `additionalAction` path — the recalculation should trigger only when the committed value ...
null
streamlit__streamlit__14288
streamlit/streamlit
14,288
defect
513d604a4c631151425e29fc3002e897f20eb368
8773ec2a926c4434a058c796cbad72efc6f3f296
[feature] Add `single-row-required` selection mode to `st.dataframe`
## Describe your changes Adds `single-row-required` selection mode to `st.dataframe` that ensures exactly one row is always selected (radio-like behavior): - Auto-selects the first row when no default is provided - Prevents clearing the selection (only allows changing to a different row) - Uses circle checkbox style ...
diff --git a/e2e_playwright/st_dataframe_selections.py b/e2e_playwright/st_dataframe_selections.py index 6311ef04fdb..3910ff1fe0d 100644 --- a/e2e_playwright/st_dataframe_selections.py +++ b/e2e_playwright/st_dataframe_selections.py @@ -52,6 +52,18 @@ ) st.write("Dataframe single-row selection:", str(selection)) +s...
15
10
3
[{"id": "G0", "claim": "clearSelection() bypasses the single-row-required guard, so sorting a column or clicking the still-visible 'Clear selection' toolbar action clears the required row selection and breaks the exactly-one-row-selected invariant.", "category": "correctness", "verdict": "supported", "priority": "P1", ...
null
streamlit__streamlit__14317
streamlit/streamlit
14,317
defect
fb66c1d52f35aac3b0beeefabc63c756b74623b6
1b472af6e444c9cf9da42041f50cc78712111b87
[feature] Add support for relative static file serving URLs in media elements
## Describe your changes Adds support for relative static URLs (`/app/static/`) in media elements, allowing users to reference files from Streamlit's static file serving endpoint using relative paths instead of requiring absolute URLs or local file paths. - Adds `is_relative_static_url()` helper to `url_util.py` for ...
diff --git a/e2e_playwright/st_static_media_urls.py b/e2e_playwright/st_static_media_urls.py new file mode 100644 index 00000000000..499be9c7bf2 --- /dev/null +++ b/e2e_playwright/st_static_media_urls.py @@ -0,0 +1,55 @@ +# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026) +# +# Licensed under the Apa...
7
7
3
[{"id": "G0", "claim": "The keep-in-sync comment on _STATIC_SERVING_ENDPOINT is misleading because server.py's constant has no trailing slash, and is_relative_static_url(\"/app/static\") returning False makes the sync contract ambiguous; the comment/logic should be clarified.", "category": "documentation", "verdict": "...
null
streamlit__streamlit__14327
streamlit/streamlit
14,327
defect
1d1cf7901ec1052c95eb4e7ee09970d86c990cd6
dfc94f57b09bb4458de62b2a4037961058c51d4b
[fix] Python 3.14 PEP 649 annotation compatibility across `inspect.signature()` calls
## Describe your changes Fixes Python 3.14 PEP 649 compatibility across multiple `inspect.signature()` call sites. On Python 3.14+, deferred annotation evaluation can raise `NameError` for functions using type annotations that reference types imported under `if TYPE_CHECKING:`. **Implementation:** - Added centralized...
diff --git a/lib/streamlit/runtime/caching/cache_utils.py b/lib/streamlit/runtime/caching/cache_utils.py index f136cc7ff3c..d0f2f655117 100644 --- a/lib/streamlit/runtime/caching/cache_utils.py +++ b/lib/streamlit/runtime/caching/cache_utils.py @@ -20,6 +20,7 @@ import functools import hashlib import inspect +import...
6
5
1
[{"id": "G0", "claim": "The _get_func_parameters docstring says annotation_format=STRING while the implementation uses Format.STRING; update the docstring to reference the fully-qualified enum value.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "...
null
streamlit__streamlit__14330
streamlit/streamlit
14,330
defect
c80f30b2670c27003f757e633820f51f91437966
ec254f6d5d32bdb2a55a95e58b1b813f5beffb6e
[feature] Stable Block.id for passive keyed layout containers
## Describe your changes Sets a stable `Block.id` via `compute_and_register_element_id` (with `key_as_main_identity=True`) for `st.tabs`, `st.expander`, and `st.popover` when `key` is provided and `on_change="ignore"` (the default). This gives these containers a position-independent identity — the foundation for front...
diff --git a/frontend/app/src/App.tsx b/frontend/app/src/App.tsx index 478f267f3f6..ffa9db639d9 100644 --- a/frontend/app/src/App.tsx +++ b/frontend/app/src/App.tsx @@ -1593,13 +1593,18 @@ export class App extends PureComponent<Props, State> { () => { // Tell the WidgetManager which widgets stil...
11
8
2
[{"id": "G0", "claim": "In test_passive_key_sets_block_id for tabs, assert that tab_container.id is not set via HasField(\"id\") instead of comparing the string to \"\", for consistency with the other tab-container ID assertions and to check field presence rather than the default string value.", "category": "testing", ...
null
streamlit__streamlit__14332
streamlit/streamlit
14,332
defect
c80f30b2670c27003f757e633820f51f91437966
55f126fe156a746327fe94a4c8821186c8795c27
[feature] `st.tabs` state persistence and CSS key class
## Summary Implements state persistence and CSS key class application for `st.tabs` containers, building on the block identity infrastructure from the parent PR. ### Changes - **`Tabs.tsx`**: When a `st.tabs` has a `key` and is passive (non-dynamic), persists the active tab label to `elementStates` via `widgetMgr.se...
diff --git a/e2e_playwright/st_tabs.py b/e2e_playwright/st_tabs.py index c073abf0edf..24464d371df 100644 --- a/e2e_playwright/st_tabs.py +++ b/e2e_playwright/st_tabs.py @@ -163,6 +163,24 @@ def goto_tab(label: str) -> None: st.write(f"Tabs key-only rerun count: {st.session_state.tabs_key_only_rerun_count}") +# ===...
6
4
0
[{"id": "G0", "claim": "Let's name the local variable `stored` in the useState initializer something more specific.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Let's add a comment explaining why the `shouldPersist` conditions (keyed but not d...
null
streamlit__streamlit__14333
streamlit/streamlit
14,333
defect
7988856db89abf88509cdafc6c7e3f85043d56dc
e38329cdd07e66011ba1073376354e6f6e374129
[feature] Add `alignment` parameter to `column_config` columns
## Describe your changes Adds an `alignment` parameter to `st.column_config.Column` and all typed column configs (TextColumn, NumberColumn, etc.) that controls horizontal text alignment (left, center, right) of cell content in `st.dataframe` and `st.data_editor`. - Adds `ContentAlignment` type alias (`Literal["le...
diff --git a/e2e_playwright/st_dataframe_config.py b/e2e_playwright/st_dataframe_config.py index 9f453080542..cd393a130ab 100644 --- a/e2e_playwright/st_dataframe_config.py +++ b/e2e_playwright/st_dataframe_config.py @@ -984,3 +984,29 @@ def get_data_uri(file_path: Path, mime_type: str) -> str: placeholder="-", ...
7
3
2
[{"id": "G0", "claim": "NumberColumn's new alignment docstring says numbers are always right-aligned by default, but some number-like types (e.g. durations/periods) may be left-aligned, so the docstring should be updated to reflect the actual default behavior.", "category": "documentation", "verdict": "supported", "pri...
null
streamlit__streamlit__14341
streamlit/streamlit
14,341
defect
7120e5c5e44e1f7f944762c830e2e464c93600b3
82b6e9dc25dcfda7665b7f3cd139e1ee0dfc9106
[feature] Add `st.file_uploader` support to AppTest
## Describe your changes Adds `st.file_uploader` support to the AppTest testing framework, addressing a long-standing feature request. - Add `FileUploader` widget class to `element_tree.py` with `set_value()`, `upload()`, and `clear()` methods - Add file registration logic to `app_test.py` that registers uploaded fil...
diff --git a/lib/streamlit/testing/v1/app_test.py b/lib/streamlit/testing/v1/app_test.py index 8b13b0bb4cf..9bef5282615 100644 --- a/lib/streamlit/testing/v1/app_test.py +++ b/lib/streamlit/testing/v1/app_test.py @@ -56,6 +56,7 @@ Exception, # noqa: A004 Expander, Feedback, + FileUploader, Heade...
5
3
2
[{"id": "G0", "claim": "Uploaded files are silently lost across subsequent AppTest runs: because the element tree is rebuilt after each run, FileUploader._widget_state returns a valueless WidgetState (treated as an explicit clear) and _get_files_to_register/_register_uploaded_files register nothing, since neither falls...
null
streamlit__streamlit__14353
streamlit/streamlit
14,353
defect
2271764d2b0b594a35838c142816beb6abc28450
44604938af098f0beb155a0c24028402a1fe1713
[fix] Restore tooltip on st.multiselect selected options
## Describe your changes Fixes a regression introduced in v1.55.0 where tooltips no longer appear when hovering over selected options in `st.multiselect`. **Root cause:** PR #13796 added `pointerEvents: "none"` to the Tag Root element to allow clicks to pass through to the input field. This unintentionally disabled t...
diff --git a/e2e_playwright/st_multiselect_test.py b/e2e_playwright/st_multiselect_test.py index c36800f48ab..dd4293bc624 100644 --- a/e2e_playwright/st_multiselect_test.py +++ b/e2e_playwright/st_multiselect_test.py @@ -763,3 +763,24 @@ def test_multiselect_query_param_duplicate_values_deduplicated( expect(page)....
3
1
1
[{"id": "G0", "claim": "Re-enabling pointer events (\"auto\") on the Tag Text may undermine Root's \"pointerEvents: none\" so clicks on the tag text may stop reaching/focusing the multiselect input; the author should ensure the tag label still focuses/opens the multiselect or use a non-native tooltip.", "category": "co...
null
streamlit__streamlit__14356
streamlit/streamlit
14,356
defect
3c69953871488025d4903a7375f9fb4797c62403
066863bdddc1824640d30f1d6341cf2a9b80266c
[feature] `st.expander` & `st.popover` state persistence and CSS key class
## Summary Third PR in the layout container state persistence stack (after #14332 and #14354). Adds frontend state persistence for keyed `st.expander` and `st.popover` elements via `elementStates`. When a `key` is provided in passive mode (`on_change="ignore"`), the expanded/open state survives component remounts cau...
diff --git a/e2e_playwright/st_expander.py b/e2e_playwright/st_expander.py index f22d222f33f..dbb0f284ca3 100644 --- a/e2e_playwright/st_expander.py +++ b/e2e_playwright/st_expander.py @@ -253,3 +253,16 @@ def expander_callback_with_args(prefix: str, suffix: str = "") -> None: st.write("Callback args expander cont...
6
1
1
[{"id": "G0", "claim": "The popover has no valid E2E test of keyed open-state persistence across a remount-inducing delta-path shift — the PR description claims such a test is completed while st_popover.py lacks any toggle mechanism, and the existing rerun test never forces a remount — so a toggle should be added to st...
null
streamlit__streamlit__14372
streamlit/streamlit
14,372
defect
05a9a874d63512adc716c4abe8e85152468615ee
b8af4f5f2dc25524c8348d12fcb3b3c471672e3d
Fix #11308: update server.port after binding to port 0
## Describe your changes This PR fixes an issue where Streamlit displays incorrect URLs when `server.port=0`. When port 0 is used, Tornado binds the server to an ephemeral port chosen by the operating system. However, the configuration value `server.port` remained 0, which caused the CLI to display URLs such as `ht...
diff --git a/lib/streamlit/web/server/server.py b/lib/streamlit/web/server/server.py index 9adaa94629d..c0477dd7eb1 100644 --- a/lib/streamlit/web/server/server.py +++ b/lib/streamlit/web/server/server.py @@ -21,6 +21,7 @@ from pathlib import Path from typing import TYPE_CHECKING, Any, Final +import tornado.netutil...
4
3
0
[{"id": "G0", "claim": "Use Tornado's public bind_sockets()/add_sockets() API instead of reading the private `_sockets` attribute of HTTPServer, to avoid coupling to a Tornado internal that could change across versions.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1...
null
streamlit__streamlit__14374
streamlit/streamlit
14,374
defect
e27e57f1ae7a6d428ab0b7889bc4edc3deae8926
1ab852518633864c245f3724fe01d1cfb479f9d9
[Fix] Restore bound query params in URL with MPA
## Describe your changes When a widget uses `bind="query-params"` in a multi-page app, navigating away and back causes the URL parameter to be lost even though the widget's value persists in session state. This breaks URL shareability — the widget displays the correct value but the URL no longer reflects it. The ro...
diff --git a/e2e_playwright/multipage_apps/mpa_basics_test.py b/e2e_playwright/multipage_apps/mpa_basics_test.py index 7cdcbca5065..a095ba4c099 100644 --- a/e2e_playwright/multipage_apps/mpa_basics_test.py +++ b/e2e_playwright/multipage_apps/mpa_basics_test.py @@ -311,6 +311,43 @@ def test_bound_widget_query_param_clea...
4
2
0
[{"id": "G0", "claim": "SessionState.register_widget directly reads and mutates QueryParams internals (_query_params, _set_corrected_value), which increases coupling and makes future refactors riskier; consider adding a small QueryParams helper API (e.g. has_param, discard_param_no_forward_msg) and using it instead of ...
null
streamlit__streamlit__14376
streamlit/streamlit
14,376
defect
3f3cc6461fe5a4bcb515b8f1b903c4fd239d32a3
8078b898344687983dfbbcf11ac88019d30c3130
[chore] Add AI skill and workflow for fixing flaky E2E tests
## Describe your changes Adds AI-powered tooling for diagnosing and fixing flaky E2E tests: - New `/fixing-flaky-e2e-tests` skill with comprehensive instructions for reproducing, diagnosing, and fixing flaky Playwright tests - Python script (`scripts/fetch_flaky_tests.py`) to identify top flaky tests from CI artifact...
diff --git a/.claude/.gitignore b/.claude/.gitignore index 14517c54942..5ecba4b6078 100644 --- a/.claude/.gitignore +++ b/.claude/.gitignore @@ -27,6 +27,7 @@ skills/* !skills/creating-pull-requests/ !skills/updating-internal-docs/ !skills/assessing-external-test-risk/ +!skills/fixing-flaky-e2e-tests/ !skills/imple...
11
6
3
[{"id": "G0", "claim": "The skill's browser-specific section recommends `@pytest.mark.skip_browser(...)` while the later Rules section says \"Don't disable tests\" and \"Never skip tests to 'fix' flakiness\"; reconcile these instructions by clarifying when skip_browser is acceptable versus disallowed.", "category": "do...
null
streamlit__streamlit__14414
streamlit/streamlit
14,414
defect
d9397768d9d25f1516529971863f16aebb67815b
ba6a7e659d7da4cba4e9849a3a6e4920f21d8bac
[feature] Add `required` parameter to `st.pills` and `st.segmented_control`
## Describe your changes Adds `required: bool = False` parameter to `st.pills` and `st.segmented_control`: - Prevents deselection in single-select mode when `required=True` (clicking already-selected option does nothing) - Raises `StreamlitAPIException` when `required=True` with `selection_mode="multi"` - Provi...
diff --git a/e2e_playwright/st_pills.py b/e2e_playwright/st_pills.py index d8eb96519e7..0a35c47227c 100644 --- a/e2e_playwright/st_pills.py +++ b/e2e_playwright/st_pills.py @@ -288,3 +288,34 @@ def test_fragment(): bind="query-params", ) st.text(f"bound_pills_multi_default: {bound_multi_default}") + + +# --- Req...
9
5
2
[{"id": "G0", "claim": "When required=true and the user clicks the already-selected option, handleSelection returns the same array but onClick still unconditionally calls setValueWithSource, triggering a widget update and a full backend script rerun (visible loading flash); the click handler should skip the state updat...
null
streamlit__streamlit__14440
streamlit/streamlit
14,440
defect
5cca0850456026e236ca7f14ade0beab2bc9cbb9
d0d18c10e5821170ffd6c380e908966f4b097246
[fix] Address Starlette/ASGI feedback from user testing
## Describe your changes Addresses user feedback from the Starlette/ASGI experimental support (issue #13600): - Add `/static/` to reserved route prefixes to prevent users from accidentally breaking frontend asset loading - Auto-start runtime for mounted apps that don't use explicit `lifespan()` - enables simple `Moun...
diff --git a/lib/streamlit/web/server/starlette/starlette_app.py b/lib/streamlit/web/server/starlette/starlette_app.py index e844903c9d9..ddb756b9238 100644 --- a/lib/streamlit/web/server/starlette/starlette_app.py +++ b/lib/streamlit/web/server/starlette/starlette_app.py @@ -30,6 +30,7 @@ BASE_ROUTE_COMPONENT, ...
14
10
5
[{"id": "G0", "claim": "The local `import asyncio` in `__call__` is redundant because the module is already imported at module level on line 56.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `_RESERVED_ROUTE_PREFIXES` validation only checks...
null
streamlit__streamlit__14442
streamlit/streamlit
14,442
defect
af41d0751541eb679764a433b751f86c4bd72eb6
40ac3bf36adf3a97ccacec662d4fd3501516bd61
[chore] Add unit tests to improve Python coverage
## Describe your changes Adds unit tests to improve Python code coverage: - **New test file:** `lib/tests/streamlit/elements/lib/utils_test.py` - Tests for `get_label_visibility_proto_value` (valid values + invalid error case) - Tests for `get_chat_input_accept_file_proto_value` (valid values + invalid error case...
diff --git a/lib/pyproject.toml b/lib/pyproject.toml index 6db21e12e6b..bf4481f07af 100644 --- a/lib/pyproject.toml +++ b/lib/pyproject.toml @@ -214,6 +214,8 @@ omit = [ "streamlit/vendor/*", "streamlit/hello/*", "streamlit/static/*", + # Exception definitions are mostly boilerplate string formatting + "stre...
2
1
1
[{"id": "G0", "claim": "The new save_for_app_testing tests assign __getitem__/__setitem__ as plain lambdas on the MagicMock session_state instance, but Python looks up special methods on the type, so bracket access may hit MagicMock return values instead of mock_session_state and the KeyError path, the append path, and...
null
streamlit__streamlit__14455
streamlit/streamlit
14,455
defect
6e8c95af69b81c342fb8ec928f7c5492241deaae
23c3588b1e5a646c2b6a5e249fc64a68cde5fa3c
Fix programmatic dataframe selections to return AttributeDictionary
## Describe your changes Fixes programmatic dataframe selection returning a plain `dict` instead of `AttributeDictionary`, which caused `AttributeError` when accessing selection attributes (e.g., `event.selection.rows`). Changes: - Wraps validated programmatic selection state in `ReadOnlyAttributeDictionary` to match...
diff --git a/e2e_playwright/st_dataframe_selections.py b/e2e_playwright/st_dataframe_selections.py index 6311ef04fdb..230933b7d21 100644 --- a/e2e_playwright/st_dataframe_selections.py +++ b/e2e_playwright/st_dataframe_selections.py @@ -309,6 +309,8 @@ def increment_data_count(): key="programmatic_row_selection_df...
6
4
0
[{"id": "G0", "claim": "The test should import AppTest at module level instead of inside the test function, matching the repo's unit-test import guidance.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The normal widget-state return path should ...
null
streamlit__streamlit__14468
streamlit/streamlit
14,468
defect
afffb5869eceac6797024f8d10033f5039f8b9ad
3e793add82d1c462e2d1edb8435005964636cf5f
[fix] Streaming markdown with color directives shows artifact
## Describe your changes Fixes streaming markdown completion displaying `(streamdown:incomplete-link)` when using Streamlit's color directives like `:red[text]`, `:small[content]`, etc. - Adds custom `remend` handler to complete unclosed directive syntax before the link handler runs - The handler closes directive bra...
diff --git a/e2e_playwright/st_write_stream.py b/e2e_playwright/st_write_stream.py index fa794b191df..0c1ad6c4f7a 100644 --- a/e2e_playwright/st_write_stream.py +++ b/e2e_playwright/st_write_stream.py @@ -72,3 +72,16 @@ async def async_generator(): if button_group.button("Stream async data"): st.session_state["...
7
6
1
[{"id": "G0", "claim": "The bracket-balancing logic counts every `[`/`]` after the first directive, so a non-directive bracket (e.g. a markdown link) appearing after a directive can make the handler append extra `]` that do not close directives and can alter the streamed output; track only directive openings so non-dir...
null
streamlit__streamlit__14474
streamlit/streamlit
14,474
defect
8cd9437c587ec263b3ea5ca65b465391e7b32b05
4019fd3f8ea6c3d770f1a9f184707012aa5334f7
Add key-value list example for `st.table`
## Describe your changes Adds a docstring example and e2e demo showing `st.table` with key-value data using: - Material Icons as key prefixes (`:material/folder:`, `:material/code:`, etc.) - Markdown badges with colors (`:green-badge[...]`, `:blue-badge[...]`, etc.) - Horizontal borders (`border="horizontal"`) - Conte...
diff --git a/e2e_playwright/st_table.py b/e2e_playwright/st_table.py index 0184fc3d1c1..0d72d4ed563 100644 --- a/e2e_playwright/st_table.py +++ b/e2e_playwright/st_table.py @@ -357,3 +357,14 @@ def make_pretty(styler: Styler) -> Styler: ), ) st.table(mi_df, hide_index=True) + +st.subheader("Key-value with mixed ...
4
3
2
[{"id": "G0", "claim": "TOTAL_TABLE_ELEMENTS was set to 50 although only one new st.table() call was added (48 total), so the E2E rendering tests will fail with a count mismatch; it should be 48.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The co...
null
streamlit__streamlit__14476
streamlit/streamlit
14,476
defect
48a6ea435c2d26a1ffbe341d1970a56cc1c66080
90e16baa26c8c2aa6dd41b1195a80acef3058280
[Fix] OpenMetrics compliance for `session_duration` metric
## Describe your changes Fixes the Prometheus scraping error: > Error scraping target: unit "seconds" not a suffix of metrics "session_duration_seconds_total" The [OpenMetrics spec](https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md) requires the UNIT value to be a suffix of ...
diff --git a/lib/streamlit/runtime/stats.py b/lib/streamlit/runtime/stats.py index 9e6323c534d..14bb35e3781 100644 --- a/lib/streamlit/runtime/stats.py +++ b/lib/streamlit/runtime/stats.py @@ -19,7 +19,7 @@ CACHE_MEMORY_FAMILY: Final = "cache_memory_bytes" SESSION_EVENTS_FAMILY: Final = "session_events_total" -SESS...
2
1
0
[{"id": "G0", "claim": "The metric-family rename (session_duration_seconds_total → session_duration_seconds) should be called out in the release notes for operators using families= filters or protobuf consumers keyed by family name.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "intr...
null
streamlit__streamlit__14479
streamlit/streamlit
14,479
defect
43e4e9c063c40405775b14e32573d86dbc86d6ec
525132a89345409b1f465c45a875f935245074b9
[chore] Add unit tests to improve Python coverage
## Describe your changes Adds unit tests to improve Python code coverage by ~0.17%, targeting 90%+ coverage goal: - Adds `errors_test.py` with 14 tests covering error exception classes - Adds `image_utils_test.py` with 19 tests covering image utility functions - Extends `write_test.py` with StringIO handling tests ...
diff --git a/lib/tests/streamlit/elements/lib/image_utils_test.py b/lib/tests/streamlit/elements/lib/image_utils_test.py new file mode 100644 index 00000000000..8839ad81178 --- /dev/null +++ b/lib/tests/streamlit/elements/lib/image_utils_test.py @@ -0,0 +1,170 @@ +# Copyright (c) Streamlit Inc. (2018-2022) Snowflake In...
6
5
0
[{"id": "G0", "claim": "The two function-local `from io import StringIO` imports in write_test.py should be moved to the top-level imports of the file, per lib/tests/AGENTS.md.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The two StringIO test...
null
streamlit__streamlit__14502
streamlit/streamlit
14,502
defect
c22c0f4a8d0f0ea639c180cb3c9416fee48e8f60
031fad2d2ceac69cec3498c0e5839a8246601b8f
[feature] Add `autoscroll` parameter to `st.container`
## Describe your changes Add an `autoscroll: bool | None = None` parameter to `st.container()` that allows users to explicitly control the scroll-to-bottom behavior for fixed-height containers. **Changes:** - `autoscroll=True`: Force enable auto-scroll for any content (not just chat messages) - `autoscroll=False`: Fo...
diff --git a/e2e_playwright/st_container.py b/e2e_playwright/st_container.py index 682ec04d596..fae44b9fc08 100644 --- a/e2e_playwright/st_container.py +++ b/e2e_playwright/st_container.py @@ -123,3 +123,15 @@ def hello(): st.write("Inside container 7") with st.container(height=100, border=True): ...
3
2
1
[{"id": "G0", "claim": "The autoscroll docstring uses the RST substitution reference |st.chat_message|_ without the corresponding replacement definition, which will produce a Sphinx warning or a broken link in the generated docs; the definition block should be added.", "category": "documentation", "verdict": "supported...
null
streamlit__streamlit__14518
streamlit/streamlit
14,518
defect
c22c0f4a8d0f0ea639c180cb3c9416fee48e8f60
2d8a2388c1e09ecf1233caad65c2a756eeb52e47
[feature] Add pills, segmented_control properties and dataframe key to AppTest
## Describe your changes Adds three quick-win improvements to the AppTest testing framework: - Adds `pills` and `segmented_control` properties as intuitive aliases for `button_group` on AppTest and Block classes - Adds key support for interactive dataframes (those using `on_select="rerun"`) - Adds tests confirm...
diff --git a/lib/streamlit/testing/v1/app_test.py b/lib/streamlit/testing/v1/app_test.py index c2b77d45622..d2d1ea6f017 100644 --- a/lib/streamlit/testing/v1/app_test.py +++ b/lib/streamlit/testing/v1/app_test.py @@ -512,6 +512,34 @@ def button_group(self) -> WidgetList[ButtonGroup[Any]]: """ return s...
3
3
2
[{"id": "G0", "claim": "The pills and segmented_control properties return the full button_group set unfiltered, so at.pills can include st.segmented_control widgets and vice versa; they should filter by ButtonGroupProto.Style so each property returns only its own widget type.", "category": "correctness", "verdict": "su...
null
streamlit__streamlit__14521
streamlit/streamlit
14,521
defect
05a9a874d63512adc716c4abe8e85152468615ee
1d260b12794a4e8dd9317b4926182383e17fb019
[fix] Resolve server.port=0 for Starlette/UvicornServer path
## Describe your changes When `server.port=0` is configured (requesting an OS-assigned ephemeral port), `UvicornServer.start()` wrote `0` into config instead of the actual bound port, causing URLs like `http://localhost:0` to be displayed. - After `_bind_socket()` succeeds with port 0, read back the real port v...
diff --git a/lib/streamlit/web/server/starlette/starlette_server.py b/lib/streamlit/web/server/starlette/starlette_server.py index 29fa659d7d0..16f606547d4 100644 --- a/lib/streamlit/web/server/starlette/starlette_server.py +++ b/lib/streamlit/web/server/starlette/starlette_server.py @@ -304,6 +304,11 @@ async def star...
4
2
0
[{"id": "G0", "claim": "Remove the comment the PR added in UvicornRunner.run() noting that server.port=0 (ephemeral port) won't work there, because it is out of scope.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Accessing self._socket.getsock...
null
streamlit__streamlit__14552
streamlit/streamlit
14,552
defect
26a7b56174ea378ca7c74e513d74fc536af186f2
c4d10c9d441edfa5f3c7fd203cfb616d5e68d1eb
[feature] Deduplicate equivalent file extensions in file uploader display
## Summary When equivalent file extensions (e.g., JPG/JPEG, TIF/TIFF) are present in the accepted types list, `st.file_uploader` redundantly showed both in the UI instruction text. This adds display-level deduplication that always shows the preferred canonical form regardless of input order. **Before:** `st.file_uplo...
diff --git a/e2e_playwright/st_file_uploader.py b/e2e_playwright/st_file_uploader.py index 166eec664d9..16bd9627eed 100644 --- a/e2e_playwright/st_file_uploader.py +++ b/e2e_playwright/st_file_uploader.py @@ -311,3 +311,17 @@ def test_file_fragment(): type=["audio", "application/pdf", ".json"], key="mixed_typ...
6
6
1
[{"id": "G0", "claim": "Deduplicating with normalized.toLowerCase() treats \".jpg\" and \"jpg\" as different keys so mixed dotted/dotless inputs render as duplicates (\"JPG, JPG\"); the dedup key should strip the leading dot for extensions and a mixed-format test should be added.", "category": "correctness", "verdict":...
null
streamlit__streamlit__14611
streamlit/streamlit
14,611
defect
8eee5662c4818a9ba2321da7014840deb48a4cf7
2bd32c78d1242e5ee0e36a01d6bf8a1950b6fdf8
[fix] `st.dataframe` crash with pandas 3 ArrowStringArray
## Describe your changes Fixes `st.dataframe` crash when displaying pandas 3+ DataFrames containing `ArrowStringArray` objects in cells (e.g., from `groupby().agg("unique")` on string columns). **Changes:** - Rename `is_colum_type_arrow_incompatible` → `determine_arrow_column_fix` with return type `Literal["stri...
diff --git a/lib/streamlit/dataframe_util.py b/lib/streamlit/dataframe_util.py index 600c8ac14c4..a32ef3a1f0d 100644 --- a/lib/streamlit/dataframe_util.py +++ b/lib/streamlit/dataframe_util.py @@ -1033,6 +1033,7 @@ def is_colum_type_arrow_incompatible(column: Series[Any] | Index[Any]) -> bool: """Return True if th...
6
4
4
[{"id": "G0", "claim": "The new list-conversion path df[col].map(list) will raise TypeError when a cell is NaN/None (non-iterable), turning the auto-fix into a crash; convert only ExtensionArray instances and leave missing values untouched.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope":...
null
streamlit__streamlit__14617
streamlit/streamlit
14,617
defect
c2d503972a48f6c0d580b835371b8579baac4a20
d11cffae2136cae7979ae8d7cac7daf449896a4a
[fix] Downcast large Arrow types in custom component v1 serialization
## Summary - Pandas 3.x defaults to `StringDtype` backed by `large_string` in Arrow, which third-party custom components (e.g. `streamlit-aggrid`) cannot decode because they bundle older Arrow JS libraries that do not recognize `LargeUtf8` (type code 20) - Downcast `large_string` → `string`, `large_binary` → `binary`,...
diff --git a/lib/streamlit/components/v1/component_arrow.py b/lib/streamlit/components/v1/component_arrow.py index 928c160009b..04d3ef84a8b 100644 --- a/lib/streamlit/components/v1/component_arrow.py +++ b/lib/streamlit/components/v1/component_arrow.py @@ -24,6 +24,7 @@ from streamlit.elements.lib import pandas_styler...
12
10
4
[{"id": "G0", "claim": "On pandas < 3.0 the large_string test built via table.to_pandas() may pass without ever exercising the needs_cast downcast branch; the test should construct the DataFrame with an Arrow-backed dtype so the downcast path is tested on all supported pandas versions.", "category": "testing", "verdict...
null
streamlit__streamlit__14694
streamlit/streamlit
14,694
defect
7ddd087bdace33a0c6f1420ac9f092e66bb0b7ed
aed2dd158fdf45750299a288e196526339ab7e07
[fix] Preserve `None` values in `st.data_editor` with pandas 3.0+
## Describe your changes Fixes `st.data_editor` returning `NaN` instead of `None` for empty cells in new rows when using pandas 3.0+. - Skip `infer_objects()` call for pandas 3.0+ in `_unify_missing_values()` since it now converts `None` back to `np.nan` - Maintain backwards compatibility by keeping `infer_objects()`...
diff --git a/lib/streamlit/dataframe_util.py b/lib/streamlit/dataframe_util.py index 5d1d2210233..8903bcb0f60 100644 --- a/lib/streamlit/dataframe_util.py +++ b/lib/streamlit/dataframe_util.py @@ -1285,16 +1285,22 @@ def _unify_missing_values(df: DataFrame) -> DataFrame: Pandas uses a variety of values to repres...
4
1
0
[{"id": "G0", "claim": "The `# ty: ignore[invalid-argument-type]` directive is a typo that should be `# type: ignore[invalid-argument-type]`, otherwise the second ignore directive is ineffective and type checking tools may report errors that should be suppressed.", "category": "documentation", "verdict": "opposed", "pr...
null
streamlit__streamlit__14695
streamlit/streamlit
14,695
defect
7ddd087bdace33a0c6f1420ac9f092e66bb0b7ed
37eabca7dc2c3974cdcf3a324ab4cd2bf5816ecf
[feature] Add Arrow PyCapsule Interface support
## Describe your changes Adds support for the [Arrow PyCapsule Interface](https://arrow.apache.org/docs/format/CDataInterface/PyCapsuleInterface.html) (`__arrow_c_stream__`) in `dataframe_util.py` for cross-library dataframe exchange. - Adds `ArrowStreamExportable` protocol for objects implementing `__arrow_c_stream_...
diff --git a/lib/streamlit/dataframe_util.py b/lib/streamlit/dataframe_util.py index 5d1d2210233..432b112b36b 100644 --- a/lib/streamlit/dataframe_util.py +++ b/lib/streamlit/dataframe_util.py @@ -166,11 +166,26 @@ class DataframeInterchangeCompatible(Protocol): def __dataframe__(self, allow_copy: bool) -> Any: .....
7
4
4
[{"id": "G0", "claim": "The new PyCapsule tests assume __arrow_c_stream__ exists, but the pyarrow>=7.0 lower bound means min-version environments may run a PyArrow without it, so the tests should be skipped or guarded when PyArrow lacks the interface.", "category": "testing", "verdict": "supported", "priority": "P1", "...
null
streamlit__streamlit__14697
streamlit/streamlit
14,697
defect
1038aa8b82c48749a77720fcd0e2e24e6cfc393a
494f838b4765d05c64db5c7908d36a9bf5f0b9f3
[feature] Hide chevron for menu-style icon labels for `st.menu_button` and `st.popover`
## Describe your changes Hides the expand/collapse chevron icon on `st.menu_button` and `st.popover` when the label is a menu-style material icon: - `:material/menu:` - `:material/more_vert:` - `:material/more_horiz:` These icons already visually indicate a menu trigger, making the additional chevron redundant. ## G...
diff --git a/e2e_playwright/st_menu_button.py b/e2e_playwright/st_menu_button.py index cec9a9f860b..379e9fa0fce 100644 --- a/e2e_playwright/st_menu_button.py +++ b/e2e_playwright/st_menu_button.py @@ -169,6 +169,28 @@ def on_click(x: int, y: int) -> None: key="short_options_button", ) +# Menu-style icons (chevr...
6
4
3
[{"id": "G0", "claim": "StyledMenuButtonLabelContainer's negative marginRight still applies when hideChevron is true and the chevron is not rendered, which can produce inconsistent right padding/alignment for icon-only menu buttons; make the offset conditional.", "category": "correctness", "verdict": "supported", "prio...
null
streamlit__streamlit__14708
streamlit/streamlit
14,708
defect
097c1dacbdee419548a93ddbe1df31cc7fd44fe6
5c617f2881291b3e2c43fc2501602b6280e412c8
[fix] Evict namespace children when watched sources reload
## Describe your changes `LocalSourcesWatcher.on_path_changed` now removes from `sys.modules` every submodule whose name is prefixed by an evicted watched module (e.g. evicting `bioimageio` also evicts `bioimageio.spec`). That keeps PEP 420 namespaces consistent when one portion is watched and another lives under a b...
diff --git a/lib/streamlit/watcher/local_sources_watcher.py b/lib/streamlit/watcher/local_sources_watcher.py index 5b510ada1aa..3b5cbbd685e 100644 --- a/lib/streamlit/watcher/local_sources_watcher.py +++ b/lib/streamlit/watcher/local_sources_watcher.py @@ -151,9 +151,27 @@ def on_path_changed(self, filepath: str) -> No...
2
2
0
[{"id": "G0", "claim": "The child-eviction loop re-iterates sys.modules once per watched module name (O(|watched_modules| x |sys.modules|) per file change); consider restructuring it into a single pass to keep reload overhead low.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduc...
null
streamlit__streamlit__14722
streamlit/streamlit
14,722
defect
1e6bbd0798797e1b6cbc4af3fa2d1afe52a7ef2e
2fbcf5495597cb8f4f30dddf08ad59ac97493c9a
[feature] Expose `App` in the `st` namespace
## Describe your changes Exposes the `App` class in the main `st` namespace, allowing users to create ASGI apps with the shorter `st.App(...)` syntax instead of `from streamlit.starlette import App`. Changes: - Add `st.App` export to `lib/streamlit/__init__.py` - Add `"streamlit.App"` to `_KNOWN_ASGI_APP_CLASSES` in ...
diff --git a/e2e_playwright/st_app_advanced.py b/e2e_playwright/st_app_advanced.py new file mode 100644 index 00000000000..442e81c91df --- /dev/null +++ b/e2e_playwright/st_app_advanced.py @@ -0,0 +1,121 @@ +# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026) +# +# Licensed under the Apache License, V...
4
3
0
[{"id": "G0", "claim": "The unconditional top-level `from streamlit.starlette import App` eagerly loads the entire Starlette server module tree on every `import streamlit` for users who never use ASGI; consider exposing `st.App` lazily (e.g. via module-level `__getattr__`).", "category": "performance", "verdict": "oppo...
null
streamlit__streamlit__14800
streamlit/streamlit
14,800
defect
cd628203f3dc73bed604e55c5ed6b25fac1e74da
445990db85e380118b32cb4426fbc1bd25b1e4f6
[chore] Remove deprecated kwargs from `plotly_chart` and `vega_lite_chart`
## Describe your changes Removes the deprecated `**kwargs` parameter from `st.plotly_chart` and `st.vega_lite_chart`: - `st.plotly_chart`: Users should use the `config` parameter instead - `st.vega_lite_chart`: Users should use the `spec` parameter instead **Breaking change**: Users who were still passing kwargs wil...
diff --git a/lib/streamlit/elements/plotly_chart.py b/lib/streamlit/elements/plotly_chart.py index 92ed027ee4a..2ad7cecde43 100644 --- a/lib/streamlit/elements/plotly_chart.py +++ b/lib/streamlit/elements/plotly_chart.py @@ -390,7 +390,7 @@ def plotly_chart( "box", "lasso", ), - ...
4
3
2
[{"id": "G0", "claim": "Add a unit test asserting that passing a previously-supported kwarg (e.g. sharing=\"streamlit\") to st.plotly_chart now raises TypeError, guarding the new breaking behavior.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add a re...
null
streamlit__streamlit__14860
streamlit/streamlit
14,860
defect
61916e1215a3e8b52c17e4dee9a51ff732f92353
f099fd6ee500199cdf0cdfc5a4d1806958836fe2
[refactor] Cache function signature results for speedup in metrics collection
## Describe your changes Cache function argument names using `@lru_cache` to avoid repeated expensive `inspect.signature()` calls (via `type_util.get_func_parameters`) during metrics collection. The function previously used `getfullargspec()` but was refactored to use `signature()` for better compatibility. - Split `...
diff --git a/lib/streamlit/runtime/metrics_util.py b/lib/streamlit/runtime/metrics_util.py index e687fb217fb..ba7054c3407 100644 --- a/lib/streamlit/runtime/metrics_util.py +++ b/lib/streamlit/runtime/metrics_util.py @@ -22,7 +22,7 @@ import time import uuid from collections.abc import Callable, Sized -from functool...
6
5
1
[{"id": "G0", "claim": "The module-level @lru_cache keeps strong references to every cached callable up to maxsize=256, so dynamically created callables (e.g. partials or closures) can be retained longer than expected; note this cache-retention behavior in the docstring.", "category": "documentation", "verdict": "suppo...
null
streamlit__streamlit__14866
streamlit/streamlit
14,866
defect
84150b90bb418dfbfdf3fad208957091d5b02977
01f8afb4c9b08272890b7322924f3087c492d046
Fix bar_chart axis labels not swapping when horizontal=True
## Summary - When `horizontal=True`, `st.bar_chart` swaps x/y data columns to render bars horizontally, but `x_label` and `y_label` were **not** swapped — so labels appeared on the wrong axes. - The fix swaps the labels along with the data in `_get_axis_encodings()`. - Added a unit test verifying the correct label plac...
diff --git a/lib/streamlit/elements/lib/built_in_chart_utils.py b/lib/streamlit/elements/lib/built_in_chart_utils.py index 770332dfca8..ce0bc53b2cd 100644 --- a/lib/streamlit/elements/lib/built_in_chart_utils.py +++ b/lib/streamlit/elements/lib/built_in_chart_utils.py @@ -894,12 +894,12 @@ def _get_axis_encodings( ...
1
1
1
[{"id": "G0", "claim": "The behavior change will flip the axis titles in the st_bar_chart-horizontal_custom_axis_labels Playwright snapshot, so its baselines under e2e_playwright/__snapshots__/linux/st_bar_chart_test/ should be regenerated/updated in this PR to keep CI green.", "category": "testing", "verdict": "suppor...
null
streamlit__streamlit__14885
streamlit/streamlit
14,885
defect
d69285b57d7218d910312ea6195e8e343f6f89ec
2ceb09b4269cec15fa64b6908ea84f15fb52e5fd
[feature] Direct polars to arrow conversion bypassing pandas
## Describe your changes Adds a fast path for Polars DataFrame/Series/LazyFrame to Arrow IPC conversion that bypasses Pandas, providing ~100-400x performance improvement. **Key changes:** - Direct `to_arrow()` conversion for Polars objects in `convert_anything_to_arrow_bytes` - Centralized `large_list` → `list`...
diff --git a/lib/streamlit/connections/snowflake_connection.py b/lib/streamlit/connections/snowflake_connection.py index c762588f34a..72255c9e311 100644 --- a/lib/streamlit/connections/snowflake_connection.py +++ b/lib/streamlit/connections/snowflake_connection.py @@ -638,7 +638,7 @@ def _connect(self, **kwargs: Any) -...
10
7
5
[{"id": "G0", "claim": "_downcast_large_list_schema rebuilds fields with pa.field(f.name, ...) and the schema with pa.schema(new_fields), silently dropping per-field metadata (and nullability) and schema-level metadata, unlike the existing _downcast_large_arrow_types which preserves both.", "category": "correctness", "...
null
streamlit__streamlit__14896
streamlit/streamlit
14,896
defect
2d0930b00fb6dcd9801e6694755b45d9089bd101
19bd60e25235bad1691524cc5d99b51d7141dc7b
[chore] AI-assisted Python test coverage improvements
## Summary Automated PR to improve Python unit test coverage by ~0.2%. This PR was created by the `ai-test-coverage` workflow using `claude-4.6-opus-high-thinking`. ## Changes # Python Coverage Improvements **Coverage improvement: +0.225% (89.71% → 89.94%)** **Missing lines reduced: 2741 → 2679 (62 fewer)** ## Ne...
diff --git a/lib/streamlit/components/types/base_component_registry.py b/lib/streamlit/components/types/base_component_registry.py index 8122fdcd641..7ed77364928 100644 --- a/lib/streamlit/components/types/base_component_registry.py +++ b/lib/streamlit/components/types/base_component_registry.py @@ -33,7 +33,7 @@ def r...
8
4
0
[{"id": "G0", "claim": "The new presentation_test.py partially duplicates the already-comprehensive test_presentation.py, and its two genuinely new test cases should be appended to test_presentation.py instead of maintaining a second test file for the module.", "category": "maintainability", "verdict": "supported", "pr...
null
streamnative__mop__147
streamnative/mop
147
defect
88c19db79b9cc731766ff5b779aa4ea2ebe90aec
86925cec4404366cd9c4881e0c9e44f316b33a58
Add proxy TLS-PSK support
Fix #85 .
diff --git a/README.md b/README.md index 698ebb12b..bfee93264 100644 --- a/README.md +++ b/README.md @@ -248,6 +248,24 @@ connection.connect(); ... ``` +#### TLS PSK with proxy + +1. Config mqtt broker to load tls psk config. +```java +MQTTServerConfiguration mqtt = new MQTTServerConfiguration(); +mqtt.setMqttProxy...
1
1
1
[{"id": "G0", "claim": "The README's 'TLS PSK with proxy' example configures the feature through Java API calls, and it should instead show the config parameters in the config file.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
streamnative__mop__170
streamnative/mop
170
defect
bd7795f5793c876e39e1a232e23f4c162b08ba22
69a1f68b7a2064f36f0660991fac6c4b36733bac
Add mqtt servlet to support REST API.
## Motivation Add mqtt servlet to support REST API. Also fix #146
diff --git a/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/MQTTAdditionalServlet.java b/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/MQTTAdditionalServlet.java new file mode 100644 index 000000000..e1e8717cf --- /dev/null +++ b/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/...
1
1
0
[{"id": "G0", "claim": "Question whether the stats generation needs a dedicated single-thread executor rather than being handled directly on the Jetty thread, given that more MQTT management endpoints may be added later.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
streamnative__mop__1784
streamnative/mop
1,784
defect
b943a2f9bb1f18fb4ecc1047e5042d883af09af0
5983d79df089efeb3f28125c7d3d94109939f87f
Fix MQTT message error handling and improve connection responses
### Motivation Currently, when there is an exception in checking the connect message, we directly close the channel. However, the client might keep retrying indefinitely. It's best for us to return a connection error to the client. ### Modifications For CONNECT message errors, send a CONNACK error response the...
diff --git a/mqtt-common/src/main/java/io/streamnative/pulsar/handlers/mqtt/common/MQTTCommonInboundHandler.java b/mqtt-common/src/main/java/io/streamnative/pulsar/handlers/mqtt/common/MQTTCommonInboundHandler.java index 807e50f93..90f3282ae 100644 --- a/mqtt-common/src/main/java/io/streamnative/pulsar/handlers/mqtt/co...
1
1
0
[{"id": "G0", "claim": "The fallback protocol version for error responses should be expressed with the MqttVersion constant rather than the magic number 4.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
streamnative__mop__268
streamnative/mop
268
defect
1e558d5463eb57b113b3fca64368dc72a3914b43
9fae678087c1ba6db3663a04f3823df9b9687c1e
MQTT5 - Support UnSubAck response
- enhance unsubAck message. By enhancing the unsuback message, MQTT5 can be basically supported.
diff --git a/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/Constants.java b/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/Constants.java index c103aee9e..a29d9bf9c 100644 --- a/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/Constants.java +++ b/mqtt-impl/src/main/java/io/stre...
2
2
1
[{"id": "G0", "claim": "The inline protocol-version check in processConnect should be extracted into a new isSupportedVersion() method in MqttUtils.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The MQTT5 unsuback payload should use a newly def...
null
streamnative__mop__273
streamnative/mop
273
defect
d9fb57df4ccd4581588f59cdb2eb8dd7d8f1b86e
ead2e50e87c8a3b69e5a29185f36caa379f2efa4
MQTT5 - Support Unsubscribe action.
Support unsubscribe action. all action will response acknowledgement reason code. - Success. - No subscription existed. - Topic Filter invalid. - Unspecified error.
diff --git a/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/exception/MQTTNoSubscriptionExistedException.java b/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/exception/MQTTNoSubscriptionExistedException.java new file mode 100644 index 000000000..4a9c639fc --- /dev/null +++ b/mqtt-impl/src/m...
3
3
1
[{"id": "G0", "claim": "The class comments on the new exception classes should follow the format used in other classes (multi-line javadoc).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The class MqttUnsubAckMessageFactory should be renamed to...
null
streamnative__mop__293
streamnative/mop
293
defect
5ae79e4f150ad8358fca8981a0e4e5236ab82e08
e5bfa56a3ad76b3d1153e3c4b47f4c4ef7018eb1
MQTT-3 ack code
- add mqtt-3.x ack code. - fixed some wrong ack code.
diff --git a/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/Connection.java b/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/Connection.java index 8fa014f49..c5ac488cc 100644 --- a/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/Connection.java +++ b/mqtt-impl/src/main/java/io/s...
1
1
1
[{"id": "G0", "claim": "The new Mqtt3ConnReasonCode enum is missing the 0x04 'bad user name or password' connection reason code, and the MQTT-3 authentication-failure paths (proxy and default processor) should return that code instead of CONNECTION_REFUSED_NOT_AUTHORIZED (0x05).", "category": "correctness", "verdict": ...
null
streamnative__mop__308
streamnative/mop
308
defect
c9753a08b4c23beb93ab9388e66862cbf6a5b4e1
391c6bcbacd1be24d80113613ddc64f0088353b4
Support Server side receive maximum.
- user can config server receive maximum. - server side receive maximum just limit QOS > 0. - server receive maximum default value is 65535.
diff --git a/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/Connection.java b/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/Connection.java index 06d557987..f83f97dc0 100644 --- a/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/Connection.java +++ b/mqtt-impl/src/main/java/io/s...
3
3
0
[{"id": "G0", "claim": "Remove the \"decrement pub message\" log statement in decrementServerReceivePubMessage.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Move the isMqtt5 condition into checkServerReceivePubMessageAndIncrementCounterIfNeede...
null
streamnative__mop__545
streamnative/mop
545
defect
32a9a51e711223e1c67dace74a98b50783c16be6
6550cebf973254379100aad46e2e4f1a76747881
Fix duplicate subscribe issue.
### Motivation If a client subscribes to a topic but disconnects the connect immediately, then subscribe again, there may add more than one pulsar consumer, this may result to missing msg. ### Documentation - [x] `no-need-doc`
diff --git a/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/Connection.java b/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/Connection.java index 6ce67dd62..65b7ffcc5 100644 --- a/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/Connection.java +++ b/mqtt-impl/src/main/java/io/s...
2
2
1
[{"id": "G0", "claim": "The AtomicBoolean used to record duplication looks unnecessary because it does not appear to be a shared variable.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The subscription update has race conditions because Concurr...
null
streamnative__mop__55
streamnative/mop
55
defect
05804fbab5fe661d9c5baac6068f017561aa7ec3
612658bb26107aee4c1d0a37537c1665dcb6da28
Basic and token authentication support
Implements support for "basic" and "token" authentication methods. Partial implementation of what is called for in #49, to go the next step will need to extract the role from the authentication provider and then use that to authorise actions on the connection.
diff --git a/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/MQTTServerConfiguration.java b/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/MQTTServerConfiguration.java index d5ef1901a..f977924be 100644 --- a/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/MQTTServerConfiguration....
4
3
1
[{"id": "G0", "claim": "The README should be updated to document how to enable authentication for MoP.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request introduces checkstyle violations that should be fixed.", "category": "style", "v...
null
streamnative__mop__563
streamnative/mop
563
defect
f3edb18bbe1e3ff528a1f30c9364ce224bdcee01
6fbb8ede2ac9bbb25bbad111387682b1a8ac4364
[MIP-5] Introduce event centre
### Motivation see #562 ### Modifications - Register listener to pulsar metadata. - Support using ``PulsarTopicChangeListener`` listen ``persistent`` topic life cycle event. ### Verifying this change - [x] Make sure that the change passes the CI checks. ### Documentation - [x] `no-need-doc` ...
diff --git a/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/MQTTCommonConfiguration.java b/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/MQTTCommonConfiguration.java index d6e1a62db..fe0e00324 100644 --- a/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/MQTTCommonConfiguration....
4
4
2
[{"id": "G0", "claim": "EventCenterWithProxyTest does not compile on CI (incompatible types: MQTTCommonConfiguration cannot be converted to MQTTServerConfiguration), so the author decides to move it to another PR rather than fix it here.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "i...
null
streamnative__mop__565
streamnative/mop
565
defect
af4db577d09e0ddf89987058c939a71371018511
2fe167c548b8f8b8440056c494729ea4c4ea33bc
Support unique client id in MoP cluster.
Master Issue: #409 ### Motivation As #560 has introduced system topic, this patch is supporting unique client id in MoP cluster. ### Documentation - [x] `doc-required` Update related doc together.
diff --git a/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/MQTTConnectionManager.java b/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/MQTTConnectionManager.java index 069c8f2c7..8de7ea3b0 100644 --- a/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/MQTTConnectionManager.java +...
3
2
1
[{"id": "G0", "claim": "The log lines that record closing an existing connection (including the ConnectEventListener one the comment anchors to) should be raised from debug level to warn level.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ...
null
streamnative__mop__575
streamnative/mop
575
defect
73466624a112a1c472074cfc9dd147a9bff4c76d
520ee80cec71859314f359dc7f059b728fc79420
Support proxy side dynamic subscribe new topic by the filter.
### Motivation see #562 ### Modifications - Support proxy side dynamic subscribe new topic by the filter. ### Verifying this change - [x] Make sure that the change passes the CI checks. Need to update docs? - [x] `no-need-doc`
diff --git a/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/MQTTService.java b/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/MQTTService.java index 19e363d44..b1f4305e2 100644 --- a/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/MQTTService.java +++ b/mqtt-impl/src/main/java/i...
1
1
0
[{"id": "G0", "claim": "Wrapping `subscribeFutures` in `Collections.unmodifiableList` is unnecessary because `FutureUtil.waitForAll` returns a new future and does not need the list to be unmodifiable.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
streamnative__mop__582
streamnative/mop
582
defect
1b47062382dd0bf77f338089c9ee4cc92401534a
c321bdb4779db43b2d670241a59a8ce3d5eec1c7
Change ``connection`` close logic to fix some potential probelms.
Fixes #579 Master Issue: #579 ### Motivation Based on issue #579, I found we exist a problem. The `Connection#close` method is called multiple times when the previous connection is overwritten and closed by the `client id`, and some errors are thrown when it triggers a race condition. ### Modifications ...
diff --git a/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/Connection.java b/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/Connection.java index 8729f4996..898c9de71 100644 --- a/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/Connection.java +++ b/mqtt-impl/src/main/java/io/s...
1
1
1
[{"id": "G0", "claim": "The test should check the consumer size after the second client takes over, to verify no consumers or subscriptions are left behind.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
streamnative__mop__586
streamnative/mop
586
defect
ac3e313190e8d402fef8b73e6ef8147f0b858547
8e532921ceb2cbb84a8ce163b7525a76a07552d8
Support Proxy `PulsarClient` connect to Broker with TLS
### Motivation The broker lookup handler could not resolve the addresses of multiple MQTT listeners. Because we used to use hard code to parse `mqttBrokerUrl`. we just assume it's a single URL. But this property can be multiple, like `mqtt://127.0.0.1:1884,mqtt+ssl://127.0.0.1:1885` ### Modifications - Support...
diff --git a/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/MQTTProtocolHandler.java b/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/MQTTProtocolHandler.java index 227c98554..2e9248589 100644 --- a/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/MQTTProtocolHandler.java +++ b/m...
1
1
0
[{"id": "G0", "claim": "In getClient, when creating the PulsarClient fails the code should throw IllegalArgumentException instead of IllegalStateException, because IllegalArgumentException is the more precise exception for this failure.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "in...
null
streamnative__mop__600
streamnative/mop
600
defect
60ea905ba2e88ef1ce360b9b7d318f786ba985fd
e1e8cac216cef62c40084a913479e9e9b84597b1
Support proxy connection pool
Fixes #591 ### Motivation See #591 ### Modifications - Support proxy connection pool ### Verifying this change - [x] Make sure that the change passes the CI checks. ### Documentation - [x] `no-need-doc`
diff --git a/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/MQTTCommonConfiguration.java b/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/MQTTCommonConfiguration.java index ae0429f68..6914c8c93 100644 --- a/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/MQTTCommonConfiguration....
4
2
0
[{"id": "G0", "claim": "The connect-failure log in createChannel should not use String.format and should be rewritten in plain parameterized form.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new pool-rotation counter field should be decla...
null
streamnative__mop__631
streamnative/mop
631
defect
9a9ea543fa97652e81d761379ec2ba5c22a993aa
0f6fa0849a25593d5a6daba7f2219a93f47db5ab
Support mqtt5 connect maximum packet size property.
Master issue: #369 ### Motivation Support mqtt5 connect maximum packet size property. ### Documentation - [x] `no-need-doc`
diff --git a/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/messages/MqttPropertyUtils.java b/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/messages/MqttPropertyUtils.java index c48c47eb1..122081bd6 100644 --- a/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/messages/MqttPrope...
1
1
1
[{"id": "G0", "claim": "The message discarded for exceeding the maximum packet size should be acked rather than silently dropped with a bare continue.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
streamnative__mop__87
streamnative/mop
87
defect
0456183b5b609758c043defdf16b919e909d04fb
7e548d90940fbfef6df1da9e6c7e84ebd58fb1e0
Support multiple levels topic name
Adding a namespace prefix in the MQTT topic name when sending messages and subscribe to a topic. ``` | __public/default__/a/b/c -> /a/b/c under public/default | | __public/default__a/b/c -> a/b/c under public/default | | __public/default__/+/b/c -> /+/b/c under pu...
diff --git a/.github/workflows/pr_test.yml b/.github/workflows/pr_test.yml index d47af31c9..663a4350a 100644 --- a/.github/workflows/pr_test.yml +++ b/.github/workflows/pr_test.yml @@ -12,7 +12,7 @@ jobs: build: runs-on: ubuntu-latest - + timeout-minutes: 10 steps: - uses: actions/checkout@v1 ...
2
2
0
[{"id": "G0", "claim": "The topic domain should be specified when the MQTT topic name carries no domain, rather than always defaulting to `persistent` (questioning the hard-coded `TopicDomain.persistent.value()` fallback for domain-less topics).", "category": "design", "verdict": "supported", "priority": "P3", "scope":...
null
streamnative__mop__95
streamnative/mop
95
defect
d72294a308fa5d9b0ecdff2bf8d835d541f2c031
2db8666b97d725ce197666344a996a970858459a
Add topic name filter support for the mqtt subscribe
Fix: https://github.com/streamnative/mop/issues/59 This PR only support the topic name filter for the mop server, not the proxy.
diff --git a/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/AbstractQosPublishHandler.java b/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/AbstractQosPublishHandler.java index 9f227b98c..1f040c713 100644 --- a/mqtt-impl/src/main/java/io/streamnative/pulsar/handlers/mqtt/AbstractQosPublishHa...
4
3
0
[{"id": "G0", "claim": "If users use TopicFilterDisabled, the filter matches all topics, which may be a potential risk.", "category": "security", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A warning log should be added for the abnormal case where a seq is not tracked by the...
null
streamreasoning__rsp4j__3
streamreasoning/rsp4j
3
defect
98bb2d88f97011b26d957b99ef9b72f7e8f4b133
37d1c81609d8f7491f0592628d8677d8b8d3e3c8
frame, single-buffer windowing
added single-buffer windowing (_WindowBuffer_), frames windowing (_FrameWindowing_), and modified the window instance (_Window_ and _WindowImpl_) accordingly, together with the _OnWindowClose_ Strategy.
diff --git a/api/src/main/java/org/streamreasoning/rsp4j/api/operators/s2r/execution/instance/Window.java b/api/src/main/java/org/streamreasoning/rsp4j/api/operators/s2r/execution/instance/Window.java index a6826989..5f3b5842 100644 --- a/api/src/main/java/org/streamreasoning/rsp4j/api/operators/s2r/execution/instance/...
2
2
1
[{"id": "G0", "claim": "The reviewer asks the author to document the pull request's new classes, interfaces and methods (Window.isClosed(), AggregateWindowing, Scope and its apply result, FrameWindowing, BoundaryWindowing, CSPARQLStreamToRelationOpSingle, CandidateWindow, DeltaWindowing, EventBean, FrameState and its m...
null
streetwriters__notesnook__1490
streetwriters/notesnook
1,490
defect
7b7fd6204701d5f5c42c0c810778b38fd09eb069
f78b78bb804b1bb5d0a76da426a214ae47678cc6
web: sorting tests for notes, notebooks, tags & topics
Signed-off-by: Muhammad Ali [alihamuh@gmail.com](mailto:alihamuh@gmail.com)
diff --git a/apps/web/__e2e__/models/base-view.model.ts b/apps/web/__e2e__/models/base-view.model.ts index 5039b84d7b..9a35ea2e25 100644 --- a/apps/web/__e2e__/models/base-view.model.ts +++ b/apps/web/__e2e__/models/base-view.model.ts @@ -21,10 +21,31 @@ import { Locator, Page } from "@playwright/test"; import { getTe...
6
6
2
[{"id": "G0", "claim": "The `Sort` type added in base-view.model.ts should be renamed to `SortOptions`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "BaseViewModel should not define a separate locator for each sort/group menu item since these i...
null
streetwriters__notesnook__2267
streetwriters/notesnook
2,267
defect
8ab26eb852f012e241dc4891e64955b74956707e
ccb99ba26b6b98f6bb89d0ea3101ba152f45c550
Fix code block syntax highlighting not updating when changing its language
Fixes #2222
diff --git a/packages/editor/src/extensions/code-block/code-block.ts b/packages/editor/src/extensions/code-block/code-block.ts index ba8cbd0750..ff900ddfd2 100644 --- a/packages/editor/src/extensions/code-block/code-block.ts +++ b/packages/editor/src/extensions/code-block/code-block.ts @@ -125,7 +125,7 @@ export const ...
7
7
4
[{"id": "G0", "claim": "The editor tests are failing.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Use `refractor.registered` directly instead of a hand-rolled isRegistered helper that loops over listLanguages and returns a non-boolean string.", "...
null
streetwriters__notesnook__6849
streetwriters/notesnook
6,849
defect
fab085579a3c2371647425628a0dac20fb91454a
447a1bee1f30368a2197be022f0b94ed81d8d5db
web: better ux when autosave is off (#6610)
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com> Closes #6610
diff --git a/apps/web/src/components/editor/action-bar.tsx b/apps/web/src/components/editor/action-bar.tsx index e13e030ca5c..b4fd9e915ad 100644 --- a/apps/web/src/components/editor/action-bar.tsx +++ b/apps/web/src/components/editor/action-bar.tsx @@ -44,6 +44,7 @@ import { } from "../icons"; import { ScrollContaine...
7
7
4
[{"id": "G0", "claim": "The auto-save-disabled toast handling sits in the wrong layer: tiptap.tsx should expose a callback like onAutoSaveDisabled and let the upper layer handle showing the toast.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Exporting ...
null
streetwriters__notesnook__6878
streetwriters/notesnook
6,878
defect
34d0123351c5d9660e9e9c34efed131d9a0a990b
fd36749695a2904f809407d379dde2ce83eab703
editor: fix backspace deleting formatting in list item (#6712)
* fix hitting backspace inside the second (or next) p in list item deleted the formatting of the entire list item Closes #6712
diff --git a/packages/editor/patches/@tiptap+extension-list-keymap+2.6.6.patch b/packages/editor/patches/@tiptap+extension-list-keymap+2.6.6.patch index 5a409c1dda6..eed9963e2bd 100644 --- a/packages/editor/patches/@tiptap+extension-list-keymap+2.6.6.patch +++ b/packages/editor/patches/@tiptap+extension-list-keymap+2.6...
4
4
2
[{"id": "G0", "claim": "The test file and its snapshot are named `list-tem.test.ts` / `list-tem.test.ts.snap` and should be renamed to the correct `list-item` spelling.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The patch changes `dist/index...
null
streetwriters__notesnook__7061
streetwriters/notesnook
7,061
defect
75c346a4607af3769883119d335573539f1d48ee
a8ac5c04b73d17463b718c6c7a7798cfa9676c1b
web: fix tags not showing in locked note
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
diff --git a/apps/web/__e2e__/notes.test.ts b/apps/web/__e2e__/notes.test.ts index bbfac9c20db..8d0368df9e4 100644 --- a/apps/web/__e2e__/notes.test.ts +++ b/apps/web/__e2e__/notes.test.ts @@ -231,6 +231,23 @@ test("add tags to note", async ({ page }) => { expect(noteTags.every((t, i) => t === tags[i])).toBe(true); ...
1
1
0
[{"id": "G0", "claim": "Fetch the note's tags directly in the unlock view (apps/web/src/components/editor/index.tsx) instead of passing them through the locked editor session.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
streetwriters__notesnook__7109
streetwriters/notesnook
7,109
defect
60989359e27f96b61a99c8e08991b89a1d92f294
66b7340268124113e13a6a878b3c321f91d74baf
web: add go to next/previous tab shortcut
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
diff --git a/apps/web/__e2e__/editor.test.ts b/apps/web/__e2e__/editor.test.ts index b5b9e224677..1d8b781584d 100644 --- a/apps/web/__e2e__/editor.test.ts +++ b/apps/web/__e2e__/editor.test.ts @@ -270,3 +270,55 @@ test("#1468 count words separated by newlines", async ({ page }) => { expect((await notes.editor.getW...
3
3
1
[{"id": "G0", "claim": "Replace the single dir-parameterized openNextSession with two separate methods, openPreviousSession and openNextSession.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Handling the tab shortcut inside TipTap's editorProps.handleKe...
null
streetwriters__notesnook__7172
streetwriters/notesnook
7,172
defect
b296f5dd5caa40d327536f4de5fff46fefc487cc
3a0790c68c8c74041b7e2b6ff335e7d45aadb084
Fix vault unlock status not shown when a note was unlocked
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
diff --git a/apps/web/__e2e__/vault.test.ts b/apps/web/__e2e__/vault.test.ts new file mode 100644 index 00000000000..2d62f0aeae1 --- /dev/null +++ b/apps/web/__e2e__/vault.test.ts @@ -0,0 +1,88 @@ +/* +This file is part of the Notesnook project (https://notesnook.com/) + +Copyright (C) 2023 Streetwriters (Private) Limi...
1
1
0
[{"id": "G0", "claim": "In apps/web/__e2e__/vault.test.ts the new tests should use `await expect(locator).toBeVisible()` instead of `vaultUnlockedStatus.waitFor({ state: \"visible\" })`.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
streetwriters__notesnook__7541
streetwriters/notesnook
7,541
defect
0517c6ce415ebc3e383109db627adfeebe50b1a2
5066c87b2b27cd081612608072efc938b8750f42
web: hide undo & redo buttons for readonly notes
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
diff --git a/apps/web/__e2e__/editor.test.ts b/apps/web/__e2e__/editor.test.ts index 5f79ab377fb..5f79ffae250 100644 --- a/apps/web/__e2e__/editor.test.ts +++ b/apps/web/__e2e__/editor.test.ts @@ -258,6 +258,22 @@ test("creating a new note and toggling read-only mode should not empty editor co expect(await notes.edi...
1
1
0
[{"id": "G0", "claim": "The new isUndoButtonVisible/isRedoButtonVisible helper methods are unnecessary — use `expect` assertions directly instead, exposing `undoButton` and `redoButton` as public fields.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
streetwriters__notesnook__7669
streetwriters/notesnook
7,669
defect
c9c72741b3aa9a964a986d25e95c5aebeab2ba48
c8b556bc78136d5285ffc085a7193c4583385033
web: command palette fixes
* core: add getIdentifier in fuzzy; this allows the caller to provide a custom indentifier instead of relying on id field in the items list * fix crashing when hitting enter when no results found * fix commands list not refreshing when removing recent command * fix recent command not showing up in the commands list ...
diff --git a/apps/web/src/dialogs/command-palette/command-palette-dialog.tsx b/apps/web/src/dialogs/command-palette/command-palette-dialog.tsx index bdf1c40d43d..f268fe923f8 100644 --- a/apps/web/src/dialogs/command-palette/command-palette-dialog.tsx +++ b/apps/web/src/dialogs/command-palette/command-palette-dialog.tsx...
3
3
1
[{"id": "G0", "claim": "Replace the custom sortCommands grouping logic with a simple `.sort` by group.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Default commands should not be fetched over and over again; do not drop the `if (!defaultComman...
null
streetwriters__notesnook__7692
streetwriters/notesnook
7,692
defect
efa73a1c32cd5574dbe68ce94dd7e8ac728cc9fb
66aaa9beb13fdd2b8b44064f7833e2467e891d79
web: pinned tab fixes
* fix pinned tab not working after page reload * fix note opening in new tab even if its tab is present when active note is pinned Closes #7683
diff --git a/apps/web/__e2e__/tabs.test.ts b/apps/web/__e2e__/tabs.test.ts index fbf2a67657..6effd7c55f 100644 --- a/apps/web/__e2e__/tabs.test.ts +++ b/apps/web/__e2e__/tabs.test.ts @@ -379,5 +379,54 @@ test("notes open in multiple tabs should sync title when title is changed", asyn expect(await notes.editor.getTit...
3
2
1
[{"id": "G0", "claim": "The newly added considerPinnedTab option may be unnecessary, and the reviewer asks why it is needed at all.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "After pinning a tab and reloading the app, the pinned tab cannot be opened ...
null
streetwriters__notesnook__7739
streetwriters/notesnook
7,739
defect
dcdd876a4cc7c002de673267a2ffbf6eb805842c
08f220ba88635591dc945301580831cdbf6ccc40
core: generate headline title until user edit && update headline extraction
* when title format is set to $headline$, keep generating headline title until user manually edits the title * extract headline from first html tag with content rather than first paragraph Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com> Related to #7710 Related to #6806 Related to #3439 ...
diff --git a/apps/web/__e2e__/editor.test.ts b/apps/web/__e2e__/editor.test.ts index 6eedc502391..c5751a155d7 100644 --- a/apps/web/__e2e__/editor.test.ts +++ b/apps/web/__e2e__/editor.test.ts @@ -131,6 +131,35 @@ test("focus should not jump to editor while typing in title input", async ({ expect(await notes.editor....
8
8
1
[{"id": "G0", "claim": "extractHeadline will generate an incomplete/partial headline when the content contains inline tags such as <b> or <strong>.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Headline extraction should be based on a character lim...
null
streetwriters__notesnook__7968
streetwriters/notesnook
7,968
defect
cac945501d6df42724674bf3b4521a7dc8585213
07c474dfc0d518ec1c2f79c216dee239e0e5e780
core: segregate logic for note headline and note headline title generation
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com> Closes #7970
diff --git a/packages/core/__tests__/notes.test.ts b/packages/core/__tests__/notes.test.ts index c2fe7a2784..9bfa3e2173 100644 --- a/packages/core/__tests__/notes.test.ts +++ b/packages/core/__tests__/notes.test.ts @@ -134,7 +134,7 @@ test("changing content shouldn't reset the note title ", () => expect(note?.titl...
5
4
1
[{"id": "G0", "claim": "The newly added extractHeadlineTitle function in html-parser.ts should be renamed to extractTitle.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The newly added Tiptap method toHeadlineTitle should be renamed to toTitle....
null
streetwriters__notesnook__8066
streetwriters/notesnook
8,066
defect
2f3a895ddcb3d19dab7feba92ed15f099d51e6e5
f9a448c2af4b0a112c5898aa30483c9bf8287f4e
web: add 'move to top' for sub-notebooks
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com> Closes #7855
diff --git a/apps/web/__e2e__/models/notebook-item.model.ts b/apps/web/__e2e__/models/notebook-item.model.ts index c437de1e56d..8ca24855542 100644 --- a/apps/web/__e2e__/models/notebook-item.model.ts +++ b/apps/web/__e2e__/models/notebook-item.model.ts @@ -113,4 +113,11 @@ export class NotebookItemModel extends BaseIte...
1
1
0
[{"id": "G0", "claim": "The lazy-loader is unnecessary here; the depth can simply be passed down as context and used instead.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
streetwriters__notesnook__8385
streetwriters/notesnook
8,385
defect
1293fa2dec842d30941707c289cce9a3d77f1d60
a2810862ba2c46ebaa52368eebbebf0e895b92f3
Handle pasting urls in html
Fixes https://github.com/streetwriters/notesnook/issues/8180 Not deeply familiar with all the url formats, let me know if something that needs to be tested. Tested html urls, markdowns, and something like http://example.com cc @01zulfi
diff --git a/packages/editor/src/extensions/link/helpers/smartLinkPaste.ts b/packages/editor/src/extensions/link/helpers/smartLinkPaste.ts new file mode 100644 index 00000000000..bd71e6941b7 --- /dev/null +++ b/packages/editor/src/extensions/link/helpers/smartLinkPaste.ts @@ -0,0 +1,79 @@ +/* +This file is part of the ...
2
2
1
[{"id": "G0", "claim": "The whole change is more than the fix requires: instead of removing the markPasteRule and adding a 79-line smartLinkPaste plugin, keep the markPasteRule and make its find check the text/html clipboard variant and return no matches when it contains an <a tag.", "category": "design", "verdict": "s...
null
streetwriters__notesnook__8877
streetwriters/notesnook
8,877
defect
17b14e0ac6d3defe3a7f2ac058d713ebde5a8329
78e467287199cc9a9cca492beefe6ff383e7c34d
editor: fix images from older version not rendering in outline list
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
diff --git a/packages/editor/src/extensions/outline-list-item/outline-list-item.ts b/packages/editor/src/extensions/outline-list-item/outline-list-item.ts index 499fddb896..9b0801dfba 100644 --- a/packages/editor/src/extensions/outline-list-item/outline-list-item.ts +++ b/packages/editor/src/extensions/outline-list-ite...
1
1
1
[{"id": "G0", "claim": "Add tests for the outline list item change that inserts an empty paragraph before a non-paragraph first child.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
streetwriters__notesnook__8905
streetwriters/notesnook
8,905
defect
33559250d88a6fd50e2603b28570850c8d945270
14197ee1fe35da21673337b7336157656d55acc9
editor: fix old inline images in bullet,numbered,task&check lists
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
diff --git a/packages/editor/src/extensions/list-item/list-item.ts b/packages/editor/src/extensions/list-item/list-item.ts index 05daff19b7b..5a9809e137c 100644 --- a/packages/editor/src/extensions/list-item/list-item.ts +++ b/packages/editor/src/extensions/list-item/list-item.ts @@ -18,8 +18,28 @@ along with this prog...
2
2
1
[{"id": "G0", "claim": "The getContent parsing logic should not be written separately in each list-item extension: write it once and reuse the getContent function across the extensions.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The same getContent h...
null
streetwriters__notesnook__9159
streetwriters/notesnook
9,159
defect
fa0a5afa63ac628d439d1a3cd2ffee9ea9c3e6bd
b0a70e83d4dad9fae67cf33a28f18c16d39124bd
web: allow editing note's created date from properties panel
ERROR: type should be string, got "\r\nhttps://github.com/user-attachments/assets/5c78c028-ab0c-45a6-a13d-bdb8d3ef75ce\r\n\r\n"
diff --git a/apps/mobile/app/components/properties/date-meta.jsx b/apps/mobile/app/components/properties/date-meta.jsx deleted file mode 100644 index a6919179f0..0000000000 --- a/apps/mobile/app/components/properties/date-meta.jsx +++ /dev/null @@ -1,72 +0,0 @@ -/* -This file is part of the Notesnook project (https://n...
2
2
1
[{"id": "G0", "claim": "It should not be possible to set the note's creation date in the future.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The date editor should be opened as a proper centered dialog instead of the popover shown.", "category": ...
null
streetwriters__notesnook__9541
streetwriters/notesnook
9,541
defect
0fa79433bd115f3fe54ec194ea23111d2e1e7cb2
c4edd17d451d43312e8e79f47f131f36df609ecf
core: normalize special separators in fuzzy search
## Description <!-- Add a detailed summary of what this feature/bugfix does --> Closes https://github.com/streetwriters/notesnook/issues/9480 ## Type of Change - [X] Bug fix - [ ] Feature ## Visuals - [ ] Attached relevant screenshots / screen recording / GIF - [X] N/A (not a feature or no UI changes) ...
diff --git a/packages/core/src/utils/__tests__/fuzzy.test.ts b/packages/core/src/utils/__tests__/fuzzy.test.ts index f35cb6c5cb5..cd5bad61810 100644 --- a/packages/core/src/utils/__tests__/fuzzy.test.ts +++ b/packages/core/src/utils/__tests__/fuzzy.test.ts @@ -93,4 +93,25 @@ describe("lookup.fuzzy", () => { ).to...
1
1
0
[{"id": "G0", "claim": "The query should be normalized just once outside the loop rather than calling normalizeSeparators(query) on every field iteration.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null