Commit Graph

104 Commits

Author SHA1 Message Date
Fabio Pliger
00b571d3df change OutputManager to actually have separate contexts for out and err to scripts can manage both in one place 2022-04-18 15:54:59 -05:00
Fabio Pliger
4d890602d9 adapt pyscript to new base class and clean Base 2022-04-18 12:06:30 -05:00
Fabio Pliger
955fb6fd37 fix missing initialization in outputmanager 2022-04-18 12:06:05 -05:00
Fabio Pliger
95d50269b7 add base component file with components base classe and adapt pyrepl to new base class 2022-04-18 10:13:59 -05:00
Fabio Pliger
df5b4a4293 add module config to allow local imports 2022-04-16 22:28:24 -05:00
Fabio Pliger
fb54949eb6 Merge branch 'main' into pys-19/allow_out_err_redirect 2022-04-15 18:43:19 -05:00
Fabio Pliger
441a2c6e9e introduce outputmanager to redirect output in repl 2022-04-15 18:42:16 -05:00
Mateusz Paprocki
a80dcf13d3 Use ESM and import maps in d3 example 2022-04-15 14:30:32 +02:00
Mateusz Paprocki
d0f0ebc6c3 Very rudimentary support for ESM and import maps 2022-04-15 14:28:51 +02:00
Philipp Rudiger
8e47dfedb2 Add Panel Stream demo to index 2022-04-14 17:05:57 +02:00
Philipp Rudiger
d523e24a78 Cleanup 2022-04-14 16:59:48 +02:00
Philipp Rudiger
3524bc32f6 Add Panel streaming example 2022-04-14 16:53:02 +02:00
Fabio Pliger
ab18b37d49 Merge pull request #19 from anaconda/mattpap/d3_example
Add a preliminary d3 example
2022-04-14 08:57:43 -05:00
Mateusz Paprocki
9387328916 Add a preliminary d3 example 2022-04-14 09:29:25 +02:00
Mateusz Paprocki
dece4734ba Don't fail on an empty <py-env></py-env> 2022-04-14 08:42:01 +02:00
Fabio Pliger
365486477e add focus when repl is rendered 2022-04-13 19:38:26 -05:00
Fabio Pliger
82f3ace53e reduce space needed for repl buttons on top 2022-04-13 15:12:20 -05:00
Fabio Pliger
2d32bb5f13 Merge branch 'main' into css 2022-04-13 15:03:58 -05:00
Fabio Pliger
68157dd3c2 cleanup some leftovers in pybox 2022-04-13 14:53:49 -05:00
Princiya Sequeira
fdfde89216 updated css for repl2 demo 2022-04-13 21:48:26 +02:00
Fabio Pliger
4b2dc2b57f add utils to examples 2022-04-13 14:47:33 -05:00
Fabio Pliger
63d79840bc simplify output 2022-04-13 14:46:53 -05:00
Fabio Pliger
2059df3ecd make pybox with accepting widths attribute to customize box children ration on the page 2022-04-13 14:46:44 -05:00
Fabio Pliger
fca0ce4f26 Merge branch 'main' into fpliger/add_pybox 2022-04-13 13:04:51 -05:00
Fabio Pliger
f6371e7402 add handtrach dependency 2022-04-13 12:20:54 -05:00
Fabio Pliger
b559f767eb first stab ad pybox 2022-04-13 12:17:48 -05:00
Fabio Pliger
a9e1b7c5d6 remove unused import 2022-04-13 09:48:37 -05:00
Fabio Pliger
f79d76c542 remove py-button from todo example 2022-04-13 09:25:34 -05:00
Fabio Pliger
92613c06f5 update examples to show loading modules into the environment 2022-04-12 19:04:53 -05:00
Fabio Pliger
67be46f224 add support for paths on py-env so that we can load local (sort of) scripts into the environment 2022-04-12 19:04:26 -05:00
Fabio Pliger
c29144d69c improve some of the demos font and removes repr for when objects are outputted to a div 2022-04-12 15:42:44 -05:00
Fabio Pliger
af107e8488 add working to description of demos that take a little longer to load 2022-04-12 15:30:58 -05:00
Fabio Pliger
547e602662 fix examples landing page and some import issues 2022-04-12 15:28:08 -05:00
Fabio Pliger
0d241e5683 remove import 2022-04-12 14:03:09 -05:00
Fabio Pliger
46690ca1a8 remove pyscript being loaded externally for now 2022-04-12 13:09:44 -05:00
Fabio Pliger
df088376d9 Merge pull request #10 from anaconda/pys-5/load-from-source
[Pys-5] load from source
2022-04-12 10:55:00 -05:00
Fabio Pliger
8046e28097 fix space 2022-04-12 10:22:12 -05:00
Fabio Pliger
63c882f354 add pyscript python file with python convenience code 2022-04-12 10:21:02 -05:00
Fabio Pliger
8f37afb972 add python file for todo app 2022-04-11 23:16:48 -05:00
Fabio Pliger
973a14baea allow pyscript to specify source and try loading pyscript python injections from file 2022-04-11 23:13:06 -05:00
Fabio Pliger
8dc1ade1e2 add (TEMP) timer to post initializers until we have proper state management and bump pyodide version 2022-04-11 20:13:57 -05:00
Fabio Pliger
9becc5381f add rollup-plugin-serve plugin to serve from examples folder when in dev 2022-04-11 20:11:40 -05:00
Fabio Pliger
fa438a14ab merge main 2022-04-10 15:57:04 -05:00
Fabio Pliger
caf1e3e85f add logo 2022-04-10 10:32:35 -05:00
Philipp Rudiger
ff29a9945d Update examples 2022-04-10 14:50:14 +02:00
Fabio Pliger
00d4277437 move examples from public to their own examples folder 2022-04-09 15:44:15 -05:00
Fabio Pliger
6d39e5b97b Merge branch 'main' into pys-6/remove-old-code 2022-04-09 15:24:40 -05:00
Philipp Rudiger
dff11a8b51 Add Panel KMeans clustering example 2022-04-09 17:15:03 +02:00
Fabio Pliger
02fead9cb9 move builds to build folder and examples to examples folder 2022-04-08 18:42:01 -05:00
Fabio Pliger
7fd2b56bfe remove old files and old code references 2022-04-08 18:19:34 -05:00