Commit Graph

2 Commits

Author SHA1 Message Date
Hannah
37caa2e0fe
Add icon and link params to gr.Button (#5080)
* add icons and link params

* tweak

* add changeset

* prepend icon param with /file=

* prepend icon with /file=

* restore and add button stories

* add changeset

* param description tweak

* tweak param description

* type tweak

* fix i18n in story

* fix formatting

* fix test

* tweak

* fix typo

* fix icon bug

* fix inconsistent width

* remove <a /> target

* styling changes + add story

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-04 17:47:20 +02:00
Hannah
33b5954a3b
Add gradio storybook (#4696)
* initialise storybook

* fix storybook config

* more config

* add test story

* add button story

* add a11y addon

* add chromatic job

* fix script path

* fix path again

* yml tweak

* typo

* tweak

* tweak job

* change when job runs

* revert change

* revert lockfile

* config tweaks

* regen lockfile

* tweak

* tweak

* move chromatic tests to ui workflow

* tweak

* add install deps cmd

* add install pnpm input

* job tweak

* test

* clean up

* regen lockfile

* remove redundant option

* workflow tweak

* tweak

* tweak

* cli tweak

* cli tweak

* restore inspector prop

* skip frontend gradio build and post sb url to PR

* remove pollen import

* cancel job if no-visual-update tag present

* move stoeybook files to /js and amend pnpm scripts

* tweak theme css script

* tweak action body / test tag

* fix plot test and tweak pr comment job

* fix yml

* add gh token

* test

* update pnpm lock

* yml test

* restore yml update comment
2023-07-03 16:21:00 +02:00