Gradio PR Bot
f719264344
chore: update versions ( #10753 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-13 15:11:33 -07:00
Hannah
8d03368243
Fix max characters in non-editable dataframes ( #10805 )
...
* logic tweak for truncation
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-13 21:24:13 +00:00
Hannah
39c30be162
Add parent focus for drag selection ( #10804 )
...
* add drag focus
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-13 13:27:58 -07:00
Hannah
9ec8898c0f
Fix excess scroll bug in dataframe ( #10802 )
...
* fix excess scroll
* add changeset
* fix test
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-13 17:44:49 +00:00
Abubakar Abid
681254453a
On Windows OS, hide gr.Dataframe
scrollbars while keeping scrolling functionality ( #10784 )
...
* scrollbars
* add changeset
* add changeset
* add changeset
* format
* changes
* revert
* add changeset
* revert everything
* revert
* delete changeset
* changes
* add changeset
* Changes"
push
"
;
* changes
* changes
* changes
* notebook
* maybe a simpler fix
* - add css tweaks back in
- add touch device improvement
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2025-03-13 00:05:07 -07:00
Hannah
88941b655e
Remove fixed layouts from dataframe ( #10786 )
...
* remove fixed layout
* add changeset
* tweak
* - remove css widths on change
* tweak
* allow % widths
* add story
* dataframe
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-03-12 22:44:29 +00:00
Dawood Khan
cae5517307
Fixed size for pending thoughts ( #10671 )
...
* restyle
* style
* add changeset
* nested thoughts
* nested fix
* format
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-12 17:51:13 +00:00
Hannah
373007b3e9
Allow sorting by multiple columns in dataframe ( #10778 )
...
* add sort by multiple columns logic
* add changeset
* fix sort tests
* priority design tweaks
* tweak
* add story
* improvements to sort buttons
* add changeset
* - reset sort after update
- fix order
* sort icon border tweak
* reset sort state on change
* move sort to cell menu
* add changeset
* add sort story
* fix type check
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-12 09:42:07 +00:00
Hannah
b3e8c263be
Implement cell selection via drag in dataframe ( #10787 )
...
* add dragging interaction
* add changeset
* fix
* fix cursor
* add drag test
* change test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-11 20:24:59 -07:00
Abubakar Abid
fb8c1cb6d1
Move gr.Textbox
lines logic to frontend ( #10785 )
...
* changes
* add changeset
* test
* fix max lines
* fix e2e test
* add changeset
* changes
* format
* warnings textbox
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-11 23:10:35 +00:00
Yuichiro Tachibana (Tsuchiya)
731ab92001
Autocompletion on code editor component ( #10733 )
...
* Update CodeMirror packages to use the autocompletion feature of lang-python
* Add autocomplete option to the Code component
* add changeset
* Add AutocompleteTheme
* Fix test
* Fix docstring
* Enable autocompletion on Playground
* add changeset
* add changeset
* Assign Tab to acceptCompletion
* Enable autocompletion in the playground mode of Lite apps
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2025-03-11 19:51:29 +09:00
Abubakar Abid
3b483672f4
Allow navigating down from header cells, as well as support cmd/ctrl + arrow keys ( #10777 )
...
* keyboard
* add changeset
* format
* changes
* s
* changes
* changes
* format
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-11 09:57:05 +00:00
Col0ring
3232cddc00
fix: latex rendering of markdown ( #10765 )
...
* fix: latex rendering of markdown
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Dawood Khan <dawoodkhan82@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-03-11 01:05:24 +00:00
Abubakar Abid
85f6132f1f
Fix cell selection when using shift + arrow keys ( #10776 )
...
* changes
* add changeset
* changes
* add changeset
* remove console
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-10 14:39:55 -07:00
Hannah
c44b8f47b9
Add static_columns
param for interactive dataframes ( #10734 )
...
* allow showing image sin dataframe with image component
* add scroll to top button
* add changeset
* fix truncated text issue + prevent truncating non-text data
* refactor with state mgmnt
* add changeset
* formatting
* tweaks
* tweak
* add e2e tests
* notebook
* more component extraction, move css to components
* type fixes
* test fixes
* fix test
* notebook
* add changeset
* fix tests
* fix test
* fix test
* remove misc.css file
* reset sort
* fix z-index over progress bar
* css tweak
* fix search and add search to e2e test
* fix keyboard reactivity issue
* add cell selection e2e tests
* z-index fixes
* ensure unique context ids
* fix row number bug
* frozen -> pinned
* pinned col border tweak
* pinned col fix when show_row_numbers is true
* header tweak
* fix pinned columns clash with column_widths
* add row test
* add static_cols param and test
* add changeset
* tweak
* fix tests
* test tweaks
* add row story
* tweaks
* fix test
* tweak
* redesign selection buttons
* fix test
* fix test
* fix test
* fix test
* edit demo with static cols
* change to list[int]
* cursor tweak
* fix test
* nb
* set col count to fixed if static_cols are set
* lint
* tweak demo
* fix col count logic
* add padlock icon
* fix py test
* lint
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-10 19:10:36 +00:00
Dawood Khan
0ce7bfe1bd
Allow tags for chatbot models using gr.load
( #10768 )
...
* gr.load chatbot fix
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-09 05:26:50 -04:00
aliabid94
dd2de17064
Fix windows path issue in FileExplorer ( #10735 )
...
* changes
* add changeset
* Update file_explorer.py
* add changeset
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-07 14:51:05 -08:00
Dawood Khan
3086343a68
Allow custom tags for chatbot ( #10743 )
...
* restyle
* style
* add changeset
* nested thoughts
* nested fix
* format
* allow_tags
* allow-tags for load
* undo
* add changeset
* allow custom tags
* format
* extract html tags into file
* add changeset
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-03-07 21:45:54 +00:00
Hannah
b4342d24a8
Fix dataframe search and filter functionality ( #10757 )
...
* store and update rows with indices value
* clean up search/filter logic and remove duplicate functions
* add changeset
* add make_headers tests
* simplify logic
* lint
* add changeset
* ts fixes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-07 20:16:50 +00:00
Hannah
b5ca1dcfdf
Refactor gr.Dataframe
( #10631 )
...
* allow showing image sin dataframe with image component
* add scroll to top button
* add changeset
* fix truncated text issue + prevent truncating non-text data
* refactor with state mgmnt
* add changeset
* formatting
* tweaks
* tweak
* add e2e tests
* notebook
* more component extraction, move css to components
* type fixes
* test fixes
* fix test
* notebook
* add changeset
* fix tests
* fix test
* fix test
* remove misc.css file
* reset sort
* fix z-index over progress bar
* css tweak
* fix search and add search to e2e test
* fix keyboard reactivity issue
* add cell selection e2e tests
* z-index fixes
* ensure unique context ids
* fix row number bug
* frozen -> pinned
* pinned col border tweak
* pinned col fix when show_row_numbers is true
* header tweak
* fix pinned columns clash with column_widths
* add row test
* tweak
* fix tests
* test tweaks
* add row story
* tweaks
* redesign selection buttons
* fix test
* fix test
* fix seach issue
* allow navigation with arrows when not in editing mode
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-07 10:52:18 +00:00
Gradio PR Bot
db0e09ce21
chore: update versions ( #10717 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-06 14:29:33 -08:00
Artem Kudisov
19411c6b15
Fix ClearButton ( #10748 )
...
* add deepcopy
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-06 13:52:45 -08:00
Dawood Khan
1cf992b042
Sidebar fixed positioning ( #10737 )
...
* return back to fixed positioning
* add changeset
* fix mobile double sidebars
* add changeset
* remove sidebar embedded demo
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-06 16:13:31 +00:00
Ali Abdalla
a89fa288f4
Add missing docs and fix gaps in website ( #10744 )
...
* fix filepath mention in custom css guide
* write and fix docs for event data classes
* add changeset
* Update js/_website/src/lib/templates/gradio/04_helpers/05_selectdata.svx
* Update js/_website/src/lib/templates/gradio/04_helpers/05_selectdata.svx
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-03-06 07:54:01 -08:00
Rick van Hattem
2b3842066b
Changed warning stacklevel to improve warnings in console ( #10732 )
...
* Changed warning stacklevel to improve warnings in console
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-05 22:58:48 +00:00
aliabid94
16244f3c1c
Event Listeners in gradio sketch ( #10694 )
...
* changes
* add changeset
* changes
* changes
* changes
* changes
* changes
* chagnes
* add changeset
* changes
* fix sidebar visible false
* add changeset
* changes
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-03-05 01:39:45 -08:00
Abubakar Abid
9fce28b76b
Allow sending a custom TLS certificate or no TLS certificate when connecting to custom share servers ( #10728 )
...
* changes
* changes
* add changeset
* changes
* add changeset
* fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-04 23:11:31 +00:00
Abubakar Abid
17ffdd26c2
cset
2025-03-04 14:22:12 -08:00
aliabid94
b710d7cf13
Fix error display ( #10719 )
...
* changes
* add changeset
* format
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-03-04 14:17:13 -08:00
Abubakar Abid
2248005b10
Add pwa
and enable_monitoring
parameters to mount_gradio_app
( #10720 )
...
* changes
* add changeset
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-04 14:16:57 -08:00
Abubakar Abid
667f8a1f82
Fix Chatbot avatar image position ( #10724 )
...
* pending
* add changeset
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-04 21:23:06 +00:00
Anirban Basu
b3ac430d5e
fix: Check for Node.js path only if SSR mode is true. ( #10721 )
...
* fix: Fixes https://github.com/gradio-app/gradio/issues/10711 .
* add changeset
* chore: Fixed the formatting.
See: https://github.com/gradio-app/gradio/pull/10721#pullrequestreview-2655514471
* fix: Corrected change set label.
* chore: Formatting fix for gradio/blocks.py
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-04 03:11:45 +00:00
Péter Gyarmati
5faa2a34cc
chore: bump Pyodide version to 0.27.3 ( #10706 )
...
* chore: bump Pyodide version to 0.27.3
* add changeset
* chore: remove `packageManager` from package.json
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-04 01:44:26 +09:00
Gradio PR Bot
54fd90703e
chore: update versions ( #10700 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-28 14:02:29 -08:00
Gradio PR Bot
87820551ee
chore: update versions ( #10693 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-28 13:16:35 -08:00
Ali Abdalla
92d5ac8e67
Static llms.txt route on the website ( #10677 )
...
* create route
* add changeset
* formatting
* fix
* fix
* actually fix
* formatting
* try with cloudflare adapter?
* test
* damn
* using cloudflare adapter properly
* formatting
* please
* ??
* ???
* test
* fix
* fix
* ????
* lockfile
* do just static instead
* add changeset
* remove instructions
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-28 21:10:34 +00:00
Abubakar Abid
16d419b9f1
Allow functions that solely update component properties to run in the frontend by setting js=True
( #10500 )
...
* changes
* add changeset
* revert
* changes
* add changeset
* changes
* fe changse
* notebook
* changes
* fix fe
* changes
* add changeset
* change
* add changeset
* notebook
* add tests
* changes
* changes
* changes
* changes
* changes
* type
* changes
* changes
* changes
* notebooks
* fix
* fix
* changes
* changes
* changes
* changes
* changes
* notebooks
* changes
* revert
* changes
* changes
* changes
* notebook
* changes
* done
* changes
* add changeset
* update
* changes
* add changeset
* added a guide
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-28 12:45:20 -08:00
Abubakar Abid
bd982df85b
Change gr.load
chatinterface behavior to streaming ( #10688 )
...
* change chatbot to streaming
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-27 09:59:47 -08:00
Gradio PR Bot
13c6b61ea1
chore: update versions ( #10674 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-26 16:29:46 -08:00
XcantloadX
36309ea55f
Automatically restore last scroll position in multiple-choice dropdowns ( #10659 )
...
* fix: automatically restore last scroll position in mutiple-choice dropdown (#10350 )
* add changeset
* fix typing
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Dawood Khan <dawoodkhan82@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-02-27 00:03:32 +00:00
Dawood Khan
367fe14381
Fix chatbot share button payload too large ( #10683 )
...
* chatbot share link formatting
* add changeset
* Update utils.ts
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-26 17:21:31 -05:00
Abubakar Abid
374b762b7f
Support gr.LoginButton
for gr.load()
( #10577 )
...
* changes
* add changeset
* tests
* changes
* type
* changes
* format
* updates
* testing
* changes
* changes
* cache false
* prints
* changes
* add providers
* format
* changes
* changes
* changes
* remove warning
* format
* changes
* changes
* add error
* add error
* refactor
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-26 22:19:14 +00:00
Abubakar Abid
249eccd81a
Fix Dataframe header type to allow integer values ( #10678 )
...
* change
* add changeset
* generify
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-26 20:15:20 +00:00
Hai Handsome
cb3c76205c
Add Thai Translate ( #10679 )
...
* Add Thai Translate
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-26 11:11:24 -08:00
Abubakar Abid
b43200d7df
Custom styling of the dataframe ( #10647 )
...
* changes
* add changeset
* revert
* done
* add changeset
* changes
* notebook
* documentation
* guide
* guide
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-25 14:51:01 -08:00
Abubakar Abid
a15964db87
Update banner to point to FastRTC ( #10670 )
...
* banner
* library
* add changeset
* add changeset
* format
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-25 09:10:11 -08:00
Gradio PR Bot
42053705a8
chore: update versions ( #10651 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-24 17:58:24 -08:00
aliabid94
d1b063fb0c
Add load_chat documentation ( #10669 )
...
* changes
* add changeset
* Update js/_website/src/lib/templates/gradio/04_helpers/load_chat.svx
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-02-24 16:49:48 -08:00
Dawood Khan
d06f3e3e08
Chatbot thoughts generating animation ( #10636 )
...
* pending dots
* add changeset
* fix
* fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-24 16:48:15 -08:00
Freddy Boulton
0b1f72941f
Allow websocket version 15 ( #10664 )
...
* Allow ws 15
* add changeset
---------
Co-authored-by: Freddy Boulton <freddyboulton@hf-freddy.local>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-24 15:26:51 -05:00