Commit Graph

3 Commits

Author SHA1 Message Date
Hannah
ded5256c4a
Fix audio recording events not dispatching (#7158)
* fix audio events and add events test

* add changeset

* add changes to audio demo

* Fix e2e tests

* regenerate notebook

* formatting

* test timeout for e2e

* formatting

* remove value param from stop_recording

* formatting

* fix test

* formatting

* tweak

* test new playwright config

* skip test

* formatting

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-01-26 18:13:27 +01:00
Hannah
80f8fbf0e8
Add logic to handle non-interactive or hidden tabs (#7107)
* Refactor change_tab function to handle non-interactive or hidden tabs

* add changeset

* Refactor flashcards app UI and modify test

* Fix formatting

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-22 23:31:59 -08:00
Hannah
ec28b4e7c4
Add visible and interactive params to gr.Tab() (#7018)
* add tabs params and visible logic

* add disabled logic

* add tabbed_interface logic

* add tab accessibility improvements

* Add aria-disabled attribute to tab buttons

* add e2e test

* add changeset

* add changeset

* add tab e2e test

* formatting

* run generate_notebooks.py

* lint

* ensure tabs values update

* remove tabbedinterface logic

* Remove unused parameters from TabbedInterface constructor

* remove test

* add test

* add changeset

* formatting

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-17 14:39:10 +01:00