aliabid94
5fc00b4567
Automatic word-break in highlighted text, combine_adjacent support ( #1209 )
...
* changes
* changes
* updated PyPi version to 2.9b26
* changes
* css tweaks (#1213 )
* css tweaks
* more tweaks
* fix lint error
Co-authored-by: pngwn <hello@pngwn.io>
2022-05-11 20:09:25 +01:00
pngwn
0c422b75ea
ensure webcam video value is propogated correctly ( #1218 )
...
* ensure webcam video value is propogated correctly
* remove logs
2022-05-11 19:19:35 +01:00
pngwn
291e287302
fix placeholder prompt ( #1215 )
2022-05-11 08:56:22 -07:00
aliabid94
ce47c48ebc
Update component config ( #1089 )
...
* first commit
* changes
* restore defualt_value name
* changes
* rm value=
* rm value=
* rm value=
* changes
* changes
* changes
* rename default_val to value
* changes
* changes
* changes
* changes
* format
* changes
* changes
* format
* test fix
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-05-10 17:11:43 -07:00
pngwn
11740dd329
add copy functionality to json ( #1205 )
...
* add copy functionality to json
* fix light mode
2022-05-10 18:02:06 +01:00
pngwn
4ca48284bb
hltext-label ( #1204 )
...
* show highttext label + tweaks
* show highttext label + tweaks
2022-05-10 17:01:36 +01:00
Victor Muštar
962a254a6b
WIP: Add dark mode support ( #1187 )
...
* add gray 950 to tailwind config
* overwrite global css for dark-mode
* add dark-mode to css tokens
* add dark-mode to components
* workbench dark-mode update
* checkbox tweak
* create icon components
* tweaks
* formatting
* formatting
* handle dark mode query params + system settings
* fix css
Co-authored-by: pngwn <hello@pngwn.io>
2022-05-09 17:26:09 -07:00
pngwn
4828e9af3b
wrap tab content in column ( #1200 )
2022-05-10 00:46:57 +01:00
pngwn
3fe954bd55
Table tweaks ( #1195 )
...
* ensure table scrolls
* tweaks
* fix overflow on columns
* layout tweaks
2022-05-09 16:18:13 +01:00
pngwn
94ab75dbec
962 dataframe ( #1186 )
...
* refresh dataframe
* add fixed rows + cols to dataframe
* tweaks
* validate dataframe headers + col_count
* cleanup
* cleanup
* make linter happy
* fix test
* fix test again
* fix test definitely this time
* implement file drop support for dataframe
* remove leftover files
* tweaks
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-05-08 21:55:02 -07:00
pngwn
936631c5b4
1183 component height ( #1185 )
...
* fix flex for layouts
* fix row form groups
* cleanup
2022-05-07 16:50:31 +01:00
pngwn
56222fbe2b
1148 loading status ( #1164 )
...
* update loader
* fix for non queued statuses
* remove logs
* Update demo/fake_gan/run.py
2022-05-05 20:05:05 +01:00
Radamés Ajna
a9610a4c9b
enable flex grow for box ( #1165 )
2022-05-05 19:28:34 +01:00
aliabid94
3e4ac376f5
Custom JS calls ( #1082 )
...
* first
* requested changes
* fix
* changes
* fixes
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-05-04 09:02:29 -07:00
aliabid94
ad1fffd496
Allow enabling queue per event listener ( #1155 )
...
* changes
* test fix
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-05-03 17:35:38 -07:00
aliabid94
8464481e22
image gallery component + img css ( #1140 )
...
* first commit
* format
* first commit
* Gallery component (#1142 )
* gallery
* ui update
* scroll gallery items, keeping them centered
* fix keyboard event
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
Co-authored-by: pngwn <hello@pngwn.io>
* formatting
* formatting
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
2022-05-03 14:49:51 -07:00
pngwn
1802c5c24d
html tweaks ( #1145 )
...
* html tweaks
* formatting
2022-05-03 14:44:17 -07:00
pngwn
215ff72e32
move styling for interface panels to frontend ( #1146 )
...
* move interface row styling to frontend
* move interface row styling to frontend
* tweak form grouping
* Update docstring
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-05-03 14:29:11 -07:00
pngwn
eca95a549d
Timeseries improvements ( #1149 )
...
* ensure chart works with decimal values + generatesaxis lines for values below 10
* add negative example
* use color palette for chart
* add colors kwarg to Timeseries
* fix test?
2022-05-03 14:05:17 -07:00
pngwn
81e981eb7a
use color palette for chatbot ( #1152 )
2022-05-03 13:53:24 -07:00
pngwn
e34210ccda
max_lines + autoheight for textbox ( #1153 )
...
* ensure autoheight always reruns when value changes
* implement lines + max_lines for textbox
* update demo
* fix test
2022-05-03 18:28:57 +01:00
pngwn
ce77c73551
add select event for tabitems ( #1154 )
2022-05-03 18:21:29 +01:00
aliabid94
b0306e716d
Restore queue in Blocks ( #1137 )
...
* first commit
* format
* fix tests
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-05-02 16:17:53 -07:00
pngwn
1032313988
highlighted text colors ( #1119 )
...
* highlighted text colors
* fix document error
2022-05-02 09:41:34 +01:00
Dawood Khan
190858ffb2
Chatbot custom color support ( #1092 )
...
* add color functionality to chatbot text bubbles
* chagne chatbot background colors
* chatbot color fixes
* merge conflict fix
* format fix
* chatbot fixes
* format
* remove prints
2022-05-02 09:41:20 +01:00
Victor Muštar
5f6ff85106
Examples UI ( #1121 )
...
* add fonts
* Update tailwind.config.js
* Examples UI
* demos examples update
* text align
* prettier
* formatting
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-05-02 09:38:18 +01:00
Abubakar Abid
122b988f45
made default value in textbox empty string ( #1135 )
...
* made defaultvalue in textbox empty string
* updated PyPi version to 2.9b12
2022-04-29 18:32:13 +01:00
Victor Muštar
9180e6ce2e
stacked form inputs css ( #1134 )
2022-04-29 11:43:47 +01:00
pngwn
f85686975e
Optional labels fe ( #1105 )
...
* optional labels
* added prop
* Added IOComponent class
* get component fix
* fixed component function
* fixed test components
* formatting
* fixed output tests
* working on blocks tests
* fixed test blocks
* cleanup
* respect show_label prop in all components
* Update ui/packages/app/src/components/File/File.svelte
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update ui/packages/app/src/components/Audio/Audio.svelte
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update ui/packages/atoms/src/BlockLabel.svelte
* foirmatting
* formatting again
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-27 11:47:15 +01:00
pngwn
2b0898b9a2
Scroll to output ( #1077 )
...
* implement loader + scroll into view
* changes
* refactor components to use Block inside the app
* cleanup
* cleanup
* implement all changes for all changes for all relevant components
* fix formatting
* demos
* add status tracker to every component
* fix tests
* fix unti test flake: randInt
* cleanup CI
* fix CI
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-26 15:48:39 +01:00
Ron Au
73ac1e1389
Dark text ( #1049 )
...
* fix(ui): Apply dark bg when dark theme set
* fix(ui): Increase contrast for dark theme text
* Fix formatting
2022-04-26 15:03:03 +01:00
Radamés Ajna
9ecb5e8a49
Enable vertex colors for OBJs files ( #1074 )
...
configure Babylon.js OBJ loader to enable vertex colors
2022-04-26 14:03:09 +01:00
pngwn
0cecff4672
Form layout ( #1054 )
...
* implement form grouping
* demo to showcase form groups
* cleanup
* apply tw classes for custom classes
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
* fix formatting
* ignore index.html
* fix gitignore
* fix gitignore
* fix gitignore
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
2022-04-22 10:19:59 +01:00
Victor Muštar
87ea33dc42
UI design update ( #1041 )
...
* ui update
tabs
button
container
spacing
responsive row
mobile
chatbot
style
JSON node
* ui misc
* gradio orange shades
* workbench layout
* button shade
* rm unused
* audio animation
* tabs spacings
* table
* form update
* misc
* misc
* sketch placeholder
* table update
* table rings
* JSON copy button
- Logic not implemented
* textbox default placeholder
* table
remove old table
* label style
* button global css
* Update Button.svelte
* cs
* table btn
* carousel height
* audio style
* audio static
* static image size
* formatting
* skip test that aren't testing anything
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: pngwn <hello@pngwn.io>
2022-04-21 10:27:12 +01:00
Ron Au
c1956bfc68
fix(ui): Increase contrast for footer ( #1048 )
2022-04-21 10:16:11 +01:00
Ron Au
abad6383df
Update text ( #1050 )
...
* docs(CONTRIBUTING): Update with new details
* docs(ui): Update with correct details
* fix(Error): Fix minor typo
* docs: Link to `ui` readme from contributing guide
* Update CONTRIBUTING.md
Co-authored-by: pngwn <hello@pngwn.io>
2022-04-21 10:07:43 +01:00
aliabid94
9a62b25bbb
fix ( #1046 )
...
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-04-20 21:43:14 -07:00
Dawood Khan
76eab3f9ce
Plot fixes ( #1044 )
...
* matplotlib and warning fix
* fix matplotlib demo
2022-04-20 15:14:46 -04:00
Abubakar Abid
5c34d91865
added better default labels to form components ( #1040 )
...
* added better default labels to form components
* updated default labels
* formatting
* fixed tests
2022-04-20 10:54:44 -07:00
Dawood Khan
c480fb0e0c
Model3D Examples fixes ( #1035 )
...
* fix examples
* fixes
* fix moddl3d examples
* format fixes
* fixed tests
* fix tests
* fix clearColor null
Co-authored-by: Dawood Khan <dawoodkhan@DawoodsWorkMBP.localdomain>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-20 11:43:21 -04:00
Ali Abid
c15885f0cc
merge master
2022-04-19 00:22:43 -07:00
Ali Abid
4f1947d8c7
merge in master
2022-04-18 18:36:43 -07:00
Dawood Khan
499f106c9e
Model3D + Plot Components ( #1010 )
...
* add model3D
* model3d component
* add plot component
* format
* ingnore plot.svelte from prettier
* update build script
* update circleci config
* remove circleci config change
* change build script
* remove change to build script
* remove plot.svelte
* remove duplicate save_flagged func
* fix node space issue + format issues
* Update ui.yml
* Update ui.yml
* Update ui.yml
* remove changes to config files
* updated codecov version
* Update ui.yml
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-18 15:26:30 -04:00
aliabid94
1c2f430a7e
Progress indicator bar ( #997 )
...
Create Status Tracker component to report progress on function calls
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-04-15 02:20:19 -07:00
Dawood Khan
873060a354
Image3D Examples Fix ( #1001 )
...
* fix 3d model examples
* format fix
* cache_examples in image demo
* fix cached examples
* fixed cached example bug
* fixed formatting
* fixed tests
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-14 23:23:02 -07:00
Dawood Khan
7552e1ef6c
Plot Component ( #805 )
...
* plotly + matplotlib component
* update plot demos and plotly component
* fix gray bg
* format
* pnpm lock file
* add bokeh
* update plot demo
* add bokeh support
* ignore plot file
* fixed demo
* fixed sorting
* update image-plot deprecation warning
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-14 14:45:31 -07:00
Abubakar Abid
e0a64e5b55
added interactive parameter to components ( #992 )
...
* added interactive parameter to components
* respect interactive prop
* fixed input tests
* fixed output tests
* fixed test_components.py
* fixed test blocks
* fixed test utils
* fixed formatting
* update test configs
* fix textbox static output
* static audio output
* static video output
* cleanup
* static inmage output
* Static Timeseries
* cleanup outptus fopr markdown _ html
* ensure dataframe can load in static mode
* tweaks
Co-authored-by: pngwn <hello@pngwn.io>
2022-04-14 15:12:30 +01:00
Dawood Khan
eebe7b57b0
Issue #785 : add footer ( #972 )
...
* add footer
* fix logo align
* frontend
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-13 14:08:12 -07:00
pngwn
9cb40dc99a
ensure dataframe updates as expected ( #981 )
...
* ensure input updates as expected
* ci debug
* ci debug
* ci debug
* fix broken path
* cleanup
* cleanup
* cleanup
* remove pkg-up
* fix dataframe
* ensure headers can be edited
* allow the table to render empty content without exploding
* fixed components and test components
* fixed test inputs and test outputs
* formatting
* Update test_components.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-13 21:53:35 +01:00
aliabid94
1d3cb510bb
State and variables ( #977 )
...
Restore state and add variables component
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-04-12 18:41:13 -07:00