Commit c3a2463
Fix: scatter bubble click now correctly opens model card
- Read scatter selection from session_state before st.plotly_chart (on_select='rerun'
triggers an immediate rerun, so post-chart code never runs in the same cycle)
- Add selection_source tracking ('scatter' | 'grid' | None) so grid's else-branch
no longer clears selected_model when the scatter plot is the selection owner
- Guard grid deselect: only clear selected_model when selection_source == 'grid'
- Reset selection_source in profile _close() alongside the other session state keys
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 889d697 commit c3a2463
22 files changed
Lines changed: 27 additions & 18 deletions
File tree
- app/components
- docs
- src/openllm_selector/data
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
84 | 85 | | |
85 | | - | |
86 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
191 | 188 | | |
192 | 189 | | |
193 | 190 | | |
194 | | - | |
195 | | - | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
196 | 194 | | |
197 | | - | |
| 195 | + | |
198 | 196 | | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
199 | 201 | | |
200 | 202 | | |
201 | 203 | | |
| |||
Loading
Loading
Loading
Loading
Loading
Loading
Loading
0 commit comments