Commit 4e2689a
authored
feat: Disable progress bars in Anywidget mode (#2444)
This PR improves the user experience of the interactive Anywidget
display mode by automatically disabling progress bars and job logging
during widget operations.
Changes:
Wrapped the get_anywidget_bundle call in repr_mimebundle with
option_context("display.progress_bar", None) to silence the initial
widget load.
Wrapped TableWidget._initial_load and TableWidget._set_table_html
methods to silence subsequent interactions like pagination and sorting.
Motivation:
When interacting with the TableWidget (paging, sorting), the repeated
appearance of progress bars creates visual noise and clutter in the
notebook output cell, distracting from the interactive data exploration
experience. This change ensures a clean and seamless interface.
Verified at:
vs code notebook: screen/B7hCnXdLeTiFshr
colab notebook: screen/4d8Kpo5ZbbfZUBb
Fixes #< 482120359 > 🦕1 parent 3cb57b1 commit 4e2689a
1 file changed
+23
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
| 137 | + | |
137 | 138 | | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
152 | 153 | | |
153 | | - | |
154 | | - | |
| 154 | + | |
| 155 | + | |
155 | 156 | | |
156 | 157 | | |
157 | 158 | | |
| |||
274 | 275 | | |
275 | 276 | | |
276 | 277 | | |
277 | | - | |
| 278 | + | |
| 279 | + | |
278 | 280 | | |
279 | 281 | | |
280 | 282 | | |
281 | 283 | | |
282 | 284 | | |
283 | 285 | | |
284 | | - | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
285 | 289 | | |
286 | 290 | | |
287 | 291 | | |
| |||
0 commit comments